
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-ghost: rgba(37, 99, 235, 0.08);
  --bg-color: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}


    .feature-screenshot-container {
      max-width: 800px;
      margin: 0 auto;
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      padding: 32px;
      box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .feature-screenshot-container:hover {
      transform: translateY(-4px);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    }
    @keyframes pulse-shimmer {
      0% { opacity: 0.12; }
      50% { opacity: 0.35; }
      100% { opacity: 0.12; }
    }
    @keyframes pulse-progress {
      0% { opacity: 0.3; }
      50% { opacity: 0.7; }
      100% { opacity: 0.3; }
    }
    .shimmer-page-badge {
      animation: pulse-shimmer 2s infinite ease-in-out;
    }
    .shimmer-progress {
      animation: pulse-progress 2s infinite ease-in-out;
    }


    /* Hero Section Enhancements */
    .hero-tool-section {
      padding: 72px 0 56px;
      position: relative;
      background-color: #fff;
      background-image:
        radial-gradient(circle at 85% 15%, rgba(231, 63, 51, 0.045) 0%, rgba(231, 63, 51, 0) 45%),
        radial-gradient(circle at 15% 75%, rgba(37, 99, 235, 0.04) 0%, rgba(37, 99, 235, 0) 45%),
        linear-gradient(180deg, #eff6ff 0%, #fff 100%);
      background-size: 100% 100%, 100% 100%, 100% 100%;
    }
    .highlight-locally {
      position: relative;
      display: inline-block;
      color: #2563eb;
      font-weight: 800;
      padding: 0 4px;
    }
    .highlight-locally::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 2px;
      width: 100%;
      height: 6px;
      background: rgba(37, 99, 235, 0.12);
      border-radius: 2px;
      z-index: -1;
    }

    /* Workflow Section & Title styling */
    .workflow-section {
      padding: 80px 0;
      background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f8fafc 100%);
      border-top: 1px solid var(--border-color);
      position: relative;
      overflow: hidden;
    }
    .workflow-badge-wrapper {
      text-align: center;
      margin-bottom: 12px;
    }
    .workflow-badge {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      color: var(--primary-color);
      background: rgba(37, 99, 235, 0.08);
      padding: 6px 14px;
      border-radius: 99px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
    }
    .workflow-section h2 {
      text-align: center;
      margin-top: 0 !important;
      margin-bottom: 12px;
      font-size: 32px;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: -0.02em;
    }
    .workflow-section .workflow-intro-p {
      text-align: center;
      color: #64748b;
      margin-bottom: 48px;
      font-size: 16px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Workflow 3-Steps Cards & Connectors */
    .workflow-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 32px;
      margin-top: 40px;
      position: relative;
    }
    .workflow-card {
      background: #ffffff;
      border: 1px solid rgba(226, 232, 240, 0.8);
      border-radius: 16px;
      padding: 40px 28px;
      box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02), 0 1px 3px -1px rgba(15, 23, 42, 0.02);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      z-index: 2;
      text-align: center;
    }
    .workflow-card:hover {
      transform: translateY(-8px);
      border-color: #2563eb;
      box-shadow: 0 20px 35px -12px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.05);
    }
    .workflow-number {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      color: #fff;
      font-size: 20px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      position: relative;
      z-index: 1;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .workflow-number::before {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      border: 2px dashed rgba(37, 99, 235, 0.2);
      transition: all 0.4s ease;
    }
    .workflow-card:hover .workflow-number {
      transform: scale(1.08) rotate(360deg);
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    }
    .workflow-card:hover .workflow-number::before {
      inset: -8px;
      border-color: rgba(37, 99, 235, 0.4);
    }
    .workflow-title {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 12px;
      margin-top: 0 !important;
      transition: color 0.3s ease;
    }
    .workflow-card:hover .workflow-title {
      color: #2563eb;
    }
    .workflow-desc {
      font-size: 14px;
      color: #475569;
      line-height: 1.7;
      margin: 0 !important;
    }
    @media (min-width: 1024px) {
      .workflow-card:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 66px; /* Centered with the step number */
        right: -44px;
        width: 56px;
        height: 2px;
        background-image: linear-gradient(to right, #cbd5e1 60%, rgba(255,255,255,0) 0%);
        background-position: bottom;
        background-size: 8px 2px;
        background-repeat: repeat-x;
        z-index: 10;
        pointer-events: none;
        transition: all 0.3s ease;
      }
      .workflow-card:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 63px;
        right: -48px;
        width: 8px;
        height: 8px;
        border-top: 2px solid #cbd5e1;
        border-right: 2px solid #cbd5e1;
        transform: rotate(45deg);
        z-index: 10;
        pointer-events: none;
        transition: all 0.3s ease;
      }
      .workflow-card:not(:last-child):hover::after {
        background-image: linear-gradient(to right, #2563eb 60%, rgba(255,255,255,0) 0%);
        animation: active-dash 0.8s linear infinite;
      }
      .workflow-card:not(:last-child):hover::before {
        border-color: #2563eb;
      }
    }
    @keyframes active-dash {
      to { background-position: right 8px bottom; }
    }

/* Header Navbar */
header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  height: 64px;
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: #4b5563;
  font-weight: 500;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--primary-color);
  background: var(--primary-ghost);
}

