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

:root {
  --navy-dark: #001247;
  --navy-mid: #001965;
  --blue: #0032c8;
  --blue-light: #e9eeff;
  --text-primary: #101828;
  --text-secondary: #667085;
  --white: #ffffff;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: 1312px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.menu-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  min-height: 420px;
}

.hero-bg-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.hero-card-widget {
  flex: 0 0 auto;
  width: 340px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.card-mockup {
  background: linear-gradient(135deg, #1a3a8a 0%, #0032c8 100%);
  padding: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}

.card-mockup::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.card-number {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-expiry-wrap, .card-expiry-val {
  display: flex;
  gap: 20px;
}

.card-name {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}

.card-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
}

.card-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-tabs {
  display: flex;
  background: #f2f4f7;
  border-radius: 8px;
  padding: 3px;
}

.tab {
  flex: 1;
  padding: 7px 12px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.tab.active {
  background: white;
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  padding: 10px 14px;
  background: white;
}

.search-field input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-primary);
  width: 100%;
  background: transparent;
}

.search-field input::placeholder {
  color: var(--text-secondary);
}

.btn-submit {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  text-align: center;
}

.btn-submit:hover {
  background: #002aa8;
}

/* ===== MISSING SECTION ===== */
.missing-section {
  padding: 96px 0;
  background: white;
}

.missing-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.missing-text {
  flex: 1;
}

.missing-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.missing-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.coverage-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.coverage-item {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.coverage-border {
  width: 3px;
  background: var(--blue-light);
  border-radius: 2px;
  flex-shrink: 0;
}

.coverage-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  margin-bottom: 4px;
  line-height: 1.7;
}

.coverage-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.missing-image {
  flex: 0 0 auto;
  width: 480px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.missing-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.insurance-icon-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,50,200,0.3);
}

/* ===== HOW TO SECTION ===== */
.howto-section {
  padding: 0 0 80px;
}

.howto-inner {
  background: var(--blue);
  border-radius: 32px;
  padding: 64px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.howto-phone {
  flex: 0 0 auto;
}

.phone-mockup {
  width: 220px;
  height: 440px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 6px solid #2a2a4e;
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.app-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.app-logo span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 1px;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1a1a2e;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-heading);
}

.howto-content {
  flex: 1;
  color: white;
}

.howto-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.howto-sub {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 36px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  min-width: 28px;
}

.steps-list strong {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: white;
}

.howto-asterisk {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 64px;
  color: #4ade80;
  line-height: 1;
  opacity: 0.9;
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
  padding: 80px 0 96px;
  background: white;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,50,200,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.download-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-hint {
  font-size: 13px;
  color: var(--text-secondary);
}

.store-badges {
  display: flex;
  gap: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-dark);
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.store-btn:hover {
  background: var(--navy-mid);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-logo {
  margin-bottom: 4px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: 0.1px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li,
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links span {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.social-links a {
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.social-links a:hover {
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .howto-inner { padding: 48px; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .hero-inner { flex-direction: column; padding: 48px 24px 80px; }
  .hero-card-widget { width: 100%; max-width: 380px; }

  .missing-inner { flex-direction: column; gap: 40px; }
  .missing-image { width: 100%; }

  .howto-inner { flex-direction: column; padding: 40px 24px; border-radius: 24px; }
  .howto-phone { display: none; }
  .howto-asterisk { font-size: 40px; top: 20px; right: 24px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
