/* ============================================================
   JETTYSTACK — styles.css
   Production quality responsive business website
   ============================================================ */

/* ── TOKENS ── */
:root {
  --navy:       #0c1a2e;
  --navy-mid:   #132038;
  --blue:       #2563eb;
  --blue-hover: #1d4ed8;
  --blue-lt:    #3b82f6;
  --blue-dim:   rgba(37,99,235,0.12);
  --white:      #ffffff;
  --off:        #f8fafc;
  --off2:       #f1f5f9;
  --dark:       #0f172a;
  --mid:        #475569;
  --light:      #94a3b8;
  --border:     #e2e8f0;
  --border-dk:  rgba(255,255,255,0.08);
  --green:      #16a34a;
  --red:        #ef4444;
  --amber:      #f59e0b;

  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --trans: 0.2s ease;
  --trans-slow: 0.35s ease;

  --max-w: 1240px;
  --section-pad: 96px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--trans); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── SECTION SPACING ── */
.section-pad { padding: var(--section-pad) 0; }

/* ── TYPOGRAPHY ── */
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.8px;
}
.heading-lg--light { color: var(--white); }
.heading-sub {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--mid);
  margin-left: 10px;
  letter-spacing: 0;
}
.body-text { font-size: 16px; color: var(--mid); line-height: 1.75; }
.section-sub { font-size: 16px; color: var(--mid); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--blue {
  color: var(--blue);
}

/* Screen reader only — visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn--sm  { padding: 9px 18px;  font-size: 14px; }
.btn--md  { padding: 12px 24px; font-size: 15px; }
.btn--lg  { padding: 15px 28px; font-size: 16px; }
.btn--xl  { padding: 18px 36px; font-size: 17px; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border-dk);
  transition: box-shadow var(--trans-slow);
}
.nav.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: all var(--trans);
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link:hover { color: var(--white); }
.nav__link--active {
  color: var(--white);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--blue-lt);
  border-radius: 2px;
}

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  z-index: 300;
  min-width: 190px;
}
.nav__dropdown:hover .nav__dropdown-menu { display: block; }
.nav__dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.nav__dropdown-menu a:first-child {
  border-top: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding-top: 14px;
}
.nav__dropdown-menu a:last-child {
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  padding-bottom: 14px;
}
.nav__dropdown-menu a:hover {
  background: var(--off);
  color: var(--blue);
}

/* Nav actions */
.nav__actions { flex-shrink: 0; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  overflow: hidden;
  position: relative;
  min-height: 580px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 680px 520px at 72% 52%, rgba(37,99,235,0.45) 0%, rgba(37,99,235,0.18) 40%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(37,99,235,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 24px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}
.hero__content { max-width: 100%; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37,99,235,0.14);
  border: 1px solid rgba(37,99,235,0.28);
  color: var(--blue-lt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.14;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}
.hero__heading-accent { color: var(--blue-lt); }
.hero__body {
  font-size: 17px;
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-dk);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.48);
  white-space: nowrap;
}
.hero__trust-item svg { color: rgba(255,255,255,0.35); flex-shrink: 0; }
.hero__trust-icon-img { width: 15px; height: 15px; object-fit: contain; flex-shrink: 0; opacity: 0.5; }

/* Hero visual / mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 600px;
}

/* Devices image — drop in transparent PNG to replace fallback mockup */
.hero__devices {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero__devices-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  z-index: 2;
  transform: scale(1.45);
  transform-origin: center center;
}

/* Fallback mockup shows until real image is added */
.hero__devices-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
}
/* Hide fallback when real image loads */
.hero__devices-img:not([style*="display:none"]) ~ .hero__devices-fallback {
  display: none;
}

