/* Personal Tutor Landing Page Styles */

/* ==========================================================================
   Button Overrides for Light Backgrounds
   The global .btn-ghost uses white text which is invisible on parchment.
   These overrides ensure all buttons are visible on this landing page.
   ========================================================================== */

.personal-tutor-landing .btn-ghost {
    color: var(--ink-soft);
    border-color: rgba(143, 120, 80, 0.45);
}

.personal-tutor-landing .btn-ghost:hover {
    color: var(--ink-soft);
    border-color: rgba(143, 120, 80, 0.7);
    background: rgba(255, 231, 10, 0.1);
}

.personal-tutor-landing .btn-accent {
    color: #1a120a;
}

/* Hero Section */
.pt-hero {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
    color: var(--ink-soft);
    background:
        radial-gradient(120% 140% at 12% 12%, rgba(255, 231, 10, 0.28), transparent 45%),
        radial-gradient(120% 140% at 82% 10%, rgba(238, 210, 150, 0.42), transparent 52%),
        linear-gradient(180deg, #f8f3e7 0%, #f2e8d7 100%);
    border-bottom: 1px solid rgba(199, 173, 132, 0.35);
    overflow: hidden;
}

.pt-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(50% 38% at 50% 16%, rgba(255, 255, 255, 0.52), transparent 65%);
    pointer-events: none;
}

.pt-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
}

.pt-hero__copy {
    display: grid;
    gap: 1rem;
}

.pt-hero__copy h1 {
    margin: 0;
    font-size: clamp(2rem, 2.2vw + 1.2rem, 3rem);
    line-height: 1.15;
    color: var(--ink-soft);
}

.pt-hero__lead {
    margin: 0;
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
    line-height: 1.7;
    color: var(--ink-muted);
    max-width: 52ch;
}

.pt-hero__lead strong {
    color: var(--ink-soft);
}

.pt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.pt-hero__visual {
    display: grid;
    place-items: center;
}

.pt-hero__card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 238, 225, 0.98));
    border: 1px solid rgba(199, 173, 132, 0.4);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 24px 60px rgba(57, 39, 20, 0.18);
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
}

.pt-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 231, 10, 0.18);
    border: 1px solid rgba(255, 231, 10, 0.35);
    color: rgba(124, 96, 52, 0.9);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: var(--font-xs);
    font-weight: 700;
    width: fit-content;
}

.pt-hero__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.pt-hero__features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(199, 173, 132, 0.25);
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.pt-hero__feature-icon {
    font-size: 1.1rem;
}

/* Hero trust badges */
.pt-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 0.5rem;
}

.pt-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--ink-muted);
    font-weight: 500;
}

.pt-trust-badge::before {
    content: "";
    display: none;
}

/* Hero copy em styling */
.pt-hero__copy h1 em {
    font-style: normal;
    color: #7c6034;
    position: relative;
}

/* Hero card larger for more content */
.pt-hero__card {
    max-width: 380px;
}

.pt-hero__features li span:last-child {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Section head subtitle */
.section-head__sub {
    margin: 0.5rem 0 0;
    color: var(--ink-muted);
    font-size: 1rem;
    max-width: 56ch;
}

.section-head--soft .section-head__sub {
    color: var(--ink-muted);
}

/* Core Values Section */
.pt-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.pt-value-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 238, 225, 0.96));
    border-radius: 18px;
    padding: clamp(1.3rem, 2.5vw, 1.8rem);
    box-shadow: 0 18px 45px rgba(57, 39, 20, 0.14);
    border: 1px solid rgba(199, 173, 132, 0.32);
    display: grid;
    gap: 0.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pt-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(57, 39, 20, 0.2);
    border-color: rgba(199, 173, 132, 0.5);
}

.pt-value-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 231, 10, 0.22), rgba(238, 210, 150, 0.28));
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.pt-value-card h3 {
    margin: 0;
    font-size: 1.08rem;
    color: var(--ink-soft);
}

.pt-value-card p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* How It Works Section */
.pt-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 0.5rem;
}

.pt-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}

.pt-step__number {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFE156 0%, #C9A227 100%);
    color: #1a120a;
    font-size: 1.3rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35);
}

.pt-step__content {
    display: grid;
    gap: 0.35rem;
}

.pt-step__content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.pt-step__content p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Subjects & Languages Section */
.pt-subjects__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 3rem);
}

.pt-subjects__group h3 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--ink-soft);
}

.pt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pt-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 234, 219, 0.9));
    border: 1px solid rgba(199, 173, 132, 0.4);
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(57, 39, 20, 0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pt-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(57, 39, 20, 0.15);
}

.pt-chip--subject {
    background: linear-gradient(180deg, rgba(255, 245, 200, 0.95), rgba(255, 231, 10, 0.15));
    border-color: rgba(255, 231, 10, 0.4);
}

.pt-chip--language {
    background: linear-gradient(180deg, rgba(230, 255, 240, 0.95), rgba(82, 240, 196, 0.15));
    border-color: rgba(82, 240, 196, 0.35);
}

.pt-chip--small {
    padding: 0.3rem 0.65rem;
    font-size: 0.78rem;
}

