@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700;900&family=Space+Mono:wght@700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  /* Colors */
  --accent-green: #58c095;
  --badge-violet: #5b3aff;
  --brand-violet: #5021ff;
  --pure-white: #ffffff;
  --surface-base: #f2f5f8;
  --surface-secondary: #e7edf1;
  --muted-text: #666f88;
  --primary-text: #000000;
  --secondary-text: #252836;
  --border-primary: #d0dbe3;

  /* Spacing */
  --space-2: 2px; --space-6: 6px; --space-8: 8px; --space-10: 10px;
  --space-12: 12px; --space-14: 14px; --space-15: 15px; --space-16: 16px;
  --space-20: 20px; --space-24: 24px; --space-32: 32px; --space-40: 40px;
  --space-44: 44px; --space-48: 48px; --space-56: 56px; --space-93: 93px;

  /* Radius */
  --radius-sm: 4px; --radius-md: 10px; --radius-button: 12px;
  --radius-card: 16px; --radius-pill: 32px;

  /* Shadows */
  --shadow-subtle: 0px 4px 4px 0px rgba(0,0,0,0.1);
  --shadow-elevated: 0px 15px 50px 0px rgba(0,0,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: 'Be Vietnam Pro', 'Roboto', sans-serif;
  font-size: 16px; line-height: 24px; letter-spacing: 0.3px;
  color: var(--primary-text); background: var(--pure-white);
}

a { color: var(--brand-violet); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--pure-white); border-bottom: 1px solid var(--border-primary);
  box-shadow: var(--shadow-subtle);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 var(--space-24); max-width: 1200px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: var(--space-10); text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-logo span {
  font-weight: 900; font-size: 18px; color: var(--primary-text); letter-spacing: 0.2px;
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-32); list-style: none;
}
.nav-links a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  color: var(--secondary-text); text-decoration: none;
}
.nav-links a:hover { color: var(--brand-violet); }
.lang-switcher {
  display: flex; align-items: center; gap: var(--space-8);
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
}
.lang-switcher a {
  color: var(--muted-text); text-decoration: none; padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-sm);
}
.lang-switcher a.active, .lang-switcher a:hover { color: var(--brand-violet); background: var(--surface-base); }
.lang-switcher span { color: var(--border-primary); }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--brand-violet); color: var(--pure-white);
  font-size: 14px; font-weight: 700; letter-spacing: 0.2px;
  padding: 10px var(--space-20); border-radius: var(--radius-button);
  text-decoration: none; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--primary-text); }

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; inset: 64px 0 0 0;
    width: 100vw; flex-direction: column; align-items: center; gap: var(--space-8);
    background: var(--pure-white); padding: var(--space-24) 0;
    overflow-y: auto; z-index: 999; border-top: 1px solid var(--border-primary);
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; text-align: center; }
  .nav-links a { width: 100%; display: block; padding: var(--space-14) 0; font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .lang-switcher { padding: var(--space-16) 0; border-top: 1px solid var(--border-primary); width: 100%; justify-content: center; }
}

/* ── HERO ── */
.hero {
  background: var(--surface-base);
  padding: var(--space-93) 0 var(--space-56) 0;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-56); align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: var(--badge-violet); color: var(--pure-white);
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  padding: var(--space-6) var(--space-12); border-radius: var(--radius-pill);
  margin-bottom: var(--space-20);
}
.hero h1 {
  font-size: 56px; font-weight: 900; letter-spacing: 0.2px; line-height: 1.1;
  color: var(--primary-text); margin-bottom: var(--space-24);
}
.hero h1 span { color: var(--brand-violet); }
.hero-desc {
  font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: 0.3px;
  color: var(--muted-text); margin-bottom: var(--space-40);
  max-width: 480px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: var(--brand-violet); color: var(--pure-white);
  font-size: 14px; font-weight: 700; letter-spacing: 0.2px;
  padding: 14px var(--space-32); border-radius: var(--radius-button);
  text-decoration: none; transition: opacity 0.2s; box-shadow: var(--shadow-subtle);
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: var(--pure-white); color: var(--brand-violet);
  font-size: 14px; font-weight: 700; letter-spacing: 0.2px;
  padding: 14px var(--space-32); border-radius: var(--radius-button);
  border: 2px solid var(--brand-violet); text-decoration: none; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--surface-base); text-decoration: none; }
