*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg: #050505;
  --surface: #0e0e0e;
  --surface-2: #171717;
  --surface-3: #1f1f1f;
  --text: #f0ece4;
  --text-dim: #7a7770;
  --text-muted: #4a4843;
  --accent: #3B82B8;
  --accent-soft: rgba(59, 130, 184, 0.12);
  --accent-glow: rgba(59, 130, 184, 0.06);
  --border: #1e1e1e;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Manrope', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

body::after {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

.mouse-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
  opacity: 0;
}
.mouse-glow.visible { opacity: 1; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

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

/* ─── NAVIGATION ──────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--text);
  color: var(--bg);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.04);
}

/* ─── HERO ────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 184, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 184, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge .pulse {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  max-width: 800px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 80px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 40px rgba(59, 130, 184, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 60px rgba(59, 130, 184, 0.35);
}
.btn-secondary {
  color: var(--text-dim);
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover { color: var(--text); }
.btn-secondary svg { transition: transform 0.3s; }
.btn-secondary:hover svg { transform: translateX(3px); }

/* ─── PHONE DEMO ──────────────────────────── */
.phone-demo {
  width: 100%;
  max-width: 320px;
  position: relative;
}
.phone-frame {
  background: #1a1a1a;
  border-radius: 40px;
  border: 3px solid #2a2a2a;
  overflow: hidden;
  box-shadow:
    0 20px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 60px rgba(59, 130, 184, 0.08);
}
.phone-notch {
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
  background: #1a1a1a;
}
.phone-notch-pill {
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 100px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
}
.phone-status-right {
  display: flex;
  gap: 5px;
  align-items: center;
}
.phone-status-right svg { opacity: 0.8; }

.phone-app {
  background: var(--bg);
  padding: 0 0 20px;
}
.phone-app-header {
  padding: 16px 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-app-header img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}
.phone-app-header span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.phone-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.phone-search-bar svg {
  color: var(--text-muted);
  flex-shrink: 0;
}
.phone-search-text {
  font-size: 0.85rem;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  position: relative;
}
.phone-search-text::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--accent);
  margin-left: 1px;
}
@keyframes blink {
  50% { opacity: 0; }
}

.phone-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 0 3px;
}
.phone-photo {
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: cover;
  background-position: center;
  background-color: var(--surface-2);
}
.phone-photo:nth-child(1) { border-radius: 4px 0 0 0; }
.phone-photo:nth-child(3) { border-radius: 0 4px 0 0; }
.phone-photo:nth-child(7) { border-radius: 0 0 0 4px; }
.phone-photo:nth-child(9) { border-radius: 0 0 4px 0; }
.phone-photo.visible {
  opacity: 1;
  transform: scale(1);
}

.phone-home-bar {
  width: 120px;
  height: 4px;
  background: #444;
  border-radius: 100px;
  margin: 16px auto 8px;
}

/* ─── SECTION COMMON ───────────────────────── */
section {
  padding: 120px 0;
  position: relative;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 500px;
  font-weight: 300;
  line-height: 1.7;
}

/* ─── HOW IT WORKS ─────────────────────────── */
.how-it-works {
  border-top: 1px solid var(--border);
}
.how-header {
  margin-bottom: 72px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.step {
  background: var(--surface);
  padding: 48px 36px;
  border-radius: 2px;
  position: relative;
  transition: background 0.3s;
}
.step:first-child { border-radius: var(--radius) 2px 2px var(--radius); }
.step:last-child { border-radius: 2px var(--radius) var(--radius) 2px; }
.step:hover { background: var(--surface-2); }
.step-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 28px;
}
.step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.step p {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ─── BENTO FEATURES ───────────────────────── */
.features {
  border-top: 1px solid var(--border);
}
.features-header {
  margin-bottom: 72px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 2px;
}
.bento-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}
.bento-card:nth-child(1) { grid-column: span 7; }
.bento-card:nth-child(2) { grid-column: span 5; }
.bento-card:nth-child(3) { grid-column: span 4; }
.bento-card:nth-child(4) { grid-column: span 8; }

.bento-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--accent);
}
.bento-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.bento-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: 380px;
}
.bento-card .bento-visual {
  position: absolute;
  right: 24px;
  bottom: 24px;
  opacity: 0.06;
  font-size: 8rem;
  line-height: 1;
  font-weight: 800;
}

/* ─── SHOWCASE ──────────────────────────────── */
.showcase {
  border-top: 1px solid var(--border);
  text-align: center;
}
.showcase-quote {
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.4;
  max-width: 750px;
  margin: 0 auto 32px;
  letter-spacing: -0.02em;
}
.showcase-quote em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}
.showcase-attr {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 400;
}

/* ─── STATS ─────────────────────────────────── */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h4 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-item p {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── CTA ──────────────────────────────────── */
.cta {
  text-align: center;
  padding: 140px 0;
}
.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59, 130, 184, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.cta h2 em {
  font-style: normal;
  color: var(--accent);
}
.cta .section-desc {
  margin: 0 auto 44px;
  text-align: center;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--text);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(59, 130, 184, 0.2);
}
.store-btn small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.7;
  display: block;
  text-align: left;
}
.store-btn span {
  display: block;
  text-align: left;
  line-height: 1.2;
}

/* ─── FOOTER ────────────────────────────────── */
footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--text); }

/* ─── SCROLL ANIMATIONS ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .step:first-child { border-radius: var(--radius) var(--radius) 2px 2px; }
  .step:last-child { border-radius: 2px 2px var(--radius) var(--radius); }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) {
    grid-column: span 1;
  }
  .stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero-buttons { flex-direction: column; }
  section { padding: 80px 0; }
  .step { padding: 36px 24px; }
  .bento-card { padding: 32px 24px; }
  .cta-box { padding: 60px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  footer .container { flex-direction: column; text-align: center; }
  .footer-left { flex-direction: column; }
  .phone-demo { max-width: 280px; }
}

/* ─── LANGUAGE SWITCH ──────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.25s;
}
.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-cta.desktop { display: none; }
}