/* Mockup system */
.mockup { border-radius: var(--radius-lg); overflow: hidden; }
.mockup--desktop {
  width: 100%;
  max-width: 430px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  z-index: 2;
}
.mockup__bar {
  background: #1e293b;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup__dot--red   { background: #ef4444; }
.mockup__dot--amber { background: #f59e0b; }
.mockup__dot--green { background: #22c55e; }
.mockup__url {
  flex: 1;
  background: #0f172a;
  border-radius: 4px;
  height: 20px;
  margin-left: 8px;
  font-size: 10px;
  color: #64748b;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-family: var(--font-body);
}
.mockup__screen { background: var(--white); }
.mockup--mobile {
  position: absolute;
  bottom: -24px;
  right: -16px;
  width: 128px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.08);
  z-index: 3;
  border-radius: 12px;
}
.mockup--mobile .mockup__screen { background: var(--white); }

/* Mini site inside mockup */
.ms__nav {
  background: #132038;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ms__nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ms__nav-icon {
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 3px;
}
.ms__nav-logo span {
  font-size: 9px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.5px;
}
.ms__nav-links {
  display: flex;
  gap: 10px;
}
.ms__nav-links span {
  font-size: 8px;
  color: rgba(255,255,255,0.55);
}
.ms__hero {
  background: linear-gradient(135deg, #1a2d4a 0%, #1e3a6e 100%);
  padding: 20px 16px 16px;
  position: relative;
  overflow: hidden;
}
.ms__hero::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.ms__eyebrow {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 7px;
}
.ms__hero h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: white;
  line-height: 1.3;
  margin-bottom: 12px;
}
.ms__btns { display: flex; gap: 6px; margin-bottom: 8px; }
.ms__btn {
  font-size: 8px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  display: inline-block;
}
.ms__btn--primary { background: #2563eb; color: white; }
.ms__phone { font-size: 7px; color: rgba(255,255,255,0.5); }
.ms__trust {
  background: var(--white);
  padding: 8px 14px;
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}
.ms__trust span {
  font-size: 8px;
  font-weight: 600;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 3px;
}
.ms__trust i { color: var(--green); font-style: normal; }

/* Mobile mockup nav */
.ms__nav--mobile {
  padding: 7px 10px;
}
.ms__nav-icon--sm {
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 2px;
}
.ms__hamburger {
  width: 14px;
  height: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ms__hamburger::before,
.ms__hamburger::after {
  content: '';
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 1px;
}
.ms__hero--mobile { padding: 10px; }
.ms__trust--mobile { padding: 5px 10px; gap: 8px; }
.ms__trust--mobile span { font-size: 7px; }

/* ============================================================
   HOME — CHOOSE YOUR PATH
   ============================================================ */

.home-paths {
  background: var(--white);
}

.home-paths .section-header {
  margin-bottom: 52px;
}

.home-paths__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-path-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans), background var(--trans);
}

.home-path-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-md);
}

.home-path-card__icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-dim);
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
}
.path-card__icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.home-path-card:hover .home-path-card__icon {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.home-path-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.25;
}

.home-path-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 18px;
}

.home-path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--trans), color var(--trans);
}

.home-path-card__link:hover {
  gap: 8px;
  color: var(--blue-hover);
}

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problem { background: var(--off); }
.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.problem__left { padding-top: 8px; }
.problem__left .heading-lg { margin-bottom: 18px; }
.problem__left .body-text { margin-bottom: 32px; }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.check-list li svg { color: var(--blue); flex-shrink: 0; }

