body {
    background-color: #0B0B0C;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #FFFFFF;
}

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

/* ── Rich Gradient Accent System ── */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes ambientFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate3d(20px, -15px, 0) scale(1.05); opacity: 1; }
    66% { transform: translate3d(-15px, 10px, 0) scale(0.95); opacity: 0.7; }
}

.ambient-orb {
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
}

.hero-title-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5E6BA 35%, #D4AF37 70%, #C5A030 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(212,175,55,0.15);
}

.logo-gradient {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5E6BA 25%, #D4AF37 50%, #C5A030 75%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(212,175,55,0.15);
}

.btn-gold-gradient {
    background: linear-gradient(135deg, #FFF3B0 0%, #E8C840 25%, #D4AF37 50%, #B8860B 75%, #9B7300 100%);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    box-shadow: 0 4px 24px rgba(212,175,55,0.25), 0 0 60px rgba(212,175,55,0.1);
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-gold-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-gold-gradient:hover {
    box-shadow: 0 8px 40px rgba(212,175,55,0.35), 0 0 100px rgba(212,175,55,0.2);
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.btn-gold-gradient:hover::after {
    opacity: 1;
    animation: btnShimmer 1.5s ease forwards;
}

.btn-gold-gradient:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

@keyframes btnShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Outline/Ghost Button Hover ── */
section a[href*="community"], section a[href*="mentorship"],
section a[href*="vip-community"], section a[href*="private-mentorship"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

section a[href*="community"]:hover, section a[href*="mentorship"]:hover,
section a[href*="vip-community"]:hover, section a[href*="private-mentorship"]:hover {
    border-color: rgba(212,175,55,0.4) !important;
    box-shadow: 0 0 30px rgba(212,175,55,0.08), inset 0 0 20px rgba(212,175,55,0.03);
    transform: translateY(-2px);
}

/* Hero stagger fade-in */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-animate:nth-child(1) { animation-delay: 0.1s; }
.hero-animate:nth-child(2) { animation-delay: 0.25s; }
.hero-animate:nth-child(3) { animation-delay: 0.4s; }
.hero-animate:nth-child(4) { animation-delay: 0.55s; }
.hero-animate:nth-child(5) { animation-delay: 0.7s; }
.hero-animate:nth-child(6) { animation-delay: 0.85s; }

/* Scroll bounce indicator */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

.scroll-indicator {
    animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ── Enhanced Section Reveal with Stagger ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.visible > * {
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal.visible > *:nth-child(1) { animation-delay: 0s; }
.reveal.visible > *:nth-child(2) { animation-delay: 0.08s; }
.reveal.visible > *:nth-child(3) { animation-delay: 0.16s; }
.reveal.visible > *:nth-child(4) { animation-delay: 0.24s; }
.reveal.visible > *:nth-child(5) { animation-delay: 0.32s; }
.reveal.visible > *:nth-child(6) { animation-delay: 0.4s; }

/* ── Card Lift + Glow ── */
.card-interactive {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.card-interactive:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.25) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 40px rgba(212,175,55,0.06);
}

/* ── Icon Box Glow on Card Hover ── */
.card-interactive:hover .w-12,
.card-interactive:hover .w-10 {
    border-color: rgba(212,175,55,0.3) !important;
    box-shadow: 0 0 20px rgba(212,175,55,0.1);
    transition: all 0.4s ease;
}

/* ── Gradient Border Shimmer for Section Badges ── */
@keyframes badgePulse {
    0%, 100% { border-color: rgba(212,175,55,0.3); box-shadow: 0 0 0 rgba(212,175,55,0); }
    50% { border-color: rgba(212,175,55,0.5); box-shadow: 0 0 12px rgba(212,175,55,0.08); }
}

.reveal.visible span[class*="font-label-mono"][class*="border"] {
    animation: badgePulse 3s ease-in-out infinite;
}

/* ── Checklist Item Hover ── */
ul li.flex {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}
ul li.flex:hover {
    transform: translateX(6px);
}
ul li.flex:hover span.material-symbols-outlined {
    filter: drop-shadow(0 0 6px rgba(197,160,48,0.4));
    transition: filter 0.3s ease;
}

/* ── FAQ Interaction Enhancement ── */
details {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
details[open] {
    border-color: rgba(212,175,55,0.2) !important;
    box-shadow: 0 0 25px rgba(212,175,55,0.04);
}
details summary {
    transition: color 0.3s ease;
    list-style: none;
}
details summary:hover {
    color: #D4AF37;
}
details>p,
details>div.faq-answer {
    animation: fadeSlideUp 0.3s ease forwards;
}

/* Summary marker removal */
details summary::-webkit-details-marker {
    display: none;
}

/* Nav link hover underline slide */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #D4AF37, #E8C840);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Nav CTA Button Enhancement ── */
nav a[href*="t.me"] {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
nav a[href*="t.me"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(197,160,48,0.3);
}
nav a[href*="t.me"]:active {
    transform: translateY(0) scale(0.97);
}

/* Mobile menu transition */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Ribbon */
.ribbon {
    position: absolute;
    top: 24px;
    right: -35px;
    transform: rotate(45deg);
}

/* ── Hero Gate: sections below are hidden until unlocked ── */
#page-content {
    display: none;
    opacity: 0;
}

#page-content.unlocked {
    display: block;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ── Testimonial Marquee ── */
.testimonial-drag-container {
    display: flex;
    gap: 2rem;
    width: max-content;
    cursor: grab;
}

.testimonial-drag-container:active {
    cursor: grabbing;
}

.testimonial-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonial-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(212,175,55,0.25) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.06) !important;
}

/* ── Footer Link Hover ── */
footer a {
    transition: color 0.3s ease, text-shadow 0.3s ease !important;
}
footer a:hover {
    text-shadow: 0 0 8px rgba(212,175,55,0.2);
}

/* ── Price Number Gradient ── */
.font-display-lg[class*="text-[36px]"] {
    background: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 60%, #E8C840 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Smooth focus states ── */
button:focus-visible, a:focus-visible, details:focus-visible {
    outline: 2px solid rgba(212,175,55,0.5);
    outline-offset: 3px;
    transition: outline-color 0.3s ease;
}

/* ── Trust Marquee ── */
.trust-marquee {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Timeline Center Line (Curriculum) ── */
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
    background: #2A2A2A; transform: translateX(-50%);
}
@media (max-width: 768px) { .timeline-line { display: none; } }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0B0B0C; }
::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D4AF37; }
