@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap');

:root {
  --bg-main: #020202;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-color: #d946ef;
  --accent-secondary: #8b5cf6;
  --accent-glow: rgba(217, 70, 239, 0.25);
  --magenta-glow: rgba(217, 70, 239, 0.15);
  
  --transition-smooth: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 250ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  padding: 0; 
  background-color: var(--bg-main);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.home-section {
  padding: clamp(50px, 6vw, 80px) 0;
}

.relative-section {
  position: relative;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.02em;
}

.home-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent-color);
  text-shadow: 0 2px 10px rgba(217, 70, 239, 0.3);
}

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

/* Dividers */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  margin: 0;
}

/* Buttons */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}


.home-btn--secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.home-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-light);
  transform: translateY(-2px);
}


/* Hero Section */
.home-hero {
  padding-top: clamp(100px, 15vw, 160px);
  padding-bottom: clamp(60px, 8vw, 100px);
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden; /* Evita que el glow o la imagen salgan */
  text-align: center;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero/hero-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05); /* Previene bordes blancos por animación */
  animation: slowPan 30s ease-in-out infinite alternate;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(2, 2, 2, 0.4) 0%, rgba(2, 2, 2, 0.8) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(2, 2, 2, 0.6) 100%);
  z-index: -1;
}

@keyframes slowPan {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 100%;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-left: auto;
  margin-right: auto;
}

.home-lead {
  margin: 1.5rem auto 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  max-width: 60ch;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.home-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}



.title-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.clients-section {
  position: relative;
  padding: clamp(60px, 8vw, 96px) 0;
  overflow: hidden;
  contain: layout paint;
}

.clientes-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.clients-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marqueeLeft 40s linear infinite;
  will-change: transform;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.clients-track--right {
  animation-name: marqueeRight;
}

.clients-row:hover .clients-track,
.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.clients-group {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.client-logo {
  flex: 0 0 auto;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  cursor: default;
}

.client-logo img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  pointer-events: none;
  transition: filter 400ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes marqueeLeft {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* Section Titles */
.home-head { margin-bottom: 2rem; }
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  max-width: 22ch;
  letter-spacing: -0.03em;
}

/* Grids & Glass Cards */
.home-grid { display: grid; gap: 1rem; }
.home-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.glass-card {
  position: relative;
  background: rgba(20, 20, 22, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 40px rgba(217, 70, 239, 0.05);
}

.card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  margin-bottom: 1.25rem;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.4);
}

.glass-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.glass-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Background Glows */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.glow-bg--left { background: radial-gradient(circle, rgba(217,70,239,0.15) 0%, transparent 70%); top: 10%; left: -200px; }



/* Cinematic Brands (home-cases) */
.home-cases__lead {
  margin: 1.25rem 0 0;
  max-width: 58ch;
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.home-cases-grid { gap: 1rem; }

.home-case {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 20px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.home-case::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}


.case-motion-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  will-change: transform;
}

.home-case--elcuadro::before { background-image: url('assets/brands/el-cuadro-card.webp'); }
.home-case--hotplot::before { background-image: url('assets/brands/hot-plot-card.webp'); }
.home-case--altiro::before { background-image: url('assets/brands/al-tiro-card.webp'); }
.home-case--veo::before { background-image: url('assets/brands/veo-agency-card.webp'); }

.home-case__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: 
    linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 45%, transparent 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
  transition: all var(--transition-smooth);
}

.home-case__content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  transform: translateY(15px);
  transition: transform var(--transition-smooth);
}

.home-case__kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0abfc;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
  text-shadow: 0 0 10px rgba(217, 70, 239, 0.4);
}

.home-case h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.home-case p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.home-case__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

/* Hover States */
.home-case:hover {
  border-color: rgba(217, 70, 239, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(217, 70, 239, 0.15);
  transform: translateY(-6px);
}
.home-case:hover::before, .home-case:hover .case-motion { transform: scale(1.06); }
.home-case:hover .home-case__overlay {
  background: 
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%),
    radial-gradient(ellipse at center, rgba(217, 70, 239, 0.08) 0%, rgba(0,0,0,0.3) 100%);
}
.home-case:hover .home-case__content { transform: translateY(0); }
.home-case:hover .home-case__btn {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}
.home-case:hover .home-case__btn span { transform: translate(2px, -2px); }


/* Footer */
.home-footer {
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  background: var(--bg-main);
}

