/* =====================================================
   GRUPPE IPTV — Main Stylesheet
   Aesthetic: Technical-precise, dark, cyan accents,
   Syne (display) + Manrope (body) + JetBrains Mono (code)
   ===================================================== */

:root {
  /* Palette */
  --bg-base:        #0a0e14;
  --bg-elev-1:      #0f1419;
  --bg-elev-2:      #161c25;
  --bg-elev-3:      #1d2531;
  --line:           rgba(255,255,255,0.08);
  --line-strong:    rgba(255,255,255,0.16);
  --text:           #e8edf2;
  --text-mute:      #8a95a5;
  --text-dim:       #5a6577;
  --accent:         #00e5ff;            /* electric cyan */
  --accent-glow:    rgba(0,229,255,0.35);
  --accent-soft:    rgba(0,229,255,0.12);
  --accent-2:       #ff3d8b;            /* magenta secondary */
  --warn:           #ffb84d;
  --ok:             #4dffa3;
  --err:            #ff4d6d;

  /* Type */
  --font-display:   'Syne', system-ui, sans-serif;
  --font-body:      'Manrope', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, monospace;

  /* Spacing */
  --container:      1240px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --radius-pill:    999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-base);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* =====================================================
   BACKGROUND FX — gradient blobs + grain texture
   ===================================================== */
.bg-fx {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: blob-drift 22s ease-in-out infinite alternate;
}
.bg-blob--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px; left: -150px;
}
.bg-blob--2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: -300px; right: -200px;
  animation-delay: -8s;
  opacity: 0.22;
}
@keyframes blob-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px,-40px) scale(1.15); }
}
.bg-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10,14,20,0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand-line-1 { font-size: 12px; color: var(--text-mute); letter-spacing: 0.18em; }
.brand-line-2 { font-size: 22px; color: var(--text); }

.site-nav {
  display: flex; gap: 32px; margin-left: 32px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.site-nav a:hover { color: var(--text); }
.site-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s;
}
.site-nav a:hover::after { width: 100%; }

.header-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 12px;
}

.lang-switch {
  display: flex; gap: 2px;
  padding: 4px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.lang-opt {
  padding: 4px 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-mute);
  border-radius: var(--radius-pill);
  transition: all .2s;
}
.lang-opt:hover { color: var(--text); }
.lang-opt.is-active {
  background: var(--accent);
  color: var(--bg-base);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  transition: transform .2s;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s cubic-bezier(.4,0,.2,1);
  text-align: center;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 18px 32px; font-size: 16px; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-base);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

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

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-base);
}

.btn-block { width: 100%; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.hero-stats {
  display: flex; gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Hero visual — animated pricing card */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
}
.hero-card {
  position: absolute;
  background: linear-gradient(140deg, var(--bg-elev-2), var(--bg-elev-1));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-card--main {
  inset: 10% 5% 25% 15%;
  z-index: 3;
  transform: rotate(-3deg);
  animation: float-1 6s ease-in-out infinite;
}
.hero-card--secondary {
  inset: 35% 0 5% 5%;
  z-index: 2;
  transform: rotate(4deg);
  background: linear-gradient(140deg, var(--bg-elev-1), var(--bg-elev-2));
  animation: float-2 8s ease-in-out infinite;
}
.hero-card--tertiary {
  inset: 45% 25% 10% -5%;
  z-index: 1;
  transform: rotate(-7deg);
  opacity: 0.5;
}
@keyframes float-1 { 50% { transform: rotate(-3deg) translateY(-12px); } }
@keyframes float-2 { 50% { transform: rotate(4deg) translateY(-8px); } }

.hero-card-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-mute);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.hero-card-row:last-child { border-bottom: 0; }
.hero-card-row .val { color: var(--text); font-weight: 600; }
.hero-card-row .price-final {
  color: var(--accent); font-size: 18px;
  font-family: var(--font-display);
}

/* =====================================================
   SECTION
   ===================================================== */
.section { padding: 80px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section h2 .accent { color: var(--accent); font-style: italic; }
.section-sub {
  font-size: 17px; color: var(--text-mute); max-width: 600px;
}

/* =====================================================
   STEPS / HOW IT WORKS
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-base));
}
.step {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .25s;
}
.step:last-child { border-right: 0; }
.step:hover { background: var(--bg-elev-2); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  -webkit-text-stroke: 1px var(--accent);
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  font-style: italic;
}
.step:hover .step-num {
  -webkit-text-fill-color: var(--accent);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.55;
}

/* =====================================================
   PACKAGE GRID
   ===================================================== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.pkg-card {
  position: relative;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all .25s;
  overflow: hidden;
}
.pkg-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, var(--accent-soft), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.pkg-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.pkg-card:hover::before { opacity: 1; }

.pkg-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}
.pkg-card-devices {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 0.85;
  color: var(--accent);
}
.pkg-card-devices small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}
.pkg-card-duration {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-pill);
}
.pkg-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
}
.pkg-card-prices {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 22px;
  position: relative;
}
.pkg-card-perperson {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--text);
  line-height: 1;
}
.pkg-card-perperson .currency { color: var(--text-mute); font-size: 22px; margin-right: 4px; }
.pkg-card-perperson small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-top: 6px;
}
.pkg-card-total {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}
.pkg-card-total b { color: var(--text); font-weight: 600; }
.pkg-card .btn { width: 100%; position: relative; }

/* =====================================================
   REFERRAL SECTION
   ===================================================== */
.referral-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-elev-1), var(--bg-elev-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.referral-block::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.referral-tiers {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.referral-tier {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 14px;
}
.referral-tier .tier-points {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.referral-tier .tier-arrow { color: var(--text-dim); }
.referral-tier .tier-bonus {
  margin-left: auto;
  color: var(--accent);
  font-weight: 600;
}

/* =====================================================
   FORMS
   ===================================================== */
.auth-shell {
  max-width: 460px;
  margin: 60px auto;
  padding: 48px 40px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.auth-shell h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.auth-shell .subtitle {
  color: var(--text-mute);
  margin-bottom: 32px;
  font-size: 15px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  transition: all .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
}
.field-error {
  font-size: 13px;
  color: var(--err);
  margin-top: 6px;
}

.errors {
  background: rgba(255,77,109,0.08);
  border: 1px solid var(--err);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #ffb3c1;
}
.errors ul { padding-left: 18px; }

.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-mute);
}
.auth-alt a { color: var(--accent); font-weight: 600; }

/* =====================================================
   DASHBOARD
   ===================================================== */
.dash-hero {
  padding: 56px 0 32px;
}
.dash-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.dash-hero .username-mask {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
}
.dash-hero .username-mask code {
  background: var(--bg-elev-2);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.dash-stat {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.dash-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
.dash-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.dash-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}
.dash-stat--accent .dash-stat-val { color: var(--accent); }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.dash-panel {
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.dash-panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

/* Referral link box */
.ref-link-box {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-base);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 4px;
  overflow: hidden;
}
.ref-link-box input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: 0;
}
.ref-link-box button {
  padding: 10px 18px;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: all .2s;
}
.ref-link-box button:hover { transform: scale(1.04); }
.ref-link-box button.copied {
  background: var(--ok);
}

.share-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 14px;
}
.share-btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
}
.share-btn-wa:hover { background: #1faa53; }

.share-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255,184,77,0.08);
  border-left: 3px solid var(--warn);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #ffd9a8;
}

