/* ============================================================
   STYLE.CSS — Instainnovate AI UGC Script Generator
   ============================================================ */

/* ── Reset & Variables ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-2: #faf9ff;
  --bg-3: #f3f0ff;
  --surface: #ffffff;
  --surface-2: #faf9ff;
  --border: #ece8f7;
  --border-2: #d9d2f0;
  --text: #1a1330;
  --text-2: #443c5e;
  --text-3: #6b6485;
  --text-4: #9b95b0;
  --accent: #8442FF;
  --accent-hover: #7331f5;
  --accent-text: #ffffff;
  --primary: #8442FF;
  /* Instainnovate brand */
  --purple: #8442FF;
  --purple-soft: #f3eeff;
  --purple-ring: rgba(132, 66, 255, 0.18);
  --lime: #BAFF43;
  --lime-dark: #9fe51f;
  --lime-text: #2a3d05;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.04);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --transition: 150ms ease;
}

[data-theme="dark"] {
  --bg: #0e0b18;
  --bg-2: #15101f;
  --bg-3: #1d1630;
  --surface: #15101f;
  --surface-2: #1d1630;
  --border: #2a2240;
  --border-2: #3a2f55;
  --text: #f1edff;
  --text-2: #cfc8e6;
  --text-3: #968 db3;
  --text-3: #968db3;
  --text-4: #6e6688;
  --accent: #9d6bff;
  --accent-hover: #ab7eff;
  --accent-text: #ffffff;
  --primary: #9d6bff;
  --purple: #9d6bff;
  --purple-soft: #1f1736;
  --purple-ring: rgba(157, 107, 255, 0.25);
  --lime: #BAFF43;
  --lime-dark: #a5ef2a;
  --lime-text: #1a2604;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.2);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.5), 0 4px 8px rgba(0,0,0,.2);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-2); }
a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo .dot { color: var(--purple); }
.nav-logo-img { height: 34px; width: auto; display: block; }
.footer-logo-img { height: 42px; width: auto; display: block; margin-bottom: 12px; }
/* The logo is full-colour on transparent; lift it slightly in dark mode */
[data-theme="dark"] .nav-logo-img,
[data-theme="dark"] .footer-logo-img { filter: brightness(1.08); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: 14px; color: var(--text-3); padding: 6px 10px; border-radius: var(--radius-xs); transition: color var(--transition), background var(--transition); }
.nav-link:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.btn-primary:hover { opacity: .88; text-decoration: none; }
.btn-primary:active { opacity: .76; }
.btn-outline {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn-outline:hover { background: var(--bg-3); color: var(--text); text-decoration: none; }
.btn-lg { font-size: 16px; padding: 14px 28px; border-radius: var(--radius-sm); }
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 5px 10px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-icon:hover { color: var(--text); background: var(--bg-3); border-color: var(--border-2); }
.dark-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 7px 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--transition);
  line-height: 1;
}
.dark-toggle:hover { background: var(--bg-3); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  border: 1px solid var(--border-2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--text); margin-bottom: 20px; }
.hero h1 span {
  color: var(--purple);
  background: linear-gradient(90deg, var(--purple), #a87bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-3);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 5px 13px;
  box-shadow: var(--shadow);
}

/* ── How It Works ────────────────────────────────────────── */
.steps-section { padding: 72px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); text-align: center; margin-bottom: 12px; }
.section-title { text-align: center; color: var(--text); margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--text-3); font-size: 16px; margin-bottom: 48px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--purple);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px var(--purple-ring);
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-3); }

/* ── Generator Section ───────────────────────────────────── */
.generator-section { padding: 72px 0; }
.generator-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

