/* CO_ V3 LAUNCH - PAGE COMPONENTS - REFACTORED WITH TIGHT SPACING */

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) 0;
  margin-top: var(--nav-height);
}

.hero-content {
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: var(--text-5xl);
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  color: var(--co-gray-dark);
  max-width: none;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.hero-note {
  font-size: var(--text-sm);
  color: var(--co-gray-dark);
  max-width: none;
}

/* ========================================
   LEAD TEXT
   ======================================== */
.lead {
  font-size: var(--text-xl);
  color: var(--co-gray-dark);
  max-width: none;
}

.lead-white {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.9);
  max-width: none;
}

/* ========================================
   PROBLEM/SOLUTION CARDS - RED BORDERS + HOVER
   ======================================== */
.problem-card,
.solution-card {
  border: 2px solid var(--co-red);
  padding: var(--space-8);
  transition: 0.2s;
}

.problem-card {
  background: var(--co-gray-light);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
}

.solution-card {
  background: var(--co-white);
  border-color: var(--co-red);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
}

.problem-list,
.solution-list {
  list-style: none;
  margin-left: 0;
}

.problem-list li,
.solution-list li {
  padding-left: var(--space-4);
  margin-bottom: var(--space-3);
}

/* ========================================
   METHOD DIAGRAM - SIMPLE CLEAN CARDS
   ======================================== */
.method-diagram {
  display: flex;
  gap: var(--space-6);
  align-items: stretch;
  justify-content: center;
  margin: var(--space-8) 0;
  flex-wrap: nowrap;
}

.method-box-simple {
  background: var(--co-white);
  color: var(--co-black);
  padding: var(--space-6);
  border: 2px solid var(--co-white);
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  max-width: 450px;
  transition: 0.2s;
}

.method-box-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.method-box-simple .method-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--co-red);
  color: var(--co-white);
  text-align: center;
  line-height: 40px;
  font-size: var(--text-xl);
  font-weight: 900;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.method-box-simple h3 {
  font-size: var(--text-3xl);
  color: var(--co-black);
  margin-bottom: var(--space-2);
}

.method-box-simple h5 {
  color: var(--co-red);
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.method-box-simple p {
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  color: var(--co-black);
}

.method-box-simple ul {
  margin-left: 0;
  padding-left: var(--space-6);
  list-style-position: outside;
  list-style-type: disc;
}

.method-box-simple li {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-2);
  color: var(--co-black);
}

.method-arrow {
  font-size: var(--text-4xl);
  color: var(--co-red);
  font-weight: 900;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--co-red);
  color: var(--co-white);
  text-align: center;
  line-height: 40px;
  font-size: var(--text-xl);
  font-weight: 900;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

/* OLD METHOD BOX - KEPT FOR COMPATIBILITY */
.method-box {
  background: var(--co-white);
  color: var(--co-black);
  padding: var(--space-8);
  border: 2px solid var(--co-white);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  flex: 1 1 0;
  max-width: 450px;
  transition: 0.2s;
}

.method-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ========================================
   PRICING - RED BORDERS + EQUAL HEIGHT
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  align-items: stretch;
}

.pricing-card {
  border: 2px solid var(--co-red);
  background: var(--co-white);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: 0.2s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: var(--co-red);
  border-width: 4px;
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
  background: var(--co-black);
  color: var(--co-white);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.pricing-card.featured .pricing-badge {
  background: var(--co-red);
}

.pricing-header {
  padding: var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--co-gray-mid);
  flex-shrink: 0;
}

.pricing-amount {
  font-size: var(--text-5xl);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-strike {
  font-size: var(--text-base);
  color: var(--co-gray-dark);
  text-decoration: line-through;
  margin-bottom: var(--space-2);
}

.pricing-duration {
  font-size: var(--text-base);
  color: var(--co-gray-dark);
}

.pricing-body {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pricing-desc {
  margin-bottom: var(--space-6);
  max-width: none;
  flex-shrink: 0;
}

.pricing-features {
  list-style: none;
  margin-left: 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--co-gray-mid);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--co-gray-mid);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pricing-note {
  font-size: var(--text-sm);
  color: var(--co-gray-dark);
  text-align: center;
  margin: 0;
}

/* ========================================
   GUARANTEE BOX - RED BORDER
   ======================================== */
.guarantee-box {
  background: #FFF9E6;
  border: 3px solid var(--co-red);
  padding: var(--space-8);
  text-align: center;
  transition: 0.2s;
}

.guarantee-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
}

.guarantee-box h4 {
  margin-bottom: var(--space-4);
}

.guarantee-box p {
  max-width: none;
  margin-bottom: 0;
}

/* ========================================
   LEAD CAPTURE
   ======================================== */
.lead-capture-box {
  background: var(--co-white);
  border: 3px solid var(--co-red);
  padding: var(--space-12);
  transition: 0.2s;
}

.lead-capture-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
}

.form-container {
  background: var(--co-gray-light);
  padding: var(--space-8);
  border: 2px solid var(--co-black);
}

.lead-form h4 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.benefit-list {
  list-style: none;
  margin-left: 0;
}

.benefit-list li {
  margin-bottom: var(--space-3);
}

/* ========================================
   FOUNDER SECTION
   ======================================== */
.founder-section {
  max-width: 1000px;
  margin: 0 auto;
}

/* Founder box styling */
.founder-box {
  background: var(--co-white);
  border: 2px solid var(--co-black);
  padding: var(--space-8);
  transition: 0.2s;
}

.founder-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Founder image styling */
.founder-image {
  width: 100%;
  height: auto;
  border: 3px solid var(--co-black);
  margin-bottom: var(--space-6);
}

