/* ========================================
   LIOR BRUDER — BEHAVIORAL TECHNOLOGY STUDIO
   Premium Dark Theme Design System
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --bg-primary: #06080d;
  --bg-secondary: #0c1018;
  --bg-tertiary: #111827;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --accent-primary: #00d4ff;
  --accent-secondary: #7b61ff;
  --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7b61ff 100%);
  --accent-glow: 0 0 30px rgba(0, 212, 255, 0.3);
  --accent-green: #25D366;

  --text-primary: #f0f4f8;
  --text-secondary: #8899aa;
  --text-muted: #556677;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 255, 0.2);

  /* Typography */
  --font-he: 'Heebo', sans-serif;
  --font-en: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --gap: 2rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Z-index layers */
  --z-cursor: 9999;
  --z-modal: 9000;
  --z-nav: 8000;
  --z-accessibility: 8500;
  --z-particles: 2;
  --z-hero-content: 3;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-he);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: none;
}

/* Restore default cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: #33dfff; }

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

ul { list-style: none; }

::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
  mix-blend-mode: screen;
  opacity: 0;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28),
              height 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28),
              border-color 0.3s,
              background 0.3s,
              opacity 0.3s;
  opacity: 0;
}

.cursor-dot.visible, .cursor-ring.visible { opacity: 1; }

.cursor-dot.hover {
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 255, 0.1);
}

.cursor-ring.hover {
  width: 70px;
  height: 70px;
  border-color: var(--accent-primary);
  background: rgba(0, 212, 255, 0.05);
}

@media (hover: none) and (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* (Removed custom accessibility button styles, using external lib) */

/* ---------- UserWay Widget Override ---------- */
/* Force the accessibility icon to bottom-left */
#userwayAccessibilityIcon {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  right: auto !important;
  top: auto !important;
  width: 40px !important;
  height: 40px !important;
  opacity: 0.5 !important;
  transition: opacity 0.3s !important;
  z-index: var(--z-accessibility) !important;
}

#userwayAccessibilityIcon:hover {
  opacity: 1 !important;
}

/* Also target the wrapper if UserWay wraps it */
.uwy,
div[data-userway] {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  right: auto !important;
  top: auto !important;
}

/* ---------- Reduce Motion Mode ---------- */
body.reduce-motion,
body.reduce-motion * {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  scroll-behavior: auto !important;
}

body.reduce-motion .parallax-img {
  transform: none !important;
}

body.reduce-motion #particle-canvas {
  display: none !important;
}

body.reduce-motion .cursor-dot,
body.reduce-motion .cursor-ring {
  display: none !important;
}

body.reduce-motion .hero-divider svg,
body.reduce-motion .section-divider svg {
  animation: none !important;
}

body.reduce-motion .stats-strip .stat-number {
  /* Numbers show final value without animation */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #particle-canvas { display: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body { cursor: auto; }
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-nav);
  padding: 1.2rem 0;
  transition: all var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-medium);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

.nav-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ---------- SFX Toggle Button ---------- */
.sfx-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: var(--font-he);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.sfx-toggle-btn:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-accent);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.sfx-toggle-btn.enabled {
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.25);
}

.nav-social a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-social a:hover {
  color: var(--accent-primary);
  transform: scale(1.15);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(6, 8, 13, 0.97);
  backdrop-filter: blur(30px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vw;
  height: 150vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 13, 0.5) 0%,
    rgba(6, 8, 13, 0.3) 40%,
    rgba(6, 8, 13, 0.6) 100%
  );
  z-index: 1;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: var(--z-particles);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: var(--z-hero-content);
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  overflow: visible;
  padding: 0 0.1em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--accent-gradient);
  color: var(--bg-primary);
  font-family: var(--font-he);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  background: var(--accent-gradient);
  z-index: -1;
  filter: blur(15px);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
  color: var(--bg-primary);
}

.hero-cta:hover::before { opacity: 1; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-hero-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 3px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

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

/* ---------- SVG Section Dividers ---------- */
.section-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}

.hero-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--bg-secondary);
  padding: 60px 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-medium);
}

.stat-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--accent-glow);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.3rem;
  direction: ltr;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
  font-weight: 300;
}

/* ---------- About Section ---------- */
.about { background: var(--bg-primary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-text-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.about-tagline {
  font-size: 1.1rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 1rem;
}

/* ---------- Lectures & Workshops (Content Sections) ---------- */
.lectures { background: var(--bg-secondary); }
.workshops { background: var(--bg-primary); }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.content-grid.reverse {
  direction: ltr;
}

.content-grid.reverse > * {
  direction: rtl;
}

.content-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.content-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}

.content-image-wrapper:hover img {
  transform: scale(1.03);
}

.content-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.content-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 2rem;
}

