:root {
  --primary-bg: #002147;
  --primary-accent: #38B6FF;
  --text-light: #FFFFFF;
  --font-family: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 80px;
  /* Space for fixed nav */
  background-color: var(--primary-bg);
  color: var(--text-light);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cyan-text {
  color: #00E5FF;
}

.subheading-text {
  color: #fff;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* UI Image Styling */
.ui-image {
  border-radius: 25px;
  width: 100%;
  height: auto;
  display: block;
}

.image-wrapper {
  position: relative;
}

/* Section Spacing */
section {
  padding: 80px 0;
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: #00E5FF;
  color: #fff;
  border: 2px solid #00E5FF;
}

.btn-primary:hover {
  background-color: #00E5FF;
  border-color: #00E5FF;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(56, 182, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: #00E5FF;
  border: 2px solid #00E5FF;
}

.btn-outline:hover {
  background-color: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

/* Layout Utilities */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1fr 1fr;
}

.split-reverse .content {
  order: 2;
}

.split-reverse .image-wrapper {
  order: 1;
}

.feature-block {
  margin-bottom: 3rem;
}

.feature-block h3 {
  color: #ffffff;
}

.feature-block p {
  color: #a0aec0;
}

.insight-quote {
  border-left: 4px solid var(--primary-accent);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: #cbd5e0;
}

.hero-insight {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Grid Sections */
.center-section {
  text-align: center;
}

.center-section .container>p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--primary-accent);
  transform: translateY(-10px);
}

/* Parent Bridge */
.parent-bridge {
  background: linear-gradient(135deg, rgba(56, 182, 255, 0.1) 0%, rgba(1, 22, 56, 1) 100%);
  text-align: center;
  border-top: 1px solid rgba(56, 182, 255, 0.2);
  border-bottom: 1px solid rgba(56, 182, 255, 0.2);
}

.logo-img {
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.parent-bridge p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.upgrade-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--primary-accent);
}

/* Footer / CTA */
.footer-cta {
  background: var(--primary-bg);
  padding: 100px 0 50px;
  border-top: 1px solid rgba(56, 182, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6rem;
  align-items: center;
}

.footer-info h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  color: #FFFFFF;
}

.footer-info p {
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-details {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(56, 182, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.footer-contact-item {
  margin-bottom: 2rem;
  text-align: left;
}

.footer-contact-item strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-accent);
  margin-bottom: 0.5rem;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-contact-item a:hover {
  opacity: 0.7;
}

.footer-actions {
  margin-top: 3rem;
  text-align: left;
}

.footer-bottom {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.4;
}

/* Nav Bar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(1, 22, 56, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(56, 182, 255, 0.1);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-nav {
  height: 60px;
}

.btn-nav {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* Waitlist Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--primary-bg);
  padding: 3rem;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  position: relative;
  border: 1px solid var(--primary-accent);
  box-shadow: 0 0 50px rgba(56, 182, 255, 0.2);
}

.thank-you-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  font-size: 5rem;
  color: #00E5FF;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.thank-you-state h2 {
  margin-bottom: 1rem;
  color: #fff;
}

.thank-you-state p {
  font-size: 1.1rem;
  color: #cbd5e0;
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #a0aec0;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--primary-accent);
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #cbd5e0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.1);
}

.text-muted {
  color: white;
}

/* Honeypot - hidden from users */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

.overflow-img {
  position: relative;
  z-index: 10;
  margin-top: -120px;
  transform: scale(1.2);
  transform-origin: center;
}

.scale-135 {
  transform: scale(1.35);
}

/* Legal Pages */
.legal-page {
  background: var(--primary-bg);
}

.legal-content {
  max-width: 800px;
  margin: 100px auto;
  padding: 0 2rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.legal-content .last-updated {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(56, 182, 255, 0.2);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary-accent);
}

.legal-content p {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 1rem;
}

.legal-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.legal-links a {
  font-size: 0.9rem;
  transition: color 0.3s;
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--primary-accent) !important;
}

.legal-links .divider {
  opacity: 0.3;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.accent-glow {
  color: #00E5FF;
  text-shadow: 0 0 10px rgba(56, 182, 255, 0.8), 0 0 20px rgba(56, 182, 255, 0.4);
}

.about-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.9;
}

/* MEDIA QUERIES - MUST BE AT END */
@media (max-width: 992px) {
  section {
    padding: 20px 0;
  }

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

  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 320px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .feature-block {
    margin-bottom: 2rem;
  }

  h2, h3 {
    margin-bottom: 0.5rem !important;
  }

  .insight-quote {
    text-align: left;
    font-size: 0.9rem;
    padding-left: 1rem;
    margin: 1.5rem 1rem 0 1rem;
  }

  .split-layout,
  .split-reverse {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 0.5rem !important;
  }

  .content {
    text-align: center;
  }

  .split-reverse .content {
    order: 1;
  }

  .split-reverse .image-wrapper {
    order: 2;
  }

  .image-wrapper {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ui-image {
    margin-top: -0.25rem !important;
    margin-left: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }

  .overflow-img {
    margin-top: 0 !important;
  }

  .scale-135 {
    transform: none !important;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-info h2,
  .footer-info p,
  .footer-actions {
    text-align: center;
  }

  .footer-details {
    padding: 2rem;
  }

  .footer-contact-item {
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .interactive-modal-img {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100% !important;
    margin: 2rem auto 0 auto;
    display: block;
    transform: none !important;
  }

  .hero-insight {
    text-align: center;
  }

  nav {
    height: 70px;
  }

  .logo-nav {
    height: 40px;
  }

  .btn-nav {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn-group .btn {
    width: 100%;
    margin-right: 0;
  }

  .container {
    padding: 0 1.5rem;
  }
}