/* ============================================================
   HOME.CSS — TutorTime homepage styles (index.html only)
   All classes prefixed h- to avoid study.html conflicts
   ============================================================ */

/* ---- SHARED OVERRIDES ---- */
.navbar-links a { font-size: 14px; font-weight: 500; }
.btn-primary {
  background: #6366F1;
  border-radius: 8px;
}
.btn-primary:hover {
  background: #4F46E5;
  box-shadow: 0 6px 20px rgba(108,71,255,0.3);
}

/* ---- HERO ---- */
.h-hero {
  background: #0B0B14;
  padding: 148px 0 104px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.h-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: center;
}

.h-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 28px;
}

.h-hero-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.07;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.h-hero-sub {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
  max-width: 460px;
}

.h-hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.h-cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: #6366F1;
  color: #FFFFFF;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.h-cta-primary:hover {
  background: #4F46E5;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,71,255,0.3);
}

.h-cta-ghost {
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.h-cta-ghost:hover { color: rgba(255,255,255,0.85); }

.h-hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.h-proof-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
}

.h-proof-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.8px;
  line-height: 1;
}

.h-proof-label {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  line-height: 1.4;
  max-width: 100px;
}

.h-proof-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  margin-right: 24px;
  flex-shrink: 0;
}

/* SCORE CARD */
.h-score-card {
  background: #13122A;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 28px;
}

.h-sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.h-sc-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.h-sc-verified {
  font-size: 11px;
  font-weight: 600;
  color: #4ADE80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.18);
  padding: 3px 9px;
  border-radius: 4px;
}

.h-sc-student {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.h-sc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #38B6FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.h-sc-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.h-sc-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}

.h-sc-score-block {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.h-sc-score-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.h-sc-score-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 62px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -2px;
}

.h-sc-delta {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.15);
  color: #4ADE80;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.h-sc-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.h-sc-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 22px;
  align-items: center;
  gap: 10px;
}

.h-sc-blabel { font-size: 11px; color: rgba(255,255,255,0.3); }

.h-sc-btrack {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}

.h-sc-bfill {
  height: 100%;
  background: #6366F1;
  border-radius: 2px;
}

.h-sc-bval {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-align: right;
}

.h-sc-quote {
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,0.25);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  line-height: 1.55;
  margin: 0;
}

/* ---- OUTCOMES ---- */
.h-outcomes {
  border-top: 1px solid #E5E3EE;
  border-bottom: 1px solid #E5E3EE;
}

.h-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.h-outcome-item {
  padding: 40px 32px;
  border-right: 1px solid #E5E3EE;
}
.h-outcome-item:last-child { border-right: none; }

.h-outcome-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -1.2px;
  line-height: 1;
  margin-bottom: 6px;
}

.h-outcome-label {
  font-size: 13px;
  color: #9CA3AF;
  font-weight: 500;
  line-height: 1.4;
}

/* ---- HOW IT WORKS ---- */
.h-process {
  padding: 96px 0;
  background: #F8F7FC;
}

.h-section-label {
  font-size: 11px;
  font-weight: 700;
  color: #6366F1;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
  display: block;
}

.h-section-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 56px;
  max-width: 560px;
}

.h-process-steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
}

.h-step {
  background: #fff;
  border: 1px solid #E5E3EE;
  border-radius: 14px;
  padding: 36px 32px;
}

.h-step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #6366F1;
  opacity: 0.18;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 18px;
}

.h-step-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.3;
}

.h-step-desc {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.68;
  margin: 0;
}

.h-step-sep {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 42px;
  color: #D1D5DB;
}

/* ---- STUDY TOOLS ---- */
.h-tools {
  padding: 96px 0;
  background: #FFFFFF;
}

.h-tools-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 40px;
}

.h-tools-sub {
  font-size: 15px;
  color: #6B7280;
  line-height: 1.68;
  max-width: 400px;
}

.h-tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.h-tool-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  background: #FAFAF9;
  border: 1.5px solid #E5E3EE;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.h-tool-card:hover {
  border-color: #6366F1;
  box-shadow: 0 4px 18px rgba(108,71,255,0.09);
  transform: translateY(-2px);
}