.home-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.home-footer__legal a, .home-footer__legal span {
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.home-footer__legal a:hover {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(217, 70, 239, 0.5);
}

@media (max-width: 600px) {
  .home-footer__legal {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Animations (Strictly Safe) */
/* Remove the orb animation since we changed the hero bg */
@keyframes shimmer {
  0% { background-position: 300% center; }
  100% { background-position: 0% center; }
}

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

/* Cascade Animation System (Safe Fallback) */
.cascade-item {
  will-change: opacity, transform, filter;
}

.motion-ready .cascade-item {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), 
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .cascade-group.is-visible .cascade-item,
.motion-ready .cascade-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Delays */
.motion-ready .delay-1 { transition-delay: 80ms; }
.motion-ready .delay-2 { transition-delay: 160ms; }
.motion-ready .delay-3 { transition-delay: 240ms; }
.motion-ready .delay-4 { transition-delay: 320ms; }
.motion-ready .delay-5 { transition-delay: 400ms; }
.motion-ready .delay-6 { transition-delay: 480ms; }

/* Responsive */
@media (max-width: 1024px) {
  .home-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-case { min-height: 420px; }
}

@media (max-width: 768px) {
  .home-nav a {
    font-size: 0.8rem;
  }
  
  .home-grid--3, .home-grid--4 { grid-template-columns: 1fr; }
  .home-actions { flex-direction: column; }
  .home-actions .home-btn { width: 100%; justify-content: center; }
  .home-case { min-height: 380px; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  
  .client-logo {
    width: 100px;
    height: 50px;
  }
  .clients-track { gap: 16px; }
  .clients-group { gap: 16px; }
  
  /* Mobile Cascade Adjustments */
  .motion-ready .cascade-item {
    transform: translateY(10px);
    filter: blur(0px);
    transition-duration: 480ms;
  }
  .motion-ready .delay-1 { transition-delay: 40ms; }
  .motion-ready .delay-2 { transition-delay: 80ms; }
  .motion-ready .delay-3 { transition-delay: 120ms; }
  .motion-ready .delay-4 { transition-delay: 160ms; }
  .motion-ready .delay-5 { transition-delay: 200ms; }
  .motion-ready .delay-6 { transition-delay: 240ms; }
}

/* Legal Pages Layout */
.legal-page {
  padding-top: clamp(120px, 15vw, 160px);
  padding-bottom: 80px;
}
.legal-layout {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}
.legal-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 100px;
  padding: 2rem 1.5rem;
}
.legal-sidebar h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.legal-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.legal-sidebar a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.legal-sidebar a:hover {
  color: var(--accent-color);
}
.legal-content {
  flex: 1;
  min-width: 0;
}
.legal-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 30%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.legal-content .last-updated {
  font-size: 0.85rem;
  color: #f0abfc;
  margin-bottom: 3rem;
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  background: rgba(217, 70, 239, 0.08);
  border: 1px solid rgba(217, 70, 239, 0.2);
}
.legal-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* -------------------------------------
   Interactive Capabilities Cards 
------------------------------------- */
.capabilities-card {
  cursor: pointer;
  position: relative;
  transition: all var(--transition-smooth);
}
.capabilities-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 70, 239, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 0 20px rgba(217, 70, 239, 0.1);
}
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.card-top-row .card-dot {
  margin-bottom: 0;
}
.card-action-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-fast);
}
.plus-icon {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 300;
  transition: transform var(--transition-fast);
}
.capabilities-card:hover .card-action-badge {
  color: #fff;
  background: rgba(217, 70, 239, 0.15);
  border-color: rgba(217, 70, 239, 0.3);
}
.capabilities-card:hover .plus-icon {
  transform: rotate(90deg);
}

/* -------------------------------------
   Premium Capabilities Modal
------------------------------------- */
.premium-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}
.premium-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.premium-modal__content {
  position: relative;
  width: min(900px, calc(100% - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(15, 15, 18, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(217, 70, 239, 0.1);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-modal.is-active .premium-modal__content {
  transform: scale(1) translateY(0);
}
.premium-modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}
.premium-modal__close:hover {
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}
.premium-modal__body {
  position: relative;
  z-index: 1;
}
.premium-modal__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.premium-modal__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 65ch;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.premium-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.premium-modal__block h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  margin-bottom: 1rem;
}
.premium-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.premium-modal__list li {
  position: relative;
  padding-left: 1.5rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}
.premium-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}
.premium-modal__block--highlight {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.5rem;
}
.premium-modal__block--highlight p {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 768px) {
  .premium-modal__grid {
    grid-template-columns: 1fr;
  }
}
.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-block h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.legal-block p, .legal-block ul {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.legal-block ul {
  padding-left: 1.5rem;
}
.legal-block li {
  margin-bottom: 0.75rem;
}
.legal-block strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal-links a {
  opacity: 0.7;
  font-size: 0.8rem !important;
}

@media (max-width: 992px) {
  .legal-layout {
    flex-direction: column;
  }
  .legal-sidebar {
    position: static;
    flex: auto;
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* Mouse Glow interaction */
@media (hover: hover) and (pointer: fine) {
  .glass-card::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    z-index: 0;
  }
  .glass-card:hover::before { opacity: 1; }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .motion-ready .cascade-item {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
