/* ============================================================
   UNITED COMPLIANCE — GLOBAL STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:        #0D1B2A;
  --navy-light:  #122333;
  --navy-mid:    #1a2d40;
  --electric:    #1E90FF;
  --electric-dark: #1570cc;
  --silver:      #A8B2C1;
  --white:       #FFFFFF;
  --light-bg:    #F4F6F9;
  --border:      rgba(255,255,255,0.08);
  --card-bg:     rgba(255,255,255,0.04);
  --green:       #22C55E;
  --orange:      #F97316;
  --red:         #EF4444;
  --text-muted:  rgba(255,255,255,0.6);
  --glow:        rgba(30,144,255,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,27,42,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(13,27,42,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  color: var(--electric);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--electric);
  border-radius: 2px;
}

.nav-cta {
  background: var(--electric);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--electric-dark) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.section-pad { padding: 6rem 2rem; }
.section-pad-sm { padding: 4rem 2rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── GRADIENT BLOBS ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.blob-blue {
  background: rgba(30,144,255,0.12);
  width: 600px;
  height: 600px;
}

.blob-navy {
  background: rgba(30,144,255,0.06);
  width: 400px;
  height: 400px;
}

/* ── LABELS ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric);
  background: rgba(30,144,255,0.1);
  border: 1px solid rgba(30,144,255,0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

/* ── HEADINGS ── */
.heading-xl {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.heading-sm {
  font-size: 1.25rem;
  font-weight: 700;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--silver); }
.text-electric { color: var(--electric); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--electric);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(30,144,255,0.35);
}

.btn-primary:hover {
  background: var(--electric-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,144,255,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--electric);
  color: var(--electric);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,144,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(30,144,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.card:hover::before { opacity: 1; }

/* ── ICON BOX ── */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30,144,255,0.12);
  border: 1px solid rgba(30,144,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--electric);
  flex-shrink: 0;
}

/* ── DIVIDER ── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--electric);
  border-radius: 3px;
  margin: 1.25rem 0;
}

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── SECTION DIVIDER LINE ── */
.section-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,144,255,0.3), transparent);
}

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.badge-green { background: rgba(34,197,94,0.15); color: #22C55E; border: 1px solid rgba(34,197,94,0.3); }
.badge-orange { background: rgba(249,115,22,0.15); color: #F97316; border: 1px solid rgba(249,115,22,0.3); }
.badge-red { background: rgba(239,68,68,0.15); color: #EF4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-blue { background: rgba(30,144,255,0.15); color: var(--electric); border: 1px solid rgba(30,144,255,0.3); }

/* ── STAT BOXES ── */
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--electric);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--silver);
  font-weight: 500;
}

/* ── CHECKLIST ── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--silver);
}

.checklist li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(30,144,255,0.15);
  border: 1.5px solid var(--electric);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%231E90FF' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* ── ALERT TIMELINE ── */
.alert-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.alert-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--electric), rgba(30,144,255,0.1));
}

.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 0;
  position: relative;
}

.alert-dot {
  width: 58px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.alert-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.alert-content p {
  font-size: 0.82rem;
  color: var(--silver);
}

/* ── PRICING CARDS ── */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--electric);
  background: linear-gradient(135deg, rgba(30,144,255,0.08) 0%, var(--card-bg) 100%);
  transform: scale(1.03);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.price-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--white);
}

.price-tag sup {
  font-size: 1.25rem;
  vertical-align: top;
  margin-top: 0.5rem;
  color: var(--silver);
}

.price-tag span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--silver);
}

.recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--electric);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
}

.compare-table th {
  background: var(--navy-mid);
  padding: 1rem 1.5rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--silver);
}

.compare-table th:nth-child(2) { color: var(--electric); }

.compare-table td {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.compare-good { color: var(--green); font-weight: 600; }
.compare-bad { color: var(--red); font-weight: 600; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--electric); }

.faq-question .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(30,144,255,0.1);
  border: 1px solid rgba(30,144,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--electric);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item.open .faq-question .icon {
  background: var(--electric);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--silver);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ── CONTACT FORM ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--electric);
  background: rgba(30,144,255,0.06);
}

