/* ============================================================
   LOKLOK WEBSITE — SHARED STYLESHEET
   Design: Cinematic Dark | Purple → Pink Brand Palette
   Matches official Loklok icon gradient identity
   ============================================================ */

/* --- GOOGLE FONTS ---
   Outfit  : clean geometric display, highly legible at all sizes
   Nunito  : rounded humanist body, very comfortable to read     */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================================
   CSS VARIABLES — Brand palette extracted from Loklok icon
   Icon gradient: deep purple #7C3AED → magenta #C026D3 → pink #EC4899
   ============================================================ */
:root {
  /* ── Backgrounds ─────────────────────────────────────────── */
  --bg-primary:     #08080F;
  --bg-secondary:   #0D0D1C;
  --bg-tertiary:    #121228;
  --bg-card:        rgba(255,255,255,0.033);
  --bg-card-hover:  rgba(255,255,255,0.058);

  /* ── Brand Accents (icon-matched) ───────────────────────── */
  --accent:         #A855F7;          /* vibrant purple           */
  --accent-light:   #C084FC;          /* lighter purple           */
  --accent-deep:    #7C3AED;          /* deep/rich purple         */
  --accent-pink:    #EC4899;          /* hot pink (icon right end)*/
  --accent-magenta: #C026D3;          /* magenta (icon midpoint)  */
  --accent-glow:    rgba(168,85,247,0.20);
  --accent-glow-sm: rgba(168,85,247,0.09);

  /* ── Brand Gradient (matches icon exactly) ──────────────── */
  --brand-gradient: linear-gradient(135deg, #7C3AED 0%, #C026D3 50%, #EC4899 100%);
  --brand-gradient-soft: linear-gradient(135deg,
      rgba(124,58,237,0.15) 0%,
      rgba(192,38,211,0.10) 50%,
      rgba(236,72,153,0.08) 100%);

  /* ── Text ────────────────────────────────────────────────── */
  --text-primary:   #EEF0F8;          /* slightly cool white      */
  --text-secondary: #9BA5C0;          /* mid-tone slate           */
  --text-muted:     #4A5070;          /* subdued label            */
  --text-white:     #FFFFFF;

  /* ── Borders ─────────────────────────────────────────────── */
  --border:         rgba(168,85,247,0.14);
  --border-subtle:  rgba(255,255,255,0.07);
  --border-strong:  rgba(168,85,247,0.35);
  --border-pink:    rgba(236,72,153,0.25);

  /* ── Typography ──────────────────────────────────────────── */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Nunito', sans-serif;

  /* ── Spacing & Layout ────────────────────────────────────── */
  --section-py: 90px;
  --container:  1200px;

  /* ── Elevation ───────────────────────────────────────────── */
  --shadow-card:  0 4px 28px rgba(0,0,0,0.45);
  --shadow-glow:  0 0 36px rgba(168,85,247,0.18);
  --shadow-deep:  0 20px 60px rgba(0,0,0,0.65);

  /* ── Radius ──────────────────────────────────────────────── */
  --radius-sm:   7px;
  --radius-md:   13px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  /* ── Motion ──────────────────────────────────────────────── */
  --transition:      all 0.28s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.55s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }  /* 15px base = naturally smaller */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* subtle film-grain texture */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.45;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ── Selection ───────────────────────────────────────────── */
::selection { background: rgba(168,85,247,0.28); color: #fff; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container  { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section    { padding: var(--section-py) 0; position: relative; }
.section--sm { padding: 52px 0; }
.section--lg { padding: 120px 0; }

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

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; }

.text-center { text-align: center; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

/* Comfortable, legible sizes — slightly compact */
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem);  font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem);  font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem;  font-weight: 600; }
h5 { font-size: 0.97rem; font-weight: 600; }
p  { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; }

.lead {
  font-size: clamp(0.97rem, 1.8vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.82;
  max-width: 660px;
  font-weight: 400;
}

/* Section label chip */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--brand-gradient);
  border-radius: 1px;
}

.section-title    { margin-bottom: 14px; }
.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 44px;
}
.section-subtitle.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Gradient text — matches icon gradient */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.28s;
}
.btn:hover::after { opacity: 1; }