/* Trust Section */
.pt-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
}

.pt-trust__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: clamp(1.2rem, 2vw, 1.6rem);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(247, 238, 225, 0.9));
    border: 1px solid rgba(199, 173, 132, 0.28);
    box-shadow: 0 12px 32px rgba(57, 39, 20, 0.1);
}

.pt-trust__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 231, 10, 0.15);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pt-trust__text {
    display: grid;
    gap: 0.25rem;
}

.pt-trust__text strong {
    font-size: 1rem;
    color: var(--ink-soft);
}

.pt-trust__text p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Tutor Preview Section */
.pt-tutors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.pt-tutor-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 238, 225, 0.98));
    border: 1px solid rgba(199, 173, 132, 0.35);
    border-radius: 20px;
    padding: clamp(1.3rem, 2.5vw, 1.8rem);
    box-shadow: 0 18px 45px rgba(57, 39, 20, 0.14);
    display: grid;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pt-tutor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(57, 39, 20, 0.2);
    border-color: rgba(199, 173, 132, 0.5);
}

.pt-tutor-card__photo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(199, 173, 132, 0.15);
    border: 1px solid rgba(199, 173, 132, 0.3);
}

.pt-tutor-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-tutor-card__initial {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink-muted);
    background: rgba(255, 231, 10, 0.12);
}

.pt-tutor-card__info {
    display: grid;
    gap: 0.25rem;
}

.pt-tutor-card__info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.pt-tutor-card__specialty {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

/* Enhanced tutor card layout */
.pt-tutor-card__header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pt-tutor-card__photo--large {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    flex-shrink: 0;
}

.pt-tutor-card__exp {
    display: inline-block;
    font-size: 0.78rem;
    color: #7c6034;
    background: rgba(255, 231, 10, 0.18);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-top: 0.25rem;
}

.pt-tutor-card__bio {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.55;
    font-style: italic;
}

.pt-tutor-card__meta {
    display: grid;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(199, 173, 132, 0.25);
}

.pt-tutor-card__row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pt-tutor-card__label {
    font-size: 0.78rem;
    color: var(--ink-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 0.15rem;
    min-width: 70px;
}

.pt-tutor-card__subjects,
.pt-tutor-card__languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pt-tutor-card__btn {
    margin-top: 0.5rem;
    width: 100%;
}

.pt-tutors__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.pt-tutors__reassurance {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink-muted);
    text-align: center;
}

/* Primary CTA Section */
.pt-cta-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background:
        radial-gradient(140% 120% at 50% 0%, rgba(255, 231, 10, 0.22), transparent 55%),
        linear-gradient(180deg, #e9ddcd 0%, #f4ede2 100%);
}

.pt-cta-card {
    background: linear-gradient(160deg, rgba(18, 22, 32, 0.96), rgba(10, 12, 20, 0.94));
    border: 1px solid rgba(255, 231, 10, 0.25);
    border-radius: 24px;
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pt-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 100% at 50% 0%, rgba(255, 231, 10, 0.18), transparent 50%);
    pointer-events: none;
}

.pt-cta-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.pt-cta-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
    color: #f5f6f8;
}

.pt-cta-card p {
    margin: 0;
    color: #b8bdc7;
    max-width: 48ch;
    font-size: 1.02rem;
}

.pt-cta-card p strong {
    color: #f5f6f8;
}

.pt-cta-card__eyebrow {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
}

.pt-cta-card__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-cta-card__trust span {
    font-size: 0.85rem;
    color: rgba(184, 189, 199, 0.85);
}

/* FAQ Section */
.pt-faq__list {
    display: grid;
    gap: 0.75rem;
}

.pt-faq__item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 225, 0.95));
    border: 1px solid rgba(199, 173, 132, 0.32);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pt-faq__item[open] {
    border-color: rgba(199, 173, 132, 0.5);
    box-shadow: 0 12px 32px rgba(57, 39, 20, 0.12);
}

.pt-faq__question {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink-soft);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pt-faq__question::-webkit-details-marker {
    display: none;
}

.pt-faq__question::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink-muted);
    transition: transform 0.2s ease;
}

.pt-faq__item[open] .pt-faq__question::after {
    transform: rotate(45deg);
}

.pt-faq__answer {
    padding: 0 1.25rem 1.25rem;
}

.pt-faq__answer p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .pt-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pt-hero__copy {
        align-items: center;
    }

    .pt-hero__lead {
        max-width: none;
    }

    .pt-hero__actions {
        justify-content: center;
    }

    .pt-hero__visual {
        order: -1;
    }

    .pt-hero__card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .pt-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pt-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .pt-step {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    .pt-step__number {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin: 0 auto;
    }

    .pt-subjects__content {
        text-align: center;
    }

    .pt-subjects__group h3 {
        text-align: center;
    }

    .pt-chips {
        justify-content: center;
    }

    .pt-trust__item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .pt-tutor-card {
        text-align: center;
    }

    .pt-tutor-card__photo {
        margin: 0 auto;
    }

    .pt-tutor-card__subjects {
        justify-content: center;
    }
}