:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #818CF8;
  --primary-bg: #EEF2FF;
  --text: #1E293B;
  --text-light: #64748B;
  --white: #ffffff;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(99,102,241,0.12);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ====== NAVBAR ====== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 1.35rem; font-weight: 800;
  color: var(--primary); letter-spacing: -0.5px;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #6366F1, #818CF8);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-light);
  font-weight: 500; font-size: 0.92rem; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-nav-cta {
  background: var(--primary) !important; color: #fff !important;
  padding: 9px 24px; border-radius: 8px; font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.btn-nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ====== HERO ====== */
.hero {
  background: linear-gradient(150deg, #3730A3 0%, #4F46E5 35%, #6366F1 65%, #818CF8 100%);
  color: #fff; padding: 110px 32px 90px;
  position: relative; overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-dots::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-dots::after {
  content: '';
  position: absolute; bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 0.82rem; font-weight: 600;
  padding: 6px 18px; border-radius: 999px; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 22px; letter-spacing: -1.5px;
}
.hero h1 em { font-style: normal; color: #C7D2FE; }
.hero-sub {
  font-size: 1.08rem; line-height: 1.85;
  opacity: 0.88; max-width: 700px; margin: 0 auto 40px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.btn-white {
  background: #fff; color: var(--primary);
  padding: 15px 38px; border-radius: 10px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.24); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 13px 38px; border-radius: 10px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.hero-stats {
  display: inline-flex; gap: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px; overflow: hidden;
}
.stat-box {
  padding: 20px 36px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-box:last-child { border-right: none; }
.stat-box .n { font-size: 1.9rem; font-weight: 800; display: block; line-height: 1; }
.stat-box .l { font-size: 0.78rem; opacity: 0.72; margin-top: 5px; display: block; }

/* ====== SECTIONS ====== */
.section { padding: 88px 32px; }
.section-alt { background: #F8FAFF; }
.container { max-width: 1200px; margin: 0 auto; }
.chip {
  display: inline-block;
  color: var(--primary); background: var(--primary-bg);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.75px; margin-bottom: 16px;
}
.section-p {
  font-size: 1.05rem; color: var(--text-light);
  max-width: 680px; line-height: 1.8;
}
.tc { text-align: center; }
.tc .section-p { margin: 0 auto; }

/* ====== PLATFORM ====== */
.platform-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-top: 8px;
}
@media(max-width:768px){ .platform-grid { grid-template-columns: 1fr; gap: 40px; } }
.platform-text .section-p { margin-bottom: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill {
  background: var(--primary); color: #fff;
  font-size: 0.78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 999px;
}
.platform-card {
  background: linear-gradient(145deg, #EEF2FF 0%, #E0E7FF 100%);
  border-radius: 24px; padding: 44px 36px;
  text-align: center; position: relative;
}
.platform-card .big-num {
  font-size: 3.5rem; margin-bottom: 8px;
}
.platform-card h3 { font-size: 1rem; color: var(--primary-dark); font-weight: 700; margin-bottom: 28px; }
.mini-stats { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.mini-stat {
  background: #fff; border-radius: 14px;
  padding: 16px 20px; min-width: 110px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.1);
}
.mini-stat .mn { font-size: 1.7rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.mini-stat .ml { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; display: block; }

/* ====== FEATURE CARDS ====== */
.cards4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 52px;
}
@media(max-width:960px){ .cards4 { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .cards4 { grid-template-columns: 1fr; } }
.fcard {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.fcard:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(99,102,241,0.16); }
.fcard-icon {
  width: 50px; height: 50px;
  background: var(--primary-bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.fcard h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.fcard p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* ====== STEPS ====== */
.steps4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 52px; position: relative;
}
@media(max-width:960px){ .steps4 { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .steps4 { grid-template-columns: 1fr; } }
.step {
  background: #fff; border-radius: var(--radius);
  padding: 32px 22px; border: 1px solid var(--border);
  text-align: center; box-shadow: var(--shadow);
  position: relative;
}
.step-n {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #4F46E5, #818CF8);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.step h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.step p { color: var(--text-light); font-size: 0.88rem; line-height: 1.65; }

/* ====== RATES ====== */
.rates-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-top: 52px;
}
@media(max-width:768px){ .rates-grid { grid-template-columns: 1fr; } }
.rate-table-wrap {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow);
}
.rate-table-wrap table { width: 100%; border-collapse: collapse; }
.rate-table-wrap thead th {
  background: linear-gradient(135deg, #4F46E5, #6366F1);
  color: #fff; padding: 16px 22px;
  font-size: 0.95rem; text-align: left;
}
.rate-table-wrap td { padding: 13px 22px; font-size: 0.91rem; border-bottom: 1px solid var(--border); }
.rate-table-wrap tr:last-child td { border-bottom: none; }
.rate-table-wrap td:first-child { color: var(--text-light); }
.rate-table-wrap td:last-child { font-weight: 600; }
.rate-table-wrap tr:hover td { background: #F8FAFF; }
.example-card {
  background: linear-gradient(150deg, #3730A3, #6366F1);
  color: #fff; border-radius: var(--radius); padding: 32px;
}
.example-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 22px; opacity: 0.9; }
.ex-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
}
.ex-line:last-of-type { border-bottom: none; }
.ex-line span:first-child { opacity: 0.75; }
.ex-line span:last-child { font-weight: 700; }
.ex-total {
  margin-top: 12px; padding-top: 14px;
  border-top: 2px solid rgba(255,255,255,0.25);
  display: flex; justify-content: space-between;
  font-size: 1rem; font-weight: 800;
}
.ex-note { margin-top: 14px; font-size: 0.78rem; opacity: 0.6; }
.eligible {
  margin-top: 24px; background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 15px 18px; font-size: 0.9rem; color: var(--text-light);
}

/* ====== PARTNER ====== */
.partner-card {
  max-width: 860px; margin: 52px auto 0;
  background: #fff; border: 2px solid #C7D2FE;
  border-radius: var(--radius); padding: 40px 44px;
  box-shadow: var(--shadow);
}
.partner-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.partner-card p { color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  background: var(--primary-bg); color: var(--primary-dark);
  font-size: 0.8rem; font-weight: 700;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid #C7D2FE;
}

/* ====== PAGE HERO ====== */
.page-hero {
  background: linear-gradient(150deg, #3730A3, #6366F1);
  color: #fff; padding: 80px 32px 68px; text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -1px; }
.page-hero p { opacity: 0.82; font-size: 1.05rem; }

/* ====== VISION ====== */
.vision-wrap {
  background: linear-gradient(150deg, #4F46E5, #818CF8);
  color: #fff; border-radius: 24px; padding: 56px 52px;
  margin-top: 52px; text-align: center;
}
.vision-wrap h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 18px; }
.vision-wrap p { font-size: 1.05rem; opacity: 0.9; line-height: 1.8; max-width: 700px; margin: 0 auto; }

/* ====== PRIVACY ====== */
.prose {
  max-width: 860px; margin: 0 auto; padding: 64px 32px;
}
.prose-lead {
  background: var(--primary-bg); border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  padding: 28px 32px; margin-bottom: 40px;
}
.prose-lead p { color: var(--text); line-height: 1.8; font-size: 0.97rem; margin-bottom: 10px; }
.prose-lead p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.45rem; font-weight: 800; color: var(--primary); margin: 44px 0 14px; }
.prose h3 { font-size: 1.02rem; font-weight: 700; margin: 26px 0 10px; }
.prose p { color: var(--text-light); line-height: 1.85; margin-bottom: 14px; font-size: 0.95rem; }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { color: var(--text-light); line-height: 1.8; margin-bottom: 7px; font-size: 0.95rem; }

/* ====== CONTACT ====== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 52px; margin-top: 52px;
}
@media(max-width:768px){ .contact-layout { grid-template-columns: 1fr; } }
.info-block { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.info-ico {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--primary-bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.info-block h4 { font-size: 0.82rem; color: var(--text-light); font-weight: 500; margin-bottom: 4px; }
.info-block p, .info-block a { font-weight: 600; color: var(--text); font-size: 0.95rem; text-decoration: none; }
.info-block a { color: var(--primary); }
.cta-tip {
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  border-radius: 14px; padding: 20px 24px; margin-top: 8px;
}
.cta-tip p { font-size: 0.88rem; color: var(--text-light); line-height: 1.65; }
.cta-tip a { color: var(--primary); font-weight: 700; }
.cform {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px 36px;
  box-shadow: var(--shadow);
}
.cform h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.cform .sub { color: var(--text-light); font-size: 0.88rem; margin-bottom: 26px; }
.fg { margin-bottom: 18px; }
.fg label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.fg input, .fg textarea, .fg select {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.93rem; font-family: inherit; color: var(--text);
  background: #FAFBFF; outline: none; transition: border-color .2s;
}
.fg input:focus, .fg textarea:focus { border-color: var(--primary); background: #fff; }
.fg textarea { height: 120px; resize: vertical; }
.btn-send {
  width: 100%; background: linear-gradient(135deg, #4F46E5, #6366F1);
  color: #fff; border: none; padding: 14px;
  border-radius: var(--radius-sm); font-size: 0.97rem;
  font-weight: 700; cursor: pointer; transition: opacity .2s, transform .15s;
}
.btn-send:hover { opacity: 0.9; transform: translateY(-1px); }

/* ====== FOOTER ====== */
.footer { background: #0A0F1E; color: #64748B; padding: 70px 32px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
@media(max-width:768px){ .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.fbrand .flogo { font-size: 1.3rem; font-weight: 800; color: #fff; display: block; margin-bottom: 12px; }
.fbrand p { font-size: 0.88rem; line-height: 1.7; }
.fbrand .fcontact { margin-top: 20px; font-size: 0.85rem; line-height: 1.9; }
.fbrand .fcontact a { color: var(--primary-light); text-decoration: none; }
.fcol h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
.fcol ul { list-style: none; }
.fcol ul li { margin-bottom: 11px; }
.fcol ul li a { color: #64748B; text-decoration: none; font-size: 0.87rem; transition: color .2s; }
.fcol ul li a:hover { color: var(--primary-light); }
.footer-line {
  border-top: 1px solid #1E293B; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.82rem;
}
.footer-line a { color: #64748B; text-decoration: none; }
.footer-line a:hover { color: var(--primary-light); }

/* ====== MOBILE ====== */
@media(max-width:768px){
  .navbar { padding: 0 20px; position: relative; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border); gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 11px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; padding-top: 14px; }
  .hamburger { display: flex; }
  .hero { padding: 72px 20px 60px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-box:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-box:nth-last-child(-n+2) { border-bottom: none; }
  .section { padding: 60px 20px; }
  .partner-card { padding: 28px 24px; }
  .vision-wrap { padding: 40px 28px; }
  .cform { padding: 24px 20px; }
}
