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

:root {
  --bg: #0a0a0a;
  --bg-card: #111;
  --bg-section: #0d0d0d;
  --text: #fafafa;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-glow: rgba(16,185,129,0.15);
  --border: #222;
  --radius: 12px;
  --radius-lg: 20px;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Language: hide all by default, show only .active ─── */
[data-lang] { display: none; }
[data-lang].active { display: revert; }

.lang-toggle { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer; user-select: none; }
.lang-toggle .lang-divider { color: var(--border); margin: 0 2px; }
.lang-toggle .lang-code { color: var(--text-muted); transition: color 0.2s; }
.lang-toggle .lang-code.active { color: var(--accent); }

/* ─── Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: var(--text);
  text-decoration: none;
}

nav .logo img { height: 32px; width: auto; }

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

nav .nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}

nav .nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent); color: #000 !important; padding: 8px 20px;
  border-radius: 8px; font-weight: 600; font-size: 14px; transition: all 0.2s !important;
}

.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }

.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ─── Hero ─── */
.hero {
  padding: 160px 0 80px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(16,185,129,0.08) 0%, transparent 60%);
  position: relative;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  color: var(--accent); font-size: 13px; font-weight: 500; margin-bottom: 32px;
}

.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s ease infinite; }

@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.04em; margin-bottom: 24px;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px); color: var(--text-muted);
  max-width: 560px; margin: 0 auto 40px; line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-size: 16px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.2s;
}

.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,0.25); }

.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}

.btn-outline:hover { border-color: var(--text-muted); transform: translateY(-2px); }

.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 64px;
  flex-wrap: wrap;
}

.hero-stats .stat { text-align: center; }
.hero-stats .stat-number { font-size: 28px; font-weight: 800; color: var(--accent); }
.hero-stats .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ─── App Mockup Section ─── */
.mockup-section {
  padding: 40px 0 100px; text-align: center;
  overflow: hidden;
}

.mockup-wrapper {
  position: relative;
  display: inline-block;
}

.phone-frame {
  position: relative;
  display: inline-block;
  padding: 16px 8px;
  background: #1a1a2e;
  border-radius: 40px;
  border: 2px solid #333;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.mockup-wrapper img {
  display: block;
  width: 280px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
  animation: mockup-float 4s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── Sections ─── */
section { padding: 100px 0; }

.section-label {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2;
}

.section-desc {
  font-size: 16px; color: var(--text-muted); max-width: 600px; line-height: 1.7;
}

.centered { text-align: center; }
.centered .section-desc { margin: 0 auto 48px; }

/* ─── Features ─── */
.features { background: var(--bg-section); }

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 48px;
}

.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all 0.3s ease;
}

.feature-card:hover { border-color: #333; background: var(--bg-card); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }

.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(16,185,129,0.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; font-size: 22px;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon { transform: scale(1.1); }

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── How It Works ─── */
.steps { display: flex; flex-direction: column; gap: 24px; margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }

.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s ease;
}

.step:hover { border-color: #333; transform: translateX(4px); }

.step-number {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(16,185,129,0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; flex-shrink: 0;
}

.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── Testimonials ─── */
.testimonials { background: var(--bg-section); }

.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px; margin-top: 48px;
}

.testimonial-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s ease;
}

.testimonial-card:hover { border-color: #333; transform: translateY(-2px); }

.testimonial-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-glow); display: flex; align-items: center;
  justify-content: center; font-size: 16px; font-weight: 700;
  color: var(--accent); margin-bottom: 16px;
}

.testimonial-card .quote {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 16px; font-style: italic;
}

.testimonial-card .author { font-size: 14px; font-weight: 600; }
.testimonial-card .role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── CTA ─── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(16,185,129,0.08) 0%, transparent 60%);
}

.cta-section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); font-size: 16px; max-width: 500px; margin: 0 auto 40px; }

.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 10px; border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: all 0.2s;
}

.store-badge:hover { border-color: #444; background: var(--bg-card); }

.store-badge .store-icon { font-size: 24px; }
.store-badge .store-text { text-align: left; }
.store-badge .store-label { font-size: 10px; color: var(--text-muted); }
.store-badge .store-name { font-size: 16px; font-weight: 600; }

.store-badge.coming-soon { opacity: 0.5; cursor: default; }
.store-badge.coming-soon:hover { border-color: var(--border); background: transparent; }

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

.faq-item {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}

.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none; color: var(--text);
  font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; padding: 0;
}

.faq-question .faq-icon { font-size: 20px; transition: transform 0.3s; color: var(--text-muted); }

.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 300px; padding-top: 16px; }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border); padding: 48px 0 32px;
}

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

.footer-brand .logo { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand .logo img { height: 24px; width: auto; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }

.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }

.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted); text-decoration: none;
  margin-bottom: 10px; transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 12px;
}

/* ─── Legal Pages (Terms & Privacy) ─── */
.legal-page { padding: 120px 0 80px; }

.legal-page h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 8px; }
.legal-page .last-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 48px; }

.legal-content { max-width: 800px; }

.legal-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; }
.legal-content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 12px; }
.legal-content p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 8px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent); }

/* ─── Animations / Reveal ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.hero-reveal { opacity: 0; transform: translateY(20px); animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-reveal:nth-child(1) { animation-delay: 0s; }
.hero-reveal:nth-child(2) { animation-delay: 0.15s; }
.hero-reveal:nth-child(3) { animation-delay: 0.3s; }
.hero-reveal:nth-child(4) { animation-delay: 0.45s; }

@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  nav .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 24px; gap: 20px;
    transform: translateY(-120%); transition: transform 0.3s;
    border-bottom: 1px solid var(--border);
  }
  nav .nav-links.open { transform: translateY(0); }
  .hero { padding: 120px 0 40px; }
  .hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-stats { gap: 24px; }
  .mockup-section { padding: 20px 0 60px; }
  .mockup-wrapper img { width: 220px; }
  .phone-frame { border-radius: 32px; padding: 12px 6px; }
  .phone-notch { width: 100px; height: 22px; border-radius: 0 0 12px 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal-page { padding: 100px 0 60px; }
}
