/* ========================================
   BRANDIFY — Cyber Neon Theme v2
   Full Tajawal + Pro Responsive + Motion
   ======================================== */

/* --- CSS Variables --- */
:root {
  --bg-primary: #050D1A;
  --bg-secondary: #0A1628;
  --bg-card: #0D1B2A;
  --bg-card-hover: #112240;
  --neon-cyan: #00F0FF;
  --neon-blue: #0084FF;
  --neon-purple: #A855F7;
  --neon-pink: #FF0080;
  --neon-danger: #FF3B3B;
  --neon-green: #00FF88;
  --text-primary: #E0E8F0;
  --text-secondary: #8899AA;
  --text-muted: #556677;
  --font-main: 'Tajawal', sans-serif;
  --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
  --glow-blue: 0 0 20px rgba(0, 132, 255, 0.3), 0 0 60px rgba(0, 132, 255, 0.1);
  --glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1);
  --border-glow: 1px solid rgba(0, 240, 255, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) var(--bg-primary);
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--neon-cyan); border-radius: 3px; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.8;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 240, 255, 0.2);
  color: var(--neon-cyan);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 24px);
  position: relative;
  z-index: 2;
}

/* --- Particle Canvas --- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Cyber Grid Overlay --- */
.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* --- Parallax Layers --- */
.parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  pointer-events: none;
}

.parallax-layer > * { pointer-events: auto; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(0);
}

.nav.scrolled {
  background: rgba(5, 13, 26, 0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-brand { color: var(--text-primary); }
.logo-ify {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover { color: var(--neon-cyan); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-primary) !important;
  padding: 10px 28px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: all 0.3s var(--ease-bounce) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px) scale(1.03);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 250;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--neon-cyan);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   MOBILE MENU (outside nav — no stacking issues)
   ========================================= */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background: #050D1A;
  z-index: 9999;
  flex-direction: column;
  border-left: 2px solid rgba(0, 240, 255, 0.15);
  box-shadow: -10px 0 60px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 2px solid rgba(0, 240, 255, 0.1);
}

.mobile-logo {
  direction: ltr;
  font-size: 1.6rem;
  font-weight: 900;
}

.mobile-close {
  background: none;
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-close:active {
  background: rgba(0, 240, 255, 0.1);
  transform: scale(0.9);
}

.mobile-menu-links {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.mobile-menu-links li {
  border-bottom: 1px solid rgba(0, 240, 255, 0.05);
}

.mobile-menu-links a {
  display: block;
  padding: 18px 28px;
  color: #E0E8F0;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-links a:active {
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
}

.mobile-menu-cta {
  display: block;
  margin: 20px 24px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: #050D1A;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-cta:active {
  transform: scale(0.97);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: radial-gradient(circle, var(--neon-cyan), transparent);
  top: -100px;
  right: -150px;
}

.hero-orb-2 {
  width: min(400px, 70vw);
  height: min(400px, 70vw);
  background: radial-gradient(circle, var(--neon-purple), transparent);
  bottom: -100px;
  left: -100px;
  animation-delay: -10s;
}

.hero-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.15;
  animation: lineSweep 8s ease-in-out infinite;
}

.hero-line-1 { width: 60%; top: 30%; right: -10%; }
.hero-line-2 { width: 40%; bottom: 25%; left: -5%; animation-delay: -4s; animation-direction: reverse; }

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.06);
  border: var(--border-glow);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neon-cyan);
  margin-bottom: 32px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--neon-cyan);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 24px;
}

.neon-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4), 0 0 40px rgba(0, 240, 255, 0.12);
}

.neon-text-alt {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.4), 0 0 40px rgba(0, 255, 136, 0.12);
}

.neon-text-danger {
  color: var(--neon-danger);
  text-shadow: 0 0 10px rgba(255, 59, 59, 0.4), 0 0 40px rgba(255, 59, 59, 0.12);
}

/* Glitch */
.glitch { position: relative; }

