
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0d2340;
  --navy-mid: #1a3a5c;
  --blue: #1e5fa8;
  --blue-light: #2d7dd2;
  --red: #c0392b;
  --red-hover: #a93226;
  --gold: #f0a500;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --grey-50: #f4f6fa;
  --grey-100: #eaecf2;
  --grey-200: #d1d5e0;
  --grey-400: #8892a4;
  --grey-600: #4a5568;
  --grey-800: #1a202c;
  --green: #16a34a;
  --green-light: #dcfce7;
  --amber: #d97706;
  --amber-light: #fef3c7;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13,35,64,0.10);
  --shadow-lg: 0 12px 48px rgba(13,35,64,0.16);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--grey-600); font-size: 14px; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-ghost { background: none; border: 1.5px solid var(--grey-200); color: var(--navy); padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; transition: all var(--transition); }
.btn-ghost:hover { border-color: var(--navy); background: var(--grey-50); }
.btn-primary { background: var(--red); color: white; border: none; padding: 9px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background var(--transition); }
.btn-primary:hover { background: var(--red-hover); }

/* ===== HERO ===== */
.pricing-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a7a 100%);
  padding: 80px 40px 100px;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,125,210,0.25) 0%, transparent 70%);
}
/* Two-column hero layout */
.pricing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.pricing-hero-left {}
.pricing-hero-right {}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px;
}
.hero-eyebrow span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; display: inline-block; }
.pricing-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pricing-hero h1 em { font-style: normal; color: var(--gold); }
.pricing-hero-right p {
  font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--red); color: white; padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition); box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}
.btn-hero-primary:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(192,57,43,0.5); }
.pricing-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5); }
.pricing-note strong { color: rgba(255,255,255,0.8); }
@media (max-width: 900px) {
  .pricing-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .pricing-hero { padding: 60px 24px 80px; }
}

/* ===== PLAN CARDS ===== */
.plans-section {
  background: var(--off-white);
  padding: 0 40px 60px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.plans-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--grey-100);
}
.plan-card {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--grey-100);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}
.plan-card:last-child { border-right: none; }
.plan-card.featured {
  background: var(--navy);
  border-right: none;
}
.plan-card.featured + .plan-card { border-left: none; }

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
}
.plan-target {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}
.plan-card.featured .plan-target { color: rgba(255,255,255,0.5); }

.plan-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.plan-card.featured .plan-name { color: white; }

.plan-tagline {
  font-size: 13px;
  color: var(--grey-400);
  margin-bottom: 20px;
  line-height: 1.5;
  min-height: 40px;
}
.plan-card.featured .plan-tagline { color: rgba(255,255,255,0.6); }

.plan-price {
  margin-bottom: 6px;
}
.plan-price-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  margin-bottom: 4px;
}
.plan-card.featured .plan-price-label { color: rgba(255,255,255,0.7); }
.plan-price-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.plan-card.featured .plan-price-value { color: white; }
.plan-price-sub {
  font-size: 12px;
  color: var(--grey-400);
  margin-top: 2px;
}
.plan-card.featured .plan-price-sub { color: rgba(255,255,255,0.5); }

.plan-divider {
  height: 1px;
  background: var(--grey-100);
  margin: 20px 0;
}
.plan-card.featured .plan-divider { background: rgba(255,255,255,0.12); }

.plan-highlights {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.plan-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 9px;
  line-height: 1.45;
}
.plan-card.featured .plan-highlights li { color: rgba(255,255,255,0.75); }
.plan-highlights li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-card.featured .plan-highlights li::before { color: var(--gold); }

.plan-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}
.plan-cta-wrap {
  margin-top: auto;
}
.plan-cta-outline {
  border: 1.5px solid var(--grey-200);
  color: var(--navy);
  background: white;
}
.plan-cta-outline:hover { border-color: var(--blue); color: var(--blue); background: rgba(30,95,168,0.04); }
.plan-cta-primary {
  background: var(--red);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(192,57,43,0.3);
}
.plan-cta-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.plan-cta-navy {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.plan-cta-navy:hover { background: rgba(255,255,255,0.2); }

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 24px 100px;
  box-sizing: border-box;
}
.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}
.comparison-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.comparison-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.comparison-header p {
  font-size: 16px;
  color: var(--grey-400);
  max-width: 520px;
  margin: 0 auto;
}

/* Sticky plan header inside table */
.table-wrap {
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-100);
  overflow: hidden;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Sticky header */
