:root {
    --bg-color: #02040a;
    --glass-bg: rgba(10, 15, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-neon: #00f2ff;
    --secondary-neon: #7000ff;
    --accent-glow: rgba(0, 242, 255, 0.15);
    --gold: #ffd700;
    --text-main: #f0f0f0;
    --text-dim: #a0a0a0;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.05) 0%, transparent 30%);
}

#neural-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.4;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: 0.1s ease-out;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 15px 40px;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-neon);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-neon);
}

.btn-support {
    padding: 10px 25px;
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.02) 0%, transparent 50%);
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    font-size: 1.2rem;
    color: var(--primary-neon);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-neon), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.btn-primary {
    padding: 15px 40px;
    background: var(--primary-neon);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    margin-right: 20px;
    transition: 0.3s;
}

.btn-secondary {
    padding: 15px 40px;
    border: 1px solid var(--glass-border);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
}

/* Hero Visual & Profile Picture */
.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-container {
    position: absolute;
    z-index: 2;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid var(--primary-neon);
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

.ai-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-neon) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Glass Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass:hover {
    border-color: var(--primary-neon);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.15);
}

/* Chapter Sections */
.chapter-section {
    padding: 100px 10%;
    border-bottom: 1px solid var(--glass-border);
}

.chapter-section.odd {
    background: rgba(112, 0, 255, 0.02);
}

.section-badge {
    color: var(--primary-neon);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.chapter-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.chapter-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.chapter-content.reverse {
    flex-direction: row-reverse;
}

.chapter-left {
    flex: 2;
}

.chapter-right {
    flex: 1;
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.chapter-left h3,
.chapter-right h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.chapter-left p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.evidence-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.evidence-item {
    padding: 20px;
    border-radius: 15px;
}

.evidence-item h4 {
    color: var(--primary-neon);
    margin-bottom: 10px;
}

.btn-mini {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--primary-neon);
    text-decoration: none;
    border: 1px solid var(--primary-neon);
    padding: 5px 12px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-mini:hover {
    background: var(--primary-neon);
    color: var(--bg-color);
}

.certs-mini-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mini-cert {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Direct Links */
.direct-links {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    justify-content: center;
}

.btn-whatsapp,
.btn-telegram,
.btn-linkedin {
    padding: 10px 20px;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-telegram {
    background: #0088cc;
}

.btn-linkedin {
    background: #0077b5;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    margin-bottom: 40px;
    padding-left: 60px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-neon);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-neon);
}

.time {
    font-size: 0.9rem;
    color: var(--primary-neon);
    font-weight: 600;
    margin-bottom: 10px;
}

.content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.content h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Support & Footer */
.support-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.btn-paypal {
    display: inline-block;
    padding: 12px 30px;
    background: #0070ba;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-paypal:hover {
    background: #005ea6;
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ============================================= */
/*       DYNAMIC SCROLL REVEAL ANIMATIONS       */
/* ============================================= */

/* Base state for all reveal elements */
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-explode,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Slide in from left */
.reveal-left {
    transform: translateX(-150px) rotate(-5deg);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

/* Slide in from right */
.reveal-right {
    transform: translateX(150px) rotate(5deg);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

/* Slide up with bounce */
.reveal-up {
    transform: translateY(100px) scale(0.9);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Explode from center */
.reveal-explode {
    transform: scale(0.3);
    filter: blur(10px);
}

.reveal-explode.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Scale with glow */
.reveal-scale {
    transform: scale(0.5);
    box-shadow: none;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

/* Staggered delays for grid items */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .chapter-content {
        flex-direction: column;
    }

    .evidence-list {
        grid-template-columns: 1fr;
    }
}