.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0; right: 0;
  overflow: hidden;
  opacity: 0;
}

.glitch:hover::before {
  animation: glitch-1 0.4s linear;
  opacity: 0.6;
  color: var(--neon-cyan);
  text-shadow: -2px 0 var(--neon-pink);
}

.glitch:hover::after {
  animation: glitch-2 0.4s linear;
  opacity: 0.6;
  color: var(--neon-pink);
  text-shadow: 2px 0 var(--neon-cyan);
}

.hero-desc {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 2;
  max-width: 700px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 5vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  display: inline;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-primary);
}

.btn-primary:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.6s var(--ease);
  transform: translate(-50%, -50%);
}

.btn:hover .btn-glow { width: 300px; height: 300px; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
}

.btn-ghost:hover {
  background: rgba(0, 240, 255, 0.06);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-3px);
}

.btn-lg { padding: 18px 48px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* =========================================
   SECTIONS
   ========================================= */
.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-tag {
  display: inline-block;
  background: rgba(0, 240, 255, 0.06);
  border: var(--border-glow);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.5;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-top: 12px;
}

/* --- Floating Shapes --- */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  pointer-events: none;
}

.shape-1 {
  width: min(300px, 50vw); height: min(300px, 50vw);
  background: var(--neon-purple);
  top: 10%; left: -5%;
  animation: float 12s ease-in-out infinite;
}

.shape-2 {
  width: min(250px, 45vw); height: min(250px, 45vw);
  background: var(--neon-cyan);
  bottom: 10%; right: -5%;
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: min(350px, 55vw); height: min(350px, 55vw);
  background: var(--neon-blue);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float 10s ease-in-out infinite;
}

/* =========================================
   CONCEPT SECTION
   ========================================= */
.concept-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.concept-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  text-align: center;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
  transition: all 0.4s var(--ease);
}

.concept-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.concept-result { border-color: rgba(0, 255, 136, 0.2); }

.concept-result:hover {
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.concept-icon {
  width: clamp(56px, 8vw, 72px);
  height: clamp(56px, 8vw, 72px);
  margin: 0 auto 16px;
  color: var(--neon-cyan);
}

.concept-result .concept-icon { color: var(--neon-green); }
.icon-svg { width: 100%; height: 100%; }

.concept-card h3 {
  font-family: var(--font-main);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.concept-list { text-align: right; }

.concept-list li {
  padding: 6px 16px 6px 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  position: relative;
}

.concept-list li::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 6px var(--neon-cyan);
}

.result-list li::before { display: none; }

.check {
  color: var(--neon-green);
  margin-left: 8px;
  font-weight: 700;
  text-shadow: 0 0 6px rgba(0, 255, 136, 0.5);
}

.concept-arrow {
  color: var(--neon-cyan);
  width: 50px;
  flex-shrink: 0;
  opacity: 0.4;
}

.arrow-svg { width: 100%; transform: scaleX(-1); }

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.25);
}

.service-card:hover::before { opacity: 1; }

.service-featured {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(168, 85, 247, 0.05));
  grid-row: span 2;
}

.service-featured::before {
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.service-featured:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--glow-purple);
}

.featured-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #fff;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

.service-number {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.06);
  position: absolute;
  top: 12px; right: 18px;
  line-height: 1;
}

.service-featured .service-number { color: rgba(168, 85, 247, 0.06); }

.service-icon {
  width: 44px; height: 44px;
  color: var(--neon-cyan);
  margin-bottom: 16px;
}

.service-featured .service-icon { color: var(--neon-purple); }
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-main);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.service-card ul { margin-top: 10px; }

.service-card li {
  padding: 4px 16px 4px 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon-cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 4px var(--neon-cyan);
}

