
:root {
    --brand-blue: #005e86;
    --gold: #D4AF37;
    --dark: #222;
}

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* 3D BOOK STYLES */
.book-container {
    perspective: 1500px;
    padding: 20px;
}

.book {
    width: 220px;
    height: 320px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-25deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.book:hover {
    transform: rotateY(-10deg) scale(1.05);
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-blue), #003e5a);
    border-radius: 0 4px 4px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 25px;
    box-shadow: 15px 15px 30px rgba(0,0,0,0.3);
    z-index: 2;
    transform: translateZ(15px);
    border: 1px solid var(--gold);
}

.book-spine {
    position: absolute;
    width: 30px;
    height: 100%;
    background: #00324a;
    transform: rotateY(-90deg) translateZ(15px);
    left: 0;
    border-left: 1px solid var(--gold);
}

.book-side {
    position: absolute;
    width: 30px;
    height: 100%;
    background: #f1f1f1;
    right: -15px;
    transform: rotateY(90deg);
}

/* MARQUEE ANIMATION */
.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.8s forwards;
}

/* UI UTILITIES */
.roadmap-card {
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-5px);
}

.stack-item {
    transition: background 0.3s ease;
}

.stack-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* CTA PULSE */
.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
