/* Base styles */
:root {
  --primary: #06b6d4; /* cyan-500 */
  --primary-hover: #0891b2; /* cyan-600 */
  --secondary: #f3f4f6; /* gray-100 */
  --dark: #111827; /* gray-900 */
  --dark-light: #1f2937; /* gray-800 */
  --light: #f9fafb; /* gray-50 */
  --text: #4b5563; /* gray-600 */
  --text-dark: #1f2937; /* gray-800 */
  --text-light: #9ca3af; /* gray-400 */
  --white: #ffffff;
  --error: #ef4444; /* red-500 */
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
  text-align: center;
}

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

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

.btn-disabled {
  background-color: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.8;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* Form elements */
.form-input {
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  width: 100%;
  color: var(--white);
  background-color: transparent;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input.error {
  border-color: var(--error);
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .form-group {
    flex-direction: row;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 50;
  border-bottom: 1px solid #f3f4f6;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 9rem;
  width: auto;
}

.site-title {
  margin-left: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Hero section */
.hero {
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--dark), var(--dark-light));
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.4));
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  min-height: 800px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  padding-top: 5rem;
}

@media (min-width: 768px) {
  .hero-text {
    padding-top: 0;
  }
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .highlight {
  display: block;
  color: #22d3ee; /* cyan-400 */
}

.hero-description {
  font-size: 1.25rem;
  color: #d1d5db; /* gray-300 */
  margin-bottom: 2rem;
}

.waitlist-btn-container {
  margin-top: 2rem;
}

.hero-image {
  display: none;
}

@media (min-width: 768px) {
  .hero-image {
    display: block;
  }
}

/* Profile card in hero */
.profile-card {
  background-color: var(--white);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.profile-content {
  background-color: #f3f4f6;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.profile-icon {
  background-color: var(--primary);
  color: var(--white);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.profile-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.placeholder-lines {
  margin-bottom: 1rem;
}

.placeholder {
  height: 0.5rem;
  background-color: #d1d5db;
  border-radius: 0.25rem;
  margin-top: 0.75rem;
}

.line-1 {
  width: 75%;
}

.line-2 {
  width: 50%;
}

.line-3 {
  width: 83.333333%;
}

.endorsements {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.endorsements-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.avatars {
  display: flex;
  margin-left: 0.5rem;
}

.avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: #d1d5db;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #4b5563;
  margin-left: -0.5rem;
}

.avatar.more {
  background-color: #e0f2fe;
  color: var(--primary);
}

/* Section styles */
.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 2px solid #e0f2fe;
  position: relative;
  transition: border-color 0.3s ease;
}

.step-card:hover {
  border-color: var(--primary);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background-color: var(--primary);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-icon {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-description {
  color: var(--text);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
}

.pricing-card.coming-soon {
  background-color: #e5e7eb;
  opacity: 0.5;
}

.popular-tag {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.coming-soon-tag {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ef4444;
  color: var(--white);
  padding: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pricing-amount {
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.period {
  color: var(--text);
}

.pricing-features {
  margin-bottom: 2rem;
  list-style: none;
}

.pricing-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background-color: var(--light);
  border-radius: 0.75rem;
  padding: 2rem;
}

.trust-icon {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.trust-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.trust-description {
  color: var(--text);
}

/* CTA section */
.cta-section {
  background-color: var(--dark);
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.cta-description {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn-container {
  margin: 0 auto;
  max-width: 20rem;
}

/* Footer */
.footer {
  background-color: var(--dark-light);
  color: var(--text-light);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-brand {
    margin-bottom: 0;
    text-align: left;
  }
}

.footer-logo {
  height: 3.125rem;
  width: auto;
}

.footer-website {
  margin-top: 0.5rem;
}

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

@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-container {
  background-color: var(--white);
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 28rem;
  margin: 2rem 1rem;
  position: relative;
  z-index: 110;
}

.form-modal-container {
  max-width: 56rem;
  width: 90%;
  max-height: 90vh;
  overflow: hidden; /* This prevents outer scrollbar */
  padding: 1.5rem;
}

.modal-content {
  text-align: center;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.close-modal {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-body {
  width: 100%;
  height: calc(90vh - 8rem); /* Fixed height instead of max-height */
  overflow: hidden; /* Let the iframe handle scrolling */
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal-description {
  color: var(--text);
  margin-bottom: 1.5rem;
}

body.modal-open {
  overflow: hidden;
}