.service-featured li::before {
  background: var(--neon-purple);
  box-shadow: 0 0 4px var(--neon-purple);
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  transition: all 0.3s var(--ease);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.service-link:hover {
  border-bottom-color: var(--neon-cyan);
  letter-spacing: 0.5px;
}

.service-link-featured {
  color: var(--neon-purple);
}

.service-link-featured:hover {
  border-bottom-color: var(--neon-purple);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* =========================================
   SYSTEM / FUNNEL — Horizontal Cards
   ========================================= */
.system {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary), var(--bg-primary));
}

.funnel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.funnel-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px) clamp(16px, 2vw, 20px);
  position: relative;
  opacity: 0.7;
  transition: all 0.5s var(--ease);
}

.funnel-step:hover, .funnel-step.active {
  opacity: 1;
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.funnel-icon {
  width: 56px;
  height: 56px;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.06);
  border: var(--border-glow);
  border-radius: 50%;
  padding: 12px;
  margin-bottom: 16px;
  transition: all 0.4s var(--ease);
}

.funnel-step:hover .funnel-icon,
.funnel-step.active .funnel-icon {
  box-shadow: var(--glow-cyan);
  border-color: var(--neon-cyan);
  transform: scale(1.1);
}

.funnel-icon svg { width: 100%; height: 100%; }

.funnel-content {}

.funnel-num {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.15);
  margin-bottom: 8px;
  display: block;
}

.funnel-content h3 {
  font-family: var(--font-main);
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  font-weight: 700;
  margin-bottom: 8px;
}

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

.funnel-line {
  display: none;
}

/* Arrow connectors between cards */
.funnel-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--neon-cyan);
  border-right: 2px solid var(--neon-cyan);
  transform: translateY(-50%) rotate(-135deg);
  opacity: 0.4;
}

/* =========================================
   STALL SECTION
   ========================================= */
.stall {
  background: linear-gradient(180deg, var(--bg-primary), rgba(255, 59, 59, 0.015), var(--bg-primary));
}

.stall-orb {
  position: absolute;
  width: min(400px, 70vw);
  height: min(400px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 59, 0.12), transparent);
  filter: blur(80px);
  top: 10%; left: 50%;
  transform: translateX(-50%);
}

.stall-alert {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.alert-icon {
  width: clamp(56px, 8vw, 72px);
  height: clamp(56px, 8vw, 72px);
  margin: 0 auto 20px;
  color: var(--neon-danger);
  animation: alertPulse 2s ease-in-out infinite;
}

.alert-icon svg { width: 100%; height: 100%; }

.stall-title {
  font-family: var(--font-main);
  font-size: clamp(1.3rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 28px;
}

.stall-symptoms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.symptom {
  background: rgba(255, 59, 59, 0.05);
  border: 1px solid rgba(255, 59, 59, 0.12);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}

.symptom:hover {
  border-color: rgba(255, 59, 59, 0.4);
  background: rgba(255, 59, 59, 0.08);
  transform: scale(1.03);
}

.symptom-x {
  color: var(--neon-danger);
  margin-left: 6px;
  font-weight: 700;
}

.stall-verdict {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.stall-verdict strong {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* Solution Flow */
.solution-flow, .result-cards {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.flow-title {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  margin-bottom: clamp(24px, 4vw, 40px);
  color: var(--neon-cyan);
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flow-step {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px) clamp(14px, 2vw, 20px);
  min-width: clamp(100px, 18vw, 140px);
  transition: all 0.35s var(--ease-bounce);
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.flow-num {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon-cyan);
  margin-bottom: 6px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.flow-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.flow-connector {
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  flex-shrink: 0;
}

/* Result Cards */
.result-grid {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
}

.result-card {
  background: rgba(0, 255, 136, 0.04);
  border: 1px solid rgba(0, 255, 136, 0.12);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 24px);
  min-width: clamp(120px, 22vw, 160px);
  text-align: center;
  transition: all 0.35s var(--ease-bounce);
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.12);
}

.result-card svg {
  width: 36px; height: 36px;
  color: var(--neon-green);
  margin: 0 auto 10px;
}

.result-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neon-green);
}

/* =========================================
   WHY SECTION
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2.5vw, 28px);
  text-align: center;
  transition: all 0.4s var(--ease);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.why-icon {
  width: clamp(44px, 6vw, 56px);
  height: clamp(44px, 6vw, 56px);
  margin: 0 auto 16px;
  color: var(--neon-cyan);
}

.why-icon svg { width: 100%; height: 100%; }

.why-card h3 {
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

/* =========================================
   TIMELINE / MODEL — Horizontal Steps
   ========================================= */
.model {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary), var(--bg-primary));
}

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* الخط الأفقي الموصّل */
.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-cyan));
  opacity: 0.15;
  z-index: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  padding: 0 8px;
}

