:root {
  --bg: #070f1f;
  --bg2: #0e1830;
  --card: #040b1d;
  --border: #22355f;
  --text: #e9ecf4;
  --muted: #8ea0c9;
  --primary: #6d45ff;
  --primary-2: #8a5bff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #102247 0%, #070f1f 50%, #050a16 100%);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.site-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff;
  padding: 8px 12px;
  border: 1px solid #2d4271;
  border-radius: 10px;
  background: rgba(10, 22, 45, 0.65);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.nav-wrap {
  justify-content: space-between;
  gap: 12px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-nav a {
  color: #c1d1f3;
  text-decoration: none;
  border: 1px solid #2d4372;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

.simple-page h1 {
  margin: 10px 0;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.link-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid #2a3f6d;
  border-radius: 12px;
  background: #0a1328;
  padding: 14px;
}

.link-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.link-card p {
  color: #bdd0f3;
  margin: 0;
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.breadcrumb span {
  padding: 0 6px;
}

.hero {
  text-align: center;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.5px;
}

.hero p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 20px;
}

.tool-card {
  background: linear-gradient(180deg, rgba(8, 16, 36, 0.95), rgba(4, 10, 22, 0.96));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid var(--border);
  background: #101b35;
  color: #b9c6e3;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}

.tab.active {
  color: #9c86ff;
  border-color: #5c49b8;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.left-panel,
.right-panel {
  background: #020816;
  border: 1px solid #172846;
  border-radius: 12px;
  padding: 14px;
}

.mini-note {
  color: #8fa5d8;
  font-size: 12px;
  margin-bottom: 10px;
}

.switch-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.small-btn {
  background: #0d1b38;
  color: #c6d3f1;
  border: 1px solid #223866;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.small-btn.active {
  color: #fff;
  border-color: #5e49ca;
  background: #1a2560;
}

.upload-box {
  border: 1px dashed #2d3f68;
  border-radius: 10px;
  margin-bottom: 12px;
}

.upload-inner {
  width: 100%;
  min-height: 170px;
  background: #0a1226;
  border: 0;
  color: #ced9f7;
  border-radius: 10px;
  cursor: pointer;
}

.upload-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.upload-title {
  font-weight: 700;
}

.upload-sub {
  color: #8fa5d8;
  margin-top: 6px;
  font-size: 13px;
}

.url-box input {
  width: 100%;
  background: #0a1226;
  border: 1px solid #2d3f68;
  border-radius: 8px;
  padding: 10px;
  color: #fff;
}

.preview-wrap {
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-wrap img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  background: #091226;
  border: 1px solid #203457;
  border-radius: 10px;
}

.preview-wrap button {
  align-self: flex-end;
  background: #322055;
  color: #e7dcff;
  border: 1px solid #5f44a9;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.section-label {
  margin: 0 0 8px;
  font-size: 15px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.model-btn {
  text-align: left;
  background: #0a1327;
  border: 1px solid #2a3d66;
  color: #d8e0f5;
  border-radius: 8px;
  padding: 11px 12px;
  font-weight: 600;
  cursor: pointer;
}

.model-btn.active {
  border-color: #8a67ff;
  background: linear-gradient(180deg, #1a2856, #121d44);
  box-shadow: 0 0 0 1px rgba(138, 103, 255, 0.35) inset;
}

.lang-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
}

.lang-row label {
  color: #bccceb;
  font-size: 13px;
}

.lang-row select {
  width: 100%;
  background: #0a1328;
  border: 1px solid #29406f;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
}

.generate-btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  cursor: pointer;
}

  /* ══════════════════════════════════════════════════════════════
     HOMEPAGE — Global overrides
  ══════════════════════════════════════════════════════════════ */
  .home-body {
    background: radial-gradient(ellipse at top, #0f1f42 0%, #070f1f 50%, #050a14 100%);
  }

  .home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* ── Sticky Navbar ─────────────────────────────────────────── */
  .homenav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(7, 15, 31, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(34, 53, 95, 0.5);
    transition: box-shadow 0.25s;
  }

  .homenav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    background: rgba(7, 15, 31, 0.92);
  }

  .homenav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .homenav-logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.3px;
    padding: 6px 12px;
    border: 1px solid #2d4271;
    border-radius: 10px;
    background: rgba(10, 22, 45, 0.65);
    white-space: nowrap;
  }

  .homenav-links {
    display: flex;
    gap: 4px;
    flex: 1;
  }

  .homenav-links a {
    color: #b0c2e6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
  }

  .homenav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
  }

  .homenav-cta {
    margin-left: auto;
    background: linear-gradient(90deg, #6d45ff, #8a5bff);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 10px;
    white-space: nowrap;
    transition: opacity 0.15s, transform 0.15s;
  }

  .homenav-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
  }

  /* ── Hero ──────────────────────────────────────────────────── */
  .home-hero {
    padding: 80px 0 60px;
    text-align: center;
  }

  .home-hero-tag {
    display: inline-block;
    background: rgba(109, 69, 255, 0.12);
    border: 1px solid rgba(109, 69, 255, 0.35);
    color: #b09af5;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
  }

  .home-hero-h1 {
    margin: 0 0 20px;
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #ffffff;
  }

  .grad-text {
    background: linear-gradient(90deg, #9c86ff 0%, #c084fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .home-hero-p {
    color: #8ea4cc;
    font-size: clamp(16px, 2vw, 20px);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
  }

  .home-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
  }

  .home-btn-fill {
    display: inline-block;
    background: linear-gradient(90deg, #6d45ff, #8a5bff);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    transition: opacity 0.15s, transform 0.15s;
    border: none;
    cursor: pointer;
  }

  .home-btn-fill:hover {
    opacity: 0.88;
    transform: translateY(-2px);
  }

  .home-btn-outline {
    display: inline-block;
    background: transparent;
    color: #c0cef5;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid #2d4680;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
  }

  .home-btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: #5a72b0;
    transform: translateY(-2px);
  }

  .home-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(10, 20, 45, 0.6);
    border: 1px solid #1e3258;
    border-radius: 16px;
    padding: 20px 32px;
    display: inline-flex;
  }

  .home-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 28px;
  }

  .home-stat strong {
    font-size: 26px;
    font-weight: 800;
    color: #9c86ff;
    line-height: 1;
  }

  .home-stat span {
    font-size: 12px;
    color: #7a90c0;
    font-weight: 500;
    white-space: nowrap;
  }

  .home-stat-sep {
    width: 1px;
    height: 36px;
    background: #1e3258;
    flex-shrink: 0;
  }

  /* ── Sections ──────────────────────────────────────────────── */
  .home-section {
    padding: 72px 0;
  }

  .home-section-tight {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .home-sec-head {
    text-align: center;
    margin-bottom: 52px;
  }

  .home-sec-head h2 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
  }

  .home-sec-head p {
    color: #8ea4cc;
    font-size: 17px;
    margin: 0;
  }

  /* ── Feature Cards ─────────────────────────────────────────── */
  .home-feat-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: linear-gradient(135deg, rgba(10,20,42,0.85), rgba(5,12,26,0.95));
    border: 1px solid #1e3258;
    border-radius: 22px;
    margin-bottom: 28px;
    overflow: hidden;
  }

  .home-feat-card.reverse .home-feat-text {
    order: 2;
  }
  .home-feat-card.reverse .home-feat-visual {
    order: 1;
  }

  .home-feat-icon {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .home-feat-text h3 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
  }

  .home-feat-text p {
    color: #8ea4cc;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 28px;
  }

  .home-feat-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #1e3258;
    box-shadow: 0 0 60px rgba(109, 69, 255, 0.12), 0 20px 60px rgba(0,0,0,0.5);
  }

  .home-feat-visual svg {
    display: block;
    width: 100%;
    height: auto;
  }

  /* ── Inspiration Grid ──────────────────────────────────────── */
  .home-insp-section {
    background: rgba(5, 12, 28, 0.6);
  }

  .home-insp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .home-insp-card {
    background: #080f20;
    border: 1px solid #1a2e50;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
  }

  .home-insp-card:hover {
    transform: translateY(-4px);
    border-color: #2d4a80;
  }

  .home-insp-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #081226;
  }

  .home-insp-meta {
    padding: 14px;
  }

  .home-insp-tag {
    display: inline-block;
    background: rgba(109, 69, 255, 0.18);
    color: #a98bff;
    border: 1px solid rgba(109, 69, 255, 0.3);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .home-insp-meta p {
    color: #8ea4cc;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* The 6th card with gradient visual */
  .home-insp-card-grad .home-insp-grad-visual {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a0a3d, #0d1a4a, #071228);
    position: relative;
    overflow: hidden;
  }

  .home-insp-grad-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.7;
  }

  .home-insp-grad-shape.s1 {
    width: 120px; height: 120px;
    background: #6d45ff;
    top: -20px; left: -20px;
  }

  .home-insp-grad-shape.s2 {
    width: 100px; height: 100px;
    background: #c084fc;
    bottom: -10px; right: 20px;
  }

  .home-insp-grad-shape.s3 {
    width: 80px; height: 80px;
    background: #38bdf8;
    top: 40px; left: 60%;
  }

  /* ── Reviews Grid ──────────────────────────────────────────── */
  .home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .home-review-card {
    background: linear-gradient(160deg, #0a1325, #060d1e);
    border: 1px solid #1a2e50;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s, transform 0.2s;
  }

  .home-review-card:hover {
    border-color: #2d4a80;
    transform: translateY(-3px);
  }

  .home-review-stars {
    color: #fbbf24;
    font-size: 15px;
    letter-spacing: 2px;
  }

  .home-review-card p {
    color: #c0d2f0;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    font-style: italic;
  }

  .home-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
  }

  .home-review-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6d45ff, #8a5bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
  }

  .home-review-author strong {
    color: #dce8ff;
    font-size: 14px;
  }

  /* ── FAQ Accordion ─────────────────────────────────────────── */
  .home-faq-section {
    background: rgba(5, 12, 28, 0.6);
  }

  .home-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .home-faq-item {
    background: #080f22;
    border: 1px solid #1a2e50;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
  }

  .home-faq-item.open {
    border-color: #3a5498;
  }

  .home-faq-q {
    width: 100%;
    background: none;
    border: none;
    color: #dce8ff;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    padding: 18px 22px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.15s;
  }

  .home-faq-q:hover {
    color: #9c86ff;
  }

  .home-faq-arrow {
    color: #5a70a0;
    font-size: 16px;
    transition: transform 0.25s;
    flex-shrink: 0;
  }

  .home-faq-item.open .home-faq-arrow {
    transform: rotate(180deg);
    color: #9c86ff;
  }

  .home-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .home-faq-a p {
    margin: 0;
    padding: 0 22px 20px;
    color: #8ea4cc;
    font-size: 14px;
    line-height: 1.75;
  }

  /* ── Footer ────────────────────────────────────────────────── */
  .home-footer {
    background: #040b1c;
    border-top: 1px solid #162440;
    padding: 56px 0 0;
  }

  .home-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid #162440;
  }

  .home-footer-logo {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    padding: 6px 12px;
    border: 1px solid #2d4271;
    border-radius: 10px;
    background: rgba(10, 22, 45, 0.65);
    display: inline-block;
  }

  .home-footer-brand p {
    color: #6880a8;
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
  }

  .home-footer-col h4 {
    color: #dce8ff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 16px;
  }

  .home-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .home-footer-col a {
    color: #6880a8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
  }

  .home-footer-col a:hover {
    color: #a0b8e0;
  }

  .home-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .home-footer-bottom span {
    color: #4a6080;
    font-size: 13px;
  }

  /* ── Homepage Responsive ───────────────────────────────────── */
  @media (max-width: 1024px) {
    .home-feat-card {
      gap: 32px;
      padding: 36px;
    }
  }

  @media (max-width: 860px) {
    .home-feat-card,
    .home-feat-card.reverse {
      grid-template-columns: 1fr;
      padding: 28px;
      gap: 24px;
    }

    .home-feat-card.reverse .home-feat-text {
      order: 0;
    }
    .home-feat-card.reverse .home-feat-visual {
      order: 0;
    }

    .home-insp-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-reviews-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-footer-grid {
      grid-template-columns: 1fr 1fr;
    }

    .home-footer-brand {
      grid-column: 1 / -1;
    }

    .homenav-links {
      display: none;
    }
  }

  @media (max-width: 560px) {
    .home-hero {
      padding: 48px 0 40px;
    }

    .home-stats-row {
      gap: 0;
      padding: 16px 16px;
    }

    .home-stat {
      padding: 0 14px;
    }

    .home-stat strong {
      font-size: 20px;
    }

    .home-insp-grid {
      grid-template-columns: 1fr;
    }

    .home-reviews-grid {
      grid-template-columns: 1fr;
    }

    .home-footer-grid {
      grid-template-columns: 1fr;
    }

    .home-footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /* Organized home layout additions */
  .home-hero.compact {
    padding-top: 64px;
    padding-bottom: 36px;
  }

  .home-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .home-tool-card {
    border: 1px solid #1f335c;
    border-radius: 14px;
    background: linear-gradient(180deg, #0a1328, #060d1d);
    overflow: hidden;
    min-height: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  }

  .home-tool-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    background: #091226;
  }

  .home-tool-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 170px;
  }

  .home-tool-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
  }

  .home-tool-content p {
    margin: 0 0 12px;
    color: #99add5;
    line-height: 1.6;
  }

  .home-tool-content a {
    color: #a991ff;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
  }

  .home-tool-card.simple {
    display: flex;
    align-items: center;
  }

  .describe-shell {
    margin-bottom: 22px;
  }

  .describe-section-compact {
    margin-top: 18px;
    padding: 18px 20px;
  }

  @media (max-width: 860px) {
    .home-tool-grid {
      grid-template-columns: 1fr;
    }
  }