.cta-section-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  font-family: var(--font-he);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.cta-section-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-medium);
  border-radius: 50px;
}

.cta-section-btn:hover {
  color: var(--bg-primary);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-section-btn:hover::before { opacity: 1; }
.cta-section-btn span { position: relative; z-index: 1; }

/* ---------- Examples (Lectures/Podcasts) ---------- */
.examples { background: var(--bg-secondary); }

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 12px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-he);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-medium);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  background: var(--bg-glass-hover);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.tab-btn.active {
  background: var(--accent-gradient);
  color: var(--bg-primary);
  border-color: transparent;
  box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), var(--accent-glow);
}

.media-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.media-card:hover .media-card-thumb img {
  transform: scale(1.05);
}

.media-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 212, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.media-card:hover .media-card-play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.6);
}

.media-card-play svg {
  width: 24px;
  height: 24px;
  fill: var(--bg-primary);
  margin-right: -3px;
}

.media-card-info {
  padding: 1.2rem 1.5rem;
}

.media-card-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.media-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Podcast card variant */
.media-card.podcast .media-card-thumb {
  aspect-ratio: auto;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1DB954 0%, #191414 100%);
}

.media-card.podcast .media-card-play {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.podcast-icon {
  font-size: 3rem;
}

/* ---------- Media Modal / Lightbox ---------- */
.media-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
}

.media-modal.active {
  opacity: 1;
  pointer-events: all;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.media-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-medium);
}

.media-modal.active .media-modal-content {
  transform: scale(1) translateY(0);
}

.media-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.media-modal-content.podcast-modal {
  aspect-ratio: auto;
  max-width: 500px;
  height: 352px;
}

.media-modal-close {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.media-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) scale(1.1);
}

/* ---------- Companies / Logos Section ---------- */
.companies {
  background: var(--bg-primary);
  overflow: hidden;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.logo-item {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  transition: all var(--transition-medium);
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
}

.logo-item:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.08);
  border-color: var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
  background: var(--bg-glass-hover);
}

.logo-item img {
  max-height: 50px;
  max-width: 140px;
  object-fit: contain;
}

.logo-item .logo-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  transition: color var(--transition-medium);
}

.logo-item:hover .logo-text {
  color: var(--text-primary);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 2rem;
}

.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 5rem;
  font-family: Georgia, serif;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-quote::after {
  content: '"';
  position: absolute;
  bottom: -35px;
  left: 10px;
  font-size: 5rem;
  font-family: Georgia, serif;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  transform: rotate(180deg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ---------- Contact Section ---------- */
.contact {
  background: var(--bg-primary);
  position: relative;
}

.contact-centered {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
  text-decoration: none;
  color: var(--text-primary);
  width: 100%;
  max-width: 300px;
  text-align: right;
}

.contact-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  transform: translateX(-5px);
  color: var(--text-primary);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-icon.phone { background: rgba(0, 212, 255, 0.15); color: var(--accent-primary); }
.contact-icon.email { background: rgba(123, 97, 255, 0.15); color: var(--accent-secondary); }
.contact-icon.whatsapp { background: rgba(37, 211, 102, 0.15); color: var(--accent-green); }

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-item-value {
  font-size: 1.05rem;
  font-weight: 600;
  direction: ltr;
  text-align: right;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--accent-green);
  color: #fff;
  font-family: var(--font-he);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  margin-top: 2rem;
  text-decoration: none;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-cta svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Contact CTA Card */
.contact-cta-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.contact-cta-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  text-align: center;
}

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

.footer a {
  color: var(--text-secondary);
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .content-grid.reverse {
    direction: rtl;
  }

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

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-social {
    display: flex;
    gap: 0;
  }

  .nav-social a {
    display: none;
  }

  /* Responsive SFX toggle: hide text on mobile, keep only icon */
  .sfx-toggle-btn {
    padding: 6px 10px;
  }
  .sfx-toggle-btn .sfx-text {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-video-bg iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 177.78vh; /* 16:9 cover */
    min-height: 56.25vw; /* 16:9 cover */
    transform: translate(-50%, -50%) !important;
  }

  .hero-video-bg {
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.15) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(123, 97, 255, 0.15) 0%, transparent 60%);
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .logo-item {
    padding: 1.2rem;
    min-height: 70px;
  }

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

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .tabs-container {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-divider svg {
    height: 40px;
  }

  .scroll-indicator {
    display: none;
  }

  .content-image-wrapper img {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.2rem;
  }

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

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .testimonial-card::before {
    font-size: 3rem;
    top: 10px;
    right: 15px;
  }
  .testimonial-quote::after {
    font-size: 3rem;
    bottom: -25px;
    left: 5px;
  }
}
