/* ============ VARIABLES ============ */
:root {
    --bg-dark: #111018;
    --bg-darker: #0D0A12;
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --text-warm-gray: #B8A99A;
    --sand: #D4A574;
    --sand-light: #E8D5B7;
    --amber: #C9956B;
    --gold-muted: #BFA88A;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 165, 116, 0.15);
    --glass-border-hover: rgba(212, 165, 116, 0.3);
    --font-display: 'DM Sans', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(17, 16, 24, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; }

.nav-links {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 24px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.08);
}

.nav-pill {
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-pill:hover, .nav-pill.active {
    color: var(--text-white);
    background: rgba(255,255,255,0.1);
}

.lang-switcher .nav-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 120, 0.85) 0%, rgba(201, 149, 107, 0.3) 40%, transparent 65%);
    filter: blur(50px);
    top: -5%; right: -2%;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.75) 0%, rgba(212, 165, 116, 0.2) 40%, transparent 65%);
    filter: blur(45px);
    bottom: -5%; right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(201, 160, 110, 0.6) 0%, rgba(191, 168, 138, 0.15) 40%, transparent 65%);
    filter: blur(40px);
    top: 35%; left: 50%;
    animation: float 12s ease-in-out infinite;
}

.blob-4 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 120, 0.7) 0%, rgba(201, 149, 107, 0.15) 40%, transparent 65%);
    filter: blur(45px);
    top: 60%; right: 35%;
    animation: float 9s ease-in-out infinite;
}

.blob-5 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(220, 180, 130, 0.6) 0%, rgba(201, 149, 107, 0.1) 40%, transparent 65%);
    filter: blur(35px);
    top: 15%; right: 30%;
    animation: float 11s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text { max-width: 560px; }

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-warm-gray);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* Tarot cards visual */
.tarot-cards {
    position: relative;
    width: 420px;
    height: 420px;
}

.hero-cards-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(212, 165, 116, 0.2));
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid rgba(212, 165, 116, 0.4);
    border-radius: 12px;
    color: var(--sand-light);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(212, 165, 116, 0.3);
    border-color: rgba(212, 165, 116, 0.6);
    transform: translateY(-1px);
}

/* ============ SECTIONS ============ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-white);
    letter-spacing: -0.01em;
}

.section-description {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    color: var(--text-warm-gray);
    font-size: 16px;
    line-height: 1.7;
}

/* ============ GLASS CARDS ============ */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s, transform 0.3s;
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.card-icon {
    margin-bottom: 16px;
}

.glass-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
}

.glass-card p {
    font-size: 14px;
    color: var(--text-warm-gray);
    line-height: 1.6;
}

/* About — 3 cards row */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Curriculum — 3x2 grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* ============ PROGRAM ============ */
.program-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 48px;
}

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

.module-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-white);
    transition: border-color 0.3s;
}

.module-item:hover {
    border-color: var(--glass-border-hover);
}

.module-item strong {
    color: var(--sand-light);
    margin-right: 4px;
}

.module-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    color: var(--sand);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.stats-panel {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 32px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--sand);
    line-height: 1;
    min-width: 100px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-warm-gray);
    line-height: 1.4;
}

.cta-center {
    text-align: center;
    margin-top: 48px;
}

/* ============ FAQ ============ */
.faq-list {
    max-width: 720px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-left: 3px solid var(--sand);
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

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

.faq-icon::after {
    content: '+';
    font-size: 20px;
    color: var(--sand);
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item[open] .faq-icon::after {
    content: '−';
}

.faq-item summary:hover { color: var(--sand-light); }

.faq-answer {
    padding: 0 24px 18px;
    font-size: 15px;
    color: var(--text-warm-gray);
    line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-darker);
    padding: 48px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-col a {
    color: var(--gold-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--sand-light);
}

.footer-bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

/* ============ POLICY PAGE ============ */
.policy-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.policy-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.policy-date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 48px;
}

.policy-content {
    max-width: 760px;
}

.policy-content h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--sand-light);
    margin-top: 36px;
    margin-bottom: 12px;
}

.policy-content p {
    font-size: 15px;
    color: var(--text-warm-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.policy-content li {
    font-size: 15px;
    color: var(--text-warm-gray);
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
}

.policy-content li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--sand);
}

.policy-content strong {
    color: var(--text-white);
}

.footer-col a.active-link {
    color: var(--sand-light);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-visual { display: none; }

    .hero-subtitle { margin-bottom: 28px; }

    .cards-row,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .program-layout {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nav-links { display: none; }

    .stat-number { font-size: 42px; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
