/* --- Variables --- */
:root {
    --color-primary: #4F46E5; /* Indigo */
    --color-primary-dark: #3730A3;
    --color-secondary: #10B981; /* Emerald/Mint */
    --color-dark: #0F172A; /* Slate 900 */
    --color-gray: #64748B;
    --color-light: #F8FAFC;
    --color-white: #FFFFFF;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-dark);
    background-color: var(--color-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--small {
    padding: 8px 16px;
    font-size: 14px;
}

.header__btn {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.header__btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

/* --- Header --- */
.header {
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    padding: 16px 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__nav {
    display: none; /* Mobile first */
}

@media (min-width: 992px) {
    .header__nav {
        display: block;
    }
}

.header__list {
    display: flex;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    color: var(--color-dark);
    font-size: 15px;
}

.header__link:hover {
    color: var(--color-primary);
}

.header__burger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

@media (min-width: 992px) {
    .header__burger {
        display: none;
    }
}

/* --- Main Placeholder --- */
main {
    flex: 1;
    padding-top: 80px; /* Space for fixed header */
    min-height: 60vh; /* Temporary visual aid */
}

/* --- Footer --- */
.footer {
    background-color: var(--color-dark);
    color: #CBD5E1; /* Light gray for text on dark */
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer__container {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.footer__logo .logo__text {
    color: var(--color-white);
    font-size: 24px;
}

.footer__desc {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer__title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 14px;
}

.footer__link:hover {
    color: var(--color-secondary);
    padding-left: 4px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.footer__note {
    margin-top: 20px;
    font-size: 12px;
    color: var(--color-gray);
    font-style: italic;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--color-gray);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background-color: var(--color-dark);
    overflow: hidden;
    color: var(--color-white);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.2), transparent 50%),
                linear-gradient(to top, var(--color-dark) 10%, transparent 90%);
    z-index: 2;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 3;
}

.hero__content {
    max-width: 650px;
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-secondary);
    backdrop-filter: blur(5px);
}

.hero__badge i {
    width: 16px;
    height: 16px;
}

/* Typography */
.hero__title {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 56px;
    }
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero__description {
    font-size: 16px;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__description strong {
    color: var(--color-white);
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero__description {
        font-size: 18px;
    }
}

/* Buttons */
.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 576px) {
    .hero__actions {
        flex-direction: row;
    }
}

.hero__btn {
    padding: 16px 32px;
    font-size: 16px;
    gap: 8px;
}

.hero__btn--primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.hero__btn--primary:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.6);
}

.hero__btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.hero__btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Trust/Social Proof */
.hero__trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__avatars {
    display: flex;
}

.hero__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-dark);
    margin-left: -12px;
}

.hero__avatar:first-child {
    margin-left: 0;
}

.hero__trust-text {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.4;
}

.hero__trust-text .highlight {
    color: var(--color-secondary);
}

/* --- Common Section Styles --- */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    background: rgba(79, 70, 229, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--color-primary);
}

.section-desc {
    color: var(--color-gray);
    font-size: 16px;
}

/* --- Program Section --- */
.program {
    background-color: var(--color-light);
}

.program__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .program__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .program__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Cards --- */
.card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.1s ease; /* Швидка транзакція для tilt-ефекту */
    height: 100%;
    /* Для 3D ефекту */
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card__icon-box {
    width: 56px;
    height: 56px;
    background-color: #E0E7FF; /* Light Indigo */
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    /* Іконка трохи "висить" у повітрі при нахилі */
    transform: translateZ(20px); 
}

.card__icon-box i {
    width: 28px;
    height: 28px;
}

.card__icon-box--green {
    background-color: #D1FAE5;
    color: #059669;
}

.card__icon-box--purple {
    background-color: #F3E8FF;
    color: #7C3AED;
}

.card__icon-box--orange {
    background-color: #FFEDD5;
    color: #EA580C;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
    transform: translateZ(10px);
}

.card__text {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.6;
    transform: translateZ(5px);
}

/* --- Mentors Section (Dark Theme) --- */
.mentors {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-title--light {
    color: var(--color-white);
}

.section-desc--light {
    color: #94A3B8;
}

.mentors__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .mentors__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Mentor Card --- */
.mentor-card {
    group: relative; /* Для tailwind логіки, тут просто контейнер */
}

.mentor-card__image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1 / 1.1; /* Трохи витягнутий портрет */
    background-color: #1E293B;
}

.mentor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Ефект зуму при наведенні */
.mentor-card:hover .mentor-card__img {
    transform: scale(1.1);
}

.mentor-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8); /* Dark overlay */
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

/* Tech Stack Tags */
.mentor-card__stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s; /* Затримка появи */
}

.mentor-card:hover .mentor-card__stack {
    transform: translateY(0);
}

.mentor-card__stack span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-secondary);
}

/* Button inside card */
.mentor-card__btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s, background-color 0.2s; /* Затримка появи */
}

.mentor-card:hover .mentor-card__btn {
    transform: translateY(0);
}

