:root {
  --primary: #04a7e1;
  --primary-soft: #04a7e133;
  --primary-mid: #04a7e1b3;
  --dark: #19191b;
  --ink: #1a1d24;
  --muted: #7a8599;
  --text-light: #c5d0e0;
  --bg: #f7f8fa;
  --card: #ffffff;
  --line: rgba(4, 167, 225, 0.35);
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 6, 52, 0.12);
  --max: 1160px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select { font: inherit; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8eef4;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.brand img {
  width: auto;
  height: 32px;
  display: block;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop > button {
  appearance: none; border: 0; background: transparent;
  color: #333; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 10px 12px; cursor: pointer; border-radius: 8px;
}
.nav > a:hover, .nav > a.active, .nav-drop > button:hover { color: var(--primary); }
.nav > a.active { box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop .menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 220px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; border: 1px solid #eef2f6;
}
.nav-drop.open .menu, .nav-drop:hover .menu { display: block; }
.nav-drop .menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600;
}
.nav-drop .menu a:hover { background: var(--primary-soft); color: var(--primary); }
.nav-drop > button::after { content: " ▾"; font-size: 0.75em; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-select {
  border: 1px solid #e5e7eb; border-radius: 999px;
  padding: 8px 12px; background: #fff; color: #333; cursor: pointer;
}
.btn-app {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; border-radius: 999px;
  padding: 10px 16px; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.btn-app:hover { filter: brightness(0.95); }
.menu-toggle {
  display: none; border: 1px solid #ddd; background: #fff;
  border-radius: 10px; width: 42px; height: 42px; cursor: pointer;
}

/* Hero */
.hero {
  background-color: #04a7e1;
  background-image: url("../assets/banner.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 28px; align-items: center;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.2; margin: 0 0 14px; max-width: 18ch;
}
.hero .lead { margin: 0 0 22px; opacity: 0.95; max-width: 42ch; }
.hero-stats {
  display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 22px;
}
.hero-stat {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 12px 16px; min-width: 120px;
}
.hero-stat strong { display: block; font-size: 1.25rem; }
.hero-stat span { font-size: 0.85rem; opacity: 0.9; }
.btn-play {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b1b3a; color: #fff; border-radius: 10px;
  padding: 10px 16px; min-width: 180px;
}
.btn-play .small { display: block; font-size: 0.7rem; opacity: 0.85; }
.btn-play .big { display: block; font-size: 1.05rem; font-weight: 700; }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-banner-img {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 20, 40, 0.35));
}

/* Sections */
.section { padding: 64px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section h2 {
  text-align: center; margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 1.9rem); color: #1c2d55;
}
.section-dark h2 { color: #9ed9f2; }
.muted, .lead-center {
  color: var(--muted); text-align: center; margin: 0 auto 32px; max-width: 620px;
}
.section-dark .muted { color: #8fa0b8; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature-card {
  background: #fff; border-radius: 14px; padding: 22px;
  box-shadow: var(--shadow); border: 1px solid #eef3f7;
}
.section-dark .feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line); box-shadow: none;
}
.feature-card h3 { margin: 0 0 8px; color: var(--primary); font-size: 1.05rem; }
.feature-card p { margin: 0; color: #555; }
.section-dark .feature-card p { color: var(--text-light); }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step {
  background: #fff; border-radius: 14px; padding: 22px; text-align: center;
  box-shadow: var(--shadow);
}
.step .num {
  width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-weight: 800;
}
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: #555; }

.cta-band {
  background: linear-gradient(135deg, #04a7e1, #0288c7);
  color: #fff; padding: 48px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }

.page-hero {
  background: linear-gradient(120deg, #e6f7fd, #f5fbff 55%, #eef6fb);
  padding: 44px 0 56px; text-align: center;
}
.breadcrumb { color: #666; font-size: 0.9rem; margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero h1 {
  margin: 0 0 10px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: #123;
}
.page-hero .lead { margin: 0 auto; max-width: 680px; color: #556; }

.content-card {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 28px; margin-top: -28px; position: relative; z-index: 2;
}
.content-card h2 { text-align: left; color: var(--primary); margin-top: 0; }
.content-card p { color: #444; line-height: 1.7; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.border-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  background: #fff;
}
.border-card h3 { color: var(--primary); margin-top: 0; }

.faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff;
}
.faq-item > button {
  width: 100%; text-align: left; border: 0; background: #fff;
  padding: 14px 16px; font-weight: 700; cursor: pointer;
}
.faq-item .answer { display: none; padding: 0 16px 14px; color: #555; }
.faq-item.open .answer { display: block; }

.site-footer {
  background: #0d1118; color: #9aa8bd; padding: 28px 0 36px; font-size: 0.9rem;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.footer-company { max-width: 640px; }
.footer-company p { margin: 0 0 8px; line-height: 1.55; }
.footer-company .company-name {
  color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 10px;
}
.footer-company a { color: #7fd4f0; text-decoration: underline; }
.footer-company a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; background: #1a2233;
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.socials a:hover { background: var(--primary); }
.risk { max-width: 900px; line-height: 1.6; }

.market-banner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px;
}
.market-banner .item {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px; padding: 16px; text-align: center;
}
.market-banner .item strong { display: block; font-size: 1.3rem; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; border-radius: 999px;
  padding: 12px 22px; font-weight: 700;
}
.btn-primary:hover { filter: brightness(0.95); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px; border-bottom: 1px solid #eee; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-drop .menu { position: static; box-shadow: none; border: 0; display: none; }
  .nav-drop.open .menu { display: block; }
  .hero-grid, .feature-grid, .steps, .two-col, .market-banner {
    grid-template-columns: 1fr;
  }
  .hero {
    background-image: url("../assets/banner_phone.webp");
    background-position: center top;
    text-align: center;
  }
  .hero h1, .hero .lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-banner-img { width: min(100%, 240px); }
}
