/* Base reset and variables */
:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --primary: #FF7E55;
  --premium: #B759EA;
  --soft-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* One-screen hero */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero__overlay { 
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.hero__left, .hero__right { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(4px) saturate(160%);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
}

.logo { 
  height: 2rem; 
  width: auto; 
  display: block; 
  object-fit: contain; 
}

.headline {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: -0.5px;
}

.bullets { 
  margin: 0; 
  padding: 0; 
  list-style: none; 
  display: grid; 
  gap: 0.5rem;
}
.bullets li { 
  color: var(--muted); 
  font-size: 1rem;
}

.btn {
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 126, 85, 0.35);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-primary:hover { 
  transform: translateY(-2px) scale(1.02); 
  box-shadow: 0 12px 32px rgba(255, 126, 85, 0.5);
  background: linear-gradient(135deg, var(--primary), #ff9a7a);
}

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

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-premium {
  background: var(--premium);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(183, 89, 234, 0.35);
}

.btn-premium:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(183, 89, 234, 0.5);
  background: linear-gradient(135deg, var(--premium), #c97aff);
}

.btn-premium:active {
  transform: translateY(0) scale(0.98);
}

.video-player {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.video-player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subhead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  min-height: 2.8rem; /* резервируем место под 2 строки */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.typewriter { 
  color: var(--primary); 
  font-weight: 700; 
  display: inline;
  word-break: break-word;
  max-width: 100%;
  overflow-wrap: break-word;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.feature { 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  box-shadow: var(--soft-shadow);
}

.feature .icon { 
  width: 16px; 
  height: 16px; 
  fill: var(--primary); 
  flex: 0 0 auto; 
}

.feature span { 
  font-size: 0.8rem; 
  color: var(--text); 
}

/* Bottom CTA Banner */
.cta {
  position: relative;
  z-index: 2;
  padding: 1rem 2rem;
}

.cta__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 1rem 1.5rem;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(4px) saturate(160%);
  overflow: hidden;
}

.cta__text h2 { 
  margin: 0 0 0.25rem 0; 
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem; 
}

.cta__text p { 
  margin: 0; 
  color: var(--muted); 
  font-size: 0.9rem; 
}

.btn-cta { 
  background: var(--primary); 
  color: #ffffff; 
  box-shadow: 0 10px 30px rgba(255,126,85,0.35);
  animation: pulse-glow 2s ease-in-out infinite;
  flex: 0 0 auto;
}

.btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 126, 85, 0.5);
  background: linear-gradient(135deg, var(--primary), #ff9a7a);
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(255, 126, 85, 0.35);
  }
  50% {
    box-shadow: 0 8px 24px rgba(255, 126, 85, 0.6), 0 0 20px rgba(255, 126, 85, 0.3);
  }
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  padding: 0.75rem 2rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.footer a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.footer a:hover {
  color: var(--primary);
}
.footer a:not(:last-child)::after {
  content: " · ";
  color: var(--muted);
  pointer-events: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero__content { 
    grid-template-columns: 1fr; 
    gap: 1rem;
    padding: 1rem;
  }
  
  .hero__right { order: 2; }
  .hero__left { order: 1; }
  
  .features { 
    grid-template-columns: 1fr; 
  }
  
  .video-player {
    max-width: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
  
  .cta__inner { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 0.75rem; 
    padding: 1rem;
  }
  
  .btn-cta { 
    width: 100%; 
  }
  
  .headline { 
    font-size: clamp(1.25rem, 6vw, 2rem); 
  }
  
  .subhead { 
    font-size: 1rem; 
  }
  
  .bullets li { 
    font-size: 0.9rem; 
  }
  
  .cta__text h2 { 
    font-size: 1.1rem; 
  }
  
  .cta__text p { 
    font-size: 0.8rem; 
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 0.75rem;
  }
  
  .hero__left, .hero__right {
    padding: 1rem;
  }
  
  .video-player {
    min-height: 200px;
  }
  
  .headline { 
    font-size: clamp(1.1rem, 5vw, 1.5rem); 
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}