.h-tc-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #F0EDFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
  flex-shrink: 0;
}

.h-tc-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.h-tc-desc {
  font-size: 12px;
  color: #9CA3AF;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.h-tc-link {
  font-size: 12px;
  font-weight: 600;
  color: #6366F1;
  display: block;
}

/* ---- RESULTS ---- */
.h-results {
  padding: 96px 0;
  background: #0B0B14;
}

.h-label-light { color: rgba(255,255,255,0.28); }

.h-heading-light {
  color: #FFFFFF;
  margin-bottom: 56px;
  max-width: 640px;
}

.h-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* ---- iOS iMESSAGE CARDS ---- */
.ios-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  transition: transform 0.25s;
}
.ios-card:hover { transform: translateY(-4px); }

/* Dark-mode card (Mizzou) */
.ios-card-dark {
  background: #1C1C1E;
}

/* Header */
.ios-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 0.5px solid #C6C6C8;
  background: #F2F2F7;
  gap: 8px;
}

.ios-back {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 36px;
}

.ios-back-num {
  font-size: 16px;
  color: #007AFF;
  font-weight: 400;
  line-height: 1;
}

.ios-contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 3px;
}

.ios-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.ios-contact-name {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
}

.ios-hdr-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 36px;
  justify-content: flex-end;
}

/* Messages area */
.ios-msgs {
  padding: 10px 10px 12px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.ios-card-dark .ios-msgs { background: #1C1C1E; }

.ios-timestamp {
  text-align: center;
  font-size: 11px;
  color: #8E8E93;
  margin: 4px 0 8px;
  font-weight: 400;
}
.ios-timestamp-dark { color: #636366; }

.ios-recv {
  background: #E5E5EA;
  color: #000000;
  border-radius: 18px 18px 18px 4px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
  align-self: flex-start;
  max-width: 88%;
  word-break: break-word;
}
.ios-recv-dark {
  background: #3A3A3C;
  color: #FFFFFF;
}

/* Consecutive received (no tail) */
.ios-recv-cont {
  border-radius: 4px 18px 18px 4px;
  margin-top: 2px;
}

.ios-sent {
  background: #007AFF;
  color: #FFFFFF;
  border-radius: 18px 18px 4px 18px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
  align-self: flex-end;
  max-width: 80%;
  word-break: break-word;
}

.ios-delivered {
  text-align: right;
  font-size: 10px;
  color: #8E8E93;
  padding-right: 2px;
  margin-top: 1px;
}

/* Mini score report bubble */
.ios-score-bubble {
  background: #E5E5EA;
  padding: 0;
  border-radius: 12px 12px 12px 4px;
  overflow: hidden;
}
.ios-score-bubble .ios-score-report {
  width: 100%;
}

.ios-score-report {
  background: #FFFFFF;
  border: 0.5px solid #C6C6C8;
  border-radius: 8px;
  overflow: hidden;
  font-size: 11px;
}

.ios-sr-title {
  background: #F2F2F7;
  color: #8E8E93;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 10px;
  border-bottom: 0.5px solid #C6C6C8;
  letter-spacing: 0.2px;
}

.ios-sr-composite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 0.5px solid #E5E5EA;
  font-weight: 600;
  font-size: 11px;
  color: #000;
}

.ios-sr-num {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.ios-sr-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px;
  font-size: 10px;
  color: #3C3C43;
  border-bottom: 0.5px solid #F2F2F7;
}
.ios-sr-row:last-child { border-bottom: none; }

/* Score tag below each card */
.ios-score-tag {
  background: #F2F2F7;
  border-top: 0.5px solid #E5E5EA;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #6366F1;
  text-align: center;
  letter-spacing: 0.3px;
}
.ios-card-dark .ios-score-tag {
  background: #2C2C2E;
  border-top-color: #3A3A3C;
  color: #A78BFA;
}

/* ---- PRICING ---- */
.h-pricing {
  padding: 96px 0;
  background: #FFFFFF;
}

.h-pricing-sub {
  font-size: 16px;
  color: #6B7280;
  margin-top: -36px;
  margin-bottom: 48px;
  max-width: 500px;
}

.h-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.h-price-card {
  border-radius: 16px;
  padding: 44px;
  border: 1.5px solid #E5E3EE;
}

.h-price-dark {
  background: #0B0B14;
  border: 1.5px solid rgba(108,71,255,0.2);
}

.h-price-label {
  font-size: 10px;
  font-weight: 700;
  color: #6366F1;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
  display: block;
}
.h-price-label-light { color: #A78BFA; }

.h-price-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.25;
}
.h-price-name-light { color: #FFFFFF; }

.h-price-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 54px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -2px;
  line-height: 1;
}
.h-price-amount sup {
  font-size: 22px;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0;
}
.h-price-per {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #9CA3AF;
  letter-spacing: 0;
}

.h-price-divider {
  height: 1px;
  background: #F3F4F6;
  margin: 26px 0;
}
.h-price-divider-dark { background: rgba(255,255,255,0.06); }

.h-price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.h-price-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: #4B5563;
  line-height: 1.5;
}

.h-price-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F0EDFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
  flex-shrink: 0;
  margin-top: 1px;
}

