body {
    background-color: #f3f4f6;
}

:root { --profile-avatar-size: 180px; }
@media (min-width: 768px) { :root { --profile-avatar-size: 240px; } }
@media (min-width: 1024px) { :root { --profile-avatar-size: 280px; } }

.program-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(15, 28, 63, 0.1);
    box-shadow: 0 18px 45px -25px rgba(15, 28, 63, 0.45);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px -28px rgba(15, 28, 63, 0.5);
}

.program-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f1c3f;
    min-height: 2.8em;
    line-height: 1.4;
}

.program-card p {
    font-size: 0.9rem;
    color: rgba(15, 28, 63, 0.72);
    line-height: 1.6;
    min-height: 4.8em;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.program-card ul li {
    position: relative;
    padding-left: 24px;
    font-size: 0.85rem;
    color: rgba(15, 28, 63, 0.7);
    line-height: 1.5;
}

.program-card ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #e63946;
    position: absolute;
    left: 0;
    top: 0;
}

.program-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(230, 57, 70, 0.9);
    border-radius: 9999px;
    padding: 6px 18px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.faq-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 24px;
    border: 1px solid rgba(15, 28, 63, 0.1);
    box-shadow: 0 16px 40px -30px rgba(15, 28, 63, 0.5);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 20px 48px -28px rgba(15, 28, 63, 0.55);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #0f1c3f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #e63946;
    font-size: 1rem;
}

.faq-item[open] summary::after {
    content: '\f106';
}

.faq-item p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(15, 28, 63, 0.7);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .program-card {
        padding: 24px;
    }

    .program-card h3 {
        font-size: 1.05rem;
    }
}

/* Coach section (icon avatar sizing) */
.coach-portrait-card { width: var(--profile-avatar-size); height: var(--profile-avatar-size); border-radius: 9999px; overflow: hidden; background: #ffffff; box-shadow: 0 18px 45px -25px rgba(15, 28, 63, 0.35); margin-inline: auto; }
@media (min-width: 768px) { .coach-portrait-card { margin-inline: 0; } }
.coach-portrait { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.28); transform-origin: center; }
/* unified avatar size & zoom via --profile-avatar-size */

/* ===== Coach Story polish ===== */
#coach .coach-title {
    position: relative;
    display: inline-block;
    padding-top: 10px;
    letter-spacing: -0.01em;
}
#coach .coach-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 4px;
    background: #e63946;
    border-radius: 9999px;
}

#coach .compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
#coach .compact-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
    color: rgba(15, 28, 63, 0.78);
    line-height: 1.55;
}
#coach .compact-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #e63946;
    border-radius: 9999px;
    opacity: 0.9;
}

@media (max-width: 640px) {
  #coach .coach-title { padding-top: 8px; }
  #coach .coach-title::before { width: 48px; }
}

/* Coach Story polish */
.coach-title {
    position: relative;
    display: inline-block;
    padding-top: 12px;
    letter-spacing: -0.01em;
    color: #0f1c3f;
}
.coach-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background: #e63946;
    border-radius: 9999px;
}
.compact-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
    display: grid;
    gap: 6px;
}
.compact-list li { line-height: 1.5; color: rgba(15, 28, 63, 0.8); }

/* ===== Hero & Concept polish ===== */
/* Glass card in Hero section */
.hero-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6), inset 0 1px 0 0 rgba(255,255,255,0.15);
}

@media (min-width: 768px) {
    .hero-card { padding: 28px; border-radius: 28px; }
}

/* Floating info card in Concept section */
.floating-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}
.floating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px -25px rgba(15, 28, 63, 0.35);
}

/* Make the floating card non-overlapping on smaller screens */
@media (max-width: 1024px) {
    .floating-card {
        position: static !important;
        margin-top: 16px;
    }
}

/* Decorative background glows for Concept section */
#concept::before,
#concept::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.15;
}
#concept::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(ellipse at center, var(--color-accent, #e63946) 0%, rgba(230, 57, 70, 0) 60%);
    bottom: -120px;
    right: -120px;
}
#concept::after {
    width: 360px;
    height: 360px;
    background: radial-gradient(ellipse at center, var(--color-navy, #0f1c3f) 0%, rgba(15, 28, 63, 0) 60%);
    top: -140px;
    left: -140px;
}

.concept-title {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0f1c3f;
    padding-top: 16px;
    letter-spacing: -0.01em;
}

.concept-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 4px;
    background: #e63946;
    border-radius: 9999px;
}

.concept-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 30px;
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(15, 28, 63, 0.1);
    box-shadow: 0 20px 55px -32px rgba(15, 28, 63, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px -28px rgba(15, 28, 63, 0.45);
}

.concept-icon {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: rgba(230, 57, 70, 0.85);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}

.concept-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f1c3f;
    line-height: 1.45;
}

@media (max-width: 1024px) {
    .concept-card {
        padding: 24px 26px;
    }
}

@media (max-width: 640px) {
    .concept-title {
        font-size: clamp(1.85rem, 6.5vw, 2.3rem);
    }
    .concept-card {
        padding: 22px 24px;
        gap: 18px;
    }
    .concept-icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        font-size: 1.4rem;
    }
    .concept-card h3 {
        font-size: 1.05rem;
    }
}

/* Limited badge styling */
.limited-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(230, 57, 70, 0.9);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

