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

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #050a14 0%, #0b1628 100%);
  color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: rgba(11, 22, 40, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #1f6bff 0%, #5a9fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-img {
  height: 40px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  -webkit-text-fill-color: initial;
}
.logo-text {
  display: inline;
}

nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 24px;
}

/* Text nav links: About Us, Support, Login */
nav a.nav-link {
  background: rgba(159, 179, 217, 0.12);
  color: #9fb3d9;
  border-color: rgba(255, 255, 255, 0.08);
}

nav a.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* Policy: purple accent */
nav a.nav-link.nav-policy {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.25) 0%, rgba(103, 58, 183, 0.2) 100%);
  color: #ce93d8;
  border-color: rgba(156, 39, 176, 0.45);
  box-shadow: 0 2px 8px rgba(156, 39, 176, 0.15);
}

nav a.nav-link.nav-policy:hover {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.4) 0%, rgba(103, 58, 183, 0.35) 100%);
  color: #e1bee7;
  border-color: rgba(156, 39, 176, 0.6);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.25);
  transform: translateY(-1px);
}

.btn-nav {
  color: #fff !important;
  font-weight: 600;
  background: rgba(31, 107, 255, 0.25);
  border-color: rgba(31, 107, 255, 0.5);
}

.btn-nav:hover {
  background: rgba(31, 107, 255, 0.45);
  border-color: rgba(31, 107, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 107, 255, 0.3);
}

.btn-nav-primary {
  background: linear-gradient(135deg, #1f6bff 0%, #5a9fff 100%) !important;
  border-color: rgba(31, 107, 255, 0.6) !important;
  box-shadow: 0 2px 10px rgba(31, 107, 255, 0.3);
}

.btn-nav-primary:hover {
  background: linear-gradient(135deg, #1556d6 0%, #4a8fef 100%) !important;
  box-shadow: 0 4px 16px rgba(31, 107, 255, 0.4);
}

.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #9fb3d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 22px;
  color: #9fb3d9;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #1f6bff 0%, #5a9fff 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 107, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 107, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.promo-videos {
  padding: 72px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-videos h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}

.promo-videos-lead {
  text-align: center;
  color: #9fb3d9;
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.promo-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px;
  align-items: start;
}

.promo-video-card {
  background: rgba(11, 22, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 20px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.promo-video-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.promo-video-desc {
  color: #9fb3d9;
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.video-shell {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-shell video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: middle;
}

.video-fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}

.video-fullscreen-btn:hover {
  background: rgba(31, 107, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}

.video-fullscreen-btn:focus-visible {
  outline: 2px solid #5a9fff;
  outline-offset: 2px;
}

.features {
  padding: 80px 0;
  background: rgba(11, 22, 40, 0.5);
}

.features h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 48px;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: rgba(11, 22, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 107, 255, 0.5);
  box-shadow: 0 8px 24px rgba(31, 107, 255, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  color: #9fb3d9;
  line-height: 1.6;
}

.pricing {
  padding: 80px 0;
}

.pricing h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 48px;
  font-weight: 700;
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(11, 22, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.pricing-header h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  margin: 16px 0;
  background: linear-gradient(135deg, #1f6bff 0%, #5a9fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price span {
  font-size: 18px;
  color: #9fb3d9;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 32px 0;
  color: #9fb3d9;
  line-height: 2;
}

.pricing-features li {
  padding: 8px 0;
}

.how-it-works {
  padding: 80px 0;
  background: rgba(11, 22, 40, 0.5);
}

.how-it-works h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 48px;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f6bff 0%, #5a9fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(31, 107, 255, 0.3);
}

.step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step p {
  color: #9fb3d9;
  line-height: 1.6;
}

footer {
  background: rgba(11, 22, 40, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
  text-align: center;
  color: #9fb3d9;
}

.footer-disclaimer {
  font-size: 12px;
  color: #7a8ba8;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.footer-links {
  margin-top: 16px;
}

.footer-links a {
  color: #1f6bff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #5a9fff;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #0b1628 0%, #050a14 100%);
  margin: 5% auto;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close {
  color: #9fb3d9;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close:hover,
.close:focus {
  color: #fff;
}

.about-content {
  margin-top: 24px;
  color: #9fb3d9;
  line-height: 1.8;
}

.about-content h3 {
  color: #fff;
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 20px;
}

.about-content p {
  margin-bottom: 16px;
}

.about-content a {
  color: #1f6bff;
  text-decoration: none;
  transition: color 0.2s;
}

.about-content a:hover {
  color: #5a9fff;
  text-decoration: underline;
}

/* Privacy & Diagnostic Notice modal */
.modal-content-policy {
  max-width: 560px;
}

.policy-notice-content {
  margin-top: 20px;
  color: #c5d0e8;
  line-height: 1.75;
  font-size: 15px;
}

.policy-notice-content p {
  margin-bottom: 16px;
}

.policy-notice-content ul {
  margin: 12px 0 20px 24px;
  padding: 0;
}

.policy-notice-content li {
  margin: 8px 0;
}

.policy-notice-content strong {
  color: #e0e8f5;
}

.policy-notice-content .policy-agree {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb3d9;
  font-size: 14px;
}

.policy-notice-content a {
  color: #5a9fff;
  text-decoration: none;
}

.policy-notice-content a:hover {
  text-decoration: underline;
  color: #7eb8ff;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .features h2,
  .pricing h2,
  .how-it-works h2 {
    font-size: 32px;
  }
  
  .features-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    padding: 24px;
    margin: 10% auto;
  }
  
  nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  nav a {
    font-size: 13px;
    padding: 8px 14px;
  }
}
