/* ============================================================
   DobbyStreams — Global stylesheet
   Light theme, purple primary (#7c3aed)
   ============================================================ */

:root{
  --purple-50:  #f4efff;
  --purple-100: #ece3ff;
  --purple-200: #d6c2ff;
  --purple-300: #b794f6;
  --purple-400: #9f7aff;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed; /* primary */
  --purple-700: #6d28d9;
  --purple-800: #5b21b6;
  --purple-900: #3b0f74;

  --ink-900: #14111c;
  --ink-700: #2b2640;
  --ink-500: #5b5876;
  --ink-300: #8f8ca8;
  --ink-200: #c8c6d8;
  --ink-100: #e8e6f2;
  --ink-50:  #f7f5ff;

  --dark-bg:      #1a1530;
  --dark-bg-2:    #241d44;
  --dark-border:  #332a5c;

  --success: #22c55e;
  --warning: #f59e0b;
  --danger:  #ef4444;

  --shadow-sm: 0 1px 2px rgba(44, 20, 90, .06);
  --shadow:    0 6px 20px rgba(44, 20, 90, .08), 0 2px 6px rgba(44, 20, 90, .04);
  --shadow-lg: 0 20px 50px rgba(44, 20, 90, .14), 0 8px 20px rgba(44, 20, 90, .06);
  --shadow-purple: 0 14px 40px rgba(124, 58, 237, .35);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --container: 1200px;

  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html,body{
  margin:0; padding:0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

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

a{ color: var(--purple-700); text-decoration:none; }
a:hover{ color: var(--purple-600); }

h1,h2,h3,h4{ font-family: var(--font-sans); color: var(--ink-900); line-height:1.15; margin:0 0 .5em; letter-spacing:-0.01em;}
h1{ font-weight:800; font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing:-0.02em;}
h2{ font-weight:800; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing:-0.02em;}
h3{ font-weight:700; font-size: 1.35rem;}
p{ margin:0 0 1em; color: var(--ink-700); }

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

/* ============================================================
   Top announcement bar
   ============================================================ */
/* ============================================================
   Header / navbar
   ============================================================ */
.site-header{
  position: sticky; top:0; z-index:50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-100);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap:24px;
}
.nav .brand img{ height: 38px; }
.nav ul{
  list-style:none; margin:0; padding:0;
  display:flex; gap: 6px; align-items:center;
}
.nav ul a{
  display:inline-flex; align-items:center; gap:6px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--ink-700); font-weight: 600; font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.nav ul a:hover, .nav ul a.active{
  background: var(--purple-50);
  color: var(--purple-700);
}
.nav ul .has-sub{ position:relative; }
.nav ul .has-sub > a::after{
  content:"▾"; font-size:.7em; margin-left:4px; opacity:.6;
}
.nav ul .has-sub .submenu{
  position:absolute; top:100%; left:0;
  background:#fff;
  border:1px solid var(--ink-100);
  box-shadow: var(--shadow-lg);
  border-radius: 14px;
  min-width: 250px;
  padding: 8px;
  display: none;
  flex-direction: column; gap:2px;
}
.nav ul .has-sub:hover .submenu{ display:flex; }
.nav ul .has-sub .submenu a{ padding: 10px 12px; border-radius: 8px; }

.nav-cta{
  display:flex; align-items:center; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size:.95rem;
  border: none; cursor: pointer;
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: linear-gradient(180deg, var(--purple-500), var(--purple-700));
  color:#fff;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover{ color:#fff; }

.btn-ghost{
  background: transparent;
  color: var(--purple-700);
  border: 1.5px solid var(--purple-200);
}
.btn-ghost:hover{ background: var(--purple-50); color: var(--purple-700); border-color: var(--purple-300);}

.btn-dark{
  background: var(--ink-900); color:#fff;
}
.btn-dark:hover{ color:#fff; background:#000; }

.btn-lg{ padding: 16px 28px; font-size: 1.02rem; }

.lang-switcher{
  display:flex; align-items:center; gap:6px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(124,58,237,.06);
  border: 1px solid var(--ink-100);
}
.lang-switcher a{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:20px; border-radius: 4px; overflow:hidden;
  opacity:.6; transition: opacity .15s ease, transform .15s ease;
  border: 1px solid rgba(0,0,0,.08);
}
.lang-switcher a:hover{ opacity:1; transform: translateY(-1px);}
.lang-switcher a.active{ opacity:1; outline: 2px solid var(--purple-500); outline-offset: 1px;}
.lang-switcher img{ width:100%; height:100%; object-fit:cover; display:block;}
.lang-switcher-mobile{ display:none;}
.lang-switcher-mobile a{
  display:inline-flex; width:32px; height:22px; border-radius:4px; overflow:hidden;
  opacity:.75; border:1px solid rgba(0,0,0,.08);
}
.lang-switcher-mobile a.active{ opacity:1; outline: 2px solid var(--purple-500);}
.lang-switcher-mobile img{ width:100%; height:100%; object-fit:cover;}

.nav-toggle{
  display:none;
  background:transparent; border:none; width:40px; height:40px; cursor:pointer;
  align-items:center; justify-content:center;
}
.nav-toggle span{ display:block; width:22px; height:2px; background: var(--ink-900); position:relative; transition: background .2s ease;}
.nav-toggle span::before, .nav-toggle span::after{
  content:""; position:absolute; left:0; width:100%; height:2px; background: var(--ink-900);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before{ top:-7px; }
.nav-toggle span::after{ top:7px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top:0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ top:0; transform: rotate(-45deg); }
body.nav-open{ overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(168, 85, 247, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(124, 58, 237, .14), transparent 60%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
}
.hero .blob{
  position: absolute; z-index:0;
  width: 520px; height: 520px; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  pointer-events: none;
}
.hero .blob.b1{ background:#b794f6; top:-120px; right:-120px; }
.hero .blob.b2{ background:#6d28d9; bottom:-140px; left:-100px; opacity:.35;}

.hero-grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 12px; background: var(--purple-50); color: var(--purple-700);
  border: 1px solid var(--purple-100);
  border-radius: 999px; font-weight: 700; font-size: .78rem; letter-spacing:.08em; text-transform: uppercase;
}
.hero-eyebrow .pulse{
  width:8px; height:8px; border-radius:50%; background: var(--success);
  box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%  { box-shadow: 0 0 0 0 rgba(34,197,94,.5);}
  70% { box-shadow: 0 0 0 12px rgba(34,197,94,0);}
  100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0);}
}

.hero h1{ font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.hero h1 .grad{
  background: linear-gradient(90deg, var(--purple-700), #c084fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub{
  font-size: 1.15rem; color: var(--ink-500); max-width: 540px; margin-top: 14px;
}
.hero .price-line{
  margin: 26px 0 20px;
  display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;
}
.hero .price-line b{ font-size: 2rem; color: var(--ink-900); font-weight: 800;}
.hero .price-line small{ color: var(--ink-500); font-size: .95rem;}
.hero-ctas{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 12px;}
.hero-meta{
  margin-top: 28px;
  display:flex; gap: 28px; flex-wrap:wrap;
  color: var(--ink-500); font-size:.92rem;
}
.hero-meta .item{ display:flex; align-items:center; gap:8px;}
.hero-meta svg{ width:18px; height:18px; color: var(--success);}

/* Hero mockup TV */
.hero-visual{
  position: relative;
}
.tv-frame{
  position: relative;
  border-radius: 20px;
  padding: 14px 14px 30px;
  background: linear-gradient(180deg, #1f1a3a, #0b0821);
  box-shadow: var(--shadow-lg);
}
.tv-frame::before, .tv-frame::after{
  content:""; position:absolute; pointer-events:none;
}
.tv-frame::after{
  /* stand */
  bottom:-26px; left:50%; transform: translateX(-50%);
  width: 120px; height: 10px; background: #1a1530; border-radius: 0 0 10px 10px;
}
.tv-screen{
  border-radius: 10px; overflow: hidden; background:#000;
  aspect-ratio: 16/9; position:relative;
}
.tv-screen img{ width:100%; height:100%; object-fit: cover; }

.hero-accent-shape{
  position:absolute; width: 230px; height: 230px; z-index:-1;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-300));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  border-radius: 12px;
  filter: blur(.5px);
}
.hero-accent-shape.a1{ top:-24px; right:-30px; }
.hero-accent-shape.a2{ bottom:-40px; left:-40px; transform: rotate(180deg);}

/* ============================================================
   Brand marquee / platform logos
   ============================================================ */
.marquee{
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
  background: #fff;
  padding: 28px 0;
}
.marquee .inner{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px;
  color: var(--ink-300); font-weight:700; font-size: .95rem;
}
.marquee .brand-list{
  display:flex; gap:36px; flex-wrap:wrap; align-items:center;
  color: var(--ink-500); font-weight:800; font-size: 1.05rem;
  letter-spacing:.02em;
}
.marquee .brand-list .b{
  opacity:.75; transition: opacity .2s;
  font-family: var(--font-sans);
  display:inline-flex; align-items:center;
}
.marquee .brand-list .b:hover{ opacity:1;}
.marquee .brand-list .b img{
  height: 28px; width:auto; max-width: 140px;
  object-fit: contain; display:block;
}

/* ============================================================
   Generic section helpers
   ============================================================ */
section{ padding: 88px 0; }
.section-head{ text-align:center; max-width: 720px; margin: 0 auto 56px;}
.section-eyebrow{
  display:inline-block;
  padding: 6px 12px; background: var(--purple-50); color: var(--purple-700);
  border-radius: 999px; font-weight: 700; font-size: .78rem; letter-spacing:.08em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head p{ color: var(--ink-500); font-size: 1.08rem;}

.section-dark{
  background: var(--dark-bg);
  color: #e9e6fb;
  position: relative;
  overflow:hidden;
}
.section-dark h1,.section-dark h2,.section-dark h3{ color:#fff;}
.section-dark p{ color:#bfb8dc;}
.section-dark .feat ul li{ color:#d5cfee;}
.section-dark .feat ul li::before{
  background-color:#2a215a;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.section-dark::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(139,92,246,.25), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(168,85,247,.15), transparent 60%);
}
.section-dark .container{ position:relative; z-index:1;}

/* ============================================================
   Feature two-column blocks
   ============================================================ */
.feat{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items:center;
  margin: 72px 0;
}
.feat.reverse{ direction: rtl; }
.feat.reverse > *{ direction: ltr; }
.feat h3{ font-size: 2rem; line-height:1.1; }
.feat .num{
  display:inline-flex; align-items:center; justify-content:center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(180deg, var(--purple-500), var(--purple-700));
  color:#fff; font-weight:800; margin-bottom: 14px;
  box-shadow: var(--shadow-purple);
}
.feat ul{ list-style:none; padding:0; margin:16px 0 0;}
.feat ul li{
  display:flex; gap:10px; align-items:flex-start;
  padding: 8px 0; color: var(--ink-700); font-weight:500;
}
.feat ul li::before{
  content:""; flex-shrink:0;
  width: 22px; height:22px; border-radius:50%;
  background: var(--purple-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
  margin-top:2px;
}
.feat-img{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: #0d0a20;
}
.feat-img img{ width:100%; height:auto; display:block;}
.feat-img .accent{
  position:absolute; width:140px; height:140px;
  background: linear-gradient(135deg, var(--purple-500), #c084fc);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  top:-30px; right:-30px;
  z-index:-1;
}

/* ============================================================
   Pricing / plans
   ============================================================ */
.plans{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.plan{
  position: relative;
  background:#fff;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  display:flex; flex-direction:column;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple-200);}
.plan.featured{
  border-color: transparent;
  background: linear-gradient(180deg, #1a1530 0%, #2c1e5a 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.plan.featured:hover{ transform: scale(1.02) translateY(-4px); }
.plan.featured .plan-title{ color:#fff;}
.plan.featured .plan-price{ color:#fff;}
.plan.featured ul li{ color:#d5cfee;}
.plan.featured ul li::before{ background-color:#39305f;}
.plan.featured .plan-sub{ color:#b8afe0;}

.plan .badge{
  position:absolute; top:-12px; left:50%; transform: translateX(-50%);
  background: linear-gradient(90deg, #c084fc, var(--purple-600));
  color: #fff; text-transform:uppercase; letter-spacing:.1em;
  font-size: .72rem; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-purple);
}
.plan-title{
  text-transform: uppercase; letter-spacing: .06em;
  font-size: .95rem; font-weight: 800; color: var(--purple-700);
  margin-bottom: 10px;
}
.plan-price{
  font-size: 3.2rem; font-weight: 800; line-height:1;
  color: var(--ink-900);
  display:flex; align-items:baseline; gap:4px;
}
.plan-price .cur{ font-size: 1.4rem; margin-left:4px;}
.plan-sub{ color: var(--ink-500); font-size: .95rem; margin-bottom: 22px;}
.plan ul{ list-style:none; margin:0 0 24px; padding:0; flex:1;}
.plan ul li{
  display:flex; gap:10px; align-items:flex-start;
  padding: 7px 0; color: var(--ink-700); font-size: .92rem;
}
.plan ul li::before{
  content:""; flex-shrink:0;
  width: 18px; height:18px; border-radius:50%;
  background: var(--purple-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
  margin-top:2px;
}
.plan .btn{ width:100%;}

/* ============================================================
   Countries grid
   ============================================================ */
.countries{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.country{
  background:#fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align:left;
  transition: all .18s ease;
}
.country:hover{ transform: translateY(-3px); border-color: var(--purple-200); box-shadow: var(--shadow);}
.country .flag{
  width: 40px; height: 28px; border-radius: 4px;
  background: var(--ink-100);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:.8rem; color: var(--ink-500); letter-spacing:.04em;
  margin-bottom: 12px;
  background-size: cover; background-position:center;
  border: 1px solid var(--ink-100);
}
.country h4{ font-size: 1rem; margin: 0 0 4px; font-weight:700;}
.country small{ color: var(--ink-500); font-size:.82rem;}

/* ============================================================
   Steps
   ============================================================ */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.step{
  background:#fff;
  border:1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align:center;
  position:relative;
  transition: transform .2s;
}
.step:hover{ transform: translateY(-3px);}
.step .ico{
  width: 72px; height: 72px; margin: 0 auto 18px;
  display:flex; align-items:center; justify-content:center;
  background: var(--purple-50); color: var(--purple-700);
  border-radius: 20px;
}
.step .ico svg{ width:36px; height:36px;}
.step .n{
  position:absolute; top:18px; right:22px;
  font-weight:800; color: var(--purple-200); font-size: 1.4rem;
}
.step h3{ font-size: 1.25rem; margin-bottom:8px;}
.step p{ margin:0; font-size:.95rem; color: var(--ink-500);}

/* ============================================================
   Reseller features
   ============================================================ */
.features-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card{
  background:#fff;
  border:1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .18s ease;
}
.feature-card:hover{ transform: translateY(-3px); border-color: var(--purple-200); box-shadow: var(--shadow);}
.feature-card .ico{
  width: 56px; height: 56px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, var(--purple-500), var(--purple-700));
  color: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-purple);
}
.feature-card .ico svg{ width:26px; height:26px;}
.feature-card h3{ font-size: 1.15rem; margin-bottom: 6px;}
.feature-card p{ color: var(--ink-500); font-size:.95rem; margin:0;}

/* ============================================================
   Stats strip
   ============================================================ */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 40px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border-radius: var(--radius-lg);
  color:#fff;
  margin: -60px auto 0;
  max-width: var(--container);
  position:relative; z-index:5;
  box-shadow: var(--shadow-purple);
}
.stat{ text-align:center;}
.stat .n{ font-size: 2.4rem; font-weight:800; line-height:1;}
.stat .l{ font-size:.9rem; opacity:.85; margin-top: 6px;}

/* ============================================================
   FAQ
   ============================================================ */
.faq{
  max-width: 820px; margin: 0 auto;
  display:flex; flex-direction: column; gap: 10px;
}
.faq-item{
  background:#fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  overflow:hidden;
  transition: border-color .2s;
}
.faq-item[open]{ border-color: var(--purple-200);}
.faq-item summary{
  list-style: none;
  padding: 20px 24px;
  font-weight: 700; color: var(--ink-900);
  display:flex; justify-content:space-between; align-items:center; gap: 16px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker{ display:none;}
.faq-item summary::after{
  content:"+"; font-weight: 400; color: var(--purple-600); font-size: 1.6rem; line-height:1;
  width: 28px; height: 28px; display:flex; align-items:center; justify-content:center;
  border-radius: 50%; background: var(--purple-50);
  transition: transform .2s;
}
.faq-item[open] summary::after{ content:"−"; transform: rotate(180deg);}
.faq-item .ans{
  padding: 0 24px 22px; color: var(--ink-500); font-size:.98rem;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band{
  background: linear-gradient(135deg, #24193e 0%, #3a1a7c 50%, #7c3aed 100%);
  color:#fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align:center;
  position: relative;
  overflow:hidden;
  margin: 40px auto;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(168,85,247,.35), transparent 60%),
    radial-gradient(400px 200px at 80% 80%, rgba(192,132,252,.3), transparent 60%);
  pointer-events:none;
}
.cta-band h2{ color:#fff; max-width: 780px; margin: 0 auto 14px;}
.cta-band p{ color:#e4d9ff; max-width: 620px; margin: 0 auto 28px;}
.cta-band .hero-ctas{ justify-content:center;}
.cta-band .btn-ghost{ color:#fff; border-color: rgba(255,255,255,.4);}
.cta-band .btn-ghost:hover{ background: rgba(255,255,255,.1); border-color:#fff; color:#fff;}

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header{
  padding: 64px 0 40px;
  background:
    radial-gradient(600px 280px at 85% 0%, rgba(168,85,247,.18), transparent 60%),
    linear-gradient(180deg, #fbfaff, #ffffff);
  text-align:center;
  border-bottom: 1px solid var(--ink-100);
}
.breadcrumb{
  font-size: .88rem; color: var(--ink-500); margin-bottom: 10px;
}
.breadcrumb a{ color: var(--ink-500);}
.breadcrumb a:hover{ color: var(--purple-700);}
.breadcrumb .sep{ margin: 0 8px; opacity:.5;}
.page-header h1{ font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom:10px;}
.page-header p{ color: var(--ink-500); max-width: 620px; margin: 0 auto; font-size: 1.08rem;}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{
  background: #0f0c1f;
  color: #bfb8dc;
  padding: 72px 0 24px;
  position: relative;
}
.site-footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--purple-600), transparent);
}
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #251d48;
}
.footer-grid h4{
  font-size:.88rem; letter-spacing:.1em; text-transform:uppercase; color:#fff;
  margin-bottom: 16px;
}
.footer-grid ul{ list-style:none; padding:0; margin:0;}
.footer-grid ul li{ padding: 5px 0;}
.footer-grid a{ color:#bfb8dc; font-size:.95rem; transition:color .15s;}
.footer-grid a:hover{ color: #fff;}
.footer-brand img{ height: 40px; filter: brightness(1.1);}
.footer-brand p{ color:#8e87b3; font-size:.95rem; max-width: 320px; margin-top:12px;}
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
  gap: 16px;
  padding-top: 24px;
  color: #6f678f; font-size:.88rem;
}
.footer-bottom .pay{
  display:flex; gap: 10px; align-items:center;
}
.pay-chip{
  padding: 6px 12px; border-radius: 8px;
  background: #1a1535; color:#d6cff0; font-size:.78rem; font-weight: 700;
  border: 1px solid #2a215a;
  letter-spacing:.04em;
}

/* ============================================================
   Guide pages
   ============================================================ */
.guides-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.guide-card{
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  display:flex; gap:22px; align-items:flex-start;
  text-decoration: none; color: inherit;
  transition: all .18s ease;
}
.guide-card:hover{ transform: translateY(-3px); border-color: var(--purple-200); box-shadow: var(--shadow); color: inherit;}
.guide-card .ico{
  flex-shrink:0;
  width: 64px; height: 64px;
  background: linear-gradient(180deg, var(--purple-500), var(--purple-700));
  color:#fff;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-purple);
}
.guide-card .ico svg{ width: 30px; height: 30px;}
.guide-card h3{ margin: 0 0 4px;}
.guide-card p{ margin:0; font-size:.95rem; color: var(--ink-500);}
.guide-card .arrow{
  margin-left:auto; color: var(--purple-600); font-size: 1.4rem;
}

/* Install guide body */
.guide-body{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items:start;
  padding: 64px 0 96px;
}
.guide-toc{
  position: sticky; top: 96px;
  background:#fff;
  border:1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 20px;
}
.guide-toc h4{ font-size: .78rem; letter-spacing:.1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px;}
.guide-toc ol{ padding-left:20px; margin:0; font-size:.95rem;}
.guide-toc ol li{ padding: 4px 0;}
.guide-toc a{ color: var(--ink-700); font-weight: 600;}
.guide-toc a:hover{ color: var(--purple-700);}

.guide-article{ max-width: 780px;}
.guide-article h2{ margin-top: 40px; font-size: 1.5rem;}
.guide-article h2:first-child{ margin-top:0;}
.guide-article p, .guide-article li{ color: var(--ink-700); font-size: 1.02rem; line-height: 1.65;}
.guide-article ol, .guide-article ul{ padding-left: 24px;}
.guide-article li{ padding: 4px 0;}
.guide-article .callout{
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-left: 4px solid var(--purple-600);
  padding: 18px 22px; border-radius: var(--radius-sm);
  margin: 28px 0;
  font-size: .98rem; color: var(--ink-700);
}
.guide-article .screenshot{
  background: var(--ink-900);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
  color: #d6cff0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: .92rem;
  line-height: 1.7;
  white-space: pre-wrap;
}
.guide-article .screenshot .field{ color: var(--purple-300);}
.guide-article .screenshot .value{ color: #fff; background: #2a215a; padding: 2px 8px; border-radius: 4px;}

.guide-cta{
  background: linear-gradient(135deg, var(--purple-50), #fff);
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-lg);
  padding: 28px; margin-top: 32px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 18px; flex-wrap:wrap;
}
.guide-cta h4{ margin:0 0 4px;}
.guide-cta p{ margin:0; color: var(--ink-500);}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .feat{ grid-template-columns: 1fr; gap: 32px; margin: 48px 0;}
  .feat.reverse{ direction: ltr;}
  .plans{ grid-template-columns: 1fr; }
  .plan.featured{ transform:none;}
  .plan.featured:hover{ transform: translateY(-4px);}
  .countries{ grid-template-columns: repeat(3, 1fr);}
  .steps{ grid-template-columns: 1fr;}
  .features-grid{ grid-template-columns: 1fr;}
  .stats{ grid-template-columns: repeat(2, 1fr); margin-top: -40px;}
  .footer-grid{ grid-template-columns: 1fr 1fr;}
  .guide-body{ grid-template-columns: 1fr;}
  .guide-toc{ position: static;}
  .guides-grid{ grid-template-columns: 1fr;}

  .nav{ gap: 8px; padding: 12px 16px; }
  .nav ul{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background:#fff;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow);
    gap: 2px;
    z-index: 40;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform .25s ease;
  }
  .nav ul.open{ transform: translateY(0);}
  .nav ul > li > a,
  .nav ul .has-sub .submenu a{ display:block; padding: 14px 18px; border-radius: 10px;}
  .nav ul .has-sub .submenu{
    position: static; display:flex;
    box-shadow:none; border:none;
    padding: 4px 0 4px 16px; margin-top: 4px;
    border-left: 2px solid var(--ink-100);
    min-width: 0;
  }
  .nav-toggle{ display:flex; order: 2; margin-left: auto; }
  .nav-cta{ order: 3; gap: 6px; }
  .nav-cta .btn:not(.btn-primary){ display:none;}
  .nav-cta .btn{ padding: 10px 16px; font-size: .9rem; }
  .lang-switcher{ display:none; }
  .nav ul .lang-switcher-mobile{
    display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
    padding: 14px 8px 6px; margin-top: 8px;
    border-top:1px solid var(--ink-100);
    list-style: none;
  }
  .nav ul .lang-switcher-mobile a{
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:26px; padding:0; border-radius:4px;
    overflow:hidden; opacity:.75; border:1px solid rgba(0,0,0,.12);
  }
  .nav ul .lang-switcher-mobile a.active{ opacity:1; outline: 2px solid var(--purple-500);}
  .nav ul .lang-switcher-mobile a:hover{ background: transparent;}
  .nav ul .lang-switcher-mobile img{ width:100%; height:100%; object-fit:cover; display:block;}
  section{ padding: 64px 0;}
  .cta-band{ padding: 40px 24px;}
}
@media (max-width: 560px){
  .countries{ grid-template-columns: 1fr 1fr;}
  .stats{ grid-template-columns: 1fr 1fr;}
  .footer-grid{ grid-template-columns: 1fr;}
  .plan-price{ font-size: 2.6rem;}
  .hero{ padding: 48px 0 64px;}
}