/* ── Form ────────────────────────────────────────────────── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 76px;
}
.form-card-title { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}
.form-label span { font-weight: 400; color: var(--text-4); font-size: 12px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-ring);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
#customCtaWrap { display: none; margin-top: 10px; }
.generate-btn-wrap { margin-top: 20px; }
.generate-btn-wrap .btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }
.generate-btn-wrap .btn.loading { opacity: .8; cursor: progress; }
.btn .spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── AI Panel ────────────────────────────────────────────── */
.ai-panel {
  margin-top: 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
  overflow: hidden;
}
.ai-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.ai-summary::-webkit-details-marker { display: none; }
.ai-summary em { font-style: normal; font-weight: 400; color: var(--text-3); }
.ai-chevron { transition: transform var(--transition); font-size: 14px; }
.ai-panel[open] .ai-chevron { transform: rotate(180deg); }
.ai-panel-body { padding: 4px 16px 16px; }
.ai-help { font-size: 12.5px; line-height: 1.6; color: var(--text-3); margin-bottom: 14px; }
.ai-help a { color: var(--purple); font-weight: 600; white-space: nowrap; }
.ai-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; margin-top: 4px; }
.ai-checkbox input { width: 16px; height: 16px; accent-color: var(--purple); cursor: pointer; }
.ai-status { font-size: 12px; margin-top: 10px; min-height: 16px; }
.ai-status.ok { color: var(--lime-dark); font-weight: 600; }
.ai-status.err { color: #e5484d; font-weight: 600; }
.ai-status.info { color: var(--text-3); }
.output-badge.ai-on { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ── Output Section ──────────────────────────────────────── */
.output-section { min-height: 200px; }
.output-section.hidden { display: none; }
.output-placeholder {
  background: var(--surface);
  border: 1.5px dashed var(--border-2);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  color: var(--text-4);
}
.output-placeholder-icon { font-size: 36px; margin-bottom: 12px; }
.output-placeholder p { font-size: 14px; }
.output-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.output-badge {
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 999px;
  padding: 3px 10px;
}
.lang-badge { background: var(--bg-2); }

/* ── Script Cards ─────────────────────────────────────────── */
.script-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.card-title { font-size: 13px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.card-content {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  padding: 20px;
  white-space: pre-wrap;
  word-break: break-word;
}
.list-content { padding: 16px 20px; }
.list-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.list-item:last-child { border-bottom: none; }
.list-num {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  flex-shrink: 0;
}

/* ── Hashtag Cards ───────────────────────────────────────── */
.hashtag-content { padding: 16px 20px; }
.hashtag-set { margin-bottom: 14px; }
.hashtag-set:last-child { margin-bottom: 0; }
.hashtag-label { font-size: 11px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 6px; }
.hashtags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ── Shot Card ───────────────────────────────────────────── */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.shot-col { padding: 18px 20px; border-right: 1px solid var(--border); }
.shot-col:last-child { border-right: none; }
.shot-col-title { font-size: 12px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.shot-item { font-size: 13px; color: var(--text-2); padding: 4px 0; line-height: 1.5; }

/* ── Section Divider ─────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 18px;
}
.section-divider::before, .section-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.section-divider span { font-size: 12px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }

/* ── Export Bar ──────────────────────────────────────────── */
.export-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.export-bar .btn { font-size: 13px; padding: 9px 16px; }

/* ── Features Section ────────────────────────────────────── */
.features-section { padding: 72px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 20px;
  margin-bottom: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-soft);
  border-radius: 12px;
}
.feature-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-3); line-height: 1.5; }

/* ── Examples Section ────────────────────────────────────── */
.examples-section { padding: 72px 0; }
.examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.example-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.example-header { padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.example-badge { font-size: 11px; font-weight: 600; color: var(--text-4); display: block; margin-bottom: 4px; }
.example-title { font-size: 14px; font-weight: 700; color: var(--text); }
.example-content {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  padding: 18px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── FAQ Section ─────────────────────────────────────────── */
.faq-section { padding: 72px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-3);
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 18px; font-size: 14px; color: var(--text-3); line-height: 1.75; max-width: 640px; }
.faq-item.open .faq-answer { display: block; }

/* ── Related Tools ───────────────────────────────────────── */
.related-section { padding: 72px 0; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.related-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); text-decoration: none; }
.related-icon { font-size: 22px; margin-bottom: 10px; }
.related-card h3 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.related-card p { font-size: 12px; color: var(--text-3); }
.related-badge { display: inline-block; font-size: 10px; font-weight: 600; color: var(--text-4); background: var(--bg-3); border-radius: 999px; padding: 2px 7px; margin-top: 8px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.6; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-4); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--text-3); }
.footer-col ul li a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-copy { font-size: 12px; color: var(--text-4); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: var(--text-4); }
.footer-legal a:hover { color: var(--text-3); text-decoration: none; }

/* ── Toast ───────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
  z-index: 999;
  white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Sticky Bar ──────────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-bar.show { display: flex; }
.sticky-bar-text { font-size: 13px; font-weight: 600; color: var(--text); }
.sticky-bar .btn { flex-shrink: 0; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--text-4); }
.breadcrumb a { color: var(--text-4); }
.breadcrumb a:hover { color: var(--text-3); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.trust-items { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--text-3); }
.trust-icon { font-size: 16px; }

/* ── SEO Content ─────────────────────────────────────────── */
.seo-section { padding: 72px 0; }
.seo-inner { max-width: 760px; margin: 0 auto; }
.seo-inner h2 { font-size: 1.5rem; margin-bottom: 12px; margin-top: 36px; color: var(--text); }
.seo-inner h2:first-child { margin-top: 0; }
.seo-inner p { font-size: 15px; line-height: 1.75; color: var(--text-3); margin-bottom: 14px; }
.seo-inner ul { padding-left: 20px; color: var(--text-3); font-size: 14px; line-height: 1.75; margin-bottom: 14px; }
.seo-inner li { margin-bottom: 4px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .generator-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .examples-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .shot-col { border-right: none; border-bottom: 1px solid var(--border); }
  .shot-col:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .container, .container-sm { padding: 0 16px; }
  .navbar { height: auto; }
  .nav-inner { height: 56px; }
  .nav-logo-img { height: 30px; }
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-badges { gap: 6px; }
  .badge { font-size: 11px; padding: 4px 10px; }
  .trust-items { gap: 14px; flex-direction: column; align-items: flex-start; }
  .steps-section, .generator-section, .features-section,
  .examples-section, .faq-section, .related-section, .seo-section { padding: 44px 0; }
  .form-card { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 18px 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-links { gap: 28px; }
  .export-bar { flex-direction: column; align-items: stretch; }
  .export-bar .btn { justify-content: center; }
  .nav-link { display: none; }
  .card-content, .example-content { font-size: 13.5px; padding: 16px; }
  .card-header { padding: 12px 16px; }
  .sticky-bar-text { font-size: 12px; }
  body { padding-bottom: 76px; }
}

@media (max-width: 400px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 11px; padding: 4px 11px; }
  .section-title { font-size: 1.35rem; }
  .copy-card-btn { padding: 5px 8px; }
}
