/* ════════════════════════════════════════════════
   SHARDS OF ETERNITY — Design System & Styles
   ════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ──────────────────── */
:root {
    /* Colors */
    --bg-dark: #06080f;
    --bg-deep: #0a0e1a;
    --bg-panel: #0d1224;
    --bg-card: rgba(13, 18, 36, 0.75);
    --bg-glass: rgba(13, 22, 45, 0.55);

    --teal: #00d4ff;
    --teal-dark: #0097b2;
    --teal-glow: rgba(0, 212, 255, 0.35);
    --cyan: #2dd4bf;

    --gold: #d4a843;
    --gold-light: #fbbf24;
    --gold-dark: #a67c2e;
    --gold-glow: rgba(212, 168, 67, 0.3);

    --text-primary: #e8e6e3;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --border-faint: rgba(0, 212, 255, 0.12);
    --border-glow: rgba(0, 212, 255, 0.3);

    /* Typography */
    --font-heading: 'Cinzel Decorative', 'Cinzel', serif;
    --font-subhead: 'Cinzel', serif;
    --font-body: 'Raleway', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1280px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--teal-dark) var(--bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold-light);
}

::selection {
    background: var(--teal-dark);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--teal-dark);
    border-radius: 4px;
}

.container {
    width: 92%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ─── Section Dividers ───────────────────────── */
.section__divider {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--gold), var(--teal), transparent);
    opacity: 0.5;
    z-index: 2;
}

/* ─── Section Header ─────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header__label {
    display: inline-block;
    font-family: var(--font-subhead);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-header__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold-light) 50%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header__ornament {
    width: 80px;
    height: 3px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
    border-radius: 2px;
    position: relative;
}

.section-header__ornament::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 10px;
    background: var(--bg-deep);
    padding: 0 8px;
}

.section-header__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ─── Scroll Animations ──────────────────────── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    background: rgba(6, 8, 15, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 8px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5), 0 1px 0 var(--border-faint);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 92%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.nav__logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.nav__logo-img:hover {
    transform: scale(1.05);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    font-family: var(--font-subhead);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link.active {
    color: var(--teal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
    left: 20%;
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 0 20px var(--teal-glow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--teal-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #fff !important;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.nav__toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: scale(1.1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(6, 8, 15, 0.7) 70%),
        linear-gradient(180deg, transparent 0%, rgba(6, 8, 15, 0.4) 60%, var(--bg-dark) 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.hero__logo {
    width: min(350px, 60vw);
    margin: 0 auto 24px;
    filter: drop-shadow(0 0 40px var(--teal-glow)) drop-shadow(0 0 80px rgba(0, 212, 255, 0.15));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.hero__tagline {
    font-family: var(--font-subhead);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 36px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero__badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__badge {
    font-family: var(--font-subhead);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 6px 16px;
    border: 1px solid var(--border-faint);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease 2s both;
}

.hero__scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-right: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) translate(6px, 6px);
        opacity: 0.4;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ─── Buttons ────────────────────────────────── */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-subhead);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.btn--primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #0a0e1a;
    font-weight: 700;
}

.btn--primary:hover {
    color: #0a0e1a;
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--gold-glow), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn--glow {
    box-shadow: 0 0 20px var(--gold-glow);
    animation: btnPulse 3s ease-in-out infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--gold-glow);
    }

    50% {
        box-shadow: 0 0 40px var(--gold-glow), 0 0 60px rgba(212, 168, 67, 0.15);
    }
}

.btn__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover .btn__shine {
    left: 120%;
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(4px);
}

.btn--secondary:hover {
    background: rgba(0, 212, 255, 0.08);
    color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--teal-glow);
}

/* ════════════════════════════════════════════════
   ABOUT SECTION
   ════════════════════════════════════════════════ */
.about {
    position: relative;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 50%, var(--bg-dark) 100%);
}

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

.about__image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about__image {
    width: 100%;
    border-radius: 12px;
    transition: transform 0.6s var(--ease-out);
}

.about__image-wrap:hover .about__image {
    transform: scale(1.04);
}

.about__image-frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    pointer-events: none;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.about__text {
    padding-right: 20px;
}

.about__lead {
    font-family: var(--font-subhead);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__text p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.about__stat {
    text-align: center;
    padding: 16px 8px;
    border: 1px solid var(--border-faint);
    border-radius: 8px;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
}

.about__stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--teal);
    display: inline;
}

.about__stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--teal);
}

.about__stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Feature cards */
.about__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    position: relative;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--teal-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card__title {
    font-family: var(--font-subhead);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.feature-card__text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════
   CLASSES SECTION
   ════════════════════════════════════════════════ */
.classes {
    position: relative;
    padding: var(--section-pad) 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(212, 168, 67, 0.04) 0%, transparent 60%),
        var(--bg-deep);
}

.classes__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.class-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
    cursor: pointer;
}

.class-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--teal);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--teal-glow);
}