.nav-btn {
  background: var(--primary-color);
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, transform 0.1s;
}

.nav-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
@media (max-width: 768px) {
  .nav-toggle { display: block !important; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 999;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .header .container { position: relative; flex-wrap: wrap; }
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 8px;
  color: #94a3b8;
}

/* Content Page Layout */
.main-content {
  padding: 48px 0 80px;
  background: #fff;
  margin-top: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 24px;
}

h2 {
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin-top: 48px;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 28px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 20px;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
}

ol, ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
  color: #334155;
}

pre {
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-size: 14px;
}

code {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

/* ============ Hero Section ============ */
.hero-tool-section {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-color) 100%);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Upload Card */
.tool-card {
  background: #fff;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 48px 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}

.tool-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.tool-card.dragover {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
}

.tool-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.btn-upload {
  background: var(--primary-color);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.3);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-upload:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.35);
}

.upload-hint {
  font-size: 13px;
  color: #94a3b8;
}

/* Interactive Mock Editor */
.mock-edit-area {
  display: none;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  max-width: 720px;
  margin: 20px auto 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: left;
}

.mock-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editor-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
}

.editor-sidebar {
  background: #f8fafc;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.editor-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  padding: 24px;
  position: relative;
  min-height: 380px;
}

.preview-page {
  background: #fff;
  width: 260px;
  height: 360px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  position: relative;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.preview-header-field {
  text-align: center;
  font-size: 10px;
  color: #64748b;
  font-family: monospace;
  height: 12px;
  overflow: hidden;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 2px;
}

.preview-body-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 16px 0;
  position: relative;
}

.preview-line {
  background: #e2e8f0;
  height: 7px;
  border-radius: 2px;
  width: 100%;
}

.preview-line.short {
  width: 60%;
}

.preview-line.medium {
  width: 80%;
}

.preview-split-indicator {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: dashed var(--primary-color);
  border-left: 2px dashed var(--primary-color);
  transform: translateX(-50%);
}

.preview-footer-field {
  text-align: center;
  font-size: 10px;
  color: #64748b;
  font-family: monospace;
  height: 12px;
  overflow: hidden;
  border-top: 1px dashed #e2e8f0;
  padding-top: 2px;
}

.editor-tab-btn {
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}

.editor-tab-btn:hover {
  background: #fff;
  color: var(--primary-color);
}

.editor-tab-btn.active {
  background: #fff;
  border-color: var(--border-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.tab-content-panel {
  display: none;
  margin-top: 12px;
}

.tab-content-panel.active {
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.form-select, .form-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 13px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-ghost);
}

/* ============ Features / Why Use ============ */
.features-section {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-col {
  text-align: left;
  background: #f8fafc;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.2s, transform 0.15s;
}

.feature-col:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-col h3 {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

/* FAQ accordion */
.faq-section {
  padding: 72px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-color);
}

.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  outline: none;
  color: #1e293b;
  font-size: 15px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  line-height: 1;
  color: var(--primary-color);
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-content {
  padding: 0 20px 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Progress Bar */
.progress-bar-container {
  display: none;
  width: 100%;
  background: #e2e8f0;
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
  margin-top: 20px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #60a5fa);
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* Trust badges */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

/* Section dividers */
section + section {
  border-top: 1px solid var(--border-color);
}

@media(max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
  .editor-grid {
    grid-template-columns: 1fr !important;
  }
  h1 { font-size: 26px !important; }
  h2 { font-size: 22px !important; }
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.tools-grid a {
  transition: all 0.2s ease;
}
.tools-grid a:hover {
  border-color: var(--primary-color) !important;
  background-color: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}
@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}