.form-group select option { background: var(--navy); }

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--silver);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.25rem;
}

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

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--electric); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-contact-item .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(30,144,255,0.1);
  border: 1px solid rgba(30,144,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--electric);
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--silver);
  line-height: 1.6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  max-width: 600px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--electric); }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: rgba(13,27,42,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--silver);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--white); }
.mobile-menu .nav-cta {
  border: none;
  text-align: center;
  padding: 0.75rem;
  border-radius: 10px;
}

/* ── RISK CARDS ── */
.risk-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
}

.risk-card:hover {
  border-color: rgba(239,68,68,0.4);
  transform: translateY(-4px);
}

.risk-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #EF4444;
  display: block;
  margin: 0.75rem 0 0.5rem;
}

/* ── TRACK GRID ── */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.track-item:hover {
  border-color: rgba(30,144,255,0.3);
  background: rgba(30,144,255,0.06);
}

.track-item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  flex-shrink: 0;
}

/* ── STEP CARDS ── */
.step-card {
  position: relative;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: rgba(30,144,255,0.3);
  transform: translateY(-4px);
}

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(30,144,255,0.12);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(30,144,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(30,144,255,0.06) 0%, transparent 50%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,144,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,144,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  white-space: nowrap;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 7rem 1.25rem 4rem; }
  .section-pad { padding: 4rem 1.25rem; }
  .section-pad-sm { padding: 3rem 1.25rem; }

  .heading-xl { font-size: 2.2rem; }
  .heading-lg { font-size: 1.8rem; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .track-grid { grid-template-columns: repeat(2, 1fr); }

  .compare-table { font-size: 0.8rem; }
  .compare-table th,
  .compare-table td { padding: 0.75rem 0.875rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }

  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-6px); }

  .alert-timeline::before { left: 22px; }
}

@media (max-width: 480px) {
  .track-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9rem; }
}

/* ============================================================
   MOBILE FIXES — COMPLETE OVERRIDE
   ============================================================ */