.timeline-dot {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.timeline-dot span {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.timeline-item:hover .timeline-dot {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
  background: rgba(0, 240, 255, 0.08);
  transform: scale(1.15);
}

.timeline-text {
  max-width: 160px;
}

.timeline-text h3 {
  font-family: var(--font-main);
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-text p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* =========================================
   OFFER
   ========================================= */
.offer-card {
  background: var(--bg-card);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent);
  filter: blur(60px);
  pointer-events: none;
}

.offer-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #fff;
  padding: 6px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.offer-card h2 {
  font-family: var(--font-main);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.offer-card p {
  color: var(--text-secondary);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
  transition: all 0.35s var(--ease);
}

.contact-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan);
  transform: translateX(6px);
}

.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  color: var(--neon-cyan);
}

.contact-icon svg { width: 100%; height: 100%; }

.contact-card h3 {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group { position: relative; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.93rem;
  transition: all 0.35s var(--ease);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); direction: rtl; text-align: right; }

.form-group input[type="tel"] { direction: rtl; text-align: right; }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.06), var(--glow-cyan);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.input-glow {
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  transition: width 0.4s var(--ease-smooth);
  transform: translateX(-50%);
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow { width: 100%; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: clamp(32px, 5vw, 48px) 0 20px;
  border-top: 1px solid rgba(0, 240, 255, 0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 400;
}

.footer-col {}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.footer-links a:hover { color: var(--neon-cyan); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 240, 255, 0.06);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* =========================================
   ANNOUNCEMENT BAR
   ========================================= */
.announcement-bar {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
  color: var(--bg-primary);
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 101;
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announcement-bar a { text-decoration: underline; font-weight: 800; }

.announcement-badge {
  background: var(--neon-danger);
  color: #fff;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

.announcement-close {
  background: none;
  border: none;
  color: var(--bg-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px 12px;
  opacity: 0.7;
  transition: opacity 0.3s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.announcement-close:hover,
.announcement-close:active { opacity: 1; }
.announcement-bar.hidden { display: none; }

/* =========================================
   SECTORS
   ========================================= */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sector-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 28px);
  text-align: center;
  transition: all 0.35s var(--ease);
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.sector-icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  color: var(--neon-cyan);
}

.sector-icon svg { width: 100%; height: 100%; }

.sector-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sector-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: var(--glow-cyan);
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.9;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-right: 20px;
}

.testimonial-text::before {
  content: '\201C';
  position: absolute;
  right: 0; top: -8px;
  font-size: 2rem;
  color: var(--neon-cyan);
  opacity: 0.4;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: var(--border-glow);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq-item.active { border-color: rgba(0, 240, 255, 0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
  transition: color 0.3s var(--ease);
}

.faq-question:hover { color: var(--neon-cyan); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--neon-cyan);
  transition: transform 0.35s var(--ease);
}

.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.9;
}

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.35s var(--ease-bounce);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* =========================================
   REVEAL ANIMATIONS (multiple directions)
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-bounce);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* =========================================
   KEYFRAMES
   ========================================= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.8); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(15px, -25px) scale(1.05); }
  50% { transform: translate(-10px, 15px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

@keyframes lineSweep {
  0%, 100% { opacity: 0.05; transform: translateX(0); }
  50% { opacity: 0.2; transform: translateX(30px); }
}

@keyframes alertPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes glitch-1 {
  0% { clip-path: inset(20% 0 60% 0); transform: translateX(-3px); }
  25% { clip-path: inset(50% 0 20% 0); transform: translateX(3px); }
  50% { clip-path: inset(10% 0 70% 0); transform: translateX(-2px); }
  75% { clip-path: inset(60% 0 10% 0); transform: translateX(2px); }
  100% { clip-path: inset(30% 0 40% 0); transform: translateX(0); }
}

@keyframes glitch-2 {
  0% { clip-path: inset(60% 0 20% 0); transform: translateX(3px); }
  25% { clip-path: inset(10% 0 70% 0); transform: translateX(-3px); }
  50% { clip-path: inset(40% 0 30% 0); transform: translateX(2px); }
  75% { clip-path: inset(20% 0 50% 0); transform: translateX(-2px); }
  100% { clip-path: inset(50% 0 20% 0); transform: translateX(0); }
}

/* Scanline */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0, 240, 255, 0.008) 2px,
    rgba(0, 240, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* =========================================
   RESPONSIVE — TABLET (768px)
   ========================================= */
@media (max-width: 768px) {
  /* Hide desktop nav, show hamburger + mobile menu */
  .nav-desktop { display: none !important; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }

  /* Announcement mobile fix */
  .announcement-bar .container {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 12px;
  }
  .announcement-bar p {
    flex: 1;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  /* Hero */
  .hero {
    padding: 100px 16px 50px;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 18px;
    margin-bottom: 20px;
  }

  .hero-desc { margin-bottom: 28px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.8rem; }

  .scroll-indicator { display: none; }

  /* Concept */
  .concept-grid { flex-direction: column; align-items: stretch; }
  .concept-card { max-width: none; }
  .concept-arrow { transform: rotate(90deg); width: 40px; margin: 0 auto; }
  .concept-arrow .arrow-svg { transform: scaleX(1); }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-featured { grid-row: auto; }

  /* Funnel */
  .funnel { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .funnel-step:not(:last-child)::after { display: none; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Flow */
  .flow-steps { flex-direction: column; gap: 0; }
  .flow-connector {
    width: 2px; height: 20px;
    background: linear-gradient(to bottom, var(--neon-cyan), transparent);
  }
  .flow-step { min-width: 200px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-card:hover { transform: translateX(4px); }

  /* Offer */
  .offer-card { padding: 40px 20px; }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* Timeline horizontal → wrap */
  .timeline { flex-wrap: wrap; gap: 16px; }
  .timeline::before { display: none; }
  .timeline-item { flex: 0 0 calc(50% - 16px); }
  .timeline-text { max-width: none; }

  /* Sectors */
  .sectors-grid { grid-template-columns: 1fr 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Announcement */
  .announcement-bar { font-size: 0.78rem; padding: 8px 0; }
  .announcement-badge { display: none; }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE (480px)
   ========================================= */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .nav-logo { font-size: 1.3rem; }

  .hero-stats {
    flex-direction: row;
    gap: 12px;
  }

  .stat { flex: 1; min-width: 0; }

  .funnel { grid-template-columns: 1fr 1fr; gap: 10px; }
  .funnel-step { padding: 18px 12px; }
  .funnel-icon { width: 44px; height: 44px; padding: 10px; }
  .funnel-num { font-size: 1.5rem; }

  .why-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-card { padding: 18px 12px; }

  .result-grid { gap: 10px; }
  .result-card { min-width: 90px; padding: 16px 10px; }
  .result-card svg { width: 28px; height: 28px; }

  .stall-symptoms { gap: 8px; }
  .symptom { padding: 6px 14px; font-size: 0.82rem; }

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

  .sectors-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sector-card { padding: 16px 12px; }
}

/* =========================================
   RESPONSIVE — LARGE DESKTOP (1400px+)
   ========================================= */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-title { font-size: 3.8rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* =========================================
   ACCESSIBILITY & MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
