/* ============================================
   BMslayer.com - Landing Page Styles
   Aesthetic: Cinematic Dark Streaming Platform
   Direction: RTL Arabic
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --bg-deep: #06060f;
  --bg-primary: #0a0a1a;
  --bg-elevated: #0f0f24;
  --bg-card: #111128;

  --accent-purple: #a855f7;
  --accent-purple-dim: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-pink: #ec4899;
  --accent-rose: #f43f5e;
  --accent-cyan: #22d3ee;

  --text-primary: #f0eef6;
  --text-secondary: #9f9cb8;
  --text-muted: #6b6880;
  --text-accent: #d4b8ff;

  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bg-hover: rgba(255, 255, 255, 0.065);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.14);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #a855f7 0%, #6366f1 40%, #3b82f6 100%);
  --gradient-hero: linear-gradient(160deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
  --gradient-cta: linear-gradient(135deg, #a855f7, #ec4899);
  --gradient-card-border: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.1), rgba(236, 72, 153, 0.3));

  /* Typography */
  --font-main: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Noto Sans Arabic', 'IBM Plex Sans Arabic', sans-serif;

  /* Spacing */
  --section-py: clamp(3.5rem, 8vw, 6rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1180px;

  /* Effects */
  --blur-glass: 16px;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.25);
  --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.2);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px - أوضح للعربية */
  line-height: 1.85;    /* تباعد سطور مريح للعربية */
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-spacing: 0.02em;
  letter-spacing: 0.01em;
}

/* العناوين تستخدم خط Noto Kufi العريض */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.4;
  font-weight: 700;
}

h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.5;
}

/* نصوص الفقرات بتباعد مريح */
p {
  line-height: 1.9;
  overflow-wrap: break-word;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-purple);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Utilities --- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section-padding {
  padding-block: var(--section-py);
}

.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glass Effect --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

/* --- Background Orbs --- */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* --- Scroll Animations --- */
.scroll-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for child elements */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* --- Section Headings --- */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.85;
  font-weight: 400;
}

/* =====================
   HEADER / NAVIGATION
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 6, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 6, 15, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  z-index: 1001;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
  flex-shrink: 0;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

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

.nav-cta {
  margin-inline-start: 0.5rem;
  padding: 0.5rem 1.25rem !important;
  background: var(--gradient-cta) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.35) !important;
  background: var(--gradient-cta) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
  z-index: 1001;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger span:nth-child(2) {
  width: 70%;
  margin-inline-start: auto;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  width: 100%;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1049;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(320px, 85vw);
  background: linear-gradient(160deg, #0f0f1a 0%, #0a0a14 100%);
  border-left: 1px solid rgba(168, 85, 247, 0.15);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  z-index: 1050;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), visibility 0.4s;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: rgba(168, 85, 247, 0.2);
  color: var(--text-primary);
  transform: rotate(90deg);
}

/* Drawer Nav */
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  gap: 0.25rem;
  flex: 1;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.drawer-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 12px;
}

.drawer-link:hover {
  color: var(--text-primary);
  transform: translateX(-4px);
}

.drawer-link:hover::before {
  opacity: 1;
}

.drawer-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.drawer-link:hover .drawer-icon {
  background: rgba(168, 85, 247, 0.18);
  transform: scale(1.08);
}

.drawer-label {
  flex: 1;
  font-size: 0.95rem;
}

.drawer-arrow {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s, transform 0.2s;
  transform: rotate(180deg);
  line-height: 1;
}

.drawer-link:hover .drawer-arrow {
  color: #a855f7;
  transform: rotate(180deg) translateX(-3px);
}

/* Drawer Footer */
.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.nav-cta-mobile:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
}

/* Stagger animation for links */
.mobile-menu.active .drawer-link {
  animation: drawerLinkIn 0.35s cubic-bezier(.4,0,.2,1) both;
}

.mobile-menu.active .drawer-link:nth-child(1) { animation-delay: 0.08s; }
.mobile-menu.active .drawer-link:nth-child(2) { animation-delay: 0.13s; }
.mobile-menu.active .drawer-link:nth-child(3) { animation-delay: 0.18s; }
.mobile-menu.active .drawer-link:nth-child(4) { animation-delay: 0.23s; }
.mobile-menu.active .drawer-link:nth-child(5) { animation-delay: 0.28s; }

@keyframes drawerLinkIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
  position: relative;
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg .bg-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: rgba(168, 85, 247, 0.18);
  top: -10%;
  right: -5%;
  animation: float-slow 8s ease-in-out infinite;
}

.hero-bg .bg-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.12);
  bottom: -15%;
  left: -10%;
  animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-bg .bg-orb:nth-child(3) {
  width: 300px;
  height: 300px;
  background: rgba(236, 72, 153, 0.1);
  top: 40%;
  left: 30%;
  animation: float-slow 12s ease-in-out infinite;
}

