/* ==========================================================================
   RIDEHOST.RU - Premium Landing Stylesheet (Cyber Dark / Free Game Hosting)
   ========================================================================== */

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

:root {
  --lh-bg: #040814;
  --lh-bg-elevated: #080f24;
  --lh-card-bg: rgba(11, 20, 44, 0.7);
  --lh-card-hover: rgba(16, 29, 64, 0.85);
  --lh-border: rgba(56, 189, 248, 0.12);
  --lh-border-hover: rgba(56, 189, 248, 0.4);
  --lh-primary: #38bdf8;
  --lh-primary-hover: #0ea5e9;
  --lh-primary-glow: rgba(56, 189, 248, 0.35);
  --lh-emerald: #10b981;
  --lh-emerald-glow: rgba(16, 185, 129, 0.3);
  --lh-purple: #818cf8;
  --lh-text-main: #f8fafc;
  --lh-text-muted: #94a3b8;
  --lh-text-dim: #64748b;
  --lh-font-title: 'Outfit', sans-serif;
  --lh-font-body: 'Inter', sans-serif;
  --lh-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #040814 !important;
  color: #f8fafc;
  font-family: var(--lh-font-body);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

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

body.landing-page,
body.landing-body {
  background-color: #040814 !important;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.08), transparent 35%),
    radial-gradient(circle at 90% 40%, rgba(129, 140, 248, 0.07), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05), transparent 40%);
  color: var(--lh-text-main);
}

/* Background Ambient Effects */
.landing-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.landing-glow-top {
  position: fixed;
  top: -15vw;
  left: 50%;
  width: 70vw;
  height: 45vw;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.05) 50%, transparent 75%);
  transform: translateX(-50%);
  z-index: -2;
  pointer-events: none;
  filter: blur(40px);
  animation: landingAurora 12s infinite alternate ease-in-out;
}

@keyframes landingAurora {
  0% { transform: translateX(-50%) scale(0.95) translateY(0); opacity: 0.7; }
  100% { transform: translateX(-48%) scale(1.1) translateY(30px); opacity: 1; }
}

#landing-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Shard Decorative Glass */
.shard,
.landing-shard {
  position: fixed;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(6px);
  border: 1px solid rgba(56, 189, 248, 0.08);
  pointer-events: none;
  z-index: -1;
}
.shard-1 {
  top: 8%;
  left: -4%;
  width: 380px;
  height: 380px;
  transform: rotate(12deg);
  clip-path: polygon(0 0, 100% 15%, 85% 100%, 0 85%);
}
.shard-2 {
  bottom: 25%;
  right: -5%;
  width: 480px;
  height: 480px;
  transform: rotate(-12deg);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 85%);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lh-border);
  transition: var(--lh-transition);
  box-sizing: border-box;
}

.landing-header.scrolled {
  background: rgba(4, 8, 20, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(56, 189, 248, 0.2);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--lh-text-main);
  flex-shrink: 0;
}

.landing-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
  font-family: var(--lh-font-title);
  font-weight: 900;
  font-size: 18px;
  color: #ffffff;
  flex-shrink: 0;
}

.landing-logo-text {
  font-family: var(--lh-font-title);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.landing-logo-text span {
  color: var(--lh-primary);
  text-shadow: 0 0 15px var(--lh-primary-glow);
}

.landing-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.landing-nav-link {
  color: var(--lh-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--lh-transition);
  position: relative;
  padding: 4px 0;
}

.landing-nav-link:hover,
.landing-nav-link.active {
  color: var(--lh-text-main);
}

.landing-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--lh-primary);
  box-shadow: 0 0 8px var(--lh-primary);
  transition: width 0.25s ease;
}

.landing-nav-link:hover::after {
  width: 100%;
}

