:root {
  --bg-img: url("https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1950&q=80&ixlib=rb-4.0.3&s=");
  --accent-1: #6c63ff;
  --accent-2: #00c2ff;
  --muted: #64707a;
  --glass: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.6);
  --surface: rgba(255, 255, 255, 0.03);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #0b1724;
  background-image: linear-gradient(
      180deg,
      rgba(6, 10, 20, 0.35),
      rgba(6, 10, 20, 0.25)
    ),
    var(--bg-img);
  background-size: cover;
  background-position: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Header and nav */
.site-header {
  position: relative;
  padding-top: 18px;
  padding-bottom: 28px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  height: 48px;
  display: block;
}

#nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1100px;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  z-index: 1000;
  backdrop-filter: blur(6px);
  background: linear-gradient(
    90deg,
    rgba(233, 7, 7, 0.089),
    rgba(255, 255, 255, 0.03)
  );
  border-radius: 10px;
  transform: translateY(8px);
}

#nav-bar.open {
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.185);
}

.nav-link {
  color: #0be0e7;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  cursor: pointer;
  display: none;
  background: none;
  border: 0;
  color: #f80707;
  font-size: 1.4rem;
}

/* Space for fixed nav */
body {
  padding-top: 72px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.05;
}

.lead {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 18px;
}

.hero-cta {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.btn .primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn .primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(108, 99, 255, 0.22);
}

.btn .ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual .card {
  width: 100%;
  height: 260px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.35);
}

.hero-visual .device {
  width: 70%;
  height: auto;
  color: #fff;
  opacity: 0.95;
}

/* Features section */
.features {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.feature {
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.03)
  );
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.feature h3 {
  margin: 10px 0;
}

.feature p {
  color: rgba(255, 255, 255, 0.85);
}

.feature .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 8px;
}

/* Video */
.video-section {
  margin-top: 44px;
  color: #fff;
}

.video-wrapper {
  max-width: 900px;
  margin: 16px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(2, 6, 23, 0.45);
}

#video {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

/* Pricing */
.pricing {
  margin-top: 40px;
  color: #fff;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.plan {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.plan .featured {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.price {
  font-size: 1.6rem;
  margin: 10px 0;
}

/* Signup */
.signup {
  margin: 44px 0;
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 12px;
  color: #fff;
}

.signup-grid {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.signup-info h2 {
  margin: 0 0 6px;
}

.signup-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

#email {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 260px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

#submit {
  padding: 12px 16px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 20px 0;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-right a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin-left: 12px;
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.muted {
  color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 300px;
  }
  #video {
    height: 360px;
  }
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  #nav-bar {
    justify-content: flex-end;
    gap: 8px;
    padding: 8px 12px;
  }
  #nav-bar.open {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px;
    background: linear-gradient(
      180deg,
      rgba(6, 10, 20, 0.95),
      rgba(6, 10, 20, 0.95)
    );
    padding: 14px;
    display: flex;
    flex-direction: column;
  }
  body {
    padding-top: 64px;
  }
  .header-inner {
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .hero-visual {
    display: none;
  }
  .features {
    flex-direction: column;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .signup-grid {
    flex-direction: column;
    align-items: stretch;
  }
  #video {
    height: 220px;
  }
}
