@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #A78BFA;
  --primary-strong: #8B5CF6;
  --on-primary: #14082E;
  --secondary: #67E8F9;
  --accent: #FBBF24;
  --accent-strong: #F59E0B;
  --bg: #0B0716;
  --bg-raise: #140D26;
  --fg: #EDE9FE;
  --fg-soft: #A79FC4;
  --fg-mute: #6E668C;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(167, 139, 250, 0.18);
  --border-strong: rgba(167, 139, 250, 0.35);
  --glow-violet: 0 0 40px rgba(139, 92, 246, 0.25);
  --glow-gold: 0 0 32px rgba(251, 191, 36, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-deep: 0 24px 64px rgba(0, 0, 0, 0.55);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(103, 232, 249, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(236, 72, 153, 0.08), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--fg);
}

a { color: var(--secondary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #A5F3FC; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(11, 7, 22, 0.7);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  display: grid;
  place-items: center;
  box-shadow: var(--glow-violet);
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 10px;
  color: var(--fg-soft);
  font-weight: 500;
  font-size: 14.5px;
  font-family: 'Sora', sans-serif;
  transition: all 0.25s var(--ease);
}

.nav-links a:hover, .nav-links a.active {
  background: var(--surface-strong);
  color: var(--fg);
}

.nav-cta { display: flex; gap: 12px; align-items: center; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  color: #14082E;
  box-shadow: var(--glow-violet);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 56px rgba(139, 92, 246, 0.45);
  color: #14082E;
}

.btn-primary:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #2A1B02;
  box-shadow: var(--glow-gold);
}

.btn-gold:hover { transform: translateY(-2px); color: #2A1B02; }

.btn-secondary {
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover { transform: translateY(-2px); background: var(--surface-strong); color: var(--fg); }

.btn-lg { padding: 17px 32px; font-size: 16px; min-height: 56px; border-radius: 14px; }

/* Hero */
.hero {
  padding: 90px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 26px;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 74px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.04em;
}

.hero h1 .accent {
  background: linear-gradient(110deg, #A78BFA 10%, #67E8F9 55%, #FBBF24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--fg-soft);
  margin-bottom: 34px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.rating { display: flex; align-items: center; gap: 8px; }
.rating-stars { color: var(--accent); font-size: 18px; letter-spacing: 3px; text-shadow: 0 0 16px rgba(251, 191, 36, 0.5); }
.rating-text { font-size: 13.5px; color: var(--fg-soft); font-weight: 500; }

.store-badges { display: flex; gap: 12px; }

.store-badge {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
}

.store-badge:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-strong); color: var(--fg); }
.store-badge .label { display: block; color: var(--fg-mute); font-size: 10px; }
.store-badge .name { display: block; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; }

/* Phone mockup */
.hero-visual {
  position: relative;
  height: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 290px;
  height: 580px;
  background: linear-gradient(180deg, #241743, #170E2E);
  border: 1px solid var(--border-strong);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-deep), var(--glow-violet);
  position: relative;
  z-index: 2;
}

.phone::before {
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #060312;
  border-radius: 14px;
  z-index: 5;
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #2E1065, #0B0716);
}

.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.puzzle-overlay {
  position: absolute;
  inset: 0;
  padding: 60px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(11, 7, 22, 0.75), rgba(11, 7, 22, 0.92));
}

.puzzle-top {
  display: flex;
  justify-content: space-between;
  color: var(--fg);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  padding: 4px 8px;
}

.puzzle-level { font-size: 13px; color: var(--fg-soft); }
.puzzle-score { font-size: 15px; color: var(--accent); text-shadow: 0 0 14px rgba(251, 191, 36, 0.5); }

.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-top: auto;
  margin-bottom: 60px;
  backdrop-filter: blur(6px);
}

