:root {
  --teal: #1a7a7a;
  --teal-dark: #155f5f;
  --teal-light: #e6f2f2;
  --teal-50: #f0f7f7;
  --cream: #faf8f5;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 16px 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 30px;
  width: auto;
}

.nav-logo-teal {
  display: none;
}

.nav-logo-white {
  display: block;
}

.navbar.scrolled .nav-logo-teal {
  display: block;
}

.navbar.scrolled .nav-logo-white {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.9);
}

.navbar:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.navbar.scrolled .nav-links a {
  color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
}

.navbar:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
}

.navbar:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.25) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: transform 0.3s, opacity 0.3s;
}

.navbar:not(.scrolled) .nav-toggle span {
  background: #fff;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 95, 95, 0.85) 0%,
    rgba(26, 122, 122, 0.75) 50%,
    rgba(20, 95, 95, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 122, 122, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-tag-light {
  color: rgba(255,255,255,0.8);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.phone-mockup-container {
  position: relative;
  width: 300px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1);
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.about-text .section-tag {
  margin-bottom: 16px;
  font-size: 22px;
  letter-spacing: 2px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: 10px;
  color: var(--teal);
  flex-shrink: 0;
}

.stat-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 120px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 36px 32px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-light);
  border-radius: 14px;
  color: var(--teal);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: 120px 0;
  background: var(--cream);
}

.steps-grid {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 76px;
  bottom: 0;
  width: 2px;
  background: var(--teal-light);
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  padding-top: 2px;
}

.step-content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   CTA / WAITLIST
   ============================================ */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.cta-benefits svg {
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

.cta-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.waitlist-form h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--gray-800);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-group input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 122, 122, 0.12);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 12px;
}

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  color: var(--teal);
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-500);
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--gray-500);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.open a {
    color: var(--gray-700) !important;
    font-size: 20px;
  }

  .nav-links.open .nav-cta {
    background: var(--teal) !important;
    color: var(--white) !important;
    border: none !important;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.open span {
    background: var(--gray-700) !important;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .phone-mockup-container {
    width: 240px;
  }

  .phone-frame {
    width: 220px;
    border-radius: 32px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    padding: 140px 24px 80px;
  }

  .about, .features, .how-it-works, .cta-section {
    padding: 80px 0;
  }
}