.generate-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.showcase {
  display: inline-block;
  border: 1px solid #2a3b63;
  border-radius: 999px;
  color: #a8b9de;
  padding: 6px 10px;
  font-size: 12px;
  margin-bottom: 10px;
}

.result-card {
  border: 1px solid #24385d;
  border-radius: 12px;
  background: #091327;
  padding: 12px;
  min-height: 430px;
}

.result-card h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #cfdaf3;
}

.result-card pre {
  white-space: pre-wrap;
  word-break: break-word;
  color: #e7edff;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-height: 540px;
  overflow: auto;
}

.seo-section {
  margin-top: 24px;
  background: rgba(8, 18, 38, 0.75);
  border: 1px solid #213861;
  border-radius: 14px;
  padding: 20px;
}

.seo-section h2,
.seo-section h3 {
  margin-top: 0;
}

.seo-section p,
.seo-section li {
  color: #c5d3ef;
  line-height: 1.75;
}

.result-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid figure {
  margin: 0;
  border: 1px solid #29406d;
  border-radius: 12px;
  overflow: hidden;
  background: #081125;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.gallery-grid figcaption {
  color: #bfd0f1;
  padding: 10px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.footer-links a {
  color: #c5d4f3;
  text-decoration: none;
  border: 1px solid #2b4471;
  border-radius: 8px;
  padding: 8px 10px;
}

.hidden {
  display: none !important;
}

/* ── Describe Hero ────────────────────────────────────── */
.describe-hero {
  text-align: center;
  padding: 8px 0 22px;
}

.describe-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 46px);
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 500;
}