.puzzle-tile {
  aspect-ratio: 1;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #0B0716;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.puzzle-tile.p { background: linear-gradient(135deg, #F0ABFC, #E879F9); }
.puzzle-tile.s { background: linear-gradient(135deg, #A78BFA, #8B5CF6); }
.puzzle-tile.g { background: linear-gradient(135deg, #FDE68A, #FBBF24); }
.puzzle-tile.c { background: linear-gradient(135deg, #6EE7B7, #34D399); }
.puzzle-tile.b { background: linear-gradient(135deg, #7DD3FC, #38BDF8); }

/* Floating orbs (were clay pieces) */
.floating-piece {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(2px);
}

.piece-1 {
  width: 110px; height: 110px;
  top: 30px; left: -50px;
  background: radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.85), rgba(109, 40, 217, 0.25) 70%);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.5);
}

.piece-2 {
  width: 70px; height: 70px;
  top: 110px; right: -30px;
  background: radial-gradient(circle at 35% 35%, rgba(253, 230, 138, 0.9), rgba(245, 158, 11, 0.2) 70%);
  box-shadow: 0 0 48px rgba(251, 191, 36, 0.45);
}

.piece-3 {
  width: 85px; height: 85px;
  bottom: 90px; left: -35px;
  background: radial-gradient(circle at 35% 35%, rgba(103, 232, 249, 0.8), rgba(8, 145, 178, 0.2) 70%);
  box-shadow: 0 0 52px rgba(103, 232, 249, 0.4);
}

.piece-4 {
  width: 55px; height: 55px;
  bottom: 40px; right: 10px;
  background: radial-gradient(circle at 35% 35%, rgba(240, 171, 252, 0.85), rgba(217, 70, 239, 0.2) 70%);
  box-shadow: 0 0 44px rgba(232, 121, 249, 0.45);
}

/* Sections */
section { padding: 84px 0; }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-head .kicker {
  display: inline-block;
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  font-family: 'Sora', sans-serif;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 50px);
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}

.section-head p {
  font-size: 17px;
  color: var(--fg-soft);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  margin-bottom: 22px;
  display: grid; place-items: center;
  color: #0B0716;
}

.feature-icon.pink { background: linear-gradient(135deg, #F0ABFC, #E879F9); box-shadow: 0 0 28px rgba(232, 121, 249, 0.35); }
.feature-icon.purple { background: linear-gradient(135deg, #A78BFA, #8B5CF6); box-shadow: 0 0 28px rgba(139, 92, 246, 0.4); }
.feature-icon.gold { background: linear-gradient(135deg, #FDE68A, #FBBF24); box-shadow: 0 0 28px rgba(251, 191, 36, 0.35); }
.feature-icon.green { background: linear-gradient(135deg, #6EE7B7, #34D399); box-shadow: 0 0 28px rgba(52, 211, 153, 0.35); }

.feature-card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature-card p { color: var(--fg-soft); font-size: 14.5px; line-height: 1.7; }

/* Gameplay showcase — aurora panel */
.showcase {
  background:
    radial-gradient(ellipse 70% 60% at 25% 0%, rgba(139, 92, 246, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(103, 232, 249, 0.12), transparent 55%),
    var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.showcase::before,
.showcase::after { content: none; }

.showcase > * { position: relative; z-index: 1; }

.showcase-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.showcase-head .kicker { background: rgba(103, 232, 249, 0.08); border-color: rgba(103, 232, 249, 0.25); color: var(--secondary); }
.showcase-head h2 { color: var(--fg); margin-bottom: 14px; }
.showcase-head p { color: var(--fg-soft); font-size: 17px; }

.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screen {
  aspect-ratio: 9/16;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  position: relative;
}

.screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 7, 22, 0.55));
  pointer-events: none;
}

.screen:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6), var(--glow-violet);
}

.screen img { width: 100%; height: 100%; object-fit: cover; }

/* Stats strip */
.stats-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .num {
  font-family: 'Sora', sans-serif;
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(120deg, #A78BFA, #67E8F9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-item .label { font-size: 13px; color: var(--fg-soft); margin-top: 10px; font-weight: 500; letter-spacing: 0.02em; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  position: relative;
  counter-increment: step;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.step:hover { border-color: var(--border-strong); background: var(--surface-strong); }

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Sora', sans-serif;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(120deg, #A78BFA, #67E8F9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.step h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { font-size: 14.5px; color: var(--fg-soft); line-height: 1.7; }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.testi-card {
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

.testi-card:hover { border-color: var(--border-strong); }

.testi-stars { color: var(--accent); font-size: 16px; margin-bottom: 16px; letter-spacing: 3px; text-shadow: 0 0 14px rgba(251, 191, 36, 0.4); }
.testi-text { font-size: 15.5px; color: var(--fg); margin-bottom: 22px; line-height: 1.75; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid var(--border-strong); }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--fg); font-size: 14.5px; }
.testi-role { font-size: 12.5px; color: var(--fg-mute); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq:hover, .faq[open] { border-color: var(--border-strong); background: var(--surface-strong); }

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  cursor: pointer;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '';
  width: 24px; height: 24px;
  background: rgba(167, 139, 250, 0.12);
  border-radius: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq[open] summary::after { transform: rotate(180deg); }

.faq p {
  margin-top: 14px;
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.75;
}

/* Download CTA */
.download-cta {
  background:
    radial-gradient(ellipse 80% 90% at 50% -20%, rgba(139, 92, 246, 0.4), transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 110%, rgba(251, 191, 36, 0.12), transparent 60%),
    var(--bg-raise);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 76px 48px;
  text-align: center;
  color: var(--fg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep), var(--glow-violet);
}

.download-cta::before,
.download-cta::after { content: none; }

.download-cta > * { position: relative; z-index: 1; }
.download-cta h2 { color: var(--fg); font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; letter-spacing: -0.03em; }
.download-cta p { font-size: 17px; margin-bottom: 34px; color: var(--fg-soft); max-width: 520px; margin-left: auto; margin-right: auto; }

.download-cta .store-badges { justify-content: center; }
.download-cta .store-badge { background: rgba(255, 255, 255, 0.07); }
.download-cta .store-badge:hover { background: rgba(255, 255, 255, 0.12); }

/* Footer */
.site-footer {
  padding: 64px 0 32px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  color: var(--fg-soft);
  margin: 16px 0 22px;
  max-width: 320px;
  font-size: 14.5px;
}

.social-links { display: flex; gap: 10px; }

.social-links a {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--fg-soft);
  transition: all 0.25s ease;
}

.social-links a:hover { border-color: var(--border-strong); color: var(--primary); transform: translateY(-2px); }

.footer-col h4 {
  font-size: 13px;
  margin-bottom: 18px;
  font-family: 'Sora', sans-serif;
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: var(--fg-soft); font-size: 14px; }
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--fg-mute);
  font-size: 13.5px;
}

/* Interior pages */
.page-hero { padding: 70px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; letter-spacing: -0.035em; }
.page-hero p { font-size: 17px; color: var(--fg-soft); max-width: 620px; margin: 0 auto; }

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
  max-width: 820px;
  margin: 0 auto 40px;
}

.content-block h2 { font-size: 26px; margin: 34px 0 16px; color: var(--primary); letter-spacing: -0.025em; }
.content-block h2:first-child { margin-top: 0; }
.content-block h3 { font-size: 19px; margin: 26px 0 12px; }
.content-block p { margin-bottom: 16px; color: var(--fg-soft); }
.content-block ul, .content-block ol { padding-left: 24px; margin-bottom: 16px; color: var(--fg-soft); }
.content-block li { margin-bottom: 9px; }
.content-block strong { color: var(--fg); font-weight: 600; }
.content-block a { color: var(--secondary); }

/* About values */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.value-card {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.3s ease;
}

.value-card:hover { border-color: var(--border-strong); }

.value-num {
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(120deg, #A78BFA, #67E8F9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.value-card h3 { font-size: 16.5px; margin: 14px 0 8px; letter-spacing: -0.01em; }
.value-card p { font-size: 13.5px; color: var(--fg-soft); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  padding: 40px 36px;
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(139, 92, 246, 0.35), transparent 65%),
    var(--bg-raise);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--fg);
  box-shadow: var(--shadow-card);
}

.contact-info h2 { color: var(--fg); margin-bottom: 12px; letter-spacing: -0.025em; }
.contact-info p { color: var(--fg-soft); margin-bottom: 32px; font-size: 14.5px; }

.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail .icon {
  width: 40px; height: 40px;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--primary);
}
.contact-detail strong { display: block; font-size: 12.5px; color: var(--fg-mute); font-family: 'Sora', sans-serif; letter-spacing: 0.04em; }
.contact-detail span { font-size: 15px; font-weight: 500; color: var(--fg); }

.contact-form {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  transition: all 0.2s ease;
  min-height: 48px;
}

.form-group select option { background: var(--bg-raise); color: var(--fg); }

.form-group input::placeholder, .form-group textarea::placeholder { color: var(--fg-mute); }

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18);
}

.form-group .hint { font-size: 12px; color: var(--fg-mute); margin-top: 6px; }

.form-status { margin-top: 16px; padding: 14px; border-radius: 12px; font-size: 14px; display: none; }
.form-status.success { display: block; background: rgba(52, 211, 153, 0.12); color: #6EE7B7; border: 1px solid rgba(52, 211, 153, 0.35); }
.form-status.error { display: block; background: rgba(248, 113, 113, 0.12); color: #FCA5A5; border: 1px solid rgba(248, 113, 113, 0.35); }

/* Utility */
.reveal { opacity: 0; transform: translateY(30px); }
.text-center { text-align: center; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); padding: 32px; }
  .screens { grid-template-columns: 1fr 1fr; }
  .screens .screen:nth-child(3) { grid-column: span 2; max-width: 240px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    flex-direction: column;
    padding: 14px;
    background: #171029;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    margin-top: 8px;
  }
  section { padding: 56px 0; }
  .hero { padding: 44px 0 60px; }
  .showcase, .download-cta, .content-block { padding: 48px 24px; }
  .screens { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .screens .screen:nth-child(3) { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { width: 240px; height: 480px; }
  .hero-visual { height: 520px; }
  .stats-strip { padding: 26px; }
  .stat-item .num { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