/* Founder text hover - every word can hover to red */
.founder-text {
  transition: 0.2s;
}

.founder-text:hover {
  color: var(--co-red);
  cursor: default;
}

.founder-principles {
  background: var(--co-gray-light);
  padding: var(--space-8);
  border: 2px solid var(--co-red);
  transition: 0.2s;
}

.founder-principles:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
}

.principle {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--co-gray-mid);
  transition: 0.2s;
  cursor: default;
}

.principle:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Principle hover effect: red(heading).black(text) on white background */
.principle:hover {
  background: var(--co-white);
  padding: var(--space-4);
  border-radius: 4px;
}

.principle:hover h5 {
  color: var(--co-red);
}

.principle:hover p {
  color: var(--co-black);
}

/* Handle Co_ branding in principle text on hover */
.principle:hover .principle-co {
  color: var(--co-black);
}

.principle:hover .principle-underscore {
  color: var(--co-red);
}

.principle h5 {
  color: var(--co-black);
  margin-bottom: var(--space-2);
  transition: 0.2s;
}

.principle p {
  margin-bottom: 0;
  transition: 0.2s;
  color: var(--co-red);
}

/* Default Co_ styling in principles */
.principle-co {
  color: var(--co-red);
  transition: 0.2s;
}

.principle-underscore {
  color: var(--co-red);
  transition: 0.2s;
}

/* ========================================
   COFFEE BOOKING
   ======================================== */
.coffee-booking {
  max-width: 800px;
  margin: 0 auto;
}

.inline-form {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.form-input-inline {
  flex: 1;
  min-width: 200px;
}

/* ========================================
   CTA CARDS - RED BORDERS + EQUAL HEIGHT
   ======================================== */
.cta-card {
  background: var(--co-white);
  border: 2px solid var(--co-red);
  padding: var(--space-6);
  text-align: center;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.15);
}

.cta-card.featured-cta {
  border-color: var(--co-red);
  border-width: 3px;
}

.cta-card h3 {
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.cta-card p {
  margin-bottom: var(--space-6);
  max-width: none;
  flex-grow: 1;
}

.cta-card .solution-list {
  flex-grow: 1;
  margin-bottom: var(--space-6);
}

.cta-card .btn {
  margin-top: auto;
  flex-shrink: 0;
}

.cta-card .mt-4,
.cta-card .mt-6 {
  margin-top: auto;
}

/* VERTICAL CTA CARD - For side-by-side with pricing cards */
.cta-card-vertical {
  text-align: left;
  justify-content: flex-start;
  padding: var(--space-8);
}

.cta-card-vertical h3 {
  font-size: var(--text-3xl);
  text-align: left;
  margin-bottom: var(--space-6);
}

.cta-card-vertical .lead {
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  text-align: left;
}

.cta-card-vertical p {
  text-align: left;
  margin-bottom: var(--space-4);
}

.cta-card-vertical .mt-4:last-child {
  margin-bottom: 0;
  font-size: var(--text-sm);
  color: var(--co-gray-dark);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-8) 0;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-base);
  }
  
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .badge {
    font-size: 0.65rem;
    padding: var(--space-2) var(--space-3);
  }

  /* CRITICAL: Force grids to single column on mobile */
  .grid {
    grid-template-columns: 1fr !important;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
  }
  
  /* Method diagram mobile fixes */
  .method-diagram {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--space-4) !important;
    margin: var(--space-6) 0 !important;
  }
  
  .method-box,
  .method-box-simple {
    max-width: 100% !important;
    width: 100% !important;
    flex: none !important;
    padding: var(--space-6) !important;
  }

  .method-box h3,
  .method-box-simple h3 {
    font-size: var(--text-2xl);
  }

  .method-box h5,
  .method-box-simple h5 {
    font-size: var(--text-base);
  }

  .method-box p,
  .method-box-simple p {
    font-size: var(--text-sm);
  }
  
  .method-arrow {
    transform: rotate(90deg);
    padding: var(--space-4) 0;
    font-size: var(--text-3xl);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: scale(1) translateY(-4px);
  }
  
  .inline-form {
    flex-direction: column;
  }
  
  .form-input-inline {
    min-width: 100%;
  }

  /* Mobile fixes for combined pricing + CTA sections */
  .cta-card-vertical {
    padding: var(--space-6);
    text-align: center;
  }

  .cta-card-vertical h3 {
    font-size: var(--text-2xl);
    text-align: center;
  }

  .cta-card-vertical .lead {
    font-size: var(--text-base);
    text-align: center;
  }

  .cta-card-vertical p {
    text-align: center;
  }

  .cta-card-vertical .btn-large {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-6);
    width: 100%;
  }

  .cta-card-vertical .btn {
    width: 100%;
  }

  /* Ensure pricing cards don't have issues on mobile */
  .pricing-amount {
    font-size: var(--text-4xl);
  }

  .pricing-header,
  .pricing-body,
  .pricing-footer {
    padding: var(--space-6);
  }

  .pricing-badge {
    font-size: 0.65rem;
  }

  /* Mobile typography adjustments */
  .lead {
    font-size: var(--text-base);
  }

  .lead-white {
    font-size: var(--text-base);
  }

  /* Ensure all cards stack properly */
  .pricing-card {
    margin-bottom: var(--space-6);
  }

  .pricing-card:last-child {
    margin-bottom: 0;
  }

  .cta-card {
    margin-bottom: 0;
  }

  /* Founder section mobile */
  .founder-box,
  .founder-principles {
    padding: var(--space-6);
  }
}