/* =============================================================
   AISummary.app — Main Stylesheet
   ============================================================= */

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

:root {
  --bg:      #06060e;
  --bg2:     #0e0e1c;
  --accent:  #f5c842;
  --accent2: #ff6b35;
  --blue:    #4a9eff;
  --text:    #e8e8f0;
  --muted:   #7070a0;
  --card:    rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --glow:    rgba(245,200,66,0.15);
  --radius:  8px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 6rem 2rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #ffd24d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,200,66,0.3);
}

.btn-ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   NAVIGATION
   ============================================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(6,6,14,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.nav-logo .logo {
  width: 32px; height: 32px;
  background: var(--accent);
  /*border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);*/
}

.logo-big {
  width: 128px; height: 128px;
  background: var(--accent);
  /*border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);*/
}


@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #000 !important;
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: #ffd24d !important; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,200,66,0.12) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74,158,255,0.1) 0%, transparent 70%);
  bottom: 0; left: -100px;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  bottom: 0; right: -50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.25);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before { content: '✦'; font-size: 0.65rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 540px;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.browser-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  animation: fadeUp 0.6s 0.4s ease both;
}

.browser-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}
.browser-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.browser-btn svg { flex-shrink: 0; }

/* ── MOCKUP ── */
.mockup-wrap {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 4rem auto 0;
  animation: fadeUp 0.8s 0.5s ease both;
}
.mockup-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(245,200,66,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.mockup-frame {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin: 0 1rem;
}
.mockup-body {
  display: grid;
  /*grid-template-columns: 1fr 300px;*/
  min-height: 360px;
}
.mockup-video {
  background: #111;
  position: relative;
  overflow: hidden;
}

.mockup-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.mockup-video-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
}
.play-btn {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.play-btn::after {
  content: '';
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.mockup-panel {
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.panel-header { display: flex; align-items: center; justify-content: space-between; }
.panel-title  { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.panel-badge  { font-size: 0.68rem; padding: 2px 8px; background: rgba(245,200,66,0.15); color: var(--accent); border-radius: 4px; }
.panel-summary-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
.panel-summary-box strong { color: var(--text); display: block; margin-bottom: 0.4rem; font-size: 0.8rem; font-family: 'DM Sans', sans-serif; }
.panel-actions { display: flex; gap: 0.5rem; }
.panel-btn { flex: 1; padding: 0.4rem; border-radius: 5px; font-size: 0.72rem; font-weight: 600; text-align: center; cursor: pointer; border: none; font-family: inherit; }
.panel-btn-primary { background: var(--accent); color: #000; }
.panel-btn-ghost   { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }
.typing-line { height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; margin: 3px 0; transition: width 1.5s ease; }
.typing-line:nth-child(1) { width: 100%; }
.typing-line:nth-child(2) { width: 85%; }
.typing-line:nth-child(3) { width: 70%; }

/* =============================================================
   TRUST BAR
   ============================================================= */
.trust {
  text-align: center;
  padding: 3rem 2rem;
}
.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
  font-weight: 600;
}

/* =============================================================
   FEATURES
   ============================================================= */
#features {
  background: linear-gradient(180deg, transparent 0%, rgba(245,200,66,0.02) 50%, transparent 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: rgba(245,200,66,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  background: rgba(245,200,66,0.1);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.feature-card p  { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

/* =============================================================
   HOW IT WORKS
   ============================================================= */
#how { background: var(--bg2); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg2);
}
.step h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.step p  { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

.providers-wrap {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.providers-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.provider-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}
.provider-pill:hover {
  border-color: rgba(245,200,66,0.3);
  background: rgba(245,200,66,0.05);
}
.provider-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* =============================================================
   PRICING
   ============================================================= */
#pricing {
  background: linear-gradient(180deg, transparent 0%, rgba(74,158,255,0.02) 50%, transparent 100%);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
  margin: 3.5rem auto 0;
}
.pricing-card {
  border-radius: 16px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}
.pricing-card.free {
  background: var(--card);
  border: 1px solid var(--border);
}
.pricing-card.pro {
  background: linear-gradient(135deg, #1a1200, #0e0e1c);
  border: 1px solid rgba(245,200,66,0.4);
  box-shadow: 0 0 60px rgba(245,200,66,0.08);
}
.pricing-card.pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(245,200,66,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.pricing-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}
.pricing-card.free .pricing-label { color: var(--muted); }
.pricing-card.pro  .pricing-label { color: var(--accent); }
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.pricing-period { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.8rem; }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-features li.active { color: var(--text); }
.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}
.check.yes { background: rgba(245,200,66,0.15); color: var(--accent); }
.check.no  { background: rgba(255,255,255,0.05); color: var(--muted); }
.pro-badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}
.key-recovery {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(245,200,66,0.06);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.key-recovery span { font-size: 0.9rem; color: var(--muted); }
.key-recovery input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  min-width: 220px;
  transition: border-color var(--transition);
}
.key-recovery input:focus { border-color: rgba(245,200,66,0.4); }
.key-msg             { font-size: 0.82rem; width: 100%; text-align: center; min-height: 1em; }
.key-msg--success    { color: #3fb618; }
.key-msg--error      { color: #ff4444; }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
#testimonials { background: var(--bg2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 4rem;
  font-family: 'Syne', sans-serif;
  color: rgba(245,200,66,0.1);
  line-height: 1;
}
.testimonial-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #000;
  flex-shrink: 0;
}
.author-name { font-size: 0.85rem; font-weight: 600; }
.author-role { font-size: 0.75rem; color: var(--muted); }
.stars       { color: var(--accent); font-size: 0.8rem; margin-bottom: 0.8rem; }

/* =============================================================
   CTA SECTION
   ============================================================= */
#cta { text-align: center; position: relative; overflow: hidden; }
.cta-orb {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,200,66,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid rgba(245,200,66,0.2);
  border-radius: 20px;
  padding: 4rem 3rem;
}
.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.cta-box h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-box p    { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }
.cta-actions  { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 0.8rem; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 991px) {
  nav { padding: 1rem 1.5rem; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,6,14,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a   { display: block; padding: 0.75rem 2rem; }
  .nav-cta       { margin: 0.5rem 2rem; text-align: center; }
}

@media (max-width: 768px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-panel { display: none; }
  .steps::before { display: none; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  section { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 6rem 1.5rem 3rem; }
  .hero h1 { font-size: 2.4rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   LEGAL PAGES (privacy.php / terms.php)
   ============================================================= */

/* ── Body override ── */
.legal-page body,
body.legal-page {
  background: var(--bg);
}

/* ── Hero band ── */
.legal-hero {
  position: relative;
  padding: 9rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.legal-hero-orb {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,200,66,0.07) 0%, transparent 70%);
  top: -120px; right: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.legal-breadcrumb a { color: var(--muted); text-decoration: none; transition: color var(--transition); }
.legal-breadcrumb a:hover { color: var(--accent); }
.legal-breadcrumb span { color: var(--muted); }

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.legal-badge {
  display: inline-block;
  background: rgba(245,200,66,0.1);
  border: 1px solid rgba(245,200,66,0.25);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.legal-intro {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  margin-top: 0.8rem;
}

/* ── Body layout ── */
.legal-body {
  padding: 4rem 2rem 6rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* ── TOC sidebar ── */
.legal-toc {
  position: sticky;
  top: 90px;
}

.toc-inner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
}

.toc-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.toc-list li { counter-increment: toc; }

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  transition: all var(--transition);
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 0.65rem;
  color: rgba(245,200,66,0.5);
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}

.toc-list a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

/* ── Article content ── */
.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.legal-content section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  padding-top: 0.5rem;
}

.legal-content h3 {
  font-size: 1rem;
  color: var(--text);
  margin: 1.5rem 0 0.6rem;
}

.legal-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content p:last-child { margin-bottom: 0; }

.legal-content ul,
.legal-content ol {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.legal-content li::marker { color: rgba(245,200,66,0.5); }

.legal-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,200,66,0.3);
  transition: border-color var(--transition);
}
.legal-content a:hover { border-color: var(--accent); }

/* ── Callout boxes ── */
.highlight-box {
  background: rgba(74,158,255,0.06);
  border: 1px solid rgba(74,158,255,0.2);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.highlight-box p + p { margin-top: 0.5rem; }
.highlight-box strong { color: var(--text); }
.highlight-box ul { margin: 0.6rem 0 0; }

.highlight-box--green {
  background: rgba(63,182,24,0.06);
  border-color: rgba(63,182,24,0.2);
  border-left-color: #3fb618;
}

.highlight-box--warning {
  background: rgba(245,200,66,0.06);
  border-color: rgba(245,200,66,0.2);
  border-left-color: var(--accent);
}
.highlight-box--warning p { font-size: 0.82rem; letter-spacing: 0.01em; }

/* ── Contact card ── */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 320px;
}
.contact-card strong { color: var(--text); }
.contact-card a { color: var(--accent); border-bottom: none; }

/* ── Responsive legal ── */
@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-toc {
    position: static;
    order: -1;
  }

  .toc-inner {
    padding: 1rem;
  }

  .toc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.2rem;
  }
}

@media (max-width: 480px) {
  .legal-hero { padding: 7rem 1.5rem 3rem; }
  .legal-body  { padding: 2.5rem 1.5rem 4rem; }
  .toc-list    { grid-template-columns: 1fr; }
}