/* Primary — brand gradient */
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124,58,237,0.38), 0 0 0 0 rgba(168,85,247,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5), 0 0 24px rgba(236,72,153,0.2);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary */
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-2px);
  color: var(--text-white);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(168,85,247,0.1);
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 18px;
}
.btn-ghost:hover { color: var(--text-white); }

/* Button Icon Animations */
.btn-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  stroke: currentColor;
  color: inherit;
}

/* Download icon animation */
.btn-primary .btn-icon {
  animation: icon-idle-down 3s ease-in-out infinite;
}

.btn-primary:hover .btn-icon {
  animation: icon-bounce-down 0.6s ease-in-out 1;
  stroke-width: 2.8;
}

/* Device icon animation */
.btn-secondary .btn-icon {
  animation: icon-idle-device 3s ease-in-out infinite;
}

.btn-secondary:hover .btn-icon {
  animation: icon-glow-device 0.6s ease-out 1;
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.5));
}

/* Sizes */
.btn-lg { padding: 15px 32px; font-size: 0.95rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; border-radius: var(--radius-sm); }

/* Store buttons */
.btn-store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 150px;
}
.btn-store:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border);
  transform: translateY(-2px);
}
.btn-store .store-icon  { font-size: 1.4rem; flex-shrink: 0; }
.btn-store .store-text  { display: flex; flex-direction: column; }
.btn-store .store-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.btn-store .store-name  { font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--text-white); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,15,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}
.navbar-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 28px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.navbar-logo img {
  width: 34px; height: 34px;
  border-radius: 9px; object-fit: cover;
}
.navbar-logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.22rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
}
.navbar-logo-text span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.navbar-nav a {
  padding: 7px 13px;
  font-family: var(--font-display);
  font-size: 0.84rem; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--text-white); background: rgba(168,85,247,0.1); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 185px; padding: 7px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-deep);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem; color: var(--text-secondary);
}
.nav-dropdown-menu a:hover { background: rgba(168,85,247,0.08); color: var(--text-white); }
.nav-dropdown-menu a .dd-icon { font-size: 0.95rem; }

.navbar-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--bg-primary);
  z-index: 999; padding: 96px 22px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 7px; }
.mobile-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.mobile-nav a:hover { background: rgba(168,85,247,0.08); color: var(--text-white); }
.mobile-nav .mobile-nav-cta { margin-top: 14px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 0 90px;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 150% 150% at 50% 0%,
    rgba(124,58,237,0.05) 0%,
    rgba(13,13,28,0) 40%);
}
/* Dual animated glows for cinematic feel */
.hero::before {
  content: '';
  position: absolute; top: -20%; left: 10%;
  width: 900px; height: 900px;
  background: radial-gradient(ellipse at center,
    rgba(124,58,237,0.12) 0%,
    rgba(168,85,247,0.05) 35%,
    transparent 70%);
  filter: blur(60px);
  animation: float-slow 20s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -15%; right: -5%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(236,72,153,0.1) 0%,
    rgba(192,39,211,0.04) 40%,
    transparent 70%);
  filter: blur(60px);
  animation: float-slow-reverse 22s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px; align-items: center;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(168,85,247,0.08);
  border: 1px solid;
  border-image: linear-gradient(90deg,
    rgba(168,85,247,0.4),
    rgba(236,72,153,0.2),
    rgba(168,85,247,0.1)) 1;
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
  animation: fadeInDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  backdrop-filter: blur(8px);
  position: relative;
}
.hero-badge::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(168,85,247,0.05),
    rgba(236,72,153,0.03),
    transparent);
  border-radius: 100px;
  pointer-events: none;
}
.hero-badge .badge-dot {
  width: 7px; height: 7px;
  background: var(--accent-pink);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(236,72,153,0.6);
  animation: pulse-bright 2.2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.75s 0.12s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  background: linear-gradient(to right,
    var(--text-primary) 0%,
    var(--text-primary) 70%,
    var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.04rem);
  color: var(--text-secondary);
  line-height: 1.82;
  margin-bottom: 36px; max-width: 520px;
  animation: fadeInUp 0.65s 0.2s ease both;
  font-weight: 400;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 48px;
  animation: fadeInUp 0.75s 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-actions .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-actions .btn-primary {
  box-shadow: 0 12px 40px rgba(168,85,247,0.25),
              inset 0 1px 0 rgba(255,255,255,0.2);
}
.hero-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(168,85,247,0.35),
              inset 0 1px 0 rgba(255,255,255,0.3);
}
.hero-actions .btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg,
    transparent 0%,
    rgba(255,255,255,0.1) 50%,
    transparent 100%);
  transform: translateX(-100%);
  animation: shine 3s infinite;
  pointer-events: none;
}
.hero-actions .btn-secondary {
  box-shadow: 0 0 20px rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.3);
}
.hero-actions .btn-secondary:hover {
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 30px rgba(168,85,247,0.25);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 20px;
  animation: fadeInUp 0.75s 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.77rem; color: var(--text-secondary); font-weight: 500;
  padding: 8px 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.trust-badge:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}
