/* ─── RESET / SCOPING ─────────────────────────────────────────────────────── */
.d {
    /* All draft styles live under .d to avoid collisions with home.css */
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */
#d-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 88px 88px;
    overflow: hidden;
}

#d-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.d-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        rgba(8, 15, 35, 0.82) 45%,
        rgba(8, 15, 35, 0.30) 100%
    );
    z-index: 0;
}

.d-hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    color: white;
}

.d-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #93bbff;
    margin-bottom: 20px;
    display: block;
}

#d-hero h1 {
    font-size: 66px;
    line-height: 1.05;
    font-weight: 800;
    color: white;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

#d-hero .d-hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 40px;
    max-width: 500px;
}

.d-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.d-btn-primary {
    background: #3c86fa;
    color: white;
    border: none;
    padding: 15px 34px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Spartan', sans-serif;
    letter-spacing: 0.3px;
    transition: background 0.18s, transform 0.18s;
    text-decoration: none;
    display: inline-block;
}

.d-btn-primary:hover {
    background: #2870e0;
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

.d-btn-ghost {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.42);
    padding: 13px 34px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Spartan', sans-serif;
    transition: border-color 0.18s, background 0.18s;
    text-decoration: none;
    display: inline-block;
}

.d-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: white;
}

/* ─── STATS STRIP ─────────────────────────────────────────────────────────── */
.d-stats {
    background: #f0f5ff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 40px;
}

.d-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 52px;
}

.d-stat-n {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f1b2d;
    line-height: 1;
}

.d-stat-l {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8896b0;
    margin-top: 6px;
}

.d-stat-divider {
    width: 1px;
    height: 36px;
    background: #d4ddf0;
}

/* ─── SPLIT SECTION ───────────────────────────────────────────────────────── */
.d-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.d-split-text {
    padding: 80px 64px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.d-split-text .d-eyebrow {
    color: #3c86fa;
    margin-bottom: 16px;
}

.d-split-text h2 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f1b2d;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.d-split-text p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 16px;
    max-width: 480px;
}

.d-split-dark {
    background: #0f1b2d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 60px;
    position: relative;
    overflow: hidden;
}

.d-split-dark::before {
    content: '99';
    position: absolute;
    font-size: 18rem;
    font-weight: 800;
    color: rgba(60, 134, 250, 0.06);
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    pointer-events: none;
}

.d-criteria {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.d-criteria li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.88);
}

.d-criteria li:last-child {
    border-bottom: none;
}

.d-criteria-icon {
    width: 36px;
    height: 36px;
    background: rgba(60, 134, 250, 0.18);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #93bbff;
    font-size: 16px;
}

.d-criteria-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 3px;
}

.d-criteria-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ─── TESTIMONIAL ─────────────────────────────────────────────────────────── */
.d-testimonial {
    background: #3c86fa;
    padding: 88px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.d-testimonial::before {
    content: '\201C';
    position: absolute;
    font-size: 22rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.08);
    top: -60px;
    left: 40px;
    line-height: 1;
    pointer-events: none;
}

.d-testimonial blockquote {
    max-width: 720px;
    margin: 0 auto 32px;
    font-size: 21px;
    line-height: 1.65;
    color: white;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.d-testimonial .d-attrib {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    position: relative;
    z-index: 1;
}

/* ─── HOW IT WORKS ────────────────────────────────────────────────────────── */
.d-how {
    padding: 88px 60px;
    background: white;
}

.d-how h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #0f1b2d;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.d-how .d-section-sub {
    text-align: center;
    color: #8896b0;
    font-size: 15px;
    margin-bottom: 60px;
    display: block;
}

.d-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 880px;
    margin: 0 auto;
}

.d-step {
    flex: 1;
    text-align: center;
    padding: 0 28px;
}

.d-step-num {
    font-size: 5rem;
    font-weight: 800;
    color: #e8f0fe;
    line-height: 1;
    margin-bottom: 16px;
}

.d-step h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f1b2d;
    margin-bottom: 10px;
    background: none;
    padding: 0;
}

.d-step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

.d-step-arrow {
    color: #d1d9e8;
    font-size: 24px;
    padding-top: 50px;
    flex-shrink: 0;
    align-self: flex-start;
}

/* ─── TUTORS ──────────────────────────────────────────────────────────────── */
.d-tutors {
    background: #f7f9fc;
    padding: 88px 60px;
}