@media (max-width: 768px) {

  /* Global fixes */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  * { box-sizing: border-box; }

  .container {
    width: 100%;
    padding: 0 1.25rem;
    margin: 0 auto;
  }

  /* All sections full width centered */
  section {
    width: 100%;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .section-pad {
    padding: 3.5rem 1.25rem !important;
  }

  /* Hero */
  .hero {
    padding: 7rem 1.25rem 4rem !important;
    text-align: center;
    width: 100%;
  }

  .hero .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* All grids stack */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Track grid 2 cols on mobile */
  .track-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* All headings */
  .heading-xl { font-size: 2rem !important; }
  .heading-lg { font-size: 1.6rem !important; }
  .heading-md { font-size: 1.25rem !important; }

  /* Two column layouts become single */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1fr 1.5fr"],
  [style*="grid-template-columns:1.4fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* Pricing cards - stack and fix */
  .pricing-card {
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
  }

  .pricing-card.featured {
    transform: none !important;
    order: -1;
  }

  [style*="grid-template-columns:1fr 1fr"][style*="max-width:820px"],
  [style*="grid-template-columns: 1fr 1fr"][style*="max-width:820px"] {
    display: flex !important;
    flex-direction: column !important;
    max-width: 100% !important;
  }

  /* Price tag */
  .price-tag {
    font-size: 2.5rem !important;
  }

  /* Recommended badge */
  .recommended-badge {
    font-size: 0.65rem !important;
    padding: 0.25rem 0.75rem !important;
  }

  /* Compare table - make scrollable */
  .compare-table {
    font-size: 0.75rem !important;
    width: 100% !important;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.6rem 0.5rem !important;
    font-size: 0.72rem !important;
  }

  /* Alert timeline */
  .alert-timeline::before {
    left: 20px !important;
  }

  .alert-dot {
    width: 42px !important;
    height: 34px !important;
    font-size: 0.7rem !important;
  }

  /* Step number */
  .step-number {
    font-size: 2.5rem !important;
  }

  /* Stat boxes */
  .stat-number { font-size: 2rem !important; }

  /* Marquee */
  .marquee-item { font-size: 0.7rem !important; }

  /* Nav logo */
  .nav-logo {
    font-size: 1rem !important;
  }

  /* Contact form grid */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Buttons full width on small screens */
  .hero .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero button group */
  [style*="display:flex"][style*="gap:1rem"][style*="justify-content:center"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
  }

  /* Stats row wrap */
  [style*="display:flex"][style*="gap:2.5rem"] {
    gap: 1.5rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* Divider lines in stats row hide on tiny screens */
  [style*="width:1px"] {
    display: none !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer-brand p {
    max-width: 100% !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .footer-links {
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }

  /* Section containers with max-width */
  .container[style*="max-width"] {
    max-width: 100% !important;
  }

  /* Remove inline grid styles on mobile */
  section .container > div[style*="display:grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* Card padding */
  .card, .step-card, .risk-card, .pricing-card {
    padding: 1.5rem !important;
  }

  /* Form grids */
  .form-group + .form-group { margin-top: 0; }
}

@media (max-width: 480px) {
  .track-grid {
    grid-template-columns: 1fr !important;
  }

  .heading-xl { font-size: 1.75rem !important; }

  .compare-table th:last-child,
  .compare-table td:last-child {
    display: none;
  }
}

/* Pricing cards grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto 4rem;
}

@media (max-width: 768px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  .pricing-card.featured {
    transform: none !important;
    order: -1;
  }
}

/* Two column responsive grid */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Mobile menu active page indicator */
.mobile-menu a.active {
  color: var(--white) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--electric) !important;
  padding-left: 12px !important;
  background: rgba(30,144,255,0.08) !important;
  border-radius: 0 8px 8px 0 !important;
}

.mobile-menu a {
  color: rgba(255,255,255,0.6);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* ============================================================
   FINAL MOBILE FIXES
   ============================================================ */

@media (max-width: 768px) {

  /* ── PRICING PAGE FIXES ── */
  .pricing-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 3rem !important;
  }

  .pricing-card {
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .pricing-card.featured {
    transform: none !important;
    order: -1 !important;
  }

  /* Fix pricing card internal layout */
  .price-tag {
    font-size: 2.75rem !important;
    line-height: 1 !important;
  }

  .recommended-badge {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    font-size: 0.65rem !important;
  }

  /* ── CONTACT PAGE FIXES ── */

  /* Contact two-column becomes single */
  .section-pad > .container > .two-col-grid,
  .section-pad > .container > div[style*="display:grid"],
  .section-pad > .container > div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* Contact form full width */
  .section-pad .container > div > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* What happens next box */
  div[style*="background:rgba(30,144,255,0.06)"],
  div[style*="background: rgba(30,144,255,0.06)"] {
    padding: 1.25rem !important;
  }

  /* Security box */
  div[style*="margin-top:1.5rem"][style*="padding:1.25rem"] {
    margin-top: 1rem !important;
  }

  /* ── ALL PAGES — inline grid override ── */
  div[style*="display:grid"][style*="grid-template-columns:1fr 1fr"],
  div[style*="display:grid"][style*="grid-template-columns: 1fr 1fr"],
  div[style*="display:grid"][style*="grid-template-columns:1.4fr 1fr"],
  div[style*="display:grid"][style*="grid-template-columns: 1.4fr 1fr"],
  div[style*="display:grid"][style*="grid-template-columns:1fr 1.5fr"],
  div[style*="display:grid"][style*="grid-template-columns: 1fr 1.5fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }

  /* Any inline max-width on containers — remove on mobile */
  .container[style*="max-width:820px"],
  .container[style*="max-width: 820px"],
  .container[style*="max-width:780px"],
  .container[style*="max-width:680px"],
  .container[style*="max-width:760px"],
  .container[style*="max-width:900px"] {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Value prop box on pricing */
  div[style*="text-align:center"][style*="background:var(--card-bg)"][style*="max-width:700px"],
  div[style*="text-align: center"][style*="max-width: 700px"] {
    max-width: 100% !important;
  }
}

/* ============================================================
   PRICING CARD + TABLE FINAL FIX
   ============================================================ */

/* Pricing cards always stack on mobile */
@media (max-width: 900px) {
  .pricing-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pricing-card {
    width: 100% !important;
    transform: scale(1) !important;
    max-width: 100% !important;
  }

  .pricing-card.featured {
    order: -1 !important;
    transform: scale(1) !important;
  }
}

/* Comparison table mobile - scroll horizontally */
@media (max-width: 768px) {
  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .compare-table {
    min-width: 480px;
    width: 100%;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.75rem 0.875rem !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
  }

  /* Show all columns on mobile via scroll */
  .compare-table th:last-child,
  .compare-table td:last-child {
    display: table-cell !important;
  }
}

/* ============================================================
   DEFINITIVE FINAL FIXES
   ============================================================ */

/* ── PRICING CARDS ── */
.pricing-cards-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
  max-width: 860px !important;
  margin: 0 auto 4rem !important;
  width: 100% !important;
}

.pricing-card {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  word-break: break-word !important;
}

.pricing-card.featured {
  transform: scale(1.02) !important;
}

@media (max-width: 860px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
  }

  .pricing-card.featured {
    transform: none !important;
    order: -1 !important;
  }
}

/* ── EMAIL OVERFLOW FIX ── */
a[href^="mailto"] {
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  display: inline-block !important;
  max-width: 100% !important;
}

.footer-contact-item a,
.footer-col a {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* ── CONTACT PAGE CARD EMAIL ── */
.card a[href^="mailto"] {
  display: block !important;
  word-break: break-all !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}

/* ── DESKTOP PRICING HERO GAP ── */
@media (min-width: 769px) {
  .pricing-cards-grid {
    margin-top: 0 !important;
  }
}

/* ── MOBILE CONTACT INFO CARDS ── */
@media (max-width: 768px) {
  /* Contact info cards */
  .card .icon-box[style*="margin-bottom:0"] {
    flex-shrink: 0 !important;
    width: 44px !important;
    height: 44px !important;
  }

  /* Contact info text wrapping */
  .card > div > div:last-child {
    min-width: 0 !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }

  /* Footer email */
  .footer-contact-item span {
    min-width: 0 !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
}

/* Fix recommended badge cutoff */
.pricing-cards-grid {
  padding-top: 20px !important;
}

.recommended-badge {
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  white-space: nowrap !important;
  z-index: 10 !important;
}

.pricing-card.featured {
  overflow: visible !important;
  margin-top: 0 !important;
}

.pricing-cards-grid {
  align-items: start !important;
}

/* Badge final fix */
.recommended-badge {
  font-size: 0.65rem !important;
  letter-spacing: 0.08em !important;
  padding: 0.3rem 1rem !important;
  white-space: nowrap !important;
  max-width: 90% !important;
  text-align: center !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Logo display fixes */
.nav-logo img {
  height: 40px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-brand a img {
  height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
  max-width: 280px !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 32px !important;
  }
}

/* Logo size fixes */
.nav-logo img {
  height: 36px !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer-brand a img {
  height: 70px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .nav-logo img { height: 30px !important; }
  .footer-brand a img { height: 55px !important; }
}

/* Final logo sizing */
.nav-logo img {
  height: 65px !important;
  width: auto !important;
  object-fit: contain !important;
}

.footer-brand a img {
  height: 150px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .nav-logo img { height: 45px !important; }
  .footer-brand a img { height: 100px !important; }
}

/* Logo size final override */
.nav-logo img {
  height: 70px !important;
  width: auto !important;
  object-fit: contain !important;
}
.footer-brand a img {
  height: 180px !important;
  width: auto !important;
  max-width: 340px !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  .nav-logo img { height: 48px !important; }
  .footer-brand a img { height: 120px !important; }
}
