:root {
    --bg-dark: #030304;
    --bg-card: #0e0e10;
    --text-main: #ffffff;
    --text-muted: #94969c;

    /* Dynamic Accent Color (Will be updated by JS) */
    --accent: #3b82f6;

    --gold: #f59e0b;
    --gold-glow: rgba(245, 158, 11, 0.3);
    --border: #27272a;

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* --- GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-head);
    font-weight: 600;
}

/* --- NAVIGATION --- */
nav {
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(3, 3, 4, 0.95) 0%, rgba(3, 3, 4, 0) 100%);
    backdrop-filter: blur(2px);
}

.brand {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    gap: 12px;
    text-transform: uppercase;
    line-height: 1.2;
}

.tag-experience {
    font-size: 0.6rem;
    padding: 2px 8px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 4px;
    margin-left: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    vertical-align: middle;
    display: inline-block;
}

.progress-tracker {
    display: flex;
    gap: 6px;
    align-items: center;
}

.day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #333;
    transition: 0.3s;
}

.day-dot.active {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    transform: scale(1.2);
}

.tag-experience {
    font-size: 0.8rem;
    padding: 4px 12px;
    border: 1px solid rgba(192, 132, 252, 0.5);
    color: #e9d5ff;
    border-radius: 4px;
    margin-left: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(147, 51, 234, 0.1);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5), inset 0 0 10px rgba(168, 85, 247, 0.2);
    text-shadow: 0 0 8px rgba(192, 132, 252, 0.8);
    vertical-align: middle;
    display: inline-block;
    font-weight: 700;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 1rem;
    white-space: nowrap;
}

.brand-text span:last-child {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn-gift-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    z-index: 2
}

.btn-gift-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.date-badge {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #333;
}

/* --- 3D STAGE --- */
#stage-wrapper {
    width: 100%;
    height: 90vh;
    /* Big impact initially */
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

#canvas-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
    transition: opacity 1s ease;
}

.cta-instruction {
    z-index: 2;
    pointer-events: none;
    text-align: center;
    margin-top: 35vh;
    opacity: 0.9;
    transition: opacity 0.5s;
}

.cta-text {
    font-family: var(--font-head);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 20px;
    color: var(--text-muted);
}

/* --- CONTENT LAYER --- */
#content-layer {
    width: 100%;
    max-width: 1100px;
    /* INCREASED WIDTH */
    padding: 0 30px;
    opacity: 0;
    display: none;
    transform: translateY(40px);
    margin-bottom: 80px;
    margin-top: 220px;
    position: relative;
    z-index: 10;
}

.section-card {
    background: rgba(14, 14, 16, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tag {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.tag.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tag.gold {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 90%;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-ghost {
    background: #1a1a1c;
    color: #fff;
    border: 1px solid #333;
}

.btn-ghost:hover {
    background: #2a2a2c;
    border-color: #555;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #ddd;
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow);
}

/* Premium Offer Grid */
.premium-container {
    border: 1px solid var(--gold);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(14, 14, 16, 1) 100%);
}

.premium-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 30px;
    align-items: center;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #ddd;
}

.feature-list i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 2px;
}

.price-block {
    text-align: right;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid #333;
}

/* Video Embed */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #333;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
}

.close-modal:hover {
    color: #fff;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 40px 0;
    color: #444;
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid #111;
    width: 100%;
}

footer p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

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

    .price-block {
        text-align: left;
    }

    nav {
        padding: 20px;
    }

    .tag-experience {
        display: none;
    }

    #stage-wrapper {
        height: 80vh;
    }

    .cta-instruction {
        margin-top: 25vh;
    }

    footer {
        padding: 15px 0;
        position: relative;
        z-index: 5;
    }
}