.trust-badge .trust-icon {
  width: 28px; height: 28px;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.05);
}
.trust-badge:hover .trust-icon {
  background: rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.35);
  box-shadow: 0 0 15px rgba(168,85,247,0.15),
              inset 0 1px 2px rgba(255,255,255,0.1);
}

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: fadeInRight 0.85s 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-image-wrap {
  position: relative; z-index: 2;
}
.hero-image-wrap::before {
  content: '';
  position: absolute; inset: -60px;
  background: radial-gradient(ellipse at center,
    rgba(124,58,237,0.16) 0%,
    rgba(236,72,153,0.08) 40%,
    transparent 75%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}
.hero-image-wrap::after {
  content: '';
  position: absolute; inset: -80px;
  background: conic-gradient(from 0deg,
    rgba(124,58,237,0.08),
    rgba(236,72,153,0.08),
    rgba(124,58,237,0.08));
  border-radius: 50%;
  animation: spin-slow 8s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}
.hero-phone-img {
  max-width: 360px; width: 100%;
  filter:
    drop-shadow(0 50px 100px rgba(0,0,0,0.8))
    drop-shadow(0 0 60px rgba(124,58,237,0.2))
    drop-shadow(0 20px 40px rgba(236,72,153,0.15));
  animation: float-enhanced 6.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Floating stat bubbles */
.hero-stat-bubble {
  position: absolute;
  background: rgba(13,13,28,0.9);
  border: 1.5px solid;
  border-image: linear-gradient(135deg,
    rgba(168,85,247,0.4),
    rgba(236,72,153,0.3),
    rgba(168,85,247,0.2)) 1;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  backdrop-filter: blur(18px);
  animation: float-enhanced 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  box-shadow: 0 8px 32px rgba(124,58,237,0.1),
              inset 0 1px 2px rgba(255,255,255,0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-stat-bubble:hover {
  box-shadow: 0 12px 48px rgba(124,58,237,0.2),
              inset 0 1px 2px rgba(255,255,255,0.1);
}
.hero-stat-bubble.top-left    {
  top: 10%; left: -10%;
  animation-delay: -2s;
}
.hero-stat-bubble.bottom-right {
  bottom: 15%; right: -5%;
  animation-delay: -4s;
}
.hero-stat-bubble .stat-num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.hero-stat-bubble .stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--brand-gradient);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168,85,247,0.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(124,58,237,0.08);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 46px; height: 46px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
  transition: var(--transition);
}
.card:hover .card-icon {
  background: rgba(168,85,247,0.16);
  border-color: rgba(168,85,247,0.38);
}
.card-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.97rem;
  color: var(--text-white); margin-bottom: 7px;
}
.card-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.68; }

/* Device cards */
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 20px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.device-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.device-card:hover::after { transform: scaleX(1); }
.device-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(168,85,247,0.22);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.device-card-icon  { font-size: 2.2rem; }
.device-card-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.1rem; color: var(--text-white);
}
.device-card-desc  { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }
.device-card-links { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }

/* ============================================================
   DOWNLOAD BUTTONS
   ============================================================ */