.mentor-card__btn:hover {
    background: var(--color-primary-dark);
}

.mentor-card__btn i {
    width: 16px;
    height: 16px;
}

/* Card Info Below Image */
.mentor-card__info {
    text-align: center;
}

.mentor-card__name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--color-white);
}

.mentor-card__role {
    font-size: 14px;
    color: var(--color-gray);
}

/* --- Career Section --- */
.career {
    background-color: var(--color-light);
    overflow: hidden; /* Важливо для marquee */
}

.career__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

@media (min-width: 992px) {
    .career__grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* Stats */
.career__stats {
    display: flex;
    gap: 40px;
    margin: 32px 0;
    border-left: 4px solid var(--color-secondary);
    padding-left: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item__value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-dark);
}

.stat-item__label {
    font-size: 14px;
    color: var(--color-gray);
}

/* Actions */
.career__actions {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
}

.career__note {
    font-size: 14px;
    font-weight: 500;
}

.career__btn-test {
    background-color: var(--color-dark);
    color: white;
    justify-content: space-between;
}

.career__btn-test:hover {
    background-color: var(--color-primary);
}

/* Visual Cards (Right Side) */
.career__visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.career__card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
}

.career__icon-wrap {
    background: #EEF2FF;
    color: var(--color-primary);
    padding: 12px;
    border-radius: 10px;
    flex-shrink: 0;
}

.career__card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 18px;
}

.career__card p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.5;
}

/* --- Infinite Marquee --- */
.marquee-wrapper {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.marquee-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray);
    margin-bottom: 24px;
    font-weight: 600;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Градієнтні маски по боках для плавного зникнення */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee__content {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 30s linear infinite; /* Анімація */
}

.partner-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: #CBD5E1; /* Світло-сірий */
    transition: color 0.3s;
    cursor: default;
}

.partner-logo:hover {
    color: var(--color-primary);
}

/* Keyframes for animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Зсув на половину довжини (бо ми продублювали контент) */
    }
}

/* --- Reviews Section --- */
.reviews {
    background-color: var(--color-white);
    position: relative;
}

.reviews__controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 24px;
    padding-right: 20px; /* Вирівнювання по сітці */
}

@media (min-width: 1200px) {
    .reviews__controls {
        padding-right: 0;
    }
}

.reviews__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: white;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.reviews__arrow:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Slider */
.reviews__slider-wrapper {
    overflow: hidden; /* Ховаємо скролбар */
}

.reviews__slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 40px; /* Місце для тіні */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.reviews__slider::-webkit-scrollbar {
    display: none; /* Chrome */
}

/* Card */
.review-card {
    min-width: 300px;
    max-width: 300px;
    background: var(--color-light);
    padding: 32px;
    border-radius: 20px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .review-card {
        min-width: 400px;
        max-width: 400px;
    }
}

.review-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-card__stars {
    display: flex;
    gap: 4px;
}

.review-card__stars i {
    width: 16px;
    height: 16px;
    color: #CBD5E1;
}

.review-card__stars .fill-star {
    fill: #FBBF24; /* Yellow */
    color: #FBBF24;
}

.review-card__date {
    font-size: 12px;
    color: #94A3B8;
}

.review-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.review-card__text strong {
    color: var(--color-primary);
    font-style: normal;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
}

.review-card__role {
    font-size: 13px;
    color: var(--color-gray);
}

.reviews__bottom-action {
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reviews__bottom-action p {
    color: var(--color-gray);
    font-size: 14px;
}

/* --- Contact Section --- */
.contact {
    background: linear-gradient(to bottom, var(--color-white) 0%, #F1F5F9 100%);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .contact__wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 80px;
    }
}

.contact__desc {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #DCFCE7;
    color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon i {
    width: 14px;
    height: 14px;
}

/* --- Form --- */
.contact__form-box {
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94A3B8;
}

.form__input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Captcha */
.captcha-group input {
    padding-left: 16px; /* No icon here */
}

/* Checkbox */
.form__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.form__checkbox {
    margin-top: 4px;
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

.form__checkbox-label {
    font-size: 13px;
    color: var(--color-gray);
    line-height: 1.4;
}

.form__checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form__btn {
    width: 100%;
    justify-content: center;
    gap: 10px;
}

/* Success Message */
.success-message {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.success-message.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.success-icon i {
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--color-dark);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    z-index: 2000;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none; /* Managed by JS */
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .cookie-popup {
        width: 400px;
        left: unset;
        right: 20px;
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
}

.cookie-content p {
    font-size: 13px;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.cookie-btn {
    background: white;
    color: var(--color-dark);
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #F1F5F9;
}

/* --- Pages Styles (Privacy, Terms etc.) --- */
.pages {
    padding: 40px 0 80px;
}

.pages h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.pages h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--color-dark);
}

.pages p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: 16px;
}

.pages ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
    color: var(--color-gray);
}

.pages li {
    margin-bottom: 8px;
}

.pages a {
    color: var(--color-primary);
    text-decoration: underline;
}