/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  background: #dce8f0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
}

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

/* Subtle dot pattern overlay like reference */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: none;
  border-radius: 100px;
  padding: 8px 10px 8px 16px;
  margin-top: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

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

.nav-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #3d3d56;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a2e;
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: flex-start;
  padding: 0 20px;
  padding-top: clamp(40px, 8vh, 100px);
  max-width: 820px;
  width: 100%;
}

.hero-heading {
  font-family: 'Parkinsans', 'Inter', sans-serif;
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 300;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: #2d3a4a;
  margin-bottom: 18px;
}

.hero-heading .line {
  display: block;
}

.text-dim {
  color: #4b5563;
  opacity: 0.88;
}

/* Voice AI & Productivity pills as images */
.tag-pill-img {
  display: inline-block;
  height: 1.5em;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: -0.04em;
  margin: 0 4px;
}

/* ===== TAG PILLS — matching reference exactly ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px 8px 14px;
  border-radius: 14px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.95em;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.tag-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tag-icon svg {
  width: 26px;
  height: 26px;
}

.tag-purple {
  background: #e0daea;
  color: #6b3fa0;
  border: 1.5px solid #d0c6e0;
}

.tag-yellow {
  background: #fef0cc;
  color: #c06a20;
  border: 1.5px solid #f5e3a0;
}

.hero-subtitle {
  font-size: clamp(14px, 1.7vw, 16px);
  color: #4a4a68;
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 24px;
  font-weight: 400;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.28);
}

.cta-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.38);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.cta-btn:hover svg {
  transform: translate(2px, -2px);
}

/* ===== FORM CARD — floats at bottom of viewport, peeking up ===== */
.form-card-wrapper {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 100%;
  max-width: 580px;
  padding: 0 20px;
}

.form-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.09),
    0 1px 4px rgba(0, 0, 0, 0.04);
}

.form-card-heading {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.4;
}

.form-card-heading .free-highlight {
  color: #16a34a;
  font-weight: 800;
  position: relative;
}

.form-card-heading .free-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background: #16a34a;
  border-radius: 2px;
  opacity: 0.3;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #3d3d56;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid #e0e0ec;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input::placeholder {
  color: #a0a0b8;
}

.form-input:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
  background: #fff;
}

.form-submit-btn {
  width: 100%;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.22);
}

.form-submit-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.32);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Space below hero for form overflow */
.hero-spacer {
  height: 120px;
  position: relative;
  z-index: 1;
  background: transparent;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 7px 8px 7px 12px;
    gap: 4px;
    margin-top: 14px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 6px 10px;
  }

  .hero-content {
    padding-top: 32px;
  }

  .hero-heading {
    font-size: 32px;
  }

  .tag {
    padding: 3px 12px 3px 8px;
    border-radius: 9px;
    gap: 5px;
  }

  .tag-icon {
    width: 20px;
    height: 20px;
  }

  .tag-icon svg {
    width: 20px;
    height: 20px;
  }

  .form-card-wrapper {
    padding: 0 16px;
  }

  .form-card {
    padding: 24px 18px 22px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }

  .hero-heading {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .form-card-heading {
    font-size: 17px;
  }
}