.dl-btn {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
  width: 100%; text-align: left;
}
.dl-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--border);
  transform: translateX(3px);
}
.dl-btn .dl-icon  { font-size: 1.15rem; flex-shrink: 0; }
.dl-btn .dl-info  { display: flex; flex-direction: column; gap: 1px; }
.dl-btn .dl-label {
  font-size: 0.66rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.07em;
  font-family: var(--font-display);
}
.dl-btn .dl-name  {
  font-family: var(--font-display);
  font-size: 0.86rem; font-weight: 600; color: var(--text-white);
}
.dl-btn .dl-arrow { margin-left: auto; color: var(--text-muted); font-size: 0.8rem; }
.dl-btn:hover .dl-arrow { color: var(--accent-light); }

.dl-btn-primary {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.28);
}
.dl-btn-primary:hover {
  background: rgba(124,58,237,0.18);
  border-color: rgba(168,85,247,0.45);
}
.dl-btn-primary .dl-icon { color: var(--accent-light); }

/* ============================================================
   STEP GUIDE
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 0; }
.step  { display: flex; gap: 20px; position: relative; padding-bottom: 30px; }
.step:last-child { padding-bottom: 0; }
.step-left  { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 40px; height: 40px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.85rem; color: #fff;
  flex-shrink: 0; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.step-line {
  width: 2px; flex: 1;
  background: linear-gradient(180deg, rgba(124,58,237,0.3), transparent);
  margin-top: 7px;
}
.step:last-child .step-line { display: none; }
.step-content  { padding-top: 8px; }
.step-title    {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.93rem; color: var(--text-white); margin-bottom: 5px;
}
.step-desc     { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.7; }
.step-code {
  display: inline-block;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 11px;
  font-family: 'Courier New', monospace;
  font-size: 0.88rem; color: var(--accent-light);
  margin-top: 7px; font-weight: 700; letter-spacing: 0.04em;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: rgba(168,85,247,0.25); box-shadow: 0 4px 18px rgba(0,0,0,0.28); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 22px; cursor: pointer; gap: 14px; transition: var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.025); }
.faq-q-text {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem; color: var(--text-white);
}
.faq-icon {
  width: 26px; height: 26px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; color: var(--accent);
  flex-shrink: 0; transition: var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-gradient);
  color: #fff;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.875rem; color: var(--text-secondary); line-height: 1.78;
  border-top: 1px solid var(--border-subtle); padding-top: 14px;
}
.faq-answer-inner a { color: var(--accent-light); text-decoration: underline; }

/* ============================================================
   TV CODE BLOCK
   ============================================================ */
.tv-code-block {
  background: rgba(13,13,28,0.7);
  border: 1.5px solid rgba(168,85,247,0.28);
  border-radius: var(--radius-xl);
  padding: 44px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.tv-code-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top,
    rgba(124,58,237,0.07) 0%,
    rgba(236,72,153,0.04) 50%, transparent 70%);
  pointer-events: none;
}
.tv-code-label {
  font-family: var(--font-display);
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-muted);
  margin-bottom: 10px; font-weight: 600;
}
.tv-code-value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.12em; line-height: 1;
  margin-bottom: 14px;
}
.tv-code-sub { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.feature-strip {
  display: flex; gap: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 0;
  backdrop-filter: none;
}

.feature-strip-item {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(168,85,247,0.15);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  background: linear-gradient(135deg,
    rgba(124,58,237,0.04) 0%,
    rgba(13,13,28,0) 100%);
  cursor: pointer;
  overflow: hidden;
}

.feature-strip-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(168,85,247,0.08) 0%,
    rgba(236,72,153,0.04) 100%);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.feature-strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%,
    rgba(168,85,247,0.15) 0%,
    transparent 65%);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.feature-strip-item:hover::before {
  opacity: 1;
}

.feature-strip-item:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

.feature-strip-item:last-child { border-right: none; }

.feature-strip-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(124,58,237,0.15);
}

/* Icon wrapper and styling */
.fs-icon-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  height: 80px;
}

.fs-code {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  animation: fadeIn 0.6s ease-out forwards;
}

.fs-code-multi {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(45deg,
    var(--accent-light),
    var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.6s ease-out forwards;
}

.fs-icon-svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-light);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 8px rgba(168,85,247,0));
  animation: icon-subtle-float 3s ease-in-out infinite;
}

