/* ═══════════════════════════════════════════════
   Book Mentor — Landing Page
   ═══════════════════════════════════════════════ */

/* ── Section helpers ── */
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--primary-light); padding: 4px 12px;
  border-radius: 20px; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 800;
  margin-bottom: 12px; color: var(--text); line-height: 1.2;
}
.section-sub { font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.75; }

/* ── Hero ── */
.hero {
  padding: 64px 0 0;
  background: linear-gradient(170deg, #f0f0ff 0%, #fafbff 60%, var(--bg) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 52px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-light); color: var(--primary-dark);
  padding: 6px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 700; margin-bottom: 22px;
  border: 1px solid var(--info-border);
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 50px); font-weight: 800;
  line-height: 1.2; margin-bottom: 18px;
  letter-spacing: -.4px; color: var(--text);
}
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px); color: var(--muted);
  line-height: 1.8; margin-bottom: 32px; max-width: 480px;
}
.hero-cta  {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 24px;
}
.hero-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted-light);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px;
}

/* ── Mockup ── */
.hero-mockup {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow:
    0 32px 80px rgba(99,102,241,.14),
    0 8px 20px rgba(0,0,0,.06);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-mockup:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0);
}
.mockup-topbar {
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 11px 16px; display: flex; align-items: center; gap: 7px;
}
.mockup-dot     { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mockup-body    { padding: 18px; }
.mockup-profile { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mockup-avatar  {
  width: 38px; height: 38px; background: var(--primary-light);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 17px; flex-shrink: 0;
}
.mockup-name    { font-weight: 700; font-size: 13px; color: var(--text); }
.mockup-url     { font-size: 11px; color: var(--muted-light); margin-top: 2px; }
.mockup-hint    {
  background: var(--primary-light); border-radius: 8px;
  padding: 8px 12px; font-size: 11px; color: var(--primary-dark);
  margin-bottom: 12px; line-height: 1.5;
}
.mockup-slots      { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mockup-slot       {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 8px; text-align: center;
  transition: border-color .18s, box-shadow .18s;
}
.mockup-slot:first-child {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99,102,241,.2);
}
.mockup-slot-time  { font-size: 13px; font-weight: 700; color: var(--text); }
.mockup-slot-dur   { font-size: 10px; color: var(--muted-light); margin-top: 2px; }
.mockup-slot-price {
  font-size: 11px; font-weight: 700; color: var(--primary);
  margin-top: 6px; padding-top: 6px;
  border-top: 1px dashed var(--border);
}

/* ── Steps section ── */
.steps {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; position: relative;
}
/* Connector line — spans from the circle on the right (step 1 in RTL)
   to the circle on the left (step 3 in RTL).
   Each column is ~33% wide; circle is centered so offset ≈ 16.5% from each edge. */
.steps-grid::before {
  content: ''; position: absolute;
  top: 26px;
  right: calc(16.5% + 26px);
  left: calc(16.5% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #7c3aed);
  border-radius: 2px; opacity: .35;
}
.step-card    { text-align: center; padding: 0 12px; }
.step-num     {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(99,102,241,.4);
  position: relative; z-index: 1;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-card p  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── Features section ── */
.features      { padding: 72px 0; background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card {
  padding: 26px 24px; border-radius: var(--r);
  background: var(--surface); border: 1.5px solid var(--border);
  transition: all .22s; cursor: default;
}
.feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--info-border);
}
.feat-icon     { font-size: 28px; margin-bottom: 14px; display: block; }
.feat-card h3  { font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.feat-card p   { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── Stats band ── */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #7c3aed 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='rgba(255,255,255,.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}
.stats-section .section-label {
  color: rgba(255,255,255,.75); background: rgba(255,255,255,.12);
  border: none; margin-bottom: 32px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 580px; margin: 0 auto;
  position: relative; z-index: 1;
}
.stat-item .num { font-size: 40px; font-weight: 800; margin-bottom: 6px; line-height: 1; }
.stat-item .lbl { font-size: 13px; opacity: .75; }

/* ── CTA section ── */
.cta-section {
  padding: 80px 0; text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cta-section h2 {
  font-size: clamp(22px, 4vw, 38px); font-weight: 800;
  margin-bottom: 14px; color: var(--text); line-height: 1.2;
}
.cta-section p  { font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.cta-btns       { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note {
  margin-top: 20px; font-size: 12px; color: var(--muted-light);
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.cta-note span::before { content: '·'; margin-left: 12px; }
.cta-note span:first-child::before { display: none; }

/* ── Contact section ── */
.contact-section {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text);
}
.contact-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 380px;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--text);
  transition: all .18s;
}
a.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text);
}
.contact-card-icon {
  font-size: 26px;
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-label { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.contact-card-val   { font-size: 15px; font-weight: 700; }

/* Form panel */
.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.contact-form-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 40px 20px;
}
.contact-success-icon { font-size: 52px; margin-bottom: 16px; line-height: 1; }
.contact-success h3   { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.contact-success p    { font-size: 14px; color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 32px; }
  .hero-mockup        { transform: none !important; max-width: 400px; margin: 0 auto; }
  .features-grid      { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .contact-inner      { grid-template-columns: 1fr; gap: 36px; }
  .contact-sub        { max-width: 100%; }
}
@media (max-width: 600px) {
  .hero               { padding: 40px 0 0; }
  .steps-grid         { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .features-grid      { grid-template-columns: 1fr 1fr; }
  .stats-grid         { grid-template-columns: 1fr; max-width: 220px; }
  .stat-item .num     { font-size: 32px; }
  .cta-section        { padding: 56px 0; }
  .contact-section    { padding: 56px 0; }
  .contact-form-wrap  { padding: 24px 18px; }
  .contact-form-row   { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .features-grid      { grid-template-columns: 1fr; }
}