/* Noise texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

/* Hero Content */
.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.8s ease both;
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1rem;
  animation: fade-in-up 0.8s ease 0.1s both;
  letter-spacing: -0.015em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: fade-in-up 0.8s ease 0.2s both;
}

/* CTA Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  animation: fade-in-up 0.8s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 25px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(168, 85, 247, 0.45), 0 0 80px rgba(168, 85, 247, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--glass-border-hover);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero App Image */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fade-in-up 0.8s ease 0.4s both;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-app-image {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
  filter: drop-shadow(0 20px 60px rgba(168, 85, 247, 0.25)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.12));
  animation: float-slow 8s ease-in-out infinite;
}

.hero-image-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.2), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

/* =====================
   ABOUT SECTION
   ===================== */
.about-section {
  position: relative;
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-card {
  padding: 2rem;
  text-align: center;
}

.about-card .about-icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.about-icon--purple { background: rgba(168, 85, 247, 0.12); }
.about-icon--blue { background: rgba(59, 130, 246, 0.12); }
.about-icon--pink { background: rgba(236, 72, 153, 0.12); }

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =====================
   NAME CHANGE SECTION
   ===================== */
.name-change-section {
  position: relative;
  overflow: hidden;
}

.name-change-card {
  max-width: 700px;
  margin-inline: auto;
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.name-change-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.name-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.name-old, .name-new {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
}

.name-old {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.name-new {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--text-accent);
}

.name-arrow-icon {
  color: var(--accent-purple);
  font-size: 1.5rem;
}

.name-change-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}

/* =====================
   FEATURES SECTION
   ===================== */
.features-section {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

.features-section .bg-orb {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.08);
  top: 20%;
  left: -10%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  padding: 1.75rem;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0), transparent);
  transition: background var(--transition);
}

.feature-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  background: rgba(168, 85, 247, 0.08);
  color: var(--accent-purple);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-purple);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(59, 130, 246, 0.08);
}

.feature-card:nth-child(even) .feature-icon svg {
  stroke: var(--accent-blue);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* =====================
   EZV PLAYER SECTION
   ===================== */
.ezv-section {
  position: relative;
}

.ezv-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.ezv-info h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.ezv-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.ezv-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ezv-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition);
}

.ezv-step:hover {
  border-color: rgba(168, 85, 247, 0.2);
}

.ezv-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: #fff;
}

.ezv-step-text h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.ezv-step-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.ezv-download {
  margin-top: 1.5rem;
}

/* =====================
   INSTALLATION SECTION
   ===================== */
.install-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.install-section .bg-orb {
  width: 350px;
  height: 350px;
  background: rgba(236, 72, 153, 0.06);
  bottom: -10%;
  right: -5%;
}

.install-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
}

.install-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.install-step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.install-step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =====================
   TROUBLESHOOTING
   ===================== */
.trouble-section {
  position: relative;
}

.trouble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.trouble-card {
  padding: 1.5rem;
}

.trouble-card h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--accent-rose);
}

.trouble-card h3 svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.trouble-card .solution {
  padding-inline-start: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.trouble-card .solution strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* =====================
   FAQ SECTION
   ===================== */
.faq-section {
  background: var(--bg-primary);
  position: relative;
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.faq-item[open] {
  border-color: rgba(168, 85, 247, 0.2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.6;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
}

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

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

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

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-inline-start: 1rem;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-purple);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.05) 50%, rgba(59, 130, 246, 0.08) 100%);
  z-index: 0;
}

.cta-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
}

.cta-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.2), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-block: 3rem 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.03); }
  66% { transform: translate(-10px, 10px) scale(0.97); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 25px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1); }
  50% { box-shadow: 0 4px 35px rgba(168, 85, 247, 0.45), 0 0 80px rgba(168, 85, 247, 0.2); }
}

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

  html { scroll-behavior: auto; }

  .scroll-animate {
    opacity: 1;
    transform: none;
  }
}

/* =====================
   RESPONSIVE
   ===================== */

/* Large mobile */
@media (min-width: 480px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .install-steps {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

  .ezv-inner {
    grid-template-columns: 1fr 1fr;
    text-align: start;
  }

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

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

  .phone-mockup {
    width: 260px;
    height: 520px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hamburger { display: none !important; }
  .mobile-menu { display: none !important; }
  .nav-links { display: flex !important; }

  .header-inner {
    height: 4.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.8fr;
    text-align: start;
  }

  .hero-content {
    text-align: start;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-subtitle {
    margin-inline: 0;
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .install-steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

/* Mobile nav visibility */
@media (max-width: 1023px) {
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-overlay {
    display: block;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}