.feature-strip-item:hover .fs-icon-svg {
  stroke: var(--accent-pink);
  filter: drop-shadow(0 0 12px rgba(236,72,153,0.4));
  transform: scale(1.2) rotate(8deg);
  animation: icon-bounce 0.6s ease-in-out 1;
}

.feature-strip-item .fs-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.feature-strip-item:hover .fs-label {
  color: var(--accent-light);
}

/* Individual item gradients */
.feature-strip-item.item-kr {
  border-image: linear-gradient(180deg,
    rgba(168,85,247,0.3) 0%,
    rgba(168,85,247,0.05) 100%) 1;
}

.feature-strip-item.item-jp {
  border-image: linear-gradient(180deg,
    rgba(192,39,211,0.25) 0%,
    rgba(192,39,211,0.05) 100%) 1;
}

.feature-strip-item.item-cn {
  border-image: linear-gradient(180deg,
    rgba(236,72,153,0.3) 0%,
    rgba(236,72,153,0.05) 100%) 1;
}

.feature-strip-item.item-th {
  border-image: linear-gradient(180deg,
    rgba(168,85,247,0.25) 0%,
    rgba(168,85,247,0.05) 100%) 1;
}

.feature-strip-item.item-lang {
  border-right: none;
  border-image: linear-gradient(180deg,
    rgba(124,58,237,0.3) 0%,
    rgba(124,58,237,0.05) 100%) 1;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 70px 52px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse,
    rgba(124,58,237,0.07) 0%,
    rgba(236,72,153,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.cta-banner-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px;
}
.cta-banner-sub {
  font-size: 0.95rem; color: var(--text-secondary);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.8;
}
.cta-banner-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 148px 0 72px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 380px;
  background: radial-gradient(ellipse at top,
    rgba(124,58,237,0.08) 0%, rgba(236,72,153,0.04) 40%, transparent 70%);
  pointer-events: none;
}
.page-hero-title  { margin-bottom: 18px; }
.page-hero-sub {
  max-width: 620px; margin: 0 auto 32px;
  font-size: 0.97rem; color: var(--text-secondary); line-height: 1.82;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 18px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-secondary); }

/* ============================================================
   CALLOUTS / INFO BOXES
   ============================================================ */
