:root {
  /* Colors */
  --bg-soft-blue: #EAF2FF;
  --navy-ink: #0B1220;
  --slate-text: #4B5563;
  --accent-blue: #3B82F6;
  --accent-blue-hover: #2563EB;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Spacing & Radii */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 9999px;
  --container-max: 1200px;

  /* Shadows */
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--white);
  color: var(--navy-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effects */
.bg-gradient-wash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, var(--bg-soft-blue) 0%, #FFFFFF 80%);
  z-index: -2;
}

.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
  filter: blur(80px);
  border-radius: 50%;
}

.blob-1 {
  top: -100px;
  right: -100px;
  animation: float 20s infinite alternate;
}

.blob-2 {
  bottom: -100px;
  left: -100px;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(50px, 100px);
  }
}

.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.02;
  pointer-events: none;
  z-index: 10;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjYmFzZSkiLz48ZmlsdGVyIGlkPSJiYXNlIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjwvc3ZnPg==');
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  text-align: center;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--slate-text);
}

/* Layout Components */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

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

.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--navy-ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--navy-ink);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 18, 32, 0.2);
}

.btn-accent {
  background-color: var(--accent-blue);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--navy-ink);
  color: var(--navy-ink);
}

.btn-outline:hover {
  background-color: var(--navy-ink);
  color: var(--white);
}

/* Cards (Glassmorphism) */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-blue);
}

/* Grid Systems */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

/* Sections */
.hero {
  padding-top: 12rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero .subheadline {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 5rem;
}

.hero-mockup {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.mockup-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.mockup-container img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* Trust Row */
.trust-row {
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 2rem;
}

.logo-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.5;
  filter: grayscale(1);
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logo {
  height: 24px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--slate-text);
  font-weight: 500;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--slate-text);
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.price-card.featured {
  border-color: var(--accent-blue);
  border-width: 2px;
  position: relative;
  transform: scale(1.05);
  z-index: 10;
}

.price-note {
  font-size: 0.85rem;
  color: var(--slate-text);
  font-style: italic;
  margin-bottom: 2rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent-blue);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* FAQ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--slate-text);
  display: none;
}

.active .faq-answer {
  display: block;
}

/* Footer */
footer {
  background: var(--navy-ink);
  color: var(--white);
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  height: 32px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.compliance-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: var(--navy-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  /* Hidden by default, only shown on mobile */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--navy-ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  /* Don't block clicks when hidden */
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* Allow clicks when visible */
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.mobile-nav-link {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-link:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.mobile-nav-link:hover {
  color: var(--accent-blue);
}

.mobile-cta {
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.75rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

  .hero {
    padding-top: 8rem;
  }

  .bottom-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}