.hero-desc {
  font-size: 14px;
  color: #7a91c4;
  max-width: 580px;
  margin: 0 auto;
}

/* ── Desc grid: last button (Custom Question) spans full width ─ */
.desc-grid .custom-btn {
  grid-column: 1 / -1;
}

/* ── Custom Question textarea ─────────────────────────── */
.custom-q-wrap {
  margin-top: 10px;
}

.custom-q-wrap label {
  display: block;
  font-size: 13px;
  color: #bccceb;
  margin-bottom: 6px;
}

.custom-q-wrap textarea {
  width: 100%;
  background: #0a1328;
  border: 1px solid #29406f;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

/* ── Showcase window ──────────────────────────────────── */
.showcase-badge-row {
  margin-bottom: 12px;
}

.showcase-badge {
  display: inline-block;
  border: 1px solid #2a3b63;
  border-radius: 999px;
  color: #a8b9de;
  padding: 5px 12px;
  font-size: 12px;
}

.showcase-window {
  background: #0d1829;
  border: 1px solid #2a3f6d;
  border-radius: 12px;
  overflow: hidden;
}

.sc-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: #091426;
  border-bottom: 1px solid #1e304f;
}

.sc-dot-red    { width: 12px; height: 12px; background: #ff5f57; border-radius: 50%; display: inline-block; }
.sc-dot-yellow { width: 12px; height: 12px; background: #ffbd2e; border-radius: 50%; display: inline-block; }
.sc-dot-green  { width: 12px; height: 12px; background: #28c940; border-radius: 50%; display: inline-block; }

.sc-img-wrap {
  position: relative;
  background: #081226;
}

.sc-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  display: block;
  background: #081226;
}

.sc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(6, 14, 34, 0.75);
  border: 1px solid #3a5080;
  color: #cdd8f5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background 0.15s;
}

.sc-arrow:hover {
  background: rgba(109, 69, 255, 0.55);
  border-color: #6d45ff;
}

.sc-prev { left: 8px; }
.sc-next { right: 8px; }

.sc-desc-text {
  padding: 12px 14px;
  color: #c0d0ef;
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 80px;
}

.sc-dots-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.sc-dot {
  width: 8px;
  height: 8px;
  background: #2a3f6d;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.sc-dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 4px;
}

/* ── Result section (after generation) ───────────────── */
.result-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-img-wrap img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  background: #091226;
  border: 1px solid #203457;
  border-radius: 10px;
  display: block;
}