.d-tutors h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #0f1b2d;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.d-section-sub {
    text-align: center;
    color: #8896b0;
    font-size: 15px;
    margin-bottom: 48px;
    display: block;
}

.d-tutor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto 40px;
}

.d-tutor-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.d-tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(15, 27, 45, 0.12);
    text-decoration: none;
    color: inherit;
}

.d-tutor-photo {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: top;
    display: block;
    background: #e8f0fe;
}

.d-tutor-body {
    padding: 20px 22px 22px;
}

.d-atar-badge {
    display: inline-block;
    background: #e8f0fe;
    color: #3c86fa;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 9px;
}

.d-tutor-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f1b2d;
    margin-bottom: 3px;
}

.d-tutor-location {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.d-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.d-tag {
    font-size: 11px;
    background: #f0f5ff;
    color: #4f5b93;
    border-radius: 4px;
    padding: 3px 9px;
    font-weight: 600;
}

.d-tutors-cta {
    text-align: center;
}

/* ─── PRICING ─────────────────────────────────────────────────────────────── */
.d-pricing {
    padding: 88px 60px;
    background: white;
}

.d-pricing h2 {
    text-align: center;
    font-size: 38px;
    font-weight: 800;
    color: #0f1b2d;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.d-price-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 40px;
}

.d-price-card {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 34px 24px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    position: relative;
}

.d-price-card.d-featured {
    background: white;
    border-color: #3c86fa;
    box-shadow: 0 8px 32px rgba(60, 134, 250, 0.12);
}

.d-price-best {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #3c86fa;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.d-price-label {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.d-price-amount {
    font-size: 40px;
    font-weight: 800;
    color: #0f1b2d;
    line-height: 1;
}

.d-price-amount .d-price-small {
    font-size: 15px;
    font-weight: 600;
    color: #9ca3af;
}

.d-price-desc {
    font-size: 13px;
    color: #8896b0;
    margin-top: 14px;
    line-height: 1.5;
}

.d-price-includes {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 24px 32px;
    max-width: 680px;
    margin: 0 auto;
}

.d-price-includes h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f1b2d;
    margin-bottom: 14px;
    background: none;
    padding: 0;
}

.d-price-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.d-price-includes li {
    font-size: 14px;
    color: #4a5568;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.d-price-includes li::before {
    content: '✓';
    color: #3c86fa;
    font-weight: 800;
    flex-shrink: 0;
}

/* ─── FINAL CTA ───────────────────────────────────────────────────────────── */
.d-cta-strip {
    background: #0f1b2d;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
}

.d-cta-divider {
    background: rgba(255, 255, 255, 0.08);
}

.d-cta-panel {
    padding: 72px 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.d-cta-panel h3 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.d-cta-panel p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 280px;
}

.d-btn-white {
    background: white;
    color: #0f1b2d;
    border: none;
    padding: 13px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Spartan', sans-serif;
    transition: background 0.18s;
    text-decoration: none;
    display: inline-block;
}

.d-btn-white:hover {
    background: #e8f0fe;
    text-decoration: none;
    color: #0f1b2d;
}

.d-btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.35);
    padding: 11px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Spartan', sans-serif;
    transition: border-color 0.18s;
    text-decoration: none;
    display: inline-block;
}

.d-btn-outline-white:hover {
    border-color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    color: white;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .d-tutor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .d-price-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .d-split {
        grid-template-columns: 1fr;
    }
    .d-split-dark {
        min-height: 320px;
    }
    .d-cta-strip {
        grid-template-columns: 1fr;
    }
    .d-cta-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    #d-hero {
        padding: 0 28px 64px;
        min-height: 88vh;
    }

    #d-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    #d-hero .d-hero-sub {
        font-size: 16px;
    }

    .d-stat {
        padding: 24px 28px;
    }

    .d-stat-divider {
        display: none;
    }

    .d-split-text {
        padding: 52px 28px;
    }

    .d-split-dark {
        padding: 52px 28px;
    }

    .d-how {
        padding: 64px 28px;
    }

    .d-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .d-step-arrow {
        transform: rotate(90deg);
        padding: 4px 0 4px;
    }

    .d-tutors {
        padding: 64px 24px;
    }

    .d-tutor-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .d-pricing {
        padding: 64px 24px;
    }

    .d-price-row {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .d-cta-panel {
        padding: 52px 32px;
    }
}
