/* ==========================================================================
   ChikaClinic - Modern Healthcare Platform CSS
   Vanilla CSS • Dark Slate & Medical Blue Palette • Fully Responsive
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #090E17;
  --bg-card: #0F172A;
  --bg-surface: #1E293B;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;

  --primary: #0A58CA;
  --primary-light: #3B82F6;
  --primary-glow: rgba(59, 130, 246, 0.25);
  
  --emerald: #059669;
  --emerald-light: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.2);

  --rose: #DC2626;
  --rose-light: #F43F5E;
  --rose-glow: rgba(220, 38, 38, 0.25);

  --amber: #D97706;
  --purple: #7C3AED;
  --teal: #0D9488;

  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-dim: #94A3B8;

  --border-light: #E2E8F0;
  --border-dark: #334155;
  --border-focus: #3B82F6;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.2);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= TYPOGRAPHY & UTILITIES ================= */
.gradient-text {
  background: linear-gradient(135deg, #0A58CA 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-rose { color: var(--rose); }
.text-emerald { color: var(--emerald-light); }
.text-blue { color: var(--primary-light); }
.text-purple { color: var(--purple); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 800; }

.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(10, 88, 202, 0.08);
  border: 1px solid rgba(10, 88, 202, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 10px auto 0;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0A58CA 0%, #1E40AF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(10, 88, 202, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 88, 202, 0.4);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
  background: #334155;
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(10, 88, 202, 0.04);
}

.btn-sos {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  animation: pulse-sos 2s infinite;
}

.btn-sos:hover {
  transform: scale(1.04);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-badge {
  background: #10B981;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
}

.sos-dot {
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
}

@keyframes pulse-sos {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ================= HEADER / NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-cross {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0A58CA 0%, #003B95 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(10, 88, 202, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--emerald);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.highlight {
  color: var(--primary);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  background: radial-gradient(circle at 10% 20%, rgba(10, 88, 202, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.04) 0%, transparent 60%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-description strong {
  color: var(--text-main);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-main-text {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.btn-sub-text {
  font-size: 10px;
  opacity: 0.8;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.trust-icon {
  font-size: 16px;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.visual-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow-xl);
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.floating-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #FFFFFF;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.telemetry-card {
  bottom: -24px;
  left: -20px;
  width: 220px;
  animation: float 4s ease-in-out infinite;
}

.card-header-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 8px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--rose-light);
  border-radius: 50%;
}

.live-dot.pulse {
  animation: pulse-sos 1.5s infinite;
}

.telemetry-grid-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
  font-family: var(--font-mono);
}

.telemetry-metric {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 6px;
}

.m-label {
  display: block;
  font-size: 8px;
  color: #64748B;
}

.m-val {
  font-size: 12px;
  font-weight: 800;
}

.m-val.critical { color: var(--rose-light); }
.m-val.warning { color: #F59E0B; }

.m-val.blink {
  animation: blink-warning 1s infinite;
}

@keyframes blink-warning {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.card-footer-mini {
  margin-top: 8px;
  font-size: 9px;
  color: #F87171;
  font-weight: 700;
  text-align: center;
}

.generic-card {
  top: -20px;
  right: -20px;
  width: 210px;
  background: rgba(13, 148, 136, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 4s ease-in-out infinite 2s;
}

.generic-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: #CCFBF1;
}

.generic-title {
  font-size: 12px;
  font-weight: 800;
  margin: 2px 0 6px;
}

.price-compare {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 4px;
}

.old-price {
  text-decoration: line-through;
  opacity: 0.8;
}

.new-price {
  font-weight: 800;
  color: #FEF08A;
}

.savings-tag {
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ================= METRICS BAR ================= */
.metrics-bar {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 32px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.metric-number {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #38BDF8;
  letter-spacing: -0.5px;
}

.metric-number.highlight {
  color: #34D399;
}

.metric-name {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 4px;
}

/* ================= HOW IT HELPS SECTION ================= */
.how-it-helps-section {
  background: #F8FAFC;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.help-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.emergency-border::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--rose); }
.generic-border::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--teal); }
.doctor-border::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--primary); }
.privacy-border::before { content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--emerald); }

.help-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.help-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.bg-rose { background: rgba(220, 38, 38, 0.1); color: var(--rose); }
.bg-teal { background: rgba(13, 148, 136, 0.1); color: var(--teal); }
.bg-blue { background: rgba(10, 88, 202, 0.1); color: var(--primary); }
.bg-emerald { background: rgba(5, 150, 105, 0.1); color: var(--emerald); }

.tag-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.bg-rose-light { background: #FFE4E6; color: #BE123C; }
.bg-teal-light { background: #CCFBF1; color: #0F766E; }
.bg-blue-light { background: #DBEAFE; color: #1E40AF; }
.bg-emerald-light { background: #D1FAE5; color: #065F46; }

.help-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.help-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.help-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-list li {
  font-size: 12.5px;
  color: #334155;
  padding-left: 18px;
  position: relative;
}

.help-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--emerald);
}

/* ================= 4 PILLARS SECTION ================= */
.pillars-section {
  background: #FFFFFF;
}

.pillars-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.pillar-row.reverse {
  direction: rtl;
}

.pillar-row.reverse > * {
  direction: ltr;
}

.pillar-num {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 4px;
}

.pillar-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pillar-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-tags span {
  font-size: 11px;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: #475569;
}

.pillar-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.box-head {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid var(--border-light);
}

.patient-box .box-head { color: var(--primary); }
.doctor-box .box-head { color: var(--emerald); }
.ambulance-box .box-head { color: var(--rose); }
.pharmacy-box .box-head { color: var(--teal); }

.box-item {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 10px;
  line-height: 1.5;
}

.box-item:last-child {
  margin-bottom: 0;
}

/* ================= SMARTPHONE SIMULATOR ================= */
.simulator-section {
  background: var(--bg-dark);
  color: #FFFFFF;
}

.simulator-section .section-title {
  color: #FFFFFF;
}

.simulator-section .section-subtitle {
  color: #94A3B8;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

/* Phone Frame */
.phone-frame {
  width: 340px;
  height: 640px;
  background: #000000;
  border-radius: 44px;
  border: 12px solid #1E293B;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 140px;
  height: 22px;
  background: #1E293B;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-speaker {
  width: 40px;
  height: 3px;
  background: #334155;
  border-radius: 2px;
}

.phone-camera {
  width: 8px;
  height: 8px;
  background: #0F172A;
  border-radius: 50%;
  border: 1.5px solid #334155;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0B132B;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  padding: 6px 18px 2px;
  font-size: 10px;
  font-weight: 700;
  color: #94A3B8;
  font-family: var(--font-mono);
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
}

.app-brand-mini {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-cross {
  color: var(--primary-light);
  font-weight: 800;
  font-size: 14px;
}

.mini-title {
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
}

.phone-location-chip {
  font-size: 9px;
  background: #1E293B;
  padding: 2px 8px;
  border-radius: 10px;
  color: #38BDF8;
  font-weight: 600;
}

.phone-tab-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #090E17;
  border-bottom: 1px solid #1E293B;
}

.phone-tab {
  padding: 8px 2px;
  font-size: 9.5px;
  font-weight: 700;
  color: #64748B;
  text-align: center;
  transition: var(--transition);
}

.phone-tab.active {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.08);
  border-bottom: 2px solid #38BDF8;
}

.phone-content {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 11px;
}

/* Explainer Column */
.simulator-explainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.explainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.explainer-card.active {
  border-color: #38BDF8;
  background: #1E293B;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.15);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.explainer-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.explainer-desc {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.5;
}

/* ================= CALCULATOR SECTION ================= */
.calculator-section {
  background: #F1F5F9;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.calc-form-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.calc-checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.calc-option:hover {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.calc-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.option-details {
  display: flex;
  flex-direction: column;
}

.option-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.option-price {
  font-size: 11px;
  color: var(--text-muted);
}

.calc-result-box {
  background: var(--bg-card);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38BDF8;
  margin-bottom: 14px;
}

.fig-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 8px;
}

.strikethrough {
  text-decoration: line-through;
  opacity: 0.7;
}

.highlight-green {
  color: #34D399;
}

.savings-divider {
  height: 1px;
  background: #334155;
  margin: 14px 0;
}

.fig-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.savings-label {
  font-size: 12px;
  color: #CBD5E1;
}

.savings-large {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #34D399;
  line-height: 1.1;
}

.discount-badge {
  background: rgba(52, 211, 153, 0.2);
  color: #34D399;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.annual-savings {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 20px;
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonials-section {
  background: #FFFFFF;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.test-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.test-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.test-loc {
  font-size: 11px;
  color: var(--text-muted);
}

.test-quote {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.test-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(10, 88, 202, 0.08);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ================= PLANS SECTION ================= */
.plans-section {
  background: #F8FAFC;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.plan-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary);
  margin: 8px 0;
}

.plan-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.plan-perks li {
  font-size: 12.5px;
  color: #334155;
}

/* ================= DOWNLOAD SECTION ================= */
.download-section {
  background: #FFFFFF;
}

.download-box {
  background: linear-gradient(135deg, #0A2540 0%, #0A58CA 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.bg-white-trans {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.download-title {
  font-size: 32px;
  font-weight: 800;
  margin: 10px 0 12px;
}

.download-desc {
  font-size: 15px;
  color: #E2E8F0;
  max-width: 580px;
  margin-bottom: 28px;
}

.download-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-download-apk {
  background: #10B981;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: var(--transition);
}

.btn-download-apk:hover {
  transform: translateY(-2px);
  background: #059669;
}

.apk-title {
  display: block;
  font-size: 14px;
}

.apk-sub {
  display: block;
  font-size: 10px;
  opacity: 0.9;
  font-weight: normal;
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.compatibility-note {
  font-size: 11px;
  color: #CBD5E1;
}

.download-qr-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  background: #FFFFFF;
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0F172A;
}

.qr-icon {
  width: 100px;
  height: 100px;
}

.qr-label {
  font-size: 10px;
  color: #E2E8F0;
  font-weight: 600;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--bg-dark);
  color: #94A3B8;
  padding-top: 60px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}

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

.footer-logo .brand-name {
  color: #FFFFFF;
}

.footer-about {
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #94A3B8;
}

.footer-compliance {
  font-size: 11px;
  color: #64748B;
}

.footer-heading {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 12.5px;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38BDF8;
}

.footer-contact-info p {
  font-size: 12.5px;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 20px 0;
  font-size: 11px;
  color: #64748B;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= MODAL ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  color: #FFFFFF;
  padding: 28px;
  box-shadow: var(--shadow-xl);
  animation: modal-in 0.25s ease-out;
}

@keyframes modal-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 20px;
}

.modal-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  font-size: 24px;
}

.modal-title {
  font-size: 16px;
  font-weight: 800;
}

.modal-sub {
  font-size: 11px;
  color: #94A3B8;
}

.modal-close {
  color: #94A3B8;
  font-size: 18px;
  padding: 4px;
}

.modal-close:hover {
  color: #FFFFFF;
}

.modal-bill-card {
  background: #090E17;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  color: #94A3B8;
  margin-bottom: 6px;
}

.bill-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 10px 0;
}

.bill-row-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gateway-select-label {
  font-size: 12px;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 8px;
}

.gateway-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.gateway-btn {
  background: #090E17;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: left;
  transition: var(--transition);
}

.gateway-btn.active {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
}

.gw-name {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 2px;
}

.gw-desc {
  display: block;
  font-size: 9px;
  color: #64748B;
}

.modal-action-row {
  display: flex;
  gap: 12px;
}

.modal-action-row .btn {
  flex: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .help-grid, .pillars-container .pillar-row {
    grid-template-columns: 1fr;
  }
  .pillar-row.reverse {
    direction: ltr;
  }
  .simulator-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonials-grid, .plans-grid {
    grid-template-columns: 1fr;
  }
  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-actions {
    justify-content: center;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .header-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-cta-group {
    flex-direction: column;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
