/* ==========================================================================
   Home4K — premium IPTV landing page
   ========================================================================== */

:root {
  --bg: #05070b;
  --bg-soft: #080d14;
  --panel: #0b1219;
  --panel-2: #0e1721;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9f1f7;
  --muted: #93a3b5;
  --mint: #2ee6a8;
  --cyan: #37c8f5;
  --gold: #f2c14e;
  --grad: linear-gradient(135deg, #2ee6a8 0%, #37c8f5 100%);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(46, 230, 168, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 88px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--mint);
  color: #04110c;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(5, 7, 11, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(46, 230, 168, 0.18), rgba(55, 200, 245, 0.1));
  border: 1px solid rgba(46, 230, 168, 0.35);
  color: var(--mint);
  box-shadow: 0 0 24px rgba(46, 230, 168, 0.18);
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad);
  color: #04120c;
  box-shadow: 0 12px 34px rgba(46, 230, 168, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 42px rgba(46, 230, 168, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline {
  width: 100%;
  background: transparent;
  border-color: rgba(46, 230, 168, 0.4);
  color: var(--mint);
}

.btn-outline:hover {
  background: rgba(46, 230, 168, 0.1);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 14px;
  border-radius: 10px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 150px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 620px;
  top: -240px;
  right: -220px;
  background: radial-gradient(circle at center, rgba(46, 230, 168, 0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 168, 0.24);
  background: rgba(46, 230, 168, 0.07);
  color: #9defd0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 230, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 230, 168, 0); }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 1.04;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 17px;
  color: var(--muted);
}

.hero-regions {
  margin-top: 14px;
  max-width: 540px;
  font-size: 14px;
  color: #b6c6d6;
}

.hero-regions strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(46, 230, 168, 0.16);
  background-image: linear-gradient(135deg, rgba(46, 230, 168, 0.9), rgba(55, 200, 245, 0.9));
  mask-image: radial-gradient(circle at 50% 50%, transparent 0 3px, #000 3.5px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0 3px, #000 3.5px);
}

.hero-visual {
  position: relative;
}

.tv-card {
  position: relative;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 90px rgba(46, 230, 168, 0.12);
}

.tv-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 11, 0.65));
  pointer-events: none;
}

.tv-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.float-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 13, 20, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.badge-a {
  top: 22px;
  left: -18px;
  color: var(--mint);
}

.badge-b {
  bottom: 34px;
  right: -14px;
  color: var(--cyan);
}

.badge-c {
  bottom: -16px;
  left: 26px;
  color: var(--text);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5d5d;
  box-shadow: 0 0 10px rgba(255, 93, 93, 0.9);
}

/* Stats */
.stats-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding: 26px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(10px);
}

.stat {
  text-align: center;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Poster rail
   ========================================================================== */

.poster-rail {
  position: relative;
  margin: 26px 0 0;
  padding: 18px 0 30px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.poster-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: 9px;
  animation: marquee 48s linear infinite;
}

.poster-rail:hover .poster-track {
  animation-play-state: paused;
}

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

.poster {
  position: relative;
  width: 196px;
  flex: 0 0 auto;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.poster:hover img {
  transform: scale(1.05);
}

.poster figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 11, 0.94));
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.poster figcaption small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

/* ==========================================================================
   Generic sections
   ========================================================================== */

.section {
  position: relative;
  padding: 100px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
}

.section-copy h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  padding-top: 80px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.section-copy > p {
  margin-top: 18px;
  color: var(--muted);
}

.check-list {
  margin: 26px 0 30px;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: #c9d5e1;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(46, 230, 168, 0.14);
  border: 1px solid rgba(46, 230, 168, 0.35);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 8px;
  height: 4px;
  border-left: 1.8px solid var(--mint);
  border-bottom: 1.8px solid var(--mint);
  transform: rotate(-45deg);
}

.about-visual {
  position: relative;
}

.image-frame {
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.floating-card {
  position: absolute;
  left: -22px;
  bottom: -24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1px solid rgba(46, 230, 168, 0.28);
  background: rgba(8, 13, 20, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.floating-card strong {
  font-family: var(--font-head);
  font-size: 26px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.floating-card span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Features
   ========================================================================== */

.features {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(46, 230, 168, 0.06), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.008));
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 230, 168, 0.28);
  background: linear-gradient(180deg, rgba(46, 230, 168, 0.07), rgba(255, 255, 255, 0.01));
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--mint);
  background: rgba(46, 230, 168, 0.1);
  border: 1px solid rgba(46, 230, 168, 0.22);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  margin-top: 20px;
  font-size: 17.5px;
  font-weight: 600;
}

.feature-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ==========================================================================
   Devices
   ========================================================================== */

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.device-card {
  padding: 26px 18px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.device-card:hover {
  transform: translateY(-4px);
  border-color: rgba(55, 200, 245, 0.3);
}

.device-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: var(--cyan);
  background: rgba(55, 200, 245, 0.09);
  border: 1px solid rgba(55, 200, 245, 0.2);
}

.device-icon svg {
  width: 22px;
  height: 22px;
}

