/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh; margin-top: -68px; padding-top: 68px;
    min-height: 620px;
    overflow: hidden;
    display: flex; align-items: center;
}
.hero-video-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-video-bg video {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right,  rgba(7,16,28,.92) 0%, rgba(7,16,28,.78) 38%, rgba(7,16,28,.3) 65%, transparent 100%),
        linear-gradient(to top,    rgba(7,16,28,.55) 0%, transparent 40%);
}

.hero-content {
    position: relative; z-index: 2;
    width: 100%; padding: 0 5%;
    max-width: 1180px; margin: 0 auto;
}
.hero-heading {
    font-size: 76px; font-weight: 900; line-height: 1.04;
    letter-spacing: -3px; color: #ffffff;
    margin-bottom: 32px; max-width: 640px;
}
.hero-heading-gold {
    background: linear-gradient(135deg, #BD1C8E 0%, #d44aa8 45%, #9e1678 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: inline-block;
}

/* Search bar */
.hero-search {
    display: flex; background: #ffffff;
    border-radius: 8px; overflow: hidden;
    max-width: 600px; margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hero-search-input {
    flex: 1; border: none; outline: none;
    padding: 18px 24px; font-size: 16px;
    font-family: inherit; color: var(--text);
}
.hero-search-input::placeholder { color: #94a3b8; }
.hero-search-btn {
    background: var(--navy); color: #ffffff;
    border: none; padding: 18px 28px;
    font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    display: flex; align-items: center; gap: 8px;
    transition: background .2s; white-space: nowrap;
}
.hero-search-btn:hover { background: var(--navy-2); }

/* Category tags */
.hero-cats {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 56px;
}
.hero-cats-label {
    font-size: 13px; color: rgba(255,255,255,.55);
    font-weight: 500; margin-right: 2px;
}
.hero-cat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500;
    transition: all .2s;
}
.hero-cat:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Trusted by */
.hero-trusted {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.hero-trusted-label {
    font-size: 13px; color: rgba(255,255,255,.5); font-weight: 500;
}
.hero-trusted-logos {
    display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hero-trusted-logo {
    font-size: 15px; font-weight: 800; color: rgba(255,255,255,.55);
    letter-spacing: -.3px; transition: color .2s;
}
.hero-trusted-logo:hover { color: rgba(255,255,255,.85); }

/* Pause button */
.hero-pause {
    position: absolute; bottom: 24px; right: 24px; z-index: 3;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.3);
    color: white; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); transition: background .2s; outline: none;
}
.hero-pause:hover { background: rgba(255,255,255,.28); }

@media (max-width: 900px) {
    .hero-heading { font-size: 52px; letter-spacing: -2px; }
    .hero-search { max-width: 100%; }
}
@media (max-width: 600px) {
    .hero-heading { font-size: 38px; letter-spacing: -1.5px; margin-bottom: 24px; }
    .hero-search-input { padding: 15px 18px; font-size: 14px; }
    .hero-search-btn { padding: 15px 20px; font-size: 14px; }
    .hero-cats { gap: 8px; margin-bottom: 40px; }
    .hero-trusted-logos { gap: 18px; }
}

/* ── STATS STRIP ── */
.stats-strip {
    background: var(--gold); padding: 0;
}
.stats-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 5%;
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-block {
    padding: 28px 24px; text-align: center; border-right: 1px solid rgba(13,27,42,.15);
}
.stat-block:last-child { border-right: none; }
.stat-num   { font-size: 34px; font-weight: 900; color: #ffffff; line-height: 1; }
.stat-label { font-size: 13px; color: #ffffff; margin-top: 4px; font-weight: 500; }

/* ── SEARCH ── */
.search-section { background: var(--off-white); padding: 64px 5%; }
.search-section .container { max-width: 780px; }
.search-bar-wrap {
    background: var(--white); border: 2px solid var(--border);
    border-radius: 14px; display: flex; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: border-color .2s;
}
.search-bar-wrap:focus-within { border-color: var(--gold); }
.search-bar-select {
    border: none; outline: none; background: none; padding: 18px 20px;
    font-size: 15px; font-weight: 500; color: var(--text); min-width: 200px;
    border-right: 1px solid var(--border); cursor: pointer;
    font-family: inherit;
}
.search-bar-input {
    border: none; outline: none; flex: 1; padding: 18px 20px;
    font-size: 15px; color: var(--text); font-family: inherit; background: transparent;
}
.search-bar-input::placeholder { color: var(--muted); }
.search-bar-btn {
    background: var(--gold); color: #fff; border: none; padding: 18px 28px;
    font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s;
    font-family: inherit;
}
.search-bar-btn:hover { background: var(--gold-d); }
.search-popular { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-popular-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.search-tag {
    background: var(--white); border: 1.5px solid var(--border); border-radius: 20px;
    padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text);
    cursor: pointer; transition: all .2s;
}
.search-tag:hover { border-color: var(--gold); color: var(--gold-d); background: var(--gold-bg); }

/* ── FEATURED TUTORS ── */
.tutor-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; transition: all .25s; cursor: pointer;
}
.tutor-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-3px); border-color: rgba(189,28,142,.3); }
.tutor-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; color: var(--gold);
    margin-bottom: 14px; flex-shrink: 0;
}
.tutor-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.tutor-name { font-size: 16px; font-weight: 700; color: var(--text); }
.tutor-headline { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.tutor-stats { display: flex; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.tutor-stat { font-size: 13px; color: var(--muted); }
.tutor-stat strong { color: var(--text); font-weight: 600; }
.tutor-rate { font-size: 17px; font-weight: 800; color: var(--navy); }
.tutor-rate span { font-size: 12px; font-weight: 400; color: var(--muted); }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.available-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ── HOW IT WORKS PREVIEW ── */
.how-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.step-list { display: flex; flex-direction: column; gap: 28px; }
.step-item { display: flex; gap: 16px; }
.step-num-box {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
}
.step-num-gold  { background: var(--gold-bg); color: var(--gold-d); border: 1.5px solid #e879c0; }
.step-num-green { background: #ecfdf5; color: #059669; border: 1.5px solid #a7f3d0; }
.step-content-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-content-text  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── FEATURES ── */
.feature-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--white); }
.feature-icon-wrap {
    width: 52px; height: 52px; border-radius: 12px; background: var(--gold-bg);
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    margin-bottom: 16px; border: 1px solid #e879c0;
}
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-text  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── RANKS ── */
.ranks-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rank-card-new {
    border-radius: var(--radius); padding: 20px 14px; text-align: center;
    border: 1px solid var(--border); background: var(--white); transition: all .2s;
}
.rank-card-new:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rank-emoji  { font-size: 30px; margin-bottom: 8px; }
.rank-name   { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.rank-req    { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* ── TESTIMONIALS ── */
.testimonial-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px;
}
.testimonial-quote { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.testimonial-name    { font-size: 14px; font-weight: 700; }
.testimonial-role    { font-size: 12px; color: var(--muted); }
.testimonial-stars   { display: flex; gap: 2px; color: var(--gold); font-size: 14px; }

/* ── ESCROW TRUST ── */
.trust-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    border-radius: var(--radius-lg); padding: 48px;
    display: flex; gap: 48px; align-items: center; flex-wrap: wrap;
}
.trust-icon { font-size: 48px; flex-shrink: 0; }
.trust-content h3 { font-size: 26px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.trust-content p   { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.8; max-width: 560px; }
.trust-points { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.trust-point { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.trust-point-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, var(--gold-d) 0%, var(--gold) 100%);
    padding: 96px 5%; text-align: center;
}
.cta-section h2  { font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.cta-section p   { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; }
.cta-split       { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.cta-card        { background: var(--white); border-radius: var(--radius-lg); padding: 36px 40px; min-width: 260px; flex: 1; max-width: 360px; }
.cta-card h3     { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.cta-card p      { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.7; }

@media (max-width: 900px) {
    .stats-inner { grid-template-columns: repeat(2,1fr); }
    .how-preview-grid { grid-template-columns: 1fr; }
    .ranks-grid { grid-template-columns: repeat(3,1fr); }
    .trust-banner { padding: 32px; }
    .cta-section h2 { font-size: 30px; }
}
@media (max-width: 480px) {
    .ranks-grid { grid-template-columns: repeat(2,1fr); }
    .search-bar-select { display: none; }
    .cta-section h2 { font-size: 24px; }
}