.landing-nav-mobile-actions {
  display: none;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.landing-btn-login {
  color: var(--lh-text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  transition: var(--lh-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.landing-btn-login:hover {
  color: var(--lh-primary);
  background: rgba(56, 189, 248, 0.08);
}

.landing-btn-primary {
  background: linear-gradient(135deg, var(--lh-primary) 0%, #0284c7 100%);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
  transition: var(--lh-transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.landing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.55);
  background: linear-gradient(135deg, #60a5fa 0%, #0369a1 100%);
  color: #ffffff;
}

.landing-burger {
  display: none;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  color: var(--lh-text-main);
  font-size: 1.1rem;
  transition: var(--lh-transition);
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.landing-burger:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--lh-primary);
  color: var(--lh-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.landing-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 5% 70px;
  position: relative;
}

.landing-hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

.landing-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.landing-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
  animation: dotPulse 2s infinite;
}

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

.landing-hero h1 {
  font-family: var(--lh-font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.18);
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--lh-text-muted);
  max-width: 680px;
  margin: 0 auto 2.8rem;
  font-weight: 400;
}

.landing-hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.landing-btn-lg {
  padding: 0.95rem 2.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: var(--lh-transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-btn-glow {
  background: linear-gradient(135deg, var(--lh-primary) 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.4);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
}

.landing-btn-glow:hover::before {
  left: 100%;
}

.landing-btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.65);
  color: #ffffff;
}

.landing-btn-glass {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--lh-border);
  color: var(--lh-text-main);
  backdrop-filter: blur(12px);
}

.landing-btn-glass:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--lh-primary);
  color: var(--lh-primary);
  transform: translateY(-3px);
}

/* Stats Ribbon */
.landing-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
  background: rgba(11, 20, 44, 0.6);
  border: 1px solid var(--lh-border);
  padding: 1.6rem 2.8rem;
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 820px;
  margin: 0 auto;
}

