:root {
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --accent: #8b5cf6; /* Soft purple */
    --accent-glow: rgba(139, 92, 246, 0.4);
    --bg-dark: #0a0a0f;
    --glass-bg: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 25%);
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-wheel {
    0% { opacity: 1; top: 5px; }
    100% { opacity: 0; top: 15px; }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 2rem;
    background-image: linear-gradient(to bottom, rgba(10, 10, 15, 0.3), var(--bg-dark)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, transparent 20%, var(--bg-dark) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero .title {
    font-size: clamp(3rem, 5vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero .title span {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.8em;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: float 4s ease-in-out infinite;
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse-wheel 2s infinite ease-out;
}

/* Main Content Styles */
main {
    position: relative;
    z-index: 20;
    background: transparent;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
}

.legacy-section {
    background: url('assets/section_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
.legacy-section::before {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(10,10,15,0.7) 50%, var(--bg-dark));
    z-index: 0;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.glass-card p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #e0e0e5;
    font-weight: 300;
}

.glass-card p:last-child {
    margin-bottom: 0;
}

/* Typography elements */
.quote-block {
    margin: 2.5rem 0;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, var(--accent-glow) 0%, transparent 100%);
    border-radius: 0 16px 16px 0;
}

.quote-block p {
    font-size: 1.4rem;
    font-style: italic;
    color: #fff;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

/* Reveal Animations logic */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
    position: relative;
    z-index: 20;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero .title {
        font-size: 2.5rem;
    }
    
    .glass-card {
        padding: 2.5rem;
    }
    
    .glass-card h2 {
        font-size: 2rem;
    }
    
    .quote-block {
        padding: 1.5rem;
    }
    
    .quote-block p {
        font-size: 1.2rem;
    }
}