.callout {
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout-info    { background: rgba(99,102,241,0.07); border: 1px solid rgba(99,102,241,0.22); }
.callout-warning { background: rgba(168,85,247,0.07); border: 1px solid rgba(168,85,247,0.22); }
.callout-success { background: rgba(34,197,94,0.07);  border: 1px solid rgba(34,197,94,0.22); }
.callout-icon    { font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
.callout-text    { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.72; }
.callout-text strong { color: var(--text-white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px; padding-bottom: 52px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.footer-brand .footer-logo img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand .footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.12rem; color: var(--text-white);
}
.footer-brand .footer-logo-text span {
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-desc {
  font-size: 0.84rem; color: var(--text-muted);
  line-height: 1.75; max-width: 260px; margin-bottom: 22px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.76rem;
  color: var(--text-white);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 0.84rem; color: var(--text-muted); transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.footer-copy  { font-size: 0.76rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.76rem; color: var(--text-muted); transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent-light); }

.footer-disclaimer {
  background: rgba(0,0,0,0.28);
  border-top: 1px solid var(--border-subtle);
  padding: 14px 0; text-align: center;
  font-size: 0.72rem; color: var(--text-muted); line-height: 1.6;
}

/* ============================================================
   LEGAL PAGE CONTENT
   ============================================================ */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.2rem; margin: 44px 0 14px; color: var(--text-white);
  padding-bottom: 10px; border-bottom: 1px solid var(--border-subtle);
}
.legal-content h2:first-of-type { margin-top: 14px; }
.legal-content h3 { font-size: 0.97rem; margin: 26px 0 9px; color: var(--text-primary); }
.legal-content p  { margin-bottom: 14px; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.8; }
.legal-content ul { margin-bottom: 14px; padding-left: 0; }
.legal-content ul li {
  font-size: 0.9rem; color: var(--text-secondary);
  padding: 5px 0 5px 18px; position: relative; line-height: 1.72;
}
.legal-content ul li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--accent); font-size: 0.78rem; top: 7px;
}
.legal-content a { color: var(--accent-light); }
.legal-content a:hover { text-decoration: underline; }
.legal-date {
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 28px; display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   PLATFORM BADGE
   ============================================================ */
.platform-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 100px; padding: 4px 12px;
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600; color: var(--text-secondary);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-label {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
}
.form-input, .form-textarea, .form-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  color: var(--text-primary); font-size: 0.9rem;
  transition: var(--transition); outline: none; width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(168,85,247,0.4);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   TROUBLESHOOT CARDS
   ============================================================ */
.issue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px; transition: var(--transition);
}
.issue-card:hover { background: var(--bg-card-hover); }
.issue-title {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  color: var(--text-white); margin-bottom: 14px;
}
.issue-icon {
  width: 34px; height: 34px;
  background: rgba(236,72,153,0.09);
  border: 1px solid rgba(236,72,153,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.issue-fix-title {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 9px;
}
.fix-step {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem; color: var(--text-secondary);
}
.fix-step:last-child { border-bottom: none; }
.fix-step-num {
  width: 19px; height: 19px;
  background: var(--brand-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800; color: #fff;
  flex-shrink: 0; margin-top: 1px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.tag {
  display: inline-block;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.22);
  border-radius: 100px;
  padding: 3px 11px;
  font-family: var(--font-display);
  font-size: 0.73rem; font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.07em;
}
.tag-red   { background: rgba(239,68,68,0.09); border-color: rgba(239,68,68,0.22); color: #F87171; }
.tag-green { background: rgba(34,197,94,0.09);  border-color: rgba(34,197,94,0.22);  color: #4ADE80; }
.tag-blue  { background: rgba(99,102,241,0.09); border-color: rgba(99,102,241,0.22); color: #818CF8; }

.mt-2{margin-top:8px}  .mt-4{margin-top:16px} .mt-6{margin-top:24px} .mt-8{margin-top:32px}
.mb-2{margin-bottom:8px}.mb-4{margin-bottom:16px}.mb-6{margin-bottom:24px}.mb-8{margin-bottom:32px}
.mb-12{margin-bottom:48px}

.code-snippet {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem; color: var(--accent-light);
  word-break: break-all;
}

.highlight-box {
  background: linear-gradient(135deg,
    rgba(124,58,237,0.07),
    rgba(192,38,211,0.05),
    rgba(236,72,153,0.04));
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown  { from{opacity:0;transform:translateY(-14px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp    { from{opacity:0;transform:translateY(22px)}  to{opacity:1;transform:translateY(0)} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(36px)}  to{opacity:1;transform:translateX(0)} }
@keyframes fadeIn      { from{opacity:0} to{opacity:1} }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-13px); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.82); }
}

@keyframes pulse-bright {
  0%,100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px rgba(236,72,153,0.6);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
    box-shadow: 0 0 8px rgba(236,72,153,0.3);
  }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-25px); }
}

@keyframes float-slow-reverse {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(20px); }
}

@keyframes float-enhanced {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%      { transform: translateY(-16px) scale(1.02); }
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.5;
  }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes icon-idle-down {
  0%, 100% {
    transform: translateY(0px);
    opacity: 1;
  }
  50% {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

@keyframes icon-bounce-down {
  0% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes icon-idle-device {
  0%, 100% {
    transform: scale(1) rotateZ(0deg);
  }
  50% {
    transform: scale(1.08) rotateZ(-2deg);
  }
}

@keyframes icon-glow-device {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0px rgba(168,85,247,0));
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(168,85,247,0.8));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(168,85,247,0.4));
  }
}

@keyframes icon-subtle-float {
  0%, 100% {
    transform: translateY(0px) rotateZ(0deg);
  }
  50% {
    transform: translateY(-6px) rotateZ(2deg);
  }
}

@keyframes icon-bounce {
  0% {
    transform: scale(1.2) rotate(8deg);
  }
  50% {
    transform: scale(1.35) rotate(-8deg);
  }
  100% {
    transform: scale(1.2) rotate(8deg);
  }
}

/* ============================================================
   RTL SUPPORT FOR ARABIC
   ============================================================ */
body.rtl-mode {
  direction: rtl;
  text-align: right;
}

body.rtl-mode .hero-grid {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

body.rtl-mode .hero-content {
  order: 2;
}

body.rtl-mode .hero-visual {
  order: 1;
}

body.rtl-mode .grid-2 {
  grid-template-columns: 1fr 1fr;
}

body.rtl-mode .navbar-nav {
  flex-direction: row-reverse;
}

body.rtl-mode .navbar-logo {
  margin-right: 0;
  margin-left: auto;
}

body.rtl-mode .navbar-actions {
  margin-left: 0;
  margin-right: auto;
}

body.rtl-mode .mobile-nav {
  flex-direction: column-reverse;
}

body.rtl-mode .hero-badge {
  flex-direction: row-reverse;
}

body.rtl-mode .hero-actions {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

body.rtl-mode .hero-trust {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

body.rtl-mode .trust-badge {
  flex-direction: row-reverse;
}

body.rtl-mode .feature-strip-item {
  border-right: none;
  border-left: 1px solid rgba(168,85,247,0.15);
}

body.rtl-mode .feature-strip-item:first-child {
  border-left: none;
}

body.rtl-mode .device-card-links {
  flex-direction: column-reverse;
}

body.rtl-mode .dl-arrow {
  transform: scaleX(-1);
}

body.rtl-mode .btn-ghost:hover {
  color: var(--text-white);
}

body.rtl-mode .grid-3,
body.rtl-mode .grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

body.rtl-mode .navbar-logo-text {
  margin-right: 10px;
  margin-left: 0;
}

body.rtl-mode .footer-logo {
  flex-direction: row-reverse;
}

body.rtl-mode .footer-title {
  text-align: right;
}

body.rtl-mode .faq-item {
  text-align: right;
}

body.rtl-mode .device-card {
  text-align: right;
}

body.rtl-mode .tv-code-block {
  text-align: center;
}

/* ============================================================
   DOWNLOADER CODE BLOCK - PREMIUM STYLE
   ============================================================ */
.downloader-code-container {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.downloader-code-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%);
  animation: shine 3s infinite;
  pointer-events: none;
}

.downloader-code-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.downloader-code-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.downloader-code-content {
  flex: 1;
  color: white;
  position: relative;
  z-index: 1;
}

.downloader-code-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.downloader-code-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1;
}

.downloader-copy-button {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #FF6B35;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.downloader-copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.downloader-copy-button:active {
  transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .downloader-code-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .downloader-code-value {
    font-size: 2rem;
  }

  .downloader-code-icon {
    width: 70px;
    height: 70px;
  }

  .downloader-code-icon img {
    width: 50px;
    height: 50px;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible    { opacity: 1; transform: translateY(0); }
.reveal-delay-1    { transition-delay: 0.1s; }
.reveal-delay-2    { transition-delay: 0.2s; }
.reveal-delay-3    { transition-delay: 0.3s; }
.reveal-delay-4    { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-phone-img { max-width: 280px; }
  .hero-stat-bubble.top-left  { left: -3%; }
  .hero-stat-bubble.bottom-right { right: -2%; }
}

@media (max-width: 768px) {
  :root { --section-py: 52px; }
  html  { font-size: 14px; }

  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.2rem; }

  .navbar-nav, .navbar-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 105px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-content { order: 2; }
  .hero-visual  { order: 1; }
  .hero-actions { justify-content: center; }
  .hero-trust   { justify-content: center; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-stat-bubble { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .footer-top    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .feature-strip { flex-direction: column; }
  .feature-strip-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .feature-strip-item:last-child { border-bottom: none; }

  .cta-banner { padding: 46px 22px; }
  .cta-banner-btns { flex-direction: column; align-items: center; }

  .tv-code-block { padding: 30px 18px; }
  .section-subtitle.center { text-align: left; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .device-card { padding: 24px 18px; }
  .cta-banner  { border-radius: var(--radius-lg); }
  .navbar      { padding: 12px 0; }
}

@media print {
  .navbar, .footer, .hero-visual { display: none; }
  body { background: white; color: black; }
}