.hero-btns { display: flex; gap: var(--space-16); flex-wrap: wrap; }
.hero-img { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-elevated); }
.hero-img img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-stats { display: flex; gap: var(--space-32); margin-top: var(--space-40); flex-wrap: wrap; }
.hero-stat-num {
  font-family: 'Space Mono', monospace; font-size: 18px; font-weight: 700;
  color: var(--brand-violet); letter-spacing: 0.2px;
}
.hero-stat-label { font-size: 12px; color: var(--muted-text); }

@media (max-width: 768px) {
  .hero { padding: var(--space-48) 0 var(--space-40) 0; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-32); }
  .hero h1 { font-size: 36px; }
  .hero-img { order: -1; }
}

/* ── SECTIONS ── */
section { padding: var(--space-93) 0; }
.section-label {
  display: inline-block; font-family: 'Space Mono', monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand-violet); margin-bottom: var(--space-16);
}
.section-title {
  font-size: 40px; font-weight: 900; letter-spacing: 0.2px; line-height: 1.15;
  color: var(--primary-text); margin-bottom: var(--space-16);
}
.section-subtitle {
  font-size: 16px; color: var(--muted-text); line-height: 24px; max-width: 600px;
}
.section-head { text-align: center; margin-bottom: var(--space-56); }
.section-head .section-subtitle { margin: 0 auto; }

@media (max-width: 768px) {
  section { padding: var(--space-56) 0; }
  .section-title { font-size: 28px; }
}

/* ── BENEFITS ── */
.benefits { background: var(--pure-white); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-32);
}
.benefit-card {
  background: var(--surface-base); border-radius: var(--radius-card);
  padding: var(--space-40) var(--space-32); border: 1px solid var(--border-primary);
  transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow-elevated); }
.benefit-icon {
  width: 56px; height: 56px; background: var(--brand-violet);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--pure-white); font-size: 24px; margin-bottom: var(--space-24);
}
.benefit-card h3 { font-size: 20px; font-weight: 900; margin-bottom: var(--space-12); color: var(--secondary-text); }
.benefit-card p { font-size: 14px; color: var(--muted-text); line-height: 22px; }
@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--surface-base); }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-56); align-items: center; }
.how-img { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-elevated); }
.how-img img { width: 100%; object-fit: cover; aspect-ratio: 16/10; }
.how-steps { display: flex; flex-direction: column; gap: var(--space-32); }
.how-step { display: flex; gap: var(--space-20); }
.how-step-num {
  flex-shrink: 0; width: 40px; height: 40px; background: var(--brand-violet);
  color: var(--pure-white); font-weight: 900; font-size: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.how-step h4 { font-size: 16px; font-weight: 700; color: var(--secondary-text); margin-bottom: var(--space-6); }
.how-step p { font-size: 14px; color: var(--muted-text); line-height: 22px; }
@media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } .how-img { order: -1; } }

/* ── FEATURES ── */
.features { background: var(--pure-white); }
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-32); }
.feature-row {
  display: flex; align-items: flex-start; gap: var(--space-20);
  padding: var(--space-32); background: var(--surface-base);
  border-radius: var(--radius-card); border: 1px solid var(--border-primary);
}
.feature-icon {
  flex-shrink: 0; width: 48px; height: 48px; background: var(--accent-green);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--pure-white); font-size: 20px;
}
.feature-row h3 { font-size: 16px; font-weight: 700; margin-bottom: var(--space-8); color: var(--secondary-text); }
.feature-row p { font-size: 14px; color: var(--muted-text); line-height: 22px; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* ── COMPARISON TABLE ── */
.comparison { background: var(--surface-base); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-card); box-shadow: var(--shadow-elevated); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 500px; background: var(--pure-white); }
.comparison-table th {
  background: var(--secondary-text); color: var(--pure-white);
  padding: var(--space-20) var(--space-24); text-align: left;
  font-size: 14px; font-weight: 700;
}
.comparison-table th:first-child { border-radius: var(--radius-card) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-card) 0 0; }
.comparison-table td {
  padding: var(--space-16) var(--space-24); border-bottom: 1px solid var(--border-primary);
  font-size: 14px; color: var(--secondary-text);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--surface-base); }
