/**
 * Schema-Therapy theme overrides.
 *
 * Default tokens (from _tokens.css) already match the Schema Therapy palette
 * (orange-pink #FF9966 gradient), so no :root override is needed here.
 *
 * What lives in this file: overrides for reused blocks (app-hero-block)
 * and site header/footer that get re-skinned inside .schema-therapy container.
 * For a sibling landing (e.g. CBT) these overrides would be copied and retuned,
 * or factored out further once a second landing lands.
 */

/* ===================== APP HERO BLOCK ===================== */

.schema-therapy .app-hero-section {
    background: linear-gradient(135deg, #E8804D 0%, #FF9966 100%);
    color: white;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.schema-therapy .app-hero-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.schema-therapy .app-phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    position: relative;
}

.schema-therapy .app-phone-screen {
    width: 100%;
    height: 100%;
    background-color: #FF9966;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    color: #333;
}

.schema-therapy .app-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.schema-therapy .app-screen-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px;
    gap: 10px;
}

.schema-therapy .app-screen-top { width: 100%; flex-shrink: 0; }
.schema-therapy .app-screen-top-image { width: 100%; height: auto; display: block; }
.schema-therapy .app-screen-center { width: 100%; flex: 1; display: flex; align-items: center; justify-content: center; }
.schema-therapy .app-screen-center-image { width: calc(100% - 12px); aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }

.schema-therapy .app-content-block { color: white; }
.schema-therapy .app-content-title { font-size: 48px; margin: 0 0 20px; line-height: 1.1; font-weight: 700; }
.schema-therapy .app-content-text { font-size: 18px; opacity: 0.9; margin-bottom: 40px; max-width: 450px; line-height: 1.5; }

.schema-therapy .app-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.schema-therapy .app-stat-card {
    background: white;
    color: #333;
    padding: 25px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    transition: all 0.3s ease;
}

.schema-therapy .app-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.schema-therapy .app-stat-number { font-size: 36px; font-weight: 800; margin-bottom: 5px; color: var(--st-primary); }
.schema-therapy .app-stat-label { font-size: 14px; color: #666; line-height: 1.3; }

.schema-therapy .app-cta-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, var(--st-amber), var(--st-amber-light));
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.2s;
    box-shadow: 0 10px 20px rgba(255, 153, 102, 0.3);
}

.schema-therapy .app-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 153, 102, 0.4);
}

.schema-therapy .app-arrow { margin-left: 10px; font-size: 24px; font-weight: bold; }

.schema-therapy .app-cta-hint {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

@media (max-width: 768px) {
    .schema-therapy .app-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .schema-therapy .app-content-block { display: flex; flex-direction: column; align-items: center; }
    .schema-therapy .app-content-title { font-size: 36px; }
    .schema-therapy .app-content-text { text-align: center; }
}

/* ===================== HEADER / FOOTER OVERRIDES ===================== */

.schema-therapy .header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.schema-therapy .header__brand-text {
    color: var(--st-text);
}

.schema-therapy .header__button {
    background: var(--st-primary);
    color: white;
    border: none;
}

.schema-therapy .header__button:hover {
    background: var(--st-primary-dark);
}

.schema-therapy .menu__link {
    color: var(--st-text);
}

.schema-therapy .menu__link:hover {
    color: var(--st-primary);
}

.schema-therapy .footer {
    background: linear-gradient(135deg, #FAF6F1 0%, #FFE5D9 50%, #FFFFFF 100%);
    border-top: 1px solid var(--st-border);
}

.schema-therapy .footer__brand-text {
    color: var(--st-text);
}

.schema-therapy .footer__button {
    background: var(--st-primary);
    color: white;
    border: none;
}

.schema-therapy .footer__button:hover {
    background: var(--st-primary-dark);
}

.schema-therapy .footer__faq a {
    color: var(--st-text-md);
}

.schema-therapy .footer__faq a:hover {
    color: var(--st-primary);
}

.schema-therapy .footer__cred {
    color: var(--st-text-lt);
}

.schema-therapy .footer__cred a {
    color: var(--st-text-md);
}

.schema-therapy .footer__cred a:hover {
    color: var(--st-primary);
}