.h-ref-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.h-ref-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.h-ref-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(108,71,255,0.18);
  color: #A78BFA;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.h-ref-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3px;
}

.h-ref-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  line-height: 1.55;
}

.h-price-cta-outline {
  display: block;
  text-align: center;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.14);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.h-price-cta-outline:hover {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}

/* ---- BOOKING FORM ---- */
.h-form {
  padding: 96px 0;
  background: #F8F7FC;
}

.h-form-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.h-form-sub {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.68;
  margin-top: 0;
  margin-bottom: 24px;
}

.h-form-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9CA3AF;
  font-weight: 500;
  margin-top: 20px;
}
.h-form-trust svg { color: #6366F1; flex-shrink: 0; }

.h-form-card {
  background: white;
  border-radius: 18px;
  padding: 44px;
  border: 1.5px solid #E5E3EE;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

/* Override shared form styles for cleaner look */
.h-form-card .form-input,
.h-form-card .form-select,
.h-form-card .form-textarea {
  border-color: #E5E3EE;
  border-radius: 8px;
  font-size: 14px;
}
.h-form-card .form-input:focus,
.h-form-card .form-select:focus,
.h-form-card .form-textarea:focus {
  border-color: #6366F1;
}
.h-form-card .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.2px;
}
.h-form-card .form-submit {
  background: #6366F1;
  border-radius: 8px;
  font-size: 15px;
}
.h-form-card .form-submit:hover {
  background: #4F46E5;
}

/* Footer styles moved to minimal */

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .h-tools-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .h-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .h-score-card { display: none; }
  .h-process-steps { grid-template-columns: 1fr; gap: 0; }
  .h-step-sep { display: none; }
  .h-step { margin-bottom: 16px; }
  .h-tools-top { grid-template-columns: 1fr; gap: 20px; }
  .h-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .h-results-grid { grid-template-columns: 1fr 1fr; }
  .ios-card { font-size: 13px; }
  .h-pricing-grid { grid-template-columns: 1fr; }
  .h-outcomes-grid { grid-template-columns: 1fr 1fr; }
  .h-outcome-item:nth-child(2) { border-right: none; }
  .h-outcome-item:nth-child(3) { border-top: 1px solid #E5E3EE; }
  .h-outcome-item:nth-child(4) { border-top: 1px solid #E5E3EE; border-right: none; }
  .h-form-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .h-hero { padding: 110px 0 64px; min-height: auto; }
  .h-hero-heading { font-size: 34px; }
  .h-hero-proof { flex-wrap: wrap; gap: 16px; }
  .h-proof-divider { display: none; }
  .h-proof-item { padding-right: 0; }
  .h-outcomes-grid { grid-template-columns: 1fr 1fr; }
  .h-tools-grid { grid-template-columns: 1fr; }
  .h-results-grid { grid-template-columns: 1fr; }
  .h-form-card { padding: 28px 20px; }
  .h-price-card { padding: 32px 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---- FOOTER MINIMAL ---- */
.footer-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-minimal .footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-minimal .footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-minimal .footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-minimal .footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}
@media (max-width: 640px) {
  .footer-minimal { flex-direction: column; align-items: flex-start; }
}