.landing-stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.landing-stat-value {
  font-family: var(--lh-font-title);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.landing-stat-value.highlight-green {
  color: #34d399;
  text-shadow: 0 0 15px var(--lh-emerald-glow);
}

.landing-stat-value.highlight-cyan {
  color: #38bdf8;
  text-shadow: 0 0 15px var(--lh-primary-glow);
}

.landing-stat-label {
  font-size: 0.8rem;
  color: var(--lh-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-top: 4px;
}

.landing-stat-divider {
  width: 1px;
  height: 42px;
  background: rgba(56, 189, 248, 0.15);
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.landing-section {
  padding: 6.5rem 5%;
  position: relative;
}

.landing-section-header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.landing-section-tag {
  color: var(--lh-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.6rem;
  background: rgba(56, 189, 248, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.landing-section-header h2 {
  font-family: var(--lh-font-title);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.landing-section-header p {
  color: var(--lh-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-feature-card {
  background: var(--lh-card-bg);
  border: 1px solid var(--lh-border);
  padding: 2.2rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--lh-transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.landing-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 60%);
  opacity: 0;
  transition: var(--lh-transition);
  pointer-events: none;
}

.landing-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--lh-border-hover);
  background: var(--lh-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.15);
}

.landing-feature-card:hover .landing-card-glow {
  opacity: 1;
}

.landing-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--lh-primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.landing-feature-card h3 {
  font-family: var(--lh-font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.landing-feature-card p {
  font-size: 0.95rem;
  color: var(--lh-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Games Section
   ========================================================================== */
.landing-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-game-card {
  height: 400px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: #080e22;
  border: 1px solid var(--lh-border);
  transition: var(--lh-transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.landing-game-card:hover {
  transform: translateY(-8px);
  border-color: var(--lh-primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.25);
}

.landing-game-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(40%) brightness(0.65);
  transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
  z-index: 0;
}

.landing-game-card:hover .landing-game-bg {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(0.85);
  opacity: 0.55;
}

.landing-game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(4, 8, 20, 0.1) 0%, rgba(4, 8, 20, 0.7) 50%, rgba(4, 8, 20, 0.95) 100%);
  z-index: 1;
}

.landing-game-content {
  position: relative;
  z-index: 2;
}

.landing-game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.landing-game-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--lh-primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.landing-game-free-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.landing-game-title {
  font-family: var(--lh-font-title);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.landing-game-desc {
  color: var(--lh-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.landing-game-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 1rem;
}

.landing-game-price {
  font-family: var(--lh-font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: #34d399;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.landing-game-price-period {
  font-size: 0.85rem;
  color: var(--lh-text-dim);
}

.landing-btn-game {
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--lh-primary);
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: var(--lh-transition);
}

.landing-btn-game:hover {
  background: var(--lh-primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   Panel Showcase Section
   ========================================================================== */
.landing-panel-preview-card {
  max-width: 1050px;
  margin: 0 auto;
  background: rgba(11, 20, 44, 0.75);
  border: 1px solid var(--lh-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.landing-panel-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.landing-panel-feature-item {
  padding: 1.2rem;
  border-radius: 12px;
  background: rgba(15, 27, 60, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.08);
  transition: var(--lh-transition);
}

.landing-panel-feature-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(20, 36, 80, 0.7);
  transform: translateY(-3px);
}

.landing-panel-feature-item i {
  font-size: 1.5rem;
  color: var(--lh-primary);
  margin-bottom: 0.8rem;
  display: block;
}

.landing-panel-feature-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.landing-panel-feature-item p {
  font-size: 0.85rem;
  color: var(--lh-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.landing-faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.landing-faq-item {
  border: 1px solid var(--lh-border);
  margin-bottom: 1rem;
  background: rgba(11, 20, 44, 0.5);
  border-radius: 12px;
  transition: var(--lh-transition);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.landing-faq-item:hover {
  border-color: var(--lh-border-hover);
  background: rgba(16, 29, 64, 0.7);
}

.landing-faq-item.active {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(16, 29, 64, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.landing-faq-question {
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lh-text-main);
  user-select: none;
  transition: var(--lh-transition);
}

.landing-faq-question:hover {
  color: var(--lh-primary);
}

.landing-faq-icon {
  font-size: 1.2rem;
  color: var(--lh-primary);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.landing-faq-item.active .landing-faq-icon {
  transform: rotate(45deg);
  background: var(--lh-primary);
  color: #ffffff;
}

.landing-faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease-out;
}

.landing-faq-item.active .landing-faq-content {
  grid-template-rows: 1fr;
}

.landing-faq-inner {
  overflow: hidden;
  color: var(--lh-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.landing-faq-inner p {
  padding: 0 1.8rem 1.4rem;
  margin: 0;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.landing-cta-section {
  padding: 6rem 5%;
  text-align: center;
  position: relative;
}

.landing-cta-box {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(129, 140, 248, 0.08) 50%, rgba(16, 185, 129, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.landing-cta-box h2 {
  font-family: var(--lh-font-title);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.landing-cta-box p {
  font-size: 1.15rem;
  color: var(--lh-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.landing-footer {
  padding: 5rem 5% 2.5rem;
  background: #02050e;
  border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.landing-footer-desc {
  color: var(--lh-text-muted);
  font-size: 0.92rem;
  max-width: 320px;
  margin: 1rem 0 1.8rem;
  line-height: 1.6;
}

.landing-footer-socials {
  display: flex;
  gap: 0.8rem;
}

.landing-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(15, 27, 60, 0.8);
  border: 1px solid var(--lh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lh-text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--lh-transition);
}

.landing-social-btn:hover {
  background: var(--lh-primary);
  border-color: var(--lh-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--lh-primary-glow);
}

.landing-footer-col h4 {
  font-family: var(--lh-font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.landing-footer-col ul {
  list-style: none;
}

.landing-footer-col ul li {
  margin-bottom: 0.7rem;
}

.landing-footer-col ul li a {
  color: var(--lh-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--lh-transition);
}

.landing-footer-col ul li a:hover {
  color: var(--lh-primary);
  padding-left: 4px;
}

.landing-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--lh-text-dim);
  font-size: 0.88rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   Document Modals (Oferta & Privacy Policy)
   ========================================================================== */
.landing-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.landing-modal-backdrop.active {
  display: flex;
}

.landing-modal-dialog {
  position: relative;
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  background: #060d22;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.landing-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.landing-modal-title {
  font-family: var(--lh-font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-modal-title i {
  color: var(--lh-primary);
  filter: drop-shadow(0 0 8px var(--lh-primary-glow));
}

.landing-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--lh-transition);
}

.landing-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  transform: rotate(90deg);
}

.landing-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.75;
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(4, 8, 20, 0.6);
}

.landing-modal-body::-webkit-scrollbar {
  width: 6px;
}

.landing-modal-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.5);
  border-radius: 4px;
}

.landing-doc-content h2 {
  font-family: var(--lh-font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.8rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-doc-content h2:first-of-type {
  margin-top: 1rem;
}

.landing-doc-content h3 {
  font-family: var(--lh-font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.2rem 0 0.6rem;
}

.landing-doc-content p {
  margin-bottom: 0.9rem;
  color: #94a3b8;
}

.landing-doc-content p strong {
  color: #f1f5f9;
}

.landing-doc-content ul {
  margin: 0.6rem 0 1.2rem 1.4rem;
  list-style: disc;
  color: #94a3b8;
}

.landing-doc-content ul li {
  margin-bottom: 0.5rem;
}

.landing-doc-content ul li strong {
  color: #f1f5f9;
}

.landing-doc-content .last-update {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   Standalone Legal Document Pages (Oferta & Privacy)
   ========================================================================== */
.landing-doc-page {
  padding-top: 96px;
  padding-bottom: 70px;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

.landing-doc-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.landing-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--lh-text-dim);
  margin-bottom: 1.5rem;
}

.landing-breadcrumb a {
  color: var(--lh-text-muted);
  text-decoration: none;
  transition: var(--lh-transition);
}

.landing-breadcrumb a:hover {
  color: var(--lh-primary);
}

.landing-breadcrumb span.separator {
  color: rgba(255, 255, 255, 0.2);
}

.landing-breadcrumb span.current {
  color: var(--lh-primary);
  font-weight: 600;
  word-break: break-word;
}

.landing-doc-card {
  background: #080f24 !important;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.08);
  padding: 2.8rem;
  position: relative;
  overflow: hidden;
  color: #cbd5e1;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.landing-doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--lh-primary), #60a5fa, transparent);
}

.landing-doc-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--lh-primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.landing-doc-title {
  font-family: var(--lh-font-title);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.landing-doc-subtitle {
  font-size: 1.05rem;
  color: var(--lh-text-muted);
  word-break: break-word;
}

.landing-doc-body {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
}

.landing-doc-body h2 {
  font-family: var(--lh-font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: #38bdf8;
  margin: 2rem 0 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  word-break: break-word;
}

.landing-doc-body h3 {
  font-family: var(--lh-font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 1.4rem 0 0.6rem;
}

.landing-doc-body p {
  margin-bottom: 0.9rem;
  color: #94a3b8;
}

.landing-doc-body p strong {
  color: #f1f5f9;
}

.landing-doc-body ul {
  margin: 0.6rem 0 1.3rem 1.5rem;
  list-style: disc;
  color: #94a3b8;
}

.landing-doc-body ul li {
  margin-bottom: 0.5rem;
}

.landing-doc-body ul li strong {
  color: #f1f5f9;
}

.landing-doc-footer-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.88rem;
  box-sizing: border-box;
  width: 100%;
}

.landing-doc-footer-note > div {
  max-width: 100%;
  box-sizing: border-box;
}

.landing-doc-footer-note .landing-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  box-sizing: border-box;
}

/* ==========================================================================
   Responsive Breakpoints (At the very end of CSS)
   ========================================================================== */
@media (max-width: 992px) {
  .landing-header {
    height: 66px;
    padding: 0 1.25rem;
  }

  .landing-nav {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background: #040814;
    border-bottom: 1px solid var(--lh-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    padding: 1.5rem 1.5rem 2rem;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 999;
  }

  .landing-nav.open {
    display: flex;
  }

  .landing-nav ul {
    flex-direction: column;
    gap: 1.1rem;
    align-items: flex-start;
    width: 100%;
  }

  .landing-nav-link {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 6px 0;
  }

  .landing-nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .landing-nav-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .landing-burger {
    display: flex;
    flex-shrink: 0;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .landing-hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .landing-stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .landing-header {
    height: 60px;
    padding: 0 1rem;
  }

  .landing-nav {
    top: 60px;
    max-height: calc(100vh - 60px);
  }

  .landing-brand {
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }

  .landing-logo-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 7px;
  }

  .landing-logo-icon img {
    max-height: 18px !important;
    max-width: 18px !important;
  }

  .landing-logo-text {
    font-size: 1.15rem;
  }

  .landing-header-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .landing-header-actions .landing-btn-login {
    display: none;
  }

  .landing-btn-primary {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .landing-burger {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    border-radius: 7px;
  }

  .landing-hero {
    padding-top: 95px;
    padding-bottom: 40px;
  }

  .landing-hero h1 {
    font-size: 2.1rem;
  }

  .landing-doc-page {
    padding-top: 76px;
    padding-bottom: 40px;
  }

  .landing-doc-container {
    padding: 0 0.85rem;
  }

  .landing-doc-card {
    padding: 1.6rem 1.1rem;
    border-radius: 16px;
  }

  .landing-doc-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .landing-doc-subtitle {
    font-size: 0.92rem;
  }

  .landing-doc-body {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .landing-doc-body h2 {
    font-size: 1.18rem;
    margin: 1.6rem 0 0.7rem;
  }

  .landing-doc-body ul {
    margin: 0.5rem 0 1rem 1.1rem;
  }

  .landing-doc-footer-note {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.1rem;
  }

  .landing-doc-footer-note > div {
    width: 100%;
  }

  .landing-doc-footer-note .landing-btn-primary {
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    box-sizing: border-box;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .landing-header {
    padding: 0 0.65rem;
  }

  .landing-brand {
    gap: 6px;
  }

  .landing-logo-icon {
    width: 28px;
    height: 28px;
  }

  .landing-logo-icon img {
    max-height: 16px !important;
    max-width: 16px !important;
  }

  .landing-logo-text {
    font-size: 1.05rem;
  }

  .landing-header-actions {
    gap: 6px;
  }

  .landing-btn-primary {
    padding: 0.35rem 0.6rem;
    font-size: 0.76rem;
  }

  .landing-btn-primary i {
    font-size: 0.75rem;
  }

  .landing-burger {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .landing-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .landing-btn-lg {
    width: 100%;
    justify-content: center;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .landing-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .landing-stat-value {
    font-size: 1.5rem;
  }

  .landing-doc-page {
    padding-top: 72px;
  }

  .landing-doc-container {
    padding: 0 0.5rem;
  }

  .landing-doc-card {
    padding: 1.35rem 0.9rem;
  }

  .landing-doc-title {
    font-size: 1.35rem;
  }

  .landing-breadcrumb {
    font-size: 0.78rem;
    gap: 4px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 360px) {
  .landing-logo-text span {
    display: none;
  }

  .landing-btn-primary span {
    font-size: 0.72rem;
  }

  .landing-btn-primary {
    padding: 0.35rem 0.5rem;
  }

  .landing-doc-title {
    font-size: 1.25rem;
  }
}


