/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-1: #1460B8;
  --blue-2: #0F47A0;
  --blue-3: #0A2F7A;
  --accent: #4DA3FF;
  --green: #4ADE80;
  --red: #F87171;
  --bg: #FAFBFD;
  --bg-dark: #0B1120;
  --text: #1A1A2E;
  --text-muted: #64748B;
  --card-bg: #FFFFFF;
  --card-border: rgba(0,0,0,0.06);
  --radius: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.35rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-1); }
.lang-switch {
  display: flex; gap: 4px; background: #F1F5F9; border-radius: 8px; padding: 3px;
}
.lang-switch button {
  border: none; background: transparent; padding: 5px 12px;
  border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; color: var(--text-muted); transition: all 0.2s;
  font-family: var(--font);
}
.lang-switch button.active {
  background: white; color: var(--blue-1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #F0F6FF 0%, #FAFBFD 40%, #FFF 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,96,184,0.08) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,163,255,0.06) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(20,96,184,0.1), rgba(77,163,255,0.1));
  border: 1px solid rgba(20,96,184,0.15);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; color: var(--blue-1);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 0%, var(--blue-3) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-3));
  color: white; padding: 14px 28px;
  border-radius: 14px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(20,96,184,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(20,96,184,0.4); }
.btn-primary svg { width: 22px; height: 22px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--text);
  padding: 14px 28px; border-radius: 14px;
  font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--card-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.hero-mockup {
  margin-top: 60px; position: relative; z-index: 1;
  display: flex; justify-content: center;
}
.hero-mockup .phone-frame {
  width: 280px; height: 570px;
  background: linear-gradient(160deg, var(--blue-1), var(--blue-3));
  border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 80px rgba(20,96,184,0.25), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative; overflow: hidden;
}
.phone-frame .screen {
  width: 100%; height: 100%; border-radius: 30px;
  background: #0D1B2A;
  display: flex; flex-direction: column;
  padding: 20px 16px; overflow: hidden;
}
.screen-header {
  text-align: center; padding-bottom: 16px;
}
.screen-header h3 { color: white; font-size: 0.85rem; font-weight: 600; }
.screen-tabs {
  display: flex; gap: 4px; justify-content: center; margin-top: 10px;
}
.screen-tabs span {
  padding: 5px 14px; border-radius: 8px;
  font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.5);
}
.screen-tabs span.active {
  background: var(--blue-1); color: white;
}
.screen-list { flex: 1; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.screen-item {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 10px 12px;
}
.screen-item-left { display: flex; align-items: center; gap: 10px; }
.screen-item-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}
.screen-item-name { color: white; font-size: 0.72rem; font-weight: 500; }
.screen-item-code { color: rgba(255,255,255,0.4); font-size: 0.6rem; }
.screen-item-price { text-align: right; }
.screen-item-price .price { color: white; font-size: 0.72rem; font-weight: 600; }
.screen-item-price .change { font-size: 0.6rem; font-weight: 600; }
.change.up { color: var(--green); }
.change.down { color: var(--red); }

/* ===== Features ===== */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  color: var(--blue-1); text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800;
  margin-bottom: 14px;
}
.section-header p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.feature-icon.blue { background: rgba(20,96,184,0.1); }
.feature-icon.orange { background: rgba(245,158,11,0.1); }
.feature-icon.green { background: rgba(16,185,129,0.1); }
.feature-icon.purple { background: rgba(139,92,246,0.1); }
.feature-icon.red { background: rgba(239,68,68,0.1); }
.feature-icon.cyan { background: rgba(6,182,212,0.1); }

.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
}
.cta-card {
  background: linear-gradient(160deg, var(--blue-1), var(--blue-3));
  border-radius: 28px; padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-card::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(77,163,255,0.1);
}
.cta-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: white; margin-bottom: 14px; position: relative; z-index: 1;
}
.cta-card p {
  color: rgba(255,255,255,0.75); margin-bottom: 32px;
  font-size: 1.05rem; position: relative; z-index: 1;
}
.cta-card .btn-primary {
  background: white; color: var(--blue-1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative; z-index: 1;
}
.cta-card .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--card-border);
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.85rem; color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue-1); }
.footer-copy {
  text-align: center; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--card-border);
  font-size: 0.8rem; color: var(--text-muted);
}

/* ===== Legal Pages ===== */
.legal {
  padding: 120px 0 80px;
  max-width: 780px; margin: 0 auto;
}
.legal h1 {
  font-size: 2rem; font-weight: 800; margin-bottom: 8px;
}
.legal .date { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 {
  font-size: 1.25rem; font-weight: 700; margin: 36px 0 12px;
}
.legal p, .legal li {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 12px;
}
.legal ul { padding-left: 24px; }
.legal li { margin-bottom: 8px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links a:not(.lang-switch-wrap) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  .cta-card { padding: 48px 24px; }
  .footer-content { flex-direction: column; text-align: center; }
  .hero-mockup .phone-frame { width: 240px; height: 490px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .legal { padding: 100px 24px 60px; }
}
