/* ============================================
   iptvsuppliers.tv — Main Stylesheet
   Theme: Light / Teal Accent / Deep Navy Text
   Mobile-first · AA Contrast · Production CSS
   ============================================ */

/* ── Self-hosted Fonts ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Custom Properties ── */
:root {
  /* Backgrounds */
  --bg:          #FFFFFF;
  --bg-alt:      #F8FAFC;
  --bg-tint:     #F1F5F9;
  --bg-dark:     #0A1628;
  --bg-dark-alt: #0F1D32;

  /* Text */
  --text:        #0A1628;
  --text-muted:  #475569;
  --text-subtle: #64748B;
  --text-on-dark:#F1F5F9;

  /* Accent (teal) */
  --accent:       #00C9A7;
  --accent-hover: #00B393;
  --accent-active:#009D82;
  --accent-soft:  #E6FAF4;

  /* Borders */
  --border:       #E2E8F0;
  --border-dark:  #CBD5E1;

  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Aliases for inline-style compatibility */
  --text-dim:     var(--text-muted);
  --surface:      var(--bg-alt);
  --r-md:         var(--radius-md);
  --r-sm:         var(--radius-sm);
  --sp-1:         var(--space-xs);
  --sp-2:         var(--space-sm);
  --sp-3:         var(--space-md);
  --sp-4:         var(--space-lg);
  --sp-6:         var(--space-xl);
  --sp-8:         var(--space-2xl);
  --sp-12:        var(--space-3xl);
  --fs-200:       var(--text-xs);
  --fs-300:       var(--text-sm);
  --fs-400:       var(--text-base);
  --fs-500:       var(--text-lg);
  --fs-600:       var(--text-xl);
  --fs-700:       var(--text-2xl);
  --fs-900:       var(--text-4xl);

  /* Type scale (clamp-based) */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-xl:   clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl:  clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl:  clamp(1.875rem, 1.4rem + 2.4vw, 2.75rem);
  --text-4xl:  clamp(2.25rem, 1.6rem + 3.25vw, 3.5rem);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(10,22,40,0.05);
  --shadow-md:  0 4px 12px rgba(10,22,40,0.08);
  --shadow-lg:  0 8px 30px rgba(10,22,40,0.12);
  --shadow-xl:  0 16px 48px rgba(10,22,40,0.16);

  /* Transitions */
  --ease: 250ms ease;
}


/* ── 1. Reset + Base Typography ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

strong, b {
  font-weight: 600;
}


/* ── 2. Skip Link ── */
.skip {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--ease);
}

.skip:focus {
  top: 1rem;
}


/* ── 3. Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}


/* ── 4. Section System ── */
.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.section-head h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.section-head p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}


/* ── 5. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}

.btn svg {
  display: inline;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn--primary:active {
  background: var(--accent-active);
  border-color: var(--accent-active);
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
  min-height: 52px;
  border-radius: var(--radius-lg);
}

.btn--block {
  display: flex;
  width: 100%;
}


/* ── 6. Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 101;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.brand__mark svg {
  display: block;
}

/* Navigation — mobile-first, hidden by default */
.nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background: var(--bg);
  flex-direction: column;
  padding: var(--space-xl) 1.25rem;
  gap: var(--space-xs);
  z-index: 100;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* When burger is clicked, JS adds .nav--open */
.nav--open {
  display: flex;
}

.nav a {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  color: var(--text-muted);
  padding: 0.875rem 0;
  min-height: 48px;
  transition: color var(--ease);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.nav a:last-child {
  border-bottom: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

/* Burger button */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger → X animation */
.burger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger--open span:nth-child(2) {
  opacity: 0;
}
.burger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header CTA group — hidden by default */
.header-cta {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  z-index: 101;
}

/* Desktop nav — ≥1024px: inline nav + CTA buttons */
@media (min-width: 1024px) {
  .burger {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: var(--space-sm);
    background: none;
    overflow: visible;
    box-shadow: none;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
  }

  .nav a {
    font-size: var(--text-sm);
    padding: 0.5rem 0.75rem;
    min-height: auto;
    border-bottom: none;
  }

  .header-cta {
    display: flex;
  }

  .site-header__inner {
    min-height: 72px;
  }
}

/* Tablet 768-1023: inline nav, no CTA */
@media (min-width: 768px) and (max-width: 1023px) {
  .burger {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: var(--space-xs);
    background: none;
    overflow: visible;
    box-shadow: none;
    top: unset;
    left: unset;
    right: unset;
    bottom: unset;
  }

  .nav a {
    font-size: var(--text-xs);
    padding: 0.375rem 0.5rem;
    min-height: auto;
    border-bottom: none;
  }

  .header-cta {
    display: none;
  }

  .site-header__inner {
    min-height: 72px;
  }
}


/* ── 7. Hero ── */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-4xl);
  overflow: clip;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero__title em,
.hero__title span,
.hero__title .highlight {
  color: var(--accent);
  font-style: normal;
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  list-style: none;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--text-subtle);
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero__trust-item strong {
  color: var(--text);
}

.hero__visual {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 600px) {
  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-4xl) 0;
  }

  .hero__inner {
    max-width: 900px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {

  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 100%;
  }

  .hero__copy {
    text-align: left;
    margin: 0;
  }

  .hero__sub {
    margin-left: 0;
  }

  .hero__ctas {
    justify-content: flex-start;
  }

  .hero__trust {
    justify-content: flex-start;
  }

  .hero__visual {
    margin-top: 0;
  }
}


