/* ── Landing page styles ─────────────────────────────────────────── */

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  background: var(--bg-dark1);
  overflow: hidden;
}
:root.light .hero { background: var(--bg-light1); }

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26,122,94,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(77,191,160,0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* AgenceX-inspired grid pattern */
.hero-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(26,122,94,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 2rem;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--color-primary);
  position: relative;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-sec);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-sec);
  margin-bottom: 3rem;
}

.social-proof-avatars {
  display: flex;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-dark1);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
:root.light .avatar { border-color: var(--bg-light1); }

.hero-social-proof strong { color: var(--text); }

/* Hero mockup */
.hero-image-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: -40px;
}

.hero-mockup {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-dark2);
  max-width: 900px;
  margin: 0 auto;
}
:root.light .hero-mockup { background: var(--bg-light2); }

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-dark3);
  border-bottom: 1px solid var(--border-subtle);
}
:root.light .mockup-bar { background: var(--bg-light3); }

.mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-bar span:nth-child(1) { background: #EF4444; }
.mockup-bar span:nth-child(2) { background: #F59E0B; }
.mockup-bar span:nth-child(3) { background: #10B981; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-dark2);
  border-radius: 4px;
  padding: 3px 10px;
  max-width: 240px;
  margin: 0 auto;
}
:root.light .mockup-url { background: var(--bg-light1); }

.mockup-body {
  display: flex;
  min-height: 260px;
}

.mockup-sidebar {
  width: 48px;
  background: var(--bg-dark3);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 8px;
  flex-shrink: 0;
}
:root.light .mockup-sidebar { background: var(--bg-light3); }

.mockup-logo {
  width: 28px; height: 28px;
  background: var(--color-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.mockup-nav-item {
  width: 28px; height: 4px;
  background: var(--border);
  border-radius: 2px;
}
.mockup-nav-item.active { background: var(--color-primary); }

.mockup-main {
  flex: 1;
  padding: 14px 16px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.mockup-title-block { display: flex; flex-direction: column; gap: 5px; }
.mockup-badge {
  font-size: 0.65rem;
  background: var(--color-primary-light);
  color: var(--color-secondary);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mockup-stat-card {
  background: var(--bg-dark3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
:root.light .mockup-stat-card { background: var(--bg-light3); }

.mockup-stat-card.accent {
  background: var(--color-primary-light);
  border-color: rgba(26,122,94,0.2);
}

.mockup-stat-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.mockup-stat-card.accent .mockup-stat-val { color: var(--color-secondary); }

.mockup-line {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  width: 100%;
}
.mockup-line.short { height: 4px; opacity: 0.6; }
.mockup-line.w-12 { width: 48px; }
.mockup-line.w-16 { width: 64px; }
.mockup-line.w-18 { width: 72px; }
.mockup-line.w-20 { width: 80px; }
.mockup-line.w-24 { width: 96px; }
.mockup-line.w-28 { width: 112px; }
.mockup-line.w-32 { width: 128px; }

.mockup-bookings { display: flex; flex-direction: column; gap: 8px; }

.mockup-booking-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark3);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 10px;
}
:root.light .mockup-booking-row { background: var(--bg-light3); }

.mockup-avatar-sm {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.mockup-booking-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.mockup-chip {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
}
.mockup-chip.confirmed { background: rgba(26,122,94,0.15); color: var(--color-secondary); }
.mockup-chip.pending   { background: rgba(245,158,11,0.15); color: #FCD34D; }

/* ── Section common ──────────────────────────────────────────────── */

.section {
  padding: 6rem 0;
  background: var(--bg);
}

.section-header {
  margin-bottom: 3.5rem;
}
.section-header .section-subtitle {
  margin-top: 0.75rem;
}

/* ── Who it's for ────────────────────────────────────────────────── */

.who-section { background: var(--bg2); }

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.who-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
}

.who-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.who-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.who-card p {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ── Features ────────────────────────────────────────────────────── */

.features-section {
  background: var(--bg2);
  position: relative;
  padding: 0;
}

.features-section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.features-grid { display: flex; flex-direction: column; gap: 5rem; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

@media (max-width: 767px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
}

.feature-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-sec);
}

.feature-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%234DBFA0' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.feature-visual {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

/* Phone mockup */
.feature-phone {
  background: var(--bg-dark1);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  max-width: 280px;
  margin: 0 auto;
}
:root.light .feature-phone { background: var(--bg-light2); }

.phone-notch {
  width: 60px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-biz-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.phone-avatar {
  width: 36px; height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.phone-services { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.phone-service-card {
  background: var(--bg-dark3);
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}
.phone-service-card.active { border-color: var(--color-primary); }
:root.light .phone-service-card { background: var(--bg-light3); }

.phone-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 6px;
}

.phone-btn {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Payment mockup */
.payment-mockup {
  background: var(--bg-dark1);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
:root.light .payment-mockup { background: var(--bg-light2); }

.payment-header { margin-bottom: 1rem; }
.payment-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.25rem 0;
}

.payment-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}
.payment-method {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-sec);
  cursor: pointer;
  transition: var(--transition);
}
.payment-method.active { border-color: var(--color-primary); background: var(--color-primary-light); color: var(--color-secondary); }

.payment-cta {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.payment-note { font-size: 0.72rem; color: var(--text-muted); text-align: center; }

/* SMS mockup */
.sms-mockup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sms-bubble {
  background: var(--bg-dark3);
  border: 1px solid var(--border-subtle);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 14px;
  max-width: 90%;
}
:root.light .sms-bubble { background: var(--bg-light3); }

.sms-sender {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.sms-bubble p {
  font-size: 0.8rem;
  color: var(--text-sec);
  line-height: 1.5;
}

.sms-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Steps ───────────────────────────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

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

.step-item {
  text-align: center;
  position: relative;
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 1px;
  background: var(--border);
}
@media (max-width: 767px) { .step-connector { display: none; } }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 1px solid rgba(26,122,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin: 0 auto 1.25rem;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.6;
}

/* ── Pricing ─────────────────────────────────────────────────────── */

.pricing-section {
  background: var(--bg2);
  position: relative;
  padding: 0;
}
.pricing-section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 1.5rem; } }

.pricing-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-featured {
  border-color: var(--color-primary) !important;
  background: rgba(26,122,94,0.05) !important;
  transform: scale(1.03);
}
@media (max-width: 900px) { .pricing-featured { transform: none; } }

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-sec);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 6px;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li.yes  { color: var(--text-sec); }
.pricing-features li.no   { color: var(--text-muted); text-decoration: line-through; }
.pricing-features li.info { color: var(--text-muted); font-style: italic; }

.pricing-features li.yes::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-features li.no::before {
  content: '×';
  color: var(--text-muted);
  flex-shrink: 0;
}
.pricing-features li.info::before {
  content: 'ℹ';
  color: var(--text-muted);
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.pricing-paystack-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.faq-trigger:hover { color: var(--color-primary); }

.faq-chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-chevron.rotated { transform: rotate(180deg); color: var(--color-primary); }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.25s ease, opacity 0.2s ease;
}
.faq-body.open { grid-template-rows: 1fr; opacity: 1; }

.faq-body-inner {
  overflow: hidden;
  padding: 0 1.25rem;
}
.faq-body.open .faq-body-inner { padding-bottom: 1.1rem; }

.faq-body-inner p {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ── CTA section ─────────────────────────────────────────────────── */

.cta-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg2);
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(26,122,94,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
