:root {
  --bg0: #070A12;
  --bg1: #0B1224;
  --card: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --accentA: #7C5CFF;
  --accentB: #2FE6FF;
  --accentC: #00FFA8;
  --radius: 22px;
  --ease: cubic-bezier(.2,.9,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
    Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 10%, rgba(124,92,255,.18), transparent 60%),
              radial-gradient(900px 600px at 85% 15%, rgba(47,230,255,.14), transparent 60%),
              radial-gradient(900px 700px at 40% 95%, rgba(0,255,168,.12), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height: 100vh;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  border-radius: 8px;
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.nav__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Hide div logo when img logo is present */
.nav__brand:has(.nav__logo-img) .nav__logo {
  display: none;
}

.nav__logo-img + .nav__name {
  margin-left: 0;
}

.nav__name {
  font-size: 20px;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.nav__toggle:focus {
  outline: 2px solid var(--accentB);
  outline-offset: 2px;
}

.nav__toggle-icon {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  color: white;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,92,255,.4);
}

.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.12);
}

.btn--large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

/* If you want the background image to be more prominent, increase opacity */
.hero__bg-image.hero__bg-image--prominent {
  opacity: 1;
}

/* If you want the background image to be subtle, decrease opacity */
.hero__bg-image.hero__bg-image--subtle {
  opacity: 0.5;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero__glow--a {
  width: 600px;
  height: 600px;
  background: var(--accentA);
  top: -200px;
  left: -200px;
  animation: float 20s ease-in-out infinite;
  z-index: 2;
}

.hero__glow--b {
  width: 500px;
  height: 500px;
  background: var(--accentB);
  bottom: -150px;
  right: -150px;
  animation: float 25s ease-in-out infinite reverse;
  z-index: 2;
}

.hero__glow--c {
  width: 400px;
  height: 400px;
  background: var(--accentC);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 30s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 40px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero__trust {
  display: flex;
  gap: 48px;
}

.hero__trust-item {
  display: flex;
  flex-direction: column;
}

.hero__trust-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accentB);
}

.hero__trust-label {
  font-size: 14px;
  color: var(--muted);
}

/* Hero Visual */
.hero__deck-preview {
  position: relative;
  perspective: 1000px;
  min-height: 400px;
  width: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), z-index 0s 0.3s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__slide--active {
  position: relative;
  transform: rotateY(0deg) translateZ(0);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), z-index 0s 0s;
}

.hero__slide:not(.hero__slide--active) {
  opacity: 0;
  transform: rotateY(5deg) translateZ(-50px);
  z-index: 1;
}

.hero__slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero__slide-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
}

.hero__slide-content h3 {
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__slide-content p {
  color: var(--muted);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features {
  padding: 100px 24px;
  background: rgba(0,0,0,.2);
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
}

.features__header {
  text-align: center;
  margin-bottom: 60px;
}

.features__title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
}

.features__subtitle {
  font-size: 20px;
  color: var(--muted);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.08);
  border-color: rgba(124,92,255,.3);
}

.feature-card__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
}

.feature-card__desc {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Pricing Section */
.pricing {
  padding: 100px 24px;
}

.pricing__container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing__header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing__title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
}

.pricing__subtitle {
  font-size: 20px;
  color: var(--muted);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pricing-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,.3);
}

.pricing-card--featured {
  border-color: var(--accentA);
  background: rgba(124,92,255,.1);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card__header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-card__name {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--accentB);
}

.pricing-card__period {
  color: var(--muted);
}

.pricing-card__annual {
  font-size: 14px;
  color: var(--accentC);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex-grow: 1;
  min-height: 0;
}

.pricing-card .btn {
  margin-top: auto;
  flex-shrink: 0;
}

.pricing-card__features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--muted);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

/* CTA Section */
.cta {
  padding: 100px 24px;
  background: rgba(0,0,0,.3);
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
}

.cta__content {
  text-align: center;
}

.cta__title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
}

.cta__subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 40px;
}

/* Footer */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  border-radius: 8px;
  flex-shrink: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.footer__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Hide div logo when img logo is present */
.footer__brand:has(.footer__logo-img) .footer__logo {
  display: none;
}

.footer__logo-img + .footer__name {
  margin-left: 0;
}

.footer__name {
  font-size: 18px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer__link:hover {
  color: var(--text);
}

.footer__copyright {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.video-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: rgba(7, 10, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s var(--ease);
}

.video-modal[aria-hidden="false"] .video-modal__panel {
  transform: scale(1);
}

.video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal__title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.video-modal__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(90deg);
}

.video-modal__content {
  padding: 32px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-modal__player {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.video-modal__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
  }
  
  .hero__cta {
    flex-direction: column;
  }
  
  .hero__deck-preview {
    min-height: 300px;
  }
  
  .hero__slide-content {
    min-height: 300px;
    padding: 24px;
  }
  
  .hero__slide-content h3 {
    font-size: 24px;
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 1000;
    overflow-y: auto;
    visibility: hidden;
  }
  
  .nav__links[aria-hidden="false"] {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav__link {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  
  .nav__links .btn {
    width: 100%;
    justify-content: center;
  }
  
  .nav__container {
    position: relative;
  }
  
  /* Mobile menu backdrop overlay */
  .nav__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 999;
  }
  
  .nav__backdrop[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
  }
  
  .features__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__container {
    flex-direction: column;
    gap: 24px;
  }
  
  .video-modal__panel {
    width: 95%;
    max-height: 85vh;
  }
  
  .video-modal__header {
    padding: 20px 24px;
  }
  
  .video-modal__content {
    padding: 20px;
  }
  
  .video-modal__title {
    font-size: 20px;
  }
}