.comparison-table thead tr th {
  position: sticky;
  top: 68px;
  z-index: 20;
  background: white;
  padding: 14px 10px 12px;
  text-align: center;
  border-bottom: 2px solid var(--grey-100);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: normal;
  word-break: break-word;
  width: 16%;
}
.comparison-table thead tr th:first-child {
  text-align: left;
  width: 36%;
  padding-left: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.th-plan-name {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  display: block;
  margin-bottom: 2px;
  line-height: 1.2;
}
.th-plan-sub {
  font-size: 10px !important;
  font-weight: 400 !important;
  color: var(--grey-400) !important;
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}
.th-featured {
  background: var(--navy) !important;
  color: white !important;
  position: relative;
}
.th-featured .th-plan-name { color: white !important; }
.th-featured .th-plan-sub { color: rgba(255,255,255,0.55) !important; }
.th-featured-badge {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 0 0 6px 6px;
}
.th-cta {
  display: block;
  margin-top: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.th-cta-outline {
  border: 1.5px solid var(--grey-200);
  color: var(--navy);
}
.th-cta-outline:hover { border-color: var(--blue); color: var(--blue); }
.th-cta-featured {
  background: var(--red);
  color: white;
  border: none;
}
.th-cta-featured:hover { background: var(--red-hover); }

/* Section rows */
.section-row td {
  background: var(--grey-50);
  padding: 10px 20px 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-top: 2px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  cursor: pointer;
  user-select: none;
}
.section-row td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.section-toggle {
  margin-left: auto;
  font-size: 16px;
  color: var(--grey-400);
  transition: transform 0.25s;
  display: inline-block;
}
.section-row.collapsed .section-toggle { transform: rotate(-90deg); }

/* Feature rows */
.feature-row td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--grey-100);
  font-size: 12.5px;
  color: var(--grey-600);
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
}
.feature-row td:first-child {
  text-align: left;
  padding-left: 20px;
  padding-right: 12px;
  color: var(--grey-800);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}
.feature-row:last-child td { border-bottom: none; }
.feature-row:hover td { background: rgba(30,95,168,0.025); }
.feature-row.hidden { display: none; }

/* Featured column cells */
.feature-row td.col-featured {
  background: rgba(13,35,64,0.03);
}
.feature-row:hover td.col-featured { background: rgba(13,35,64,0.06); }

/* Cell value indicators */
.val-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--green-light);
  border-radius: 50%;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.val-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  color: var(--grey-200);
  font-size: 18px;
  font-weight: 300;
}
.val-addon {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--amber-light);
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
  white-space: nowrap;
}
.val-text {
  display: inline-block;
  background: var(--grey-100);
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.val-unlimited {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(22,163,74,0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* Feature name with tooltip */
.feature-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.feature-info {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--grey-400);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  flex-shrink: 0;
  position: relative;
}
.feature-info:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  max-width: 280px;
  white-space: normal;
  z-index: 50;
  box-shadow: var(--shadow);
  line-height: 1.5;
}

/* ===== ADDONS SECTION ===== */
.addons-section {
  background: var(--grey-50);
  padding: 60px 40px;
  border-top: 1px solid var(--grey-100);
}
.addons-inner { max-width: 1280px; margin: 0 auto; }
.addons-header { margin-bottom: 36px; }
.addons-header .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 10px;
}
.addons-header h2 {
  font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 8px;
}
.addons-header p { font-size: 15px; color: var(--grey-400); }
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.addon-card {
  background: white;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.addon-card:hover { box-shadow: var(--shadow); border-color: var(--blue-light); transform: translateY(-2px); }
.addon-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.addon-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.addon-card p { font-size: 13px; color: var(--grey-400); line-height: 1.5; margin-bottom: 14px; }
.addon-tag {
  display: inline-block;
  background: var(--amber-light);
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ===== FAQ ===== */
.faq-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}
.faq-header { text-align: center; margin-bottom: 40px; }
.faq-header h2 { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.faq-item {
  border-bottom: 1px solid var(--grey-100);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  gap: 16px;
}
.faq-question:hover { color: var(--blue); }
.faq-arrow { font-size: 18px; color: var(--grey-400); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--grey-600);
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 40px;
  text-align: center;
}
.final-cta h2 { font-size: 36px; font-weight: 800; color: white; letter-spacing: -0.02em; margin-bottom: 14px; }
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.final-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0a1929;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 28px 40px;
  font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
.site-footer a:hover { color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card { border-right: 1px solid var(--grey-100) !important; border-bottom: 1px solid var(--grey-100); }
  .plan-card:nth-child(2n) { border-right: none !important; }
}
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .pricing-hero { padding: 60px 20px 80px; }
  .plans-section { padding: 0 16px 40px; }
  .plans-grid { grid-template-columns: 1fr; }
  .comparison-section { padding: 40px 12px 60px; }
  .comparison-table thead tr th { padding: 10px 6px 8px; }
  .th-plan-name { font-size: 11px !important; }
  .th-plan-sub { font-size: 9px !important; }
  .th-cta { font-size: 10px; padding: 4px 6px; }
  .feature-row td { padding: 9px 6px; font-size: 11.5px; }
  .feature-row td:first-child { padding-left: 12px; font-size: 11.5px; }
  .val-yes, .val-no { width: 20px; height: 20px; font-size: 11px; }
  .val-addon { font-size: 9px; padding: 2px 4px; }
  .val-text { font-size: 10px; padding: 2px 6px; }
  .addons-section { padding: 40px 16px; }
  .faq-section { padding: 40px 16px 60px; }
  .final-cta { padding: 60px 20px; }
}
