/**
 * PrepHub Front Page Styles
 *
 * @package PrepHub
 */

/* ==========================================================================
   Section Base
   ========================================================================== */

.section {
    padding: 5rem 0;
    position: relative;
}

.section__header {
    margin-bottom: 3rem;
}

.section__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bright-focus);
    margin-bottom: 0.75rem;
}

.section__label--light {
    color: rgba(255, 255, 255, 0.8);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section__description {
    font-size: 1.125rem;
    color: rgba(29, 29, 27, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-white .section__description {
    color: rgba(255, 255, 255, 0.8);
}

.section__footer {
    margin-top: 3rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: var(--color-deep-knowledge);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(32, 26, 66, 0.95) 0%,
        rgba(51, 84, 161, 0.85) 50%,
        rgba(132, 105, 171, 0.9) 100%
    );
    z-index: 1;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.hero__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

.hero__particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero__particles span:nth-child(2) { top: 60%; left: 20%; animation-delay: 2s; }
.hero__particles span:nth-child(3) { top: 40%; left: 80%; animation-delay: 4s; }
.hero__particles span:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; }
.hero__particles span:nth-child(5) { top: 30%; left: 50%; animation-delay: 8s; }
.hero__particles span:nth-child(6) { top: 70%; left: 40%; animation-delay: 1s; }
.hero__particles span:nth-child(7) { top: 10%; left: 90%; animation-delay: 3s; }
.hero__particles span:nth-child(8) { top: 90%; left: 30%; animation-delay: 5s; }
.hero__particles span:nth-child(9) { top: 50%; left: 60%; animation-delay: 7s; }
.hero__particles span:nth-child(10) { top: 25%; left: 75%; animation-delay: 9s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    max-width: 600px;
    color: var(--color-pure-clarity);
}

.hero__graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__graphic img {
    max-width: 420px;
    height: auto;
    opacity: 0.85;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.hero__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(132, 105, 171, 0.3);
    border: 1px solid rgba(132, 105, 171, 0.5);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--color-pure-clarity);
    background: linear-gradient(135deg, #fff 0%, #8469AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-pure-clarity);
}

.hero__stat-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero__scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--color-pure-clarity);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.section--about {
    background: var(--color-pure-clarity);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__content {
    padding-right: 2rem;
}

.about__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(29, 29, 27, 0.8);
    margin-bottom: 1.5rem;
}

.about__values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.value-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(51, 84, 161, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-bright-focus);
}

.value-tag__icon {
    color: var(--color-mindflow);
}

.about__visual {
    position: relative;
}

.about__image-wrapper {
    position: relative;
}

.about__image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-neural-spark);
    border-radius: 20px;
    opacity: 0.3;
}

.about__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(32, 26, 66, 0.15);
}

.about__image img {
    width: 100%;
    height: auto;
    display: block;
}

.about__image--placeholder {
    background: linear-gradient(135deg, var(--color-deep-knowledge) 0%, var(--color-mindflow) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 3rem;
}

.about__image--placeholder img {
    width: auto;
    max-width: 200px;
    opacity: 0.3;
}

.about__floating-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--color-pure-clarity);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(32, 26, 66, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.floating-card__icon {
    font-size: 2rem;
}

.floating-card__number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-deep-knowledge);
}

.floating-card__text {
    font-size: 0.875rem;
    color: rgba(29, 29, 27, 0.6);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.section--services {
    padding: 6rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-pure-clarity);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.service-card--featured {
    background: linear-gradient(135deg, var(--color-bright-focus) 0%, var(--color-mindflow) 100%);
    color: var(--color-pure-clarity);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__description {
    color: var(--color-pure-clarity);
}

.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-pure-clarity);
}

.service-card--featured .service-card__features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card--featured .service-card__features li::before {
    color: var(--color-pure-clarity);
}

.service-card--featured .service-card__link {
    color: var(--color-pure-clarity);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-card--featured .service-card__link:hover {
    background: var(--color-pure-clarity);
    color: var(--color-bright-focus);
}

.service-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 84, 161, 0.1);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: var(--color-bright-focus);
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-deep-knowledge);
}