/* Compare cards */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}
.compare__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.compare__label {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.compare__label--bad  { background: #fef2f2; color: var(--red); }
.compare__label--good { background: #f0fdf4; color: var(--green); }

.compare__screen { overflow: hidden; }
.compare__screen--bad  { background: #f8fafc; }
.compare__screen--good { background: #f0fdf4; }
.compare__screen-img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top center;
}

.cs__bad {
  background: white;
  margin: 10px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding-bottom: 10px;
}
.cs__bar {
  height: 20px;
  background: #e2e8f0;
}
.cs__content { padding: 10px; }

.cs__good {
  background: white;
  margin: 10px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cs__good-nav {
  height: 18px;
  background: #132038;
}
.cs__good-hero {
  background: linear-gradient(135deg, #1c3d1c, #2d6a2d);
  padding: 10px 12px;
}
.cs__good-trust {
  background: white;
  padding: 6px 12px;
  display: flex;
  gap: 10px;
}

.compare__list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: white;
}
.compare__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.4;
}
.compare__item svg { flex-shrink: 0; margin-top: 1px; }


/* ============================================================
   NICHES
   ============================================================ */
.niches {
  background: var(--navy);
  padding: 64px 0;
  border-top: 1px solid var(--border-dk);
  position: relative;
  overflow: hidden;
}
.niches::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 300px at 50% 50%, rgba(37,99,235,0.45) 0%, rgba(37,99,235,0.18) 40%, transparent 70%);
  pointer-events: none;
}
.niches .container {
  position: relative;
  z-index: 1;
}
.niches__heading {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 44px;
  letter-spacing: -0.3px;
}
.niches__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.niche {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--trans);
}
.niche:hover { transform: translateY(-3px); }
.niche__icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  transition: all var(--trans);
}

.niche__icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.niche:hover .niche__icon {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.10);
  color: var(--blue-lt);
}
.niche span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.niche:hover span { color: var(--white); }
.niches__note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--off); }
.how__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.how__arrow {
  font-size: 28px;
  color: var(--border);
  display: flex;
  align-items: flex-start;
  padding-top: 56px;
  padding-left: 8px;
  padding-right: 8px;
  font-weight: 300;
}
.how__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
}
.how__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.how__number {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 20px;
}
.how__icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue);
  background: var(--blue-dim);
}
.how__card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.how__card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
}


/* ============================================================
   WHY JETTYSTACK
   ============================================================ */
.why { background: var(--white); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.why__card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--trans);
}
.why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.25);
  background: var(--white);
}
.why__icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
  background: var(--blue-dim);
  transition: all var(--trans);
}
.why__icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.why__card:hover .why__icon {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.why__card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}
.why__card p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}


/* ============================================================
   TEMPLATES
   ============================================================ */
.templates { background: var(--white); }
.templates__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.tmpl {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--trans);
}
.tmpl:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.25);
}

