/* === rollup.report Styles === */
/* Palette: Deep Black #0A0A0F, Neon Green #39FF14, Cyan #00FFFF, White #E8E8F0, Panel #1A1A20, Pink #FF1493 */
/* Fonts: Cormorant Garamond (display), Inter (body) */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0A0A0F;
    color: #E8E8F0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* === Typography === */

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.section-heading {
    font-size: clamp(2rem, 4.5vw, 4rem);
    text-align: center;
    margin-bottom: 0.5em;
    color: #E8E8F0;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #E8E8F0;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.accent-dot {
    color: #39FF14;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.neon-green { color: #39FF14; }
.neon-cyan { color: #00FFFF; }
.neon-pink { color: #FF1493; }

/* === Fade Reveal === */

.fade-reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}

.fade-reveal.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* === Floating Organic Blobs === */

.blob {
    position: fixed;
    border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    animation: morph 10s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, #39FF14, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, #00FFFF, transparent 70%);
    top: 30%;
    right: -8%;
    animation-delay: -3s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(ellipse, #FF1493, transparent 70%);
    bottom: 20%;
    left: -5%;
    animation-delay: -6s;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse, #39FF14, transparent 70%);
    bottom: -5%;
    right: 15%;
    animation-delay: -2s;
}

.blob-5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(ellipse, #00FFFF, transparent 70%);
    top: 60%;
    left: 30%;
    animation-delay: -8s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%;
        transform: scale(1) rotate(0deg);
    }
    25% {
        border-radius: 60% 40% 70% 50% / 50% 60% 40% 70%;
        transform: scale(1.05) rotate(3deg);
    }
    50% {
        border-radius: 50% 70% 40% 60% / 70% 50% 60% 40%;
        transform: scale(0.97) rotate(-2deg);
    }
    75% {
        border-radius: 70% 50% 60% 40% / 40% 70% 50% 60%;
        transform: scale(1.03) rotate(1deg);
    }
}

/* === Hero === */

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-inner {
    text-align: center;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #00FFFF;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%;
    padding: 0.5em 1.5em;
    margin-bottom: 2rem;
    animation: morph 8s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.75;
    max-width: 560px;
    margin: 0 auto;
}

/* === Stats Ribbon === */

#stats-ribbon {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-panel {
    background: #1A1A20;
    border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%;
    padding: 3rem 2.5rem;
    text-align: center;
    min-width: 220px;
    flex: 1;
    max-width: 300px;
    perspective: 800px;
    transform: rotateX(3deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: morph 12s ease-in-out infinite;
    border: 1px solid rgba(57, 255, 20, 0.08);
}

.stat-panel:nth-child(2) {
    animation-delay: -4s;
}

.stat-panel:nth-child(3) {
    animation-delay: -8s;
}

.stat-panel:hover {
    transform: rotateX(0deg) scale(1.03);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.1);
}

.stat-value {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.3em;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

/* === Features === */

#features {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.features-flow {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-blob {
    background: #1A1A20;
    border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%;
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    perspective: 800px;
    transform: rotateX(3deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: morph 14s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-blob:nth-child(2) {
    animation-delay: -5s;
}

.feature-blob:nth-child(3) {
    animation-delay: -9s;
}

.feature-blob:hover {
    transform: rotateX(0deg) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.08);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-blob h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #E8E8F0;
}

.feature-blob p {
    font-size: 0.9rem;
    opacity: 0.65;
    line-height: 1.7;
}

/* === Data Viz Section === */

#data-viz {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.viz-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.viz-panel {
    background: #1A1A20;
    border-radius: 20px;
    padding: 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 420px;
    perspective: 800px;
    transform: rotateX(3deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(57, 255, 20, 0.06);
}

.viz-panel:hover {
    transform: rotateX(0deg) scale(1.01);
    box-shadow: 0 0 60px rgba(57, 255, 20, 0.08);
}

.viz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.viz-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.viz-badge {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 0.3em 0.8em;
    border-radius: 100px;
    animation: glowPulse 3s ease-in-out infinite;
}

.viz-badge.neon-green {
    border: 1px solid rgba(57, 255, 20, 0.5);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.viz-badge.neon-cyan {
    border: 1px solid rgba(0, 255, 255, 0.5);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

@keyframes glowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Bar chart */
.viz-chart {
    height: 160px;
    margin-bottom: 1.5rem;
}

.bar-group {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 8px;
}

.bar {
    flex: 1;
    height: var(--bar-height, 50%);
    background: var(--bar-color, #39FF14);
    border-radius: 6px 6px 2px 2px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.2);
}

.bar:hover {
    opacity: 1;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

/* Ring chart */
.viz-ring-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.ring-chart {
    width: 100%;
    height: 100%;
}

.ring-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-value {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00FFFF;
}

.ring-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.5;
}

.viz-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.viz-metric {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
}

.viz-change {
    font-size: 0.85rem;
    font-weight: 500;
}

/* === Pipeline === */

#pipeline {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.pipeline-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.pipeline-node {
    text-align: center;
    flex: 0 0 auto;
    padding: 1rem;
}

.pipeline-node h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.pipeline-node p {
    font-size: 0.85rem;
    opacity: 0.6;
    max-width: 180px;
    margin: 0 auto;
}

.node-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.node-circle:hover {
    transform: scale(1.1);
}

.node-circle.neon-green-glow {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.15), inset 0 0 20px rgba(57, 255, 20, 0.05);
}

.node-circle.neon-cyan-glow {
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.node-circle.neon-pink-glow {
    border-color: rgba(255, 20, 147, 0.4);
    box-shadow: 0 0 30px rgba(255, 20, 147, 0.15), inset 0 0 20px rgba(255, 20, 147, 0.05);
}

.node-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #E8E8F0;
}

.pipeline-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.4), rgba(0, 255, 255, 0.4));
    flex-shrink: 0;
}

/* === CTA === */

#cta {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
}

.cta-blob {
    text-align: center;
    max-width: 650px;
    background: #1A1A20;
    border-radius: 40% 60% 50% 70% / 60% 40% 70% 50%;
    padding: 5rem 3rem;
    animation: morph 12s ease-in-out infinite;
    border: 1px solid rgba(57, 255, 20, 0.1);
    position: relative;
}

.cta-heading {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1rem;
    opacity: 0.65;
    margin-bottom: 2.5rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0A0A0F;
    background: #39FF14;
    padding: 1em 2.5em;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.5);
}

/* === Footer === */

#footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* === Responsive === */

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-panel {
        min-width: 260px;
        max-width: 320px;
    }

    .features-flow {
        flex-direction: column;
        align-items: center;
    }

    .feature-blob {
        max-width: 340px;
    }

    .viz-container {
        flex-direction: column;
        align-items: center;
    }

    .pipeline-flow {
        flex-direction: column;
    }

    .pipeline-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, rgba(57, 255, 20, 0.4), rgba(0, 255, 255, 0.4));
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