.service-card__description {
    font-size: 0.9375rem;
    color: rgba(29, 29, 27, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-card__features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(29, 29, 27, 0.8);
}

.service-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-bright-focus);
    font-weight: 600;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--color-bright-focus);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-bright-focus);
    transition: all 0.3s ease;
}

.service-card__link:hover {
    background: var(--color-bright-focus);
    color: var(--color-pure-clarity);
}

/* ==========================================================================
   Bootcamp Section
   ========================================================================== */

.section--bootcamp {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.bootcamp-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f0c1d 0%, var(--color-deep-knowledge) 50%, #1a1235 100%);
}

.bootcamp-bg__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(132, 105, 171, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(51, 84, 161, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 107, 107, 0.1) 0%, transparent 40%);
}

.bootcamp-bg__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

.section--bootcamp .container {
    position: relative;
    z-index: 1;
}

.bootcamp-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.section__label--accent {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.bootcamp__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-pure-clarity);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.bootcamp__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.bootcamp__highlights {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.bootcamp-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bootcamp-highlight__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--color-mindflow);
}

.bootcamp-highlight__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-pure-clarity);
    line-height: 1;
}

.bootcamp-highlight__label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.btn--accent {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: var(--color-pure-clarity);
    border: none;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    color: var(--color-pure-clarity);
}

/* Bootcamp Timeline */
.bootcamp-timeline {
    position: relative;
    padding-left: 2rem;
}

.bootcamp-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-mindflow) 0%, var(--color-bright-focus) 100%);
}

.bootcamp-day {
    position: relative;
    padding-bottom: 2rem;
}

.bootcamp-day:last-child {
    padding-bottom: 0;
}

.bootcamp-day__marker {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-deep-knowledge);
    border: 2px solid var(--color-mindflow);
    border-radius: 50%;
    transform: translateX(-50%);
}

.bootcamp-day__number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-pure-clarity);
}

.bootcamp-day__content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.bootcamp-day__content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(132, 105, 171, 0.3);
    transform: translateX(5px);
}

.bootcamp-day__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-pure-clarity);
    margin-bottom: 0.5rem;
}

.bootcamp-day__description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.bootcamp-day__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bootcamp-day__topics li {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(132, 105, 171, 0.2);
    border-radius: 50px;
    color: var(--color-mindflow);
}

/* Next Edition Card */
.bootcamp-next {
    margin-top: 2rem;
    margin-left: 3.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 142, 83, 0.15) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 16px;
    text-align: center;
}

.bootcamp-next__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.bootcamp-next__date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-pure-clarity);
    margin-bottom: 0.75rem;
}

.bootcamp-next__spots {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.bootcamp-next__spots-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-radius: 50%;
    font-weight: 700;
    color: var(--color-pure-clarity);
    margin-right: 0.5rem;
}

/* Bootcamp Features */
.bootcamp-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bootcamp-feature {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.bootcamp-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.bootcamp-feature__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bootcamp-feature__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-pure-clarity);
    margin-bottom: 0.5rem;
}

.bootcamp-feature__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* Bootcamp Responsive */
@media (max-width: 1200px) {
    .bootcamp__highlights {
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .bootcamp-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bootcamp__title {
        font-size: 2.5rem;
    }

    .bootcamp-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .bootcamp-next {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .bootcamp__title {
        font-size: 2rem;
    }

    .bootcamp__highlights {
        flex-direction: column;
        gap: 1rem;
    }

    .bootcamp-features {
        grid-template-columns: 1fr;
    }

    .bootcamp-timeline {
        padding-left: 1.5rem;
    }

    .bootcamp-day__marker {
        width: 32px;
        height: 32px;
        left: -1.5rem;
    }

    .bootcamp-day__content {
        margin-left: 1rem;
        padding: 1rem;
    }
}

/* ==========================================================================
   Why Section
   ========================================================================== */

.section--why {
    background: linear-gradient(180deg, var(--color-pure-clarity) 0%, rgba(132, 105, 171, 0.05) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.why__items {
    margin-top: 2rem;
}

.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-pure-clarity);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(32, 26, 66, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(32, 26, 66, 0.1);
}

.why-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bright-focus) 0%, var(--color-mindflow) 100%);
    border-radius: 12px;
    color: var(--color-pure-clarity);
}

