:root {
  --bg: #000;
  --surface: rgba(255,255,255,0.92);
  --accent: #6ee7b7;
  --text: #f8fafc;
  --muted: #d4d4d4;
  --atmosphere-warm: rgba(201, 186, 151, 0.08);
  --atmosphere-cool: rgba(126, 154, 150, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.08), transparent 34rem),
    linear-gradient(180deg, #030303 0%, var(--bg) 34rem);
  color: var(--text);
}

button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(110, 231, 183, 0.08);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.8s ease, background 0.8s ease;
}

a.button:hover,
button.sound-toggle:hover {
  transform: translateY(-2px);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.sound-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.46);
  color: var(--text);
  backdrop-filter: blur(12px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sound-toggle:hover {
  background: rgba(0, 0, 0, 0.72);
}

.sound-icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sound-icon-off {
  display: none;
}

.sound-toggle.is-muted .sound-icon-on {
  display: none;
}

.sound-toggle.is-muted .sound-icon-off {
  display: block;
}

.video-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  text-align: center;
  padding: 0 1.5rem;
  margin-top: 1000px; /* Reinstated original margin */
  opacity: 0;
  text-shadow: 0 0 32px rgba(255, 255, 255, 0.12);
  transition: opacity 1.8s ease;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.hero-content p {
  margin: 1.25rem auto 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.content {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.055), transparent 24rem),
    linear-gradient(180deg, #000 0%, #050505 100%);
  padding: 4rem 1.5rem 2rem;
}

.content section {
  max-width: 840px;
  margin: 0 auto 2.5rem;
}

.content h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.tabs-section {
  margin-top: 2rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  cursor: pointer;
  transition: background 0.8s ease, color 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tab-button:hover,
.tab-button.active {
  background: rgba(110, 231, 183, 0.16);
  color: var(--accent);
  transform: translateY(-1px);
}

.tab-panels {
  display: grid;
  gap: 1rem;
}

.tab-panel {
  display: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.11), transparent 18rem),
    linear-gradient(145deg, rgba(32, 32, 32, 0.58), rgba(7, 7, 7, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 -28px 60px rgba(0, 0, 0, 0.34) inset,
    0 0 0 1px rgba(110, 231, 183, 0.045),
    0 22px 50px rgba(0, 0, 0, 0.34),
    0 70px 120px rgba(0, 0, 0, 0.28);
}

.tab-panel.active {
  display: block;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.subscribe-form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.subscribe-form button {
  min-width: 150px;
}

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

.feature-grid article {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.1), transparent 15rem),
    linear-gradient(145deg, rgba(32, 32, 32, 0.56), rgba(7, 7, 7, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(20px) saturate(1.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -24px 50px rgba(0, 0, 0, 0.3) inset,
    0 0 0 1px rgba(110, 231, 183, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.32),
    0 52px 96px rgba(0, 0, 0, 0.24);
}

.feature-grid h3 {
  margin-top: 0;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tab-panel,
  .feature-grid article {
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.08), transparent 18rem),
      linear-gradient(145deg, rgba(24, 24, 24, 0.96), rgba(5, 5, 5, 0.98));
  }
}

.footer,
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  background: #050505;
  color: var(--muted);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.social-icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer p,
.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }

  .content {
    padding-top: 3rem;
  }
}

/* Enhanced mobile optimizations */
@media (max-width: 768px) {
  .hero-content {
    margin-top: 0; /* Remove large margin for mobile */
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-content p {
    font-size: 1rem;
    margin: 1rem auto 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  .content {
    padding: 2rem 1rem 1rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  .tab-list {
    flex-direction: column;
    align-items: center;
  }

  .tab-button {
    width: 100%;
    max-width: 200px;
    padding: 1rem;
  }

  .tab-panel {
    padding: 1.25rem;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input {
    flex: 1;
    min-width: auto;
  }

  .subscribe-form button {
    width: 100%;
    min-width: auto;
  }

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

@media (max-width: 480px) {
  .hero-content {
    padding: 0 0.75rem;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  .content h2 {
    font-size: 1.25rem;
  }

  .tab-panel h3 {
    font-size: 1.25rem;
  }

  .tab-panel {
    padding: 1rem;
  }
}