/* ── 8. Trust Strip ── */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: var(--space-xl) 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat {
  padding: var(--space-md);
}

.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat__num span {
  color: var(--accent);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

@media (min-width: 600px) {
  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ── 9. Pricing ── */
.pricing-wrap {
  /* wrapper for pricing section content */
}

#pricing-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.conn-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-tint);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--ease);
  border: 1px solid var(--border);
}

.conn-tab:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.conn-tab.active {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

#pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--ease);
  position: relative;
}

.plan:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.plan--popular {
  background: var(--bg-dark);
  border-color: var(--accent);
  border-width: 2px;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
  transform: scale(1);
}

.plan--popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.375rem 1rem;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.plan--popular:hover {
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.plan--popular .plan__duration,
.plan--popular .plan__per {
  color: rgba(241,245,249,0.7);
}

.plan--popular .plan__price {
  color: var(--accent);
}

.plan--popular .plan__features li {
  color: rgba(241,245,249,0.85);
  border-color: rgba(255,255,255,0.1);
}

.plan--popular .plan__features li::before {
  color: var(--accent);
}

.plan--popular .plan__cta .btn {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.plan--popular .plan__cta .btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.plan__duration {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: var(--space-md);
}

.plan__price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.plan__per {
  font-size: var(--text-sm);
  color: var(--text-subtle);
  margin-bottom: var(--space-lg);
}

.plan__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-xl);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}

.plan__features li:last-child {
  border-bottom: none;
}

.plan__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

.plan__cta {
  margin-top: auto;
}

.plan__cta .btn {
  width: 100%;
}

.pricing-foot {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

@media (min-width: 600px) {
  #pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan--popular {
    transform: scale(1.04);
  }

  .plan--popular:hover {
    transform: scale(1.04) translateY(-2px);
  }
}


/* ── 10. Features ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--ease);
}

.feature:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.feature p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ── 11. Devices ── */
.devices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.device {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--ease);
}

.device:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.device__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-lg);
  font-size: 1.75rem;
}

.device__icon svg,
.device__icon img {
  width: 28px;
  height: 28px;
}

.device__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.device__meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: block;
}

@media (min-width: 600px) {
  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .devices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .devices-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ── 12. FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease);
}

.faq[open] {
  border-color: var(--accent);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  min-height: 44px;
  list-style: none;
  transition: color var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  display: none;
  content: '';
}

.faq summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-subtle);
  border-bottom: 2px solid var(--text-subtle);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--ease), border-color var(--ease);
}

.faq[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--accent);
}

.faq summary:hover {
  color: var(--accent);
}

.faq__body {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.faq__body p {
  margin-bottom: var(--space-sm);
}

.faq__body p:last-child {
  margin-bottom: 0;
}


/* ── 13. Final CTA ── */
.final-cta {
  background: var(--bg-dark);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: clip;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,167,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: var(--text-3xl);
  color: var(--text-on-dark);
  margin-bottom: var(--space-md);
}

.final-cta p {
  font-size: var(--text-lg);
  color: rgba(241,245,249,0.7);
  margin-bottom: var(--space-xl);
}

.final-cta .eyebrow {
  color: var(--accent);
}

.final-cta .btn {
  margin-top: var(--space-sm);
}


/* ── 14. Footer ── */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-3xl) 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
}

.footer__col a {
  font-size: var(--text-sm);
  color: rgba(241,245,249,0.6);
  transition: color var(--ease);
  text-decoration: none;
  padding: 0.25rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer__col a:hover {
  color: var(--accent);
}

.site-footer .brand {
  color: #FFFFFF;
  font-size: var(--text-lg);
}

.footer__about {
  font-size: var(--text-sm);
  color: rgba(241,245,249,0.6);
  line-height: 1.6;
  margin-bottom: 0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(241,245,249,0.4);
}

.site-footer__bottom a {
  font-size: var(--text-xs);
  color: rgba(241,245,249,0.4);
  transition: color var(--ease);
}

.site-footer__bottom a:hover {
  color: var(--accent);
}

@media (min-width: 600px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col a {
    min-height: auto;
  }
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}


/* ── 15. Responsive Breakpoints ── */

/* 360px – smallest mobile guardrail */
@media (max-width: 359px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 1.4rem + 2vw, 2.25rem);
  }

  .plan {
    padding: var(--space-lg);
  }

  #pricing-tabs {
    gap: var(--space-xs);
  }

  .conn-tab {
    font-size: var(--text-xs);
    padding: 0.5rem 0.875rem;
  }
}

/* 600px – large phone / small tablet */
@media (min-width: 600px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

/* 1024px – desktop */
@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 1280px – wide */
@media (min-width: 1280px) {
  .container {
    max-width: 1240px;
  }
}


/* ── Utility Classes ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

.highlight { color: var(--accent); }

/* Scroll-linked fade-in */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus-visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Mobile Tap Targets ── */
@media (max-width: 767px) {
  .footer__col a,
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