.class-card__image-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.class-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.class-card__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6, 8, 15, 0.95) 100%);
    pointer-events: none;
}

.class-card__info {
    padding: 20px 20px 28px;
}

.class-card__name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.class-card__role {
    font-size: 0.78rem;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.class-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Stat bars */
.stat-bar {
    margin-bottom: 8px;
}

.stat-bar__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 3px;
    display: block;
}

.stat-bar__track {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar__fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal-dark), var(--teal));
    transition: width 1.2s var(--ease-out);
}

.class-card.visible .stat-bar__fill,
.class-card:hover .stat-bar__fill {
    width: var(--fill);
}

/* ════════════════════════════════════════════════
   FEATURES SECTION
   ════════════════════════════════════════════════ */
.features {
    position: relative;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 50%, var(--bg-dark) 100%);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.features__item {
    position: relative;
    padding: 40px 28px;
    text-align: center;
    border: 1px solid var(--border-faint);
    border-radius: 12px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
}

.features__item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.features__item:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px var(--teal-glow);
}

.features__item:hover::after {
    opacity: 1;
}

.features__icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-faint);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.features__item:hover .features__icon-wrap {
    border-color: var(--teal);
    box-shadow: 0 0 20px var(--teal-glow);
}

.features__icon {
    font-size: 1.8rem;
}

.features__icon-svg {
    width: 32px;
    height: 32px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
    margin-right: 2px;
}

.features__title {
    font-family: var(--font-subhead);
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.features__text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════
   MEDIA / GALLERY SECTION
   ════════════════════════════════════════════════ */
.media {
    position: relative;
    padding: var(--section-pad) 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(0, 212, 255, 0.05) 0%, transparent 60%),
        var(--bg-deep);
}

.media__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.media__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-faint);
    transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.media__item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--teal);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--teal-glow);
}

.media__img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.media__item:hover .media__img {
    transform: scale(1.08);
}

.media__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 8, 15, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.media__item:hover .media__overlay {
    opacity: 1;
}

.media__caption {
    font-family: var(--font-subhead);
    font-size: 0.95rem;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.media__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    transition: transform 0.4s var(--ease-bounce);
}

.media__item:hover .media__zoom {
    transform: translate(-50%, -50%) scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    z-index: 10;
}

.lightbox__close:hover {
    color: var(--teal);
    transform: rotate(90deg);
}

.lightbox__img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__caption {
    margin-top: 16px;
    font-family: var(--font-subhead);
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* ════════════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════════════ */
.faq {
    position: relative;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.faq__list {
    max-width: 780px;
    margin: 0 auto;
}

.faq__item {
    border: 1px solid var(--border-faint);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq__item:hover {
    border-color: var(--border-glow);
}

.faq__item.open {
    border-color: var(--teal);
    box-shadow: 0 0 20px var(--teal-glow);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-subhead);
    font-size: 1rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    text-align: left;
}

.faq__question:hover {
    color: var(--teal);
}

.faq__icon {
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item.open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.5s;
}

.faq__item.open .faq__answer {
    max-height: 300px;
}

.faq__answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ════════════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════════════ */
.newsletter {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at center, rgba(212, 168, 67, 0.06) 0%, transparent 60%),
        var(--bg-deep);
    border-top: 1px solid var(--border-faint);
    border-bottom: 1px solid var(--border-faint);
}

.newsletter__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter__text {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.newsletter__form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter__input {
    flex: 1;
    min-width: 240px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter__input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 15px var(--teal-glow);
}

.newsletter__input::placeholder {
    color: var(--text-muted);
}

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
    padding: 60px 0 24px;
    background: var(--bg-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    width: 120px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px var(--teal-glow));
}

.footer__tagline {
    font-family: var(--font-subhead);
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer__heading {
    font-family: var(--font-subhead);
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.footer__links ul {
    list-style: none;
}

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

.footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s, padding-left 0.3s;
}

.footer__links a:hover {
    color: var(--teal);
    padding-left: 4px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-faint);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-faint);
    color: var(--text-muted);
    transition: color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.footer__social:hover {
    color: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 0 15px var(--teal-glow);
    transform: translateY(-3px);
}

.footer__social svg {
    width: 16px;
    height: 16px;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .classes__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    /* Nav mobile */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 32px 32px;
        background: rgba(6, 8, 15, 0.97);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-faint);
        transition: right 0.4s var(--ease-out);
        z-index: 1050;
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__link {
        width: 100%;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-faint);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link--cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }

    /* About */
    .about__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__text {
        padding-right: 0;
    }

    .about__cards {
        grid-template-columns: 1fr;
    }

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

    /* Classes */
    .classes__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Features */
    .features__grid {
        grid-template-columns: 1fr;
    }

    /* Media */
    .media__grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__logo {
        width: 70vw;
    }

    .hero__badges {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .newsletter__form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter__input {
        width: 100%;
    }
}