.result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.result-card-header h3 {
  margin: 0;
  font-size: 15px;
  color: #cfdaf3;
}

.copy-btn {
  background: #13203d;
  color: #c5d5f5;
  border: 1px solid #2d4272;
  border-radius: 8px;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  transition: background 0.15s;
}

.copy-btn:hover {
  background: #1b2f52;
}

/* ── Feature grid (Description Modes section) ─────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.feature-card {
  background: #081020;
  border: 1px solid #1e3058;
  border-radius: 10px;
  padding: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #d4e0ff;
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  color: #8fa6cc;
  line-height: 1.6;
}

/* ── FAQ grid ─────────────────────────────────────────── */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.faq-item {
  background: #081020;
  border: 1px solid #1e3058;
  border-radius: 10px;
  padding: 14px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #c5d5f5;
}

.faq-item p {
  margin: 0;
  font-size: 13px;
  color: #8fa6cc;
  line-height: 1.65;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero p {
    font-size: 16px;
  }
}

.support-body {
  min-height: 100vh;
}

.support-page {
  max-width: 1180px;
  padding-top: 24px;
  padding-bottom: 56px;
}

.support-header {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.support-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-nav a,
.support-link-pill {
  color: #c7d5f8;
  text-decoration: none;
  border: 1px solid #2d4372;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  background: rgba(10, 19, 40, 0.72);
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-bottom: 20px;
}

.support-card,
.support-panel,
.support-cta,
.blog-card,
.pricing-card,
.contact-card,
.legal-card,
.doc-step,
.article-section {
  background: linear-gradient(180deg, rgba(9, 18, 39, 0.96), rgba(5, 11, 24, 0.98));
  border: 1px solid #1b3059;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.support-card,
.support-panel,
.support-cta,
.pricing-card,
.contact-card,
.legal-card,
.doc-step,
.article-section {
  padding: 24px;
}

.blog-card {
  padding: 20px;
}

.support-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8b9e9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.support-hero h1,
.article-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.support-lead,
.article-lead {
  margin: 0;
  color: #a9b9df;
  line-height: 1.75;
  font-size: 16px;
}

.support-stat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.support-stat {
  padding: 16px;
  border-radius: 14px;
  background: rgba(13, 25, 52, 0.8);
  border: 1px solid #213865;
}

.support-stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}

.support-stat span {
  color: #9bb0db;
  font-size: 13px;
  line-height: 1.5;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.support-grid.three,
.blog-grid,
.pricing-grid,
.contact-grid,
.legal-grid,
.doc-grid {
  display: grid;
  gap: 18px;
}

.support-grid.three,
.blog-grid,
.pricing-grid,
.doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-panel h2,
.support-card h2,
.support-cta h2,
.pricing-card h2,
.contact-card h2,
.legal-card h2,
.doc-step h2,
.article-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.support-panel h3,
.support-card h3,
.pricing-card h3,
.contact-card h3,
.legal-card h3,
.doc-step h3,
.blog-card h3,
.article-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.support-panel p,
.support-card p,
.support-cta p,
.pricing-card p,
.contact-card p,
.legal-card p,
.doc-step p,
.blog-card p,
.article-section p,
.article-section li,
.support-panel li,
.support-card li,
.pricing-card li,
.contact-card li,
.legal-card li,
.doc-step li {
  color: #a9b9df;
  line-height: 1.75;
}

.support-panel ul,
.support-card ul,
.pricing-card ul,
.contact-card ul,
.legal-card ul,
.doc-step ul,
.article-section ul,
.article-section ol {
  margin: 0;
  padding-left: 18px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.support-btn-primary,
.support-btn-secondary,
.blog-card a,
.article-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
}

.support-btn-primary,
.article-cta a {
  background: linear-gradient(135deg, #6d45ff, #8a5bff);
  color: #ffffff;
}

.support-btn-secondary,
.blog-card a {
  border: 1px solid #2a4376;
  color: #d9e4ff;
  background: rgba(10, 19, 41, 0.72);
}

.support-note,
.support-meta,
.article-meta {
  color: #8fa6cc;
  font-size: 13px;
}

.support-faq-list,
.support-check-list {
  display: grid;
  gap: 10px;
}

.support-check-list li,
.support-faq-list li {
  list-style: none;
  position: relative;
  padding-left: 26px;
}

.support-check-list li::before,
.support-faq-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9d86ff;
  font-weight: 800;
}

.support-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.support-table th,
.support-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #1d325d;
}

.support-table th {
  color: #eef3ff;
  background: rgba(16, 30, 59, 0.8);
}

.support-table td {
  color: #a9b9df;
  background: rgba(8, 16, 35, 0.82);
}

.blog-card .support-meta,
.article-meta {
  display: block;
  margin-bottom: 12px;
}

.article-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.article-hero {
  margin-bottom: 18px;
}

.article-section + .article-section {
  margin-top: 18px;
}

.article-cta {
  margin-top: 22px;
}

.support-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #1d325d;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.support-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.support-footer a {
  color: #b8c9ef;
  text-decoration: none;
}

