/* =========================================
   ABOUT PAGE - THE MANIFESTO THEME
   ========================================= */

/* --- 1. GLOBAL & UTILS --- */
:root {
    --primary: #595CFF;
    --secondary: #22d3ee;
    --dark: #0f172a;
    --light: #f8fafc;
}

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

.text-gradient-brand {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 2. AURORA HERO SECTION --- */
.aurora-hero {
    position: relative;
    background-color: var(--dark);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px; /* Space for header */
}

/* Animirana pozadina */
.aurora-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: aurora-float 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary); animation-delay: 0s; }
.blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--secondary); animation-delay: -5s; }

@keyframes aurora-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

/* --- 3. INFINITE MARQUEE (FIXED) --- */
.marquee-section {
    background: var(--dark);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content; /* Ključno za infinite scroll */
    gap: 4rem;
    animation: scroll-left 30s linear infinite;
}

.marquee-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s;
}
.marquee-item:hover { color: white; }

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Pomeri za polovinu (jer je sadržaj dupliran) */
}

/* --- 4. STATS STRIP --- */
.stats-strip {
    background: white;
    padding: 4rem 0;
}
.stat-box {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid #e2e8f0;
}
.stat-box:last-child { border-right: none; }
@media (max-width: 768px) { .stat-box { border-right: none; border-bottom: 1px solid #e2e8f0; } }

.stat-number { font-size: 3.5rem; font-weight: 900; color: var(--dark); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

/* --- 5. THE BLUEPRINT (PROCESS) --- */
.blueprint-section {
    background: #0f172a;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
/* Grid Pattern */
.blueprint-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.blueprint-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 1rem;
    transition: all 0.3s;
}
.blueprint-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--secondary);
    transform: translateY(-5px);
}
.bp-icon { font-size: 2rem; color: var(--secondary); margin-bottom: 1.5rem; }

/* --- 6. VALUES GALLERY --- */
.values-section {
    padding: 6rem 0;
    background: #f8fafc;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.value-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}
.value-card:hover { transform: translateY(-10px); }
.value-img { height: 250px; width: 100%; object-fit: cover; }
.value-content { padding: 2rem; }

/* --- 7. FINAL CTA --- */
.cta-section {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    text-align: center;
    color: white;
    position: relative;
}

/* --- ANIMATIONS --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }