/* ==========================================================================
   Extreme TV Network — site stylesheet
   Palette: Rogers-style red / white / black
   ========================================================================== */

:root {
  --red: #CE0E2D;
  --red-dark: #9E0A22;
  --red-darker: #7A0819;
  --black: #111111;
  --charcoal: #222222;
  --gray-900: #333333;
  --gray-600: #5B5B5B;
  --gray-300: #D8D8D8;
  --gray-100: #F4F4F4;
  --white: #FFFFFF;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.16);
  --font-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--black);
}
p { line-height: 1.6; margin: 0 0 1em; color: var(--gray-600); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== Top utility bar ===== */
.utility-bar {
  background: var(--black);
  color: #ccc;
  font-size: 12px;
}
.utility-bar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.utility-bar a { color: #ccc; }
.utility-bar a:hover { color: var(--white); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: var(--shadow);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .dot { color: var(--red); }
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.main-nav-group { position: relative; }
.main-nav-trigger {
  background: none;
  border: none;
  font-family: inherit;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius);
}
.main-nav-trigger:hover, .main-nav-trigger.has-active { color: var(--red); background: var(--gray-100); }
.main-nav-trigger .caret { font-size: 10px; opacity: .6; transition: transform .15s ease; }
.main-nav-group.open .main-nav-trigger .caret { transform: rotate(180deg); }
.main-nav-single {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius);
  color: var(--gray-900);
}
.main-nav-single:hover, .main-nav-single.active { color: var(--red); background: var(--gray-100); }
.main-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  border: 1px solid var(--gray-300);
  border-top: 2px solid var(--red);
}
.main-nav-dropdown a:last-child,
.main-nav-submenu-group:last-child .main-nav-submenu-trigger {
  border-radius: 0 0 var(--radius) var(--radius);
}
.main-nav-group.open .main-nav-dropdown { display: block; }
.main-nav-dropdown a {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
}
.main-nav-dropdown a:last-child { border-bottom: none; }
.main-nav-dropdown a:hover { background: var(--gray-100); color: var(--red); }
.main-nav-dropdown a.active { color: var(--red); font-weight: 700; background: var(--gray-100); }

/* Nested submenu (e.g. Store -> Servers -> VPS/Dedicated) */
.main-nav-submenu-group { position: relative; }
.main-nav-submenu-trigger {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  font-family: inherit;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.main-nav-submenu-trigger:hover, .main-nav-submenu-trigger.active { color: var(--red); background: var(--gray-100); }
.main-nav-submenu-trigger .caret { font-size: 9px; opacity: .6; transition: transform .15s ease; }
.main-nav-submenu-group.open .main-nav-submenu-trigger .caret { transform: rotate(180deg); }
.main-nav-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--white);
  min-width: 180px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-300);
  border-left: 2px solid var(--red);
  overflow: hidden;
  z-index: 60;
}
.main-nav-submenu-group.open .main-nav-submenu { display: block; }
.main-nav-submenu a {
  display: block;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
}
.main-nav-submenu a:last-child { border-bottom: none; }
.main-nav-submenu a:hover { background: var(--gray-100); color: var(--red); }
.main-nav-submenu a.active { color: var(--red); font-weight: 700; background: var(--gray-100); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions a.icon-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  padding: 8px 10px;
}
.menu-toggle { display: none; flex-shrink: 0; }
.main-nav-mobile-account { display: none; }

@media (max-width: 960px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-300);
    border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: 100;
    gap: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.mobile-open { display: flex; }
  .main-nav-mobile-account {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--gray-300);
    margin-top: 8px;
    padding-top: 8px;
  }
  /* Top row on mobile only ever needs to fit Logo + Cart + Hamburger —
     Log in/Sign up/account/logout live in the hamburger menu instead
     (see .main-nav-mobile-account above), so this row can never overflow
     regardless of phone width or name length. */
  .nav-actions a.icon-link:not(.cart-icon-link),
  .nav-actions .btn-sm { display: none; }
  .main-nav-group { width: 100%; }
  .main-nav-trigger, .main-nav-single {
    width: 100%;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .main-nav-dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--gray-100);
  }
  .main-nav-dropdown a { padding-left: 30px; border-bottom: 1px solid var(--gray-300); }
  .main-nav-submenu-trigger { padding-left: 30px; background: var(--gray-100); }
  .main-nav-submenu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--white);
  }
  .main-nav-submenu a { padding-left: 44px; border-bottom: 1px solid var(--gray-300); }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 22px;
    line-height: 1;
    color: var(--black);
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-row { padding: 12px 16px; gap: 12px; position: relative; }
  .logo { font-size: 18px; }
}

@media (max-width: 640px) {
  .utility-bar .wrap {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .utility-bar a { font-size: 11.5px; }
  .nav-actions { gap: 6px; }
  .nav-actions a.icon-link { padding: 8px 6px; font-size: 12.5px; }
  .nav-actions .btn-sm { padding: 8px 12px; font-size: 12.5px; }
  .nav-actions a.icon-link,
  .nav-actions .btn-sm,
  .cart-icon-link { flex-shrink: 1; min-width: 0; white-space: nowrap; }
}

@media (max-width: 480px) {
  .nav-actions { gap: 4px; }
  .nav-actions a.icon-link { padding: 7px 5px; font-size: 11.5px; }
  .nav-actions .btn-sm { padding: 7px 9px; font-size: 11.5px; }
}

@media (max-width: 420px) {
  /* On very narrow phones, drop the name text and just keep the account
     link functional — there isn't room for "Cart · Hi, NAME · Log out"
     plus the menu button without wrapping awkwardly. */
  .nav-actions a.icon-link.account-name-link { display: none; }
}

/* ===== Hero / carousel ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, var(--black) 0%, var(--red-darker) 140%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(206,14,45,0.35), transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 24px;
}
/* Only applies when a slide actually has an image — text-only slides are
   completely untouched, same single-column layout as always. */
.hero-content.has-image {
  max-width: var(--maxw);
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-content.has-image .hero-text { max-width: 560px; flex-shrink: 1; flex-grow: 1; min-width: 0; }
.hero-image-wrap {
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap img { width: 100%; height: auto; max-height: 380px; object-fit: contain; display: block; }
.hero-image-wrap.size-small { flex-basis: 220px; max-width: 220px; }
.hero-image-wrap.size-medium { flex-basis: 380px; max-width: 380px; }
.hero-image-wrap.size-large { flex-basis: 540px; max-width: 540px; }
.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 14px;
}
.hero p { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 480px; }
.hero-price { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--white); }
.hero-price sup { font-size: 18px; }
.hero-price span.per { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.75); }
.hero-ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0;
}
.hero-dots button.active { background: var(--white); width: 22px; border-radius: 5px; }

/* ===== Live ticker (signature element) ===== */
.live-ticker {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  border-bottom: 1px solid #2b2b2b;
}
.live-ticker .wrap { display: flex; align-items: stretch; padding: 0; }
.live-tag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 10px 16px;
}
.live-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--white);
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.ticker-viewport {
  flex: 1;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: scrollTicker 32s linear infinite;
  padding: 10px 24px 10px 0;
  font-size: 13.5px;
  width: max-content;
}
.ticker-track span b { color: var(--white); }
.ticker-track span { color: #b8b8b8; }
@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section titles ===== */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.eyebrow {
  color: var(--red); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 8px;
}
.bg-gray { background: var(--gray-100); }

/* ===== Promo card grid ===== */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.promo-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-300);
  border-top: 4px solid var(--red);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.promo-card .tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.promo-card h3 { font-size: 19px; margin-bottom: 8px; }
.promo-card p { font-size: 14.5px; flex: 1; }
.promo-card .btn { align-self: flex-start; margin-top: 12px; }

/* ===== Icon tile nav ("what are you looking for") ===== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 26px 16px;
  text-align: center;
  transition: border-color .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--red); transform: translateY(-3px); }
.tile .tile-icon {
  width: 44px; height: 44px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--red);
}
.tile span { font-weight: 600; font-size: 14.5px; color: var(--black); }

/* ===== Feature columns ===== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-col h3 { font-size: 20px; }
.feature-col .num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  font-size: 13px;
  margin-bottom: 10px;
  letter-spacing: .05em;
}

/* ===== Channel strip ===== */
.channel-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.channel-strip::-webkit-scrollbar { height: 8px; }
.channel-strip::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 8px; }

.channel-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 130px;
}
.channel-card .channel-logo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  min-height: 80px;
  background: var(--gray-100);
}
.channel-card .channel-logo-wrap img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
.channel-card .channel-name {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Fallback style for channels with no logo set yet */
.channel-card.no-logo {
  background: linear-gradient(160deg, var(--gray-900), var(--black));
  border: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.channel-card.no-logo .channel-name {
  color: var(--white);
  font-size: 13px;
  white-space: normal;
  padding: 0;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }

/* ===== Pricing table (plans page) ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card.featured {
  border: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.plan-card .badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan-card h3 { font-size: 20px; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--black); margin: 10px 0; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--gray-600); }
.plan-card ul { margin: 18px 0; flex: 1; }
.plan-card li { padding: 8px 0; font-size: 14.5px; border-bottom: 1px solid var(--gray-100); display: flex; gap: 8px; }
.plan-card li::before { content: "✓"; color: var(--red); font-weight: 700; }

/* ===== Support / FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--gray-300);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--red); font-size: 20px; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; font-size: 14.5px; }

.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.support-card {
  background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.support-card .tile-icon { margin: 0 auto 14px; }

/* ===== Device guide cards ===== */
.device-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.device-card {
  border: 1px solid var(--gray-300); border-radius: var(--radius); overflow: hidden; background: var(--white);
}
.device-card .device-media {
  background: var(--gray-100); height: 160px; display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); font-size: 13px;
}
.device-card .device-body { padding: 22px; }
.code-pill {
  display: inline-block; background: var(--black); color: var(--white); font-family: monospace;
  font-size: 13px; padding: 5px 12px; border-radius: 4px; margin-top: 8px;
}

/* ===== Footer ===== */
.pre-footer {
  background: var(--gray-100);
  padding: 40px 0;
}
.pre-footer .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.pre-footer h3 { margin-bottom: 4px; font-size: 20px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: 999px; min-width: 260px; font-size: 14px;
}

.site-footer { background: var(--black); color: #b8b8b8; padding: 56px 0 0; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2b2b2b;
}
.footer-cols h4 { color: var(--white); font-size: 14px; margin-bottom: 16px; letter-spacing: .03em; }
.footer-cols li { margin-bottom: 10px; font-size: 13.5px; }
.footer-cols a:hover { color: var(--white); }
.footer-brand .logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: #999; max-width: 260px; }
.app-badges { display: flex; gap: 10px; margin-top: 16px; }
.app-badge {
  border: 1px solid #444; border-radius: 6px; padding: 8px 14px; font-size: 12px; color: #ddd;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 12.5px; color: #888; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: #888; }
.social-row { display: flex; gap: 14px; }

/* ===== Breadcrumb / page header (interior pages) ===== */
.page-header {
  background: var(--black);
  color: var(--white);
  padding: 56px 0 44px;
}
.page-header .eyebrow { color: #ff6b7d; }
.page-header h1 { color: var(--white); font-size: clamp(28px,4vw,42px); }
.page-header p { color: #bbb; max-width: 560px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: repeat(2,1fr); }
  .plan-card.featured { transform: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .device-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .promo-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .pre-footer .wrap { flex-direction: column; align-items: flex-start; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .support-grid { grid-template-columns: 1fr; }
  .hero-content.has-image { flex-direction: column; text-align: center; padding-top: 50px; }
  .hero-content.has-image .hero-ctas { justify-content: center; }
  .hero-content.has-image .hero p { max-width: 100%; }
  .hero-image-wrap.size-small,
  .hero-image-wrap.size-medium,
  .hero-image-wrap.size-large { max-width: 280px; }
}

/* ===== Activate Device wizard ===== */
.activate-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.activate-progress-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.activate-progress-step.active { background: var(--red); border-color: var(--red); color: var(--white); }
.activate-progress-step.done { background: var(--black); border-color: var(--black); color: var(--white); }
.activate-progress-line { width: 24px; height: 2px; background: var(--gray-300); flex-shrink: 0; }
.activate-progress-line.done { background: var(--black); }

.activate-wizard {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 220px;
}
.modal-card .activate-wizard { border: none; padding: 0; min-height: 0; }
.modal-card .activate-progress { margin-bottom: 22px; }
.modal-card .activate-nav { margin-top: 18px; }
.activate-step h2 { font-size: 22px; margin: 6px 0 12px; }
.activate-step p { margin-bottom: 10px; line-height: 1.55; }
.activate-code {
  display: inline-block;
  font-family: monospace;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 14px 28px;
  margin: 8px 0 14px;
}

.activate-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .activate-wizard { padding: 22px 18px; }
  .activate-progress-line { width: 14px; }
  .activate-code { font-size: 22px; padding: 12px 18px; letter-spacing: 2px; }
  .modal-card.modal-wide { padding: 20px 16px; max-height: 92vh; }
}