@media (max-width: 980px) {
  .support-hero,
  .support-grid,
  .support-grid.three,
  .blog-grid,
  .pricing-grid,
  .contact-grid,
  .legal-grid,
  .doc-grid,
  .support-stat-list {
    grid-template-columns: 1fr;
  }

  .support-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Global shared header/footer ───────────────────────── */
.global-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34, 53, 95, 0.65);
  background: rgba(5, 11, 25, 0.88);
}

.global-header.scrolled {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.global-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.global-logo {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding: 8px 12px;
  border: 1px solid #2d4271;
  border-radius: 10px;
  background: rgba(10, 22, 45, 0.65);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.global-nav a {
  color: #c1d1f3;
  text-decoration: none;
  border: 1px solid #2d4372;
  border-radius: 9px;
  padding: 8px 11px;
  font-size: 13px;
  line-height: 1;
}

.global-nav a:hover,
.global-footer a:hover,
.global-cta:hover {
  opacity: 0.92;
}

.global-cta {
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #6d45ff, #8a5bff);
  border: 1px solid transparent;
}

.global-footer {
  margin-top: 30px;
  border-top: 1px solid #1f335c;
  background: #050d1f;
}

.global-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 18px 22px;
}

.global-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(140px, 1fr));
  gap: 18px;
}

.global-footer-brand h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.global-footer-brand p,
.global-footer-col a,
.global-footer-copy {
  color: #9ab0db;
}

.global-footer-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #e7eeff;
}

.global-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.global-footer-col a {
  text-decoration: none;
  font-size: 14px;
}

.global-footer-bottom {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #1b2e55;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.global-footer-copy {
  font-size: 13px;
}

.has-global-layout .page,
.has-global-layout .support-page {
  padding-top: 20px;
}

@media (max-width: 980px) {
  .global-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .global-nav {
    gap: 8px;
  }

  .global-footer-grid {
    grid-template-columns: 1fr;
  }
}
