/* ── Variables ── */
:root {
  --primary:      #1a237e;
  --primary-mid:  #283593;
  --primary-light:#3949ab;
  --accent:       #f5a623;
  --accent-dark:  #e0941a;
  --bg:           #f4f6fb;
  --white:        #ffffff;
  --text:         #1a1a2e;
  --text-sec:     #555577;
  --border:       #e0e4f0;
  --shadow:       0 4px 24px rgba(26,35,126,0.10);
  --radius:       14px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,35,126,0.97);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar-logo { display: flex; align-items: center; gap: 10px; }
.navbar-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.navbar-logo span { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.navbar-links { display: flex; align-items: center; gap: 32px; }
.navbar-links a { color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500; transition: color .2s; }
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }
.navbar-cta {
  background: var(--accent); color: var(--primary) !important;
  padding: 8px 20px; border-radius: 20px; font-weight: 700 !important;
  transition: background .2s, transform .1s !important;
}
.navbar-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: .3s; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, #1565c0 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero::after {
  content: '';
  position: absolute; bottom: -20%; left: -5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(245,166,35,0.07);
}
.hero-content { flex: 1; max-width: 580px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15); border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent); padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px); font-weight: 900;
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 17px; color: rgba(255,255,255,0.75);
  margin-bottom: 36px; max-width: 460px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: var(--primary);
  padding: 14px 28px; border-radius: 12px; font-weight: 800; font-size: 15px;
  transition: all .2s; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--white);
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.25); transition: all .2s; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.phone-mockup {
  width: 260px; background: #0d1b5e;
  border-radius: 40px; padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 2px rgba(255,255,255,0.1);
  animation: float 4s ease-in-out infinite;
}
.phone-screen { background: #f4f6fb; border-radius: 28px; overflow: hidden; }
.phone-header { background: var(--primary); padding: 14px 16px; }
.phone-header-row { display: flex; align-items: center; justify-content: space-between; }
.phone-title { color: white; font-size: 13px; font-weight: 700; }
.phone-sub { color: rgba(255,255,255,0.6); font-size: 10px; }
.phone-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.phone-card {
  background: white; border-radius: 10px; padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border);
}
.phone-card-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.phone-card-text .t1 { font-size: 11px; font-weight: 700; color: var(--text); }
.phone-card-text .t2 { font-size: 9px; color: var(--text-sec); }
.phone-tabs { display: flex; background: white; border-top: 1px solid var(--border); }
.phone-tab { flex: 1; padding: 8px 4px; text-align: center; font-size: 9px; color: var(--text-sec); }
.phone-tab.active { color: var(--primary-light); font-weight: 700; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 28px 5%;
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-sec); font-weight: 500; margin-top: 2px; }

/* ── Section ── */
.section { padding: 80px 5%; }
.section-alt { background: var(--white); }
.section-tag {
  display: inline-block; background: rgba(26,35,126,0.08); color: var(--primary-light);
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: var(--text); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-title span { color: var(--primary-light); }
.section-sub { font-size: 16px; color: var(--text-sec); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── Cards Grid ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,35,126,0.12); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.card-icon.blue { background: rgba(26,35,126,0.08); }
.card-icon.orange { background: rgba(245,166,35,0.12); }
.card-icon.green { background: rgba(52,168,83,0.1); }
.card-icon.purple { background: rgba(103,58,183,0.1); }
.card h3 { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-sec); line-height: 1.65; }

/* ── How it works ── */
.steps { display: flex; gap: 0; flex-wrap: wrap; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 32px; left: calc(16.6% + 20px); right: calc(16.6% + 20px);
  height: 2px; background: linear-gradient(to right, var(--accent), var(--primary-light));
  z-index: 0;
}
.step { flex: 1; min-width: 180px; text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 6px 20px rgba(26,35,126,0.25);
}
.step h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.step p { font-size: 13px; color: var(--text-sec); line-height: 1.6; }

/* ── Languages ── */
.lang-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.lang-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1.5px solid var(--border);
  padding: 8px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.lang-chip span { font-size: 20px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 70px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-banner h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; color: white; margin-bottom: 14px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
footer {
  background: #0f1650; color: rgba(255,255,255,0.7);
  padding: 50px 5% 28px;
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand .logo-text { font-size: 22px; font-weight: 900; color: white; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; max-width: 240px; line-height: 1.6; }
.footer-links h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 13px; transition: color .2s; }
.footer-links li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-accent { color: var(--accent); font-weight: 700; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  padding: 120px 5% 60px; text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; color: white; margin-bottom: 14px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto; }

/* ── Feature Row ── */
.feature-row { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; flex-wrap: wrap; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; min-width: 280px; }
.feature-text h2 { font-size: 26px; font-weight: 900; color: var(--text); margin-bottom: 14px; }
.feature-text p { font-size: 15px; color: var(--text-sec); line-height: 1.75; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-sec); }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.feature-visual {
  flex: 1; min-width: 280px; height: 320px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 80px; box-shadow: var(--shadow);
}

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; flex-wrap: wrap; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(26,35,126,0.08); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.contact-item p { font-size: 13px; color: var(--text-sec); }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); font-size: 14px; color: var(--text);
  background: var(--bg); transition: border-color .2s; font-family: inherit;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary-light); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-form {
  width: 100%; padding: 13px; background: var(--primary);
  color: white; font-size: 15px; font-weight: 700; border: none;
  border-radius: 10px; cursor: pointer; transition: background .2s, transform .1s;
}
.btn-form:hover { background: var(--primary-light); transform: translateY(-1px); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--primary); padding: 20px 5%; gap: 16px; }
  .navbar-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-btns { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .stats-bar { gap: 32px; }
  .steps::before { display: none; }
  .steps { flex-direction: column; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { flex-direction: column; }
}