.why-item__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-deep-knowledge);
}

.why-item__text {
    font-size: 0.875rem;
    color: rgba(29, 29, 27, 0.7);
    margin: 0;
}

.testimonial-card {
    background: var(--color-pure-clarity);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(32, 26, 66, 0.1);
    position: relative;
}

.testimonial-card__quote {
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--color-mindflow);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-deep-knowledge);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card__avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-neural-spark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pure-clarity);
    font-weight: 600;
}

.testimonial-card__name {
    display: block;
    font-weight: 600;
    color: var(--color-deep-knowledge);
}

.testimonial-card__role {
    font-size: 0.875rem;
    color: rgba(29, 29, 27, 0.6);
}

.testimonial-card__rating {
    color: #FFD700;
    font-size: 1.25rem;
    letter-spacing: 0.25em;
}

/* ==========================================================================
   Teachers Section
   ========================================================================== */

.section--teachers {
    padding: 6rem 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.teacher-card {
    background: var(--color-pure-clarity);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.teacher-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.teacher-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-card__image img {
    transform: scale(1.1);
}

.teacher-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-neural-spark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-card__placeholder span {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-pure-clarity);
}

.teacher-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(32, 26, 66, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teacher-card:hover .teacher-card__overlay {
    opacity: 1;
}

.teacher-card__link {
    padding: 0.75rem 1.5rem;
    background: var(--color-pure-clarity);
    color: var(--color-deep-knowledge);
    border-radius: 50px;
    font-weight: 500;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-card__link {
    transform: translateY(0);
}

.teacher-card__content {
    padding: 1.5rem;
    text-align: center;
}

.teacher-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-deep-knowledge);
}

.teacher-card__subject {
    font-size: 0.9375rem;
    color: var(--color-bright-focus);
    margin-bottom: 0.5rem;
}

.teacher-card__experience {
    font-size: 0.8125rem;
    color: rgba(29, 29, 27, 0.6);
}

/* ==========================================================================
   Courses Section
   ========================================================================== */

.section--courses {
    background: var(--color-pure-clarity);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: var(--color-pure-clarity);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(32, 26, 66, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(32, 26, 66, 0.12);
}

.course-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-deep-knowledge) 0%, var(--color-bright-focus) 100%);
}

.course-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #FF6B6B;
    color: var(--color-pure-clarity);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-card__content {
    padding: 1.5rem;
}

.course-card__meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.course-card__location,
.course-card__schedule {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: rgba(29, 29, 27, 0.6);
}

.course-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.course-card__title a {
    color: var(--color-deep-knowledge);
}

.course-card__title a:hover {
    color: var(--color-bright-focus);
}

.course-card__teacher {
    font-size: 0.875rem;
    color: rgba(29, 29, 27, 0.6);
    margin-bottom: 1rem;
}

.course-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(29, 29, 27, 0.08);
}

.course-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-deep-knowledge);
}

.course-card__price del {
    font-size: 0.875rem;
    color: rgba(29, 29, 27, 0.4);
    margin-right: 0.5rem;
}

.course-card__price ins {
    text-decoration: none;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.section--cta {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-deep-knowledge);
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(132, 105, 171, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(51, 84, 161, 0.3) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-pure-clarity);
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta__note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Button Variants
   ========================================================================== */

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn--white {
    background: var(--color-pure-clarity);
    color: var(--color-deep-knowledge);
}

.btn--white:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-deep-knowledge);
}

.btn--outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-pure-clarity);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-pure-clarity);
}

/* ==========================================================================
   Animations
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__graphic {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero__graphic img {
        max-width: 260px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__benefits {
        justify-content: center;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__stats {
        gap: 2rem;
    }

    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__content {
        padding-right: 0;
    }

    .about__visual {
        order: -1;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__graphic {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero__stat {
        text-align: center;
    }

    .hero__scroll {
        display: none;
    }

    .section__title {
        font-size: 2rem;
    }

    .services-grid,
    .teachers-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .about__floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .cta__title {
        font-size: 2rem;
    }

    .cta__actions {
        flex-direction: column;
    }

    .cta__actions .btn {
        width: 100%;
    }
}