.check { color: var(--accent-green); font-size: 16px; }
.highlight-col { background: rgba(80,33,255,0.04); }

/* ── PRIVACY SECTION ── */
.privacy-section { background: var(--pure-white); }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-56); align-items: center; }
.privacy-img { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-elevated); }
.privacy-img img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.privacy-points { display: flex; flex-direction: column; gap: var(--space-24); }
.privacy-point { display: flex; gap: var(--space-16); align-items: flex-start; }
.privacy-point-icon {
  flex-shrink: 0; width: 44px; height: 44px; background: var(--surface-base);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  color: var(--brand-violet); font-size: 18px; border: 1px solid var(--border-primary);
}
.privacy-point h4 { font-size: 15px; font-weight: 700; color: var(--secondary-text); margin-bottom: var(--space-6); }
.privacy-point p { font-size: 14px; color: var(--muted-text); line-height: 22px; }
@media (max-width: 768px) { .privacy-inner { grid-template-columns: 1fr; } .privacy-img { order: -1; } }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--brand-violet) 0%, var(--badge-violet) 100%);
  padding: var(--space-93) 0; text-align: center; color: var(--pure-white);
}
.cta-section h2 { font-size: 48px; font-weight: 900; letter-spacing: 0.2px; margin-bottom: var(--space-16); }
.cta-section p { font-size: 16px; opacity: 0.85; line-height: 24px; margin-bottom: var(--space-40); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-white {
  display: inline-flex; align-items: center; gap: var(--space-8);
  background: var(--pure-white); color: var(--brand-violet);
  font-size: 14px; font-weight: 700; padding: 14px var(--space-40);
  border-radius: var(--radius-button); text-decoration: none; transition: opacity 0.2s;
}
.cta-section .btn-white:hover { opacity: 0.92; text-decoration: none; }
@media (max-width: 768px) { .cta-section h2 { font-size: 30px; } }

/* ── FOOTER ── */
.site-footer { background: var(--secondary-text); color: var(--pure-white); padding: var(--space-56) 0 var(--space-32) 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-40); margin-bottom: var(--space-40); }
.footer-brand img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-16); }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 20px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: var(--space-16); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-10); }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-col ul li a:hover { color: var(--pure-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-24); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-16); }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-lang { display: flex; gap: var(--space-12); }
.footer-lang a { font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-lang a:hover { color: var(--pure-white); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── DOWNLOAD PAGE ── */
.dl-hero { background: var(--surface-base); padding: var(--space-93) 0; text-align: center; }
.dl-hero h1 { font-size: 48px; font-weight: 900; margin-bottom: var(--space-16); }
.dl-hero p { font-size: 16px; color: var(--muted-text); max-width: 560px; margin: 0 auto var(--space-40); }
.platforms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-24); margin-top: var(--space-56); }
.platform-card {
  background: var(--pure-white); border-radius: var(--radius-card);
  padding: var(--space-40) var(--space-32); border: 1px solid var(--border-primary);
  text-align: center; transition: box-shadow 0.2s;
}
.platform-card:hover { box-shadow: var(--shadow-elevated); }
.platform-card i { font-size: 40px; color: var(--brand-violet); margin-bottom: var(--space-16); }
.platform-card h3 { font-size: 20px; font-weight: 900; margin-bottom: var(--space-8); color: var(--secondary-text); }
.platform-card p { font-size: 14px; color: var(--muted-text); margin-bottom: var(--space-24); }
@media (max-width: 768px) { .platforms-grid { grid-template-columns: 1fr; } .dl-hero h1 { font-size: 32px; } }

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--surface-base); padding: var(--space-56) 0; }
.legal-hero h1 { font-size: 40px; font-weight: 900; }
.legal-body { padding: var(--space-56) 0; }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 24px; font-weight: 900; color: var(--secondary-text); margin: var(--space-40) 0 var(--space-16) 0; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 26px; color: var(--muted-text); margin-bottom: var(--space-16); }
.legal-content ul { padding-left: var(--space-24); }

/* ── PILL BADGE ── */
.pill-badge {
  display: inline-flex; align-items: center; gap: var(--space-6);
  background: rgba(88,192,149,0.15); color: var(--accent-green);
  font-size: 12px; font-weight: 700; padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-pill);
}