/* Order list */
.order-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.order-item {
  padding: 18px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .2s;
}
.order-item:hover { border-color: var(--accent); }
.order-item-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px;
}
.order-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}
.order-item-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}
.badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge--awaiting { background: rgba(255,184,77,0.12); color: var(--warn); border: 1px solid var(--warn); }
.badge--submitted { background: rgba(0,229,255,0.12); color: var(--accent); border: 1px solid var(--accent); }
.badge--confirmed { background: rgba(77,255,163,0.12); color: var(--ok); border: 1px solid var(--ok); }
.badge--rejected  { background: rgba(255,77,109,0.12); color: var(--err); border: 1px solid var(--err); }
.badge--open      { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.badge--complete  { background: rgba(255,184,77,0.12); color: var(--warn); border: 1px solid var(--warn); }
.badge--active    { background: rgba(77,255,163,0.12); color: var(--ok); border: 1px solid var(--ok); }

.progress-bar {
  height: 6px;
  background: var(--bg-elev-3);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-pill);
  transition: width .5s;
}

/* IPTV Credentials box */
.creds-box {
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(255,61,139,0.04));
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
}
.creds-box h4 {
  font-family: var(--font-display);
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--accent);
}
.creds-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  border-bottom: 1px dashed var(--line);
}
.creds-row:last-child { border-bottom: 0; }
.creds-row .key { color: var(--text-mute); }
.creds-row .val { color: var(--text); font-weight: 600; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  margin-top: 100px;
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--bg-elev-1));
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col--brand .brand { margin-bottom: 16px; }
.footer-tagline { color: var(--text-mute); font-size: 14px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-mute); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap; gap: 16px;
}
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-pill {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--text-mute);
}

/* =====================================================
   FLASH
   ===================================================== */
.flash-stack {
  position: fixed; top: 90px; right: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 360px;
}
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: flash-in .3s ease;
}
@keyframes flash-in { from { transform: translateX(20px); opacity: 0; } }
.flash--success { border-color: var(--ok); color: var(--ok); }
.flash--error   { border-color: var(--err); color: #ffb3c1; }
.flash--info    { border-color: var(--accent); color: var(--accent); }

/* =====================================================
   PAYMENT INSTRUCTIONS
   ===================================================== */
.payment-card {
  background: var(--bg-elev-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.payment-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 16px;
}
.payment-rows { display: flex; flex-direction: column; gap: 0; }
.payment-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
}
.payment-row:last-child { border-bottom: 0; }
.payment-row .key { color: var(--text-mute); }
.payment-row .val { color: var(--text); font-weight: 600; }
.payment-row .copy-btn {
  margin-left: 12px;
  padding: 4px 10px;
  font-size: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
}
.payment-row .copy-btn:hover { background: var(--accent); color: var(--bg-base); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1000px) {
  .hero-grid, .dash-grid, .referral-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { max-width: 100%; aspect-ratio: 16/12; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .referral-block { padding: 32px; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .header-inner { height: 64px; gap: 12px; }
  .site-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .site-nav,
  body.nav-open .header-actions {
    display: flex;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg-elev-1);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  body.nav-open .header-actions { top: auto; bottom: 0; flex-direction: row; justify-content: center; border-top: 1px solid var(--line); }

  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .auth-shell { padding: 32px 24px; margin: 30px 16px; }
}

/* Util */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 16px; }
.muted { color: var(--text-mute); }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