.device-card h3 {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

.device-card p {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}

.apps-note {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.apps-note strong {
  color: #cfe0ee;
  font-weight: 600;
}

/* ==========================================================================
   Regions
   ========================================================================== */

.regions {
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(46, 230, 168, 0.05), transparent 70%),
    var(--bg);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.region-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(46, 230, 168, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.region-card:nth-child(2) {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(55, 200, 245, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
}

.region-card:nth-child(3) {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(242, 193, 78, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
}

.region-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 230, 168, 0.26);
}

.region-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 168, 0.28);
  background: rgba(46, 230, 168, 0.08);
  color: #9defd0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.region-card h3 {
  margin-top: 18px;
  font-size: 21px;
  font-weight: 600;
}

.region-card > p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.region-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  font-size: 13.5px;
  color: #c3d1de;
}

.region-list li {
  position: relative;
  padding-left: 24px;
}

.region-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 230, 168, 0.13);
  color: var(--mint);
  font-size: 10px;
  font-weight: 700;
}

.region-card .btn {
  width: 100%;
}

.region-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing {
  background:
    radial-gradient(ellipse 55% 45% at 50% 100%, rgba(55, 200, 245, 0.06), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.008));
}

.plan.featured {
  border-color: rgba(46, 230, 168, 0.45);
  background:
    linear-gradient(180deg, rgba(46, 230, 168, 0.12), rgba(55, 200, 245, 0.04) 55%, rgba(255, 255, 255, 0.01));
  box-shadow: 0 24px 70px rgba(46, 230, 168, 0.14);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #04120c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 16px;
  font-weight: 600;
  color: #d5e2ee;
}

.price {
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price .cur {
  font-size: 22px;
  vertical-align: super;
  margin-right: 2px;
  color: var(--muted);
}

.price .cents {
  font-size: 22px;
  color: var(--muted);
}

.per {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: #c3d1de;
}

.plan-list li {
  position: relative;
  padding-left: 24px;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 230, 168, 0.13);
  color: var(--mint);
  font-size: 10px;
  font-weight: 700;
}

.plan .btn {
  margin-top: auto;
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 3px;
}

.review-card blockquote {
  margin: 16px 0 24px;
  font-size: 15px;
  color: #d1dde8;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 230, 168, 0.25), rgba(55, 200, 245, 0.2));
  border: 1px solid rgba(46, 230, 168, 0.3);
  font-size: 13px;
  font-weight: 700;
  color: #d8fff0;
}

.review-card footer strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.review-card footer small {
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.faq-wrap {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-list details[open] {
  border-color: rgba(46, 230, 168, 0.28);
  background: rgba(46, 230, 168, 0.045);
}

.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--mint);
}

.faq-list details p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-section {
  padding: 100px 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 68px 32px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(46, 230, 168, 0.28);
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(46, 230, 168, 0.16), transparent 65%),
    linear-gradient(180deg, #0b141c, #070c12);
}

.cta-glow {
  position: absolute;
  width: 520px;
  height: 380px;
  left: 50%;
  top: -190px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(55, 200, 245, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.cta-panel h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}

.cta-panel p {
  max-width: 480px;
  margin: 16px auto 0;
  color: var(--muted);
}

.cta-panel .hero-cta {
  justify-content: center;
}

.cta-telegram {
  margin-top: 18px;
  font-size: 14px;
}

.cta-telegram a {
  color: var(--mint);
  font-weight: 600;
}

.cta-telegram a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #04060a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 1fr;
  gap: 40px;
}

.footer-brand p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 14px;
  color: var(--muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.footer-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #6f7f91;
}

.disclaimer {
  max-width: 620px;
  text-align: right;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .nav {
    gap: 22px;
  }

  .hero-grid {
    gap: 36px;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .plan.featured {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    row-gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(8, 13, 20, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 126px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .lead {
    max-width: 620px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
    margin-top: 48px;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-visual {
    max-width: 560px;
  }

  .floating-card {
    left: auto;
    right: 18px;
    bottom: -20px;
  }

  .review-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .region-grid {
    grid-template-columns: 1fr;
  }

  .region-card {
    padding: 26px 22px;
  }

  .disclaimer {
    text-align: left;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

@media (max-width: 640px) {
  .container {
    width: min(1200px, 100% - 36px);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .lead {
    font-size: 15.5px;
  }

  .btn {
    padding: 13px 20px;
    font-size: 14.5px;
  }

  .float-badge {
    font-size: 11.5px;
    padding: 7px 11px;
  }

  .badge-a {
    left: -6px;
    top: 14px;
  }

  .badge-b {
    right: -6px;
    bottom: 44px;
  }

  .badge-c {
    bottom: -14px;
    left: 14px;
  }

  .stat-num {
    font-size: 25px;
  }

  .poster {
    width: 150px;
  }

  .poster-track {
    animation-duration: 36s;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .feature-grid,
  .pricing-grid,
  .device-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    padding: 76px 0;
  }

  .cta-panel {
    padding: 48px 22px;
  }

  .cta-panel .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-trust {
    gap: 14px 20px;
    font-size: 12.5px;
  }
}

@media (max-width: 420px) {
  .device-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    padding: 20px 4px;
  }

  .stat {
    padding: 4px 8px;
  }

  .stat-label {
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .poster-track {
    animation: none;
    overflow-x: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
