/* ═══════════════════════════════════════════════════════════════
   Show Flow IQ — Design System v2
   Customer-focused · Readable · Warm contrast
   Typography: Playfair Display + DM Sans
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0e1220;
  --bg-card: #151a2e;
  --bg-card-hover: #1a2038;
  --bg-surface: #1c2240;
  --text: #eaecf5;
  --text-body: #c0c5d8;
  --text-dim: #8890a8;
  --gold: #d4a853;
  --gold-light: #f2d88a;
  --gold-bg: rgba(212,168,83,.10);
  --gold-border: rgba(212,168,83,.28);
  --blue: #7db7ff;
  --green: #74d69f;
  --pink: #d67ad3;
  --cyan: #6dd8d0;
  --border: rgba(255,255,255,.10);
  --border-light: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.06);
  --shadow: 0 8px 40px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.4);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --wrap: min(1140px, calc(100% - 48px));
  --transition: .25s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 25% 0%, rgba(212,168,83,.07), transparent),
    radial-gradient(ellipse 50% 35% at 80% 8%, rgba(125,183,255,.05), transparent);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: var(--wrap); margin: 0 auto; position: relative; z-index: 1; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,18,32,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: radial-gradient(circle at 30% 30%, #fff4d5, #d4a853 35%, #6a531a);
  box-shadow: 0 2px 10px rgba(212,168,83,.3);
}
.brand-name { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.brand-domain { font-size: 10px; color: var(--text-dim); letter-spacing: .12em; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-body);
  padding: 8px 14px; border-radius: 10px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }

.nav-cta {
  padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #d4a853, #f2d88a);
  color: #1a1508; font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 14px rgba(212,168,83,.25);
  transition: var(--transition); flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,168,83,.35); }

.nav-toggle { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--glass); border: 1px solid var(--border); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-body); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content:''; position: absolute; width: 18px; height: 2px; background: var(--text-body); left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ── TYPOGRAPHY ── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700; line-height: .95; letter-spacing: -.025em;
  color: var(--text);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600; line-height: 1.15;
}
.body-lg { font-size: 18px; line-height: 1.75; color: var(--text-body); }
.body-md { font-size: 15px; line-height: 1.7; color: var(--text-body); }

.sec-label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block;
}

/* ── SECTIONS ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.sec-header { margin-bottom: 40px; }
.sec-header .display-md { margin-bottom: 12px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 14px;
  font-size: 14px; font-weight: 700; transition: var(--transition);
  border: 1px solid var(--border); background: var(--glass);
}
.btn:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #d4a853, #f0d080);
  color: #1a1508; border: none;
  box-shadow: 0 4px 20px rgba(212,168,83,.2);
}
.btn-primary:hover { box-shadow: 0 6px 28px rgba(212,168,83,.35); }
.btn-arrow::after { content: '→'; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ── CARDS ── */
.card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover { background: var(--bg-card-hover); border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.card p { font-size: 14px; color: var(--text-body); line-height: 1.65; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
}

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── HERO ── */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; width: fit-content;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  color: var(--gold-light); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(.7);} }

/* ── SCREENSHOT SHOWCASE ── */
.screenshot {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.screenshot:hover { box-shadow: 0 24px 80px rgba(0,0,0,.5); transform: translateY(-4px); }
.screenshot img { width: 100%; display: block; }

.screenshot-label {
  padding: 14px 20px;
  background: rgba(14,18,32,.85);
  border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-dim);
  letter-spacing: .05em;
}

/* ── FEATURE ROW (image + text side by side) ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-text { display: flex; flex-direction: column; gap: 16px; }
.feature-text h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.15; }
.feature-text p { font-size: 16px; color: var(--text-body); line-height: 1.75; }
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  font-size: 14px; color: var(--text-body); padding-left: 22px;
  position: relative; line-height: 1.6;
}
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 13px; }

/* ── STAT BAR ── */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 32px 0;
}
.stat-item { text-align: center; padding: 20px 12px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.stat-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1;
  color: var(--gold-light); margin-bottom: 4px;
}
.stat-lbl { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }

/* ── DIVIDER ── */
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); border: none; margin: 0; }

/* ── PRICING ── */
.price-card { padding: 32px 28px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--gold-border); background: linear-gradient(180deg, rgba(212,168,83,.08), var(--bg-card)); box-shadow: 0 0 40px rgba(212,168,83,.06); }
.price-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.price-card.featured .price-tag { color: var(--gold); }
.price-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 18px; }
.price-features { display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: 14px; color: var(--text-body); padding-left: 20px; position: relative; line-height: 1.5; }
.price-features li::before { content:'✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 12px; }

/* ── FOOTER ── */
.site-footer { padding: 40px 0 52px; border-top: 1px solid var(--border); margin-top: 32px; position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 24px; flex-wrap: wrap; }
.footer-brand p { font-size: 13px; color: var(--text-dim); max-width: 34ch; line-height: 1.6; margin-top: 6px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-dim); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-dim); margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── PAGE HERO ── */
.page-hero { padding: 64px 0 40px; }
.page-hero .display-lg { margin-bottom: 14px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-item { padding: 24px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); }
.contact-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--gold-light); }
.contact-item p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse { direction: ltr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --wrap: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(14,18,32,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 24px; gap: 4px; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 40px 0 24px; }
  .section { padding: 48px 0; }
  .footer-inner { flex-direction: column; }
}