.tmpl__img {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.tmpl__site-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Fake site wrapper inside template cards */
.tmpl__fake-site {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.tfs__nav {
  height: 14px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.3);
}
.tfs__hero {
  flex: 1;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tfs__hero--blue       { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.tfs__hero--slate      { background: linear-gradient(135deg, #1e293b, #475569); }
.tfs__hero--green      { background: linear-gradient(135deg, #1c3d1c, #2d6a2d); }
.tfs__hero--navy       { background: linear-gradient(135deg, #0c1a2e, #1e40af); }
.tfs__hero--dark       { background: linear-gradient(135deg, #0f172a, #334155); }
.tfs__hero--forest     { background: linear-gradient(135deg, #14532d, #16a34a); }

.tmpl__label {
  padding: 11px 14px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  border-top: 1px solid var(--border);
}
.templates__cta { text-align: center; }

/* ============================================================
   HOME — PRICING PREVIEW
   ============================================================ */

.home-pricing {
  background: var(--off);
}

.home-pricing .section-header {
  margin-bottom: 0;
}

.home-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.home-price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans), background var(--trans);
}

.home-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-md);
}

.home-price-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.home-price-card__price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}

.home-price-card p:not(.home-price-card__price) {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.home-pricing__actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 50%, rgba(37,99,235,0.45) 0%, rgba(37,99,235,0.18) 40%, transparent 70%);
  pointer-events: none;
}
.reviews .container {
  position: relative;
  z-index: 1;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--trans);
}
.review:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.review__stars {
  color: var(--amber);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review__quote {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  font-style: italic;
  margin-bottom: 24px;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.review__avatar--blue  { background: var(--blue); }
.review__avatar--green { background: var(--green); }
.review__avatar--amber { background: #d97706; }
.review__info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.review__info span {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
}


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1e40af 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.cta-banner__body {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}
.cta-banner__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  transition: all var(--trans);
  white-space: nowrap;
  font-family: var(--font-body);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.cta-banner__note {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer__trust {
  background: var(--navy);
  border-top: 1px solid var(--border-dk);
  padding: 40px 0;
}
.footer__trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.footer__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer__trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-lt);
  flex-shrink: 0;
}
.footer__trust-item > div:last-child strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.footer__trust-item > div:last-child span {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.45;
}

.footer__main {
  background: #08111f;
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand .footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer__logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.footer__brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 20px;
}
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--trans);
}
.footer__social-btn:hover {
  border-color: var(--blue-lt);
  color: var(--blue-lt);
  background: rgba(59,130,246,0.08);
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color var(--trans);
}
.footer__col ul li a:hover { color: var(--blue-lt); }

.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer__contact li svg { color: var(--blue-lt); flex-shrink: 0; margin-top: 2px; }
.footer__contact a:hover { color: var(--blue-lt); }

.footer__bar {
  padding: 20px 0;
}
.footer__bar p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}


/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay   { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

.br-desktop { display: block; }

/* ============================================================
   HOME — CHOOSE YOUR PATH RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .home-paths__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-paths__grid {
    grid-template-columns: 1fr;
  }

  .home-path-card {
    padding: 26px 22px;
  }

  .home-path-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }
}

/* ============================================================
   HOME — PRICING PREVIEW RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .home-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .home-price-card {
    padding: 28px 24px;
  }

  .home-price-card__price {
    font-size: 28px;
  }

  .home-pricing__actions .btn {
    width: 100%;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */

   
/* Dropdown: JS-controlled display takes precedence over hover on touch devices */
@media (hover: none) {
  .nav__dropdown:hover .nav__dropdown-menu {
    display: none; /* Let JS control it exclusively on touch */
  }
}


@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 24px; }

  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
  .hero__visual { height: 300px; justify-content: center; }
  .mockup--desktop { max-width: 380px; }

  .problem__inner { grid-template-columns: 1fr; gap: 48px; }
  .how__grid { grid-template-columns: 1fr; gap: 20px; }
  .how__arrow { display: none; }
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .templates__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__right { align-items: flex-start; }
  .footer__trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 20px; }

  /* Nav */
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 16px;
    border-bottom: 2px solid var(--blue);
    z-index: 99;
    gap: 0;
  }
  .nav__links.open { display: flex; }
  .nav__link {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border-dk);
    border-radius: 0;
    justify-content: space-between;
  }
  .nav__link--active::after { display: none; }
  .nav__dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,0.04); padding: 0; }
  .nav__dropdown-menu a { border: none; border-radius: 0; padding: 10px 32px; background: transparent; color: rgba(255,255,255,0.6); }
  .nav__dropdown-menu a:first-child { border-top: none; padding-top: 10px; }
  .nav__dropdown-menu a:last-child { border-bottom: none; padding-bottom: 10px; }
  .nav__dropdown-menu a:hover { background: rgba(255,255,255,0.06); color: var(--white); padding-left: 36px; }
  .nav__dropdown:hover .nav__dropdown-menu { display: block; }
  .nav__actions { display: none; }
  .nav__hamburger { display: flex; }

  /* Hero */
  .hero__inner { gap: 40px; padding-top: 48px; padding-bottom: 48px; }
  .hero__body { font-size: 16px; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
  .hero__visual { height: auto; }
  .mockup--mobile { display: none; }
  .mockup--desktop { max-width: 100%; }
  .br-desktop { display: none; }

  /* Sections */
  .section-header { margin-bottom: 40px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .templates__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .niches__grid { gap: 24px; }
  .niches__grid .niche { min-width: 80px; }
  .compare { grid-template-columns: 1fr; }
}


/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 16px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why__card { padding: 20px 14px; }
  .templates__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero__trust { gap: 12px; }
  .hero__trust-item { font-size: 12px; }
}
