/* ===========================
   CSS Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  background-color: #faf8f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1e293b;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

a {
  color: #d97706;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b45309;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ===========================
   Layout & Container
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
}

/* ===========================
   Header & Navigation
   =========================== */
#header {
  position: sticky;
  top: 0;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

#nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

#nav a {
  color: #475569;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}

#nav a:hover {
  color: #d97706;
}

#nav a.nav-cta {
  background-color: #d97706;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
}

#nav a.nav-cta:hover {
  background-color: #b45309;
  color: white;
}

#mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  padding: 0.5rem;
}

#mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: #1e293b;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  #nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #faf8f5;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
  }
  
  #nav.active {
    display: flex;
  }
  
  #nav a {
    padding: 1rem 1.5rem;
    width: 100%;
  }
  
  #mobile-menu-toggle {
    display: flex;
  }
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 48px;
}

.btn-primary {
  background-color: #d97706;
  color: white;
}

.btn-primary:hover {
  background-color: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

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

.btn-secondary {
  background-color: transparent;
  color: #475569;
  border: 2px solid #cbd5e1;
}

.btn-secondary:hover {
  border-color: #94a3b8;
  color: #1e293b;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ===========================
   Hero Section
   =========================== */
#hero {
  text-align: center;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background-image: url('assets/hero-background-mockups.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.pill {
  display: inline-block;
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

#hero h1 {
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.subheadline {
  font-size: 1.25rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.credibility {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.under-cta {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 3rem;
}

/* Persona Toggle */
.persona-toggle {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 2rem;
  background-color: #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.persona-tab {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: #475569;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.persona-tab.active {
  background-color: white;
  color: #1e293b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.persona-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.persona-bullets {
  text-align: left;
  padding-left: 1.5rem;
  display: none;
}

.persona-bullets.active {
  display: block;
}

.persona-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #475569;
}

.persona-bullets li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: 700;
}

@media (max-width: 768px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .persona-toggle {
    max-width: 100%;
  }
  
  .persona-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

/* ===========================
   Problem Section
   =========================== */
#problem {
  background-color: #f8fafc;
}

#problem h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-body {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #475569;
}

.pain-bullets {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.pain-bullets li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #475569;
  font-size: 1.05rem;
}

.pain-bullets li:before {
  content: "×";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ===========================
   Solution Section
   =========================== */
#solution h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.lead {
  text-align: center;
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.card p {
  color: #64748b;
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Features Section
   =========================== */
#features {
  background-color: #f8fafc;
}

#features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.feature-card p {
  color: #64748b;
}

.footnote {
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
  font-style: italic;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   How It Works Section
   =========================== */
#how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #fef3c7;
  color: #92400e;
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step p {
  color: #475569;
  font-size: 1.05rem;
}

.privacy-reminder {
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  font-style: italic;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Marketplace Section
   =========================== */
#marketplace {
  background-color: #f8fafc;
}

.coming-later-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

#marketplace h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.marketplace-content p {
  margin-bottom: 1.5rem;
  color: #475569;
  font-size: 1.05rem;
  text-align: center;
}

.highlight {
  font-weight: 600;
  color: #1e293b;
}

.interest-prompts {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.interest-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.check-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #fef3c7;
  color: #92400e;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
}

.interest-item p {
  margin: 0;
  text-align: left;
  color: #475569;
}

/* ===========================
   Cohort Section
   =========================== */
#cohort h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

#cohort .section-body {
  margin-bottom: 2rem;
}

.cohort-benefits {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.cohort-benefits li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: #475569;
  font-size: 1.05rem;
}

.cohort-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===========================
   FAQ Section
   =========================== */
#faq {
  background-color: #f8fafc;
}

#faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  color: #1e293b;
  font-size: 1.25rem;
}

.faq-item p {
  color: #475569;
  line-height: 1.7;
}

/* ===========================
   Join / Form Section
   =========================== */
#join {
  background-color: white;
}

#join h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-helper {
  text-align: center;
  color: #64748b;
  margin-bottom: 2.5rem;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #334155;
}

label.required:after {
  content: " *";
  color: #dc2626;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background-color: white;
  min-height: 48px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #d97706;
}

input.error,
select.error,
textarea.error {
  border-color: #dc2626;
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  background-color: white;
  min-height: 48px;
}

.radio-label:hover {
  border-color: #cbd5e1;
}

.radio-label input[type="radio"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.radio-label input[type="radio"]:checked + span {
  font-weight: 600;
  color: #1e293b;
}

.radio-label:has(input[type="radio"]:checked) {
  border-color: #d97706;
  background-color: #fef3c7;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
  min-width: 20px;
  min-height: 20px;
}

.consent-group {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.consent-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
}

.consent-text a {
  text-decoration: underline;
}

.policy-links {
  text-align: center;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
}

.policy-links a {
  text-decoration: underline;
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.error-message.show {
  display: block;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.fallback-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #fef3c7;
  color: #92400e;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #fde68a;
}

.fallback-message a {
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
  }
  
  .radio-label {
    width: 100%;
  }
}

/* ===========================
   Footer
   =========================== */
#footer {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fbbf24;
}

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

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* ===========================
   Utility Classes
   =========================== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Mockup Images */
.mockup-image {
  margin-top: 24px;
  text-align: center;
}

.mockup-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.mockup-caption {
  margin-top: 12px;
  font-size: 14px;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

/* Marketplace mockup specific styling */
.marketplace-mockup {
  margin: 32px auto;
  max-width: 400px;
}

/* Responsive mockup sizing */
@media (max-width: 768px) {
  .mockup-image img {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .marketplace-mockup {
    max-width: 300px;
  }
}

@media (min-width: 769px) {
  .mockup-image img {
    max-width: 320px;
    margin: 0 auto;
  }
}
