@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --blue: #003AA5;
  --blue-dark: #002878;
  --blue-light: #1A52C4;
  --gold: #F5A623;
  --gold-light: #FFD07A;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --gray-100: #EEF2F8;
  --gray-200: #D6DFED;
  --gray-600: #6B7A99;
  --gray-900: #0D1B3E;
  --green: #00B37A;
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-900); background: var(--white); overflow-x: hidden; line-height: 1.6; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(0,58,165,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 40px; height: 40px; background: var(--gold); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--blue-dark);
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: white; line-height: 1.2; }
.logo-text span { display: block; font-weight: 300; font-size: 11px; opacity: 0.75; letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: white; }
.nav-links a.active { font-weight: 600; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.nav-cta { display: flex; gap: 12px; }
.btn-ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.35); color: white;
  padding: 9px 22px; border-radius: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-primary {
  background: var(--gold); border: none; color: var(--blue-dark);
  padding: 9px 22px; border-radius: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; }

/* ── BUTTONS ── */
.btn-hero-primary {
  background: var(--gold); color: var(--blue-dark); padding: 16px 32px; border-radius: 10px;
  border: none; font-family: var(--font-display); font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.btn-hero-primary:hover { background: #FFD07A; transform: translateY(-2px); }
.btn-hero-secondary {
  background: rgba(255,255,255,0.1); color: white; padding: 16px 32px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.25); font-family: var(--font-display); font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.18); }

/* ── PAGE HEADER (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #001F6B 0%, #003AA5 50%, #1A52C4 100%);
  padding: 140px 5% 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-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.4);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; color: var(--gold-light);
  font-weight: 500; margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: white; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px;
  position: relative;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 540px; margin: 0 auto; line-height: 1.7; position: relative; }

/* ── SECTION COMMON ── */
section { padding: 88px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block; background: rgba(0,58,165,0.08); color: var(--blue);
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--gray-900); line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 14px;
}
.section-sub { font-size: 16px; color: var(--gray-600); max-width: 520px; line-height: 1.7; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  padding: 88px 5%; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.12) 0%, transparent 70%);
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; color: white; line-height: 1.2; margin-bottom: 14px; position: relative;
}
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 460px; margin: 0 auto 36px; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ── */
footer { background: var(--gray-900); padding: 72px 5% 36px; color: rgba(255,255,255,0.6); }
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 20px; max-width: 280px; }
.footer-cbn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.25);
  border-radius: 8px; padding: 8px 14px; font-size: 12px; color: var(--gold-light); font-weight: 500;
}
.footer-col h5 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; letter-spacing: 0.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.35s; }
.fade-up:nth-child(6) { transition-delay: 0.4s; }


  /* ── MOBILE MENU ── */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #002878;
    z-index: 99;
    padding: 16px 5% 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .mobile-menu.open { display: block; }
  .mobile-menu ul {
    list-style: none;
    margin-bottom: 20px;
  }
  .mobile-menu ul li a {
    display: block;
    padding: 14px 0;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
  }
  .mobile-menu ul li a:hover,
  .mobile-menu ul li a.active { color: var(--gold); }
  .mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .mobile-menu-cta a {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  .mobile-menu-cta .m-signin {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: white;
  }
  .mobile-menu-cta .m-signup {
    background: var(--gold);
    color: var(--blue-dark);
  }
  /* Hamburger animation when open */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .page-hero { padding: 120px 5% 64px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }

  /* Prevent horizontal overflow on all inner pages */
  body { overflow-x: hidden; }
  .page-hero { padding: 100px 5% 56px; overflow: hidden; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: 15px; }

  section { padding: 56px 5%; }
  .section-inner { width: 100%; box-sizing: border-box; }
  .section-title { font-size: 1.6rem; }
  .section-sub { font-size: 15px; max-width: 100%; }

  .cta-banner { padding: 56px 5%; }
  .cta-banner h2 { font-size: 1.6rem; }
  .cta-banner p { font-size: 15px; }
  .cta-buttons { flex-direction: column; align-items: center; width: 100%; }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%; max-width: 100%; justify-content: center;
    text-align: center; box-sizing: border-box;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .footer-brand p { max-width: 100%; }
}
@media (max-width: 560px) {
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-title { font-size: 1.35rem; }
  .page-hero-badge { font-size: 12px; }
}

/* ── APP STORE BADGES ── */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; border-radius: 10px;
  padding: 10px 18px; text-decoration: none;
  transition: all 0.2s; min-width: 148px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.store-badge.google { background: #000; }
.store-badge-icon { font-size: 26px; color: white; flex-shrink: 0; line-height: 1; }
.store-badge-icon svg { width: 24px; height: 24px; display: block; }
.store-badge-text { display: flex; flex-direction: column; }
.store-badge-sub { font-size: 9px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.2; }
.store-badge-main { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: white; line-height: 1.3; }

/* ── FONT AWESOME ICON SIZING ── */
.feature-icon i, .product-icon i { font-size: 28px; }
.trust-icon i { font-size: 18px; color: var(--gold); }
.step-num i { font-size: 22px; }
.info-icon i { font-size: 22px; color: var(--blue); }
.post-thumb i { font-size: 26px; }
.solution-icon i { font-size: 36px; }
.solution-list li i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.product-features li i { font-size: 14px; }
.store-icon { display: flex; align-items: center; justify-content: center; }
