:root {
    --bg-aurora: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-blue: #3b82f6;
    --border-light: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --spiral-color: rgba(59, 130, 246, 0.25);
    --energy-pulse: #8b5cf6;
}

body {
    background-color: var(--bg-aurora);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Silk Wave Background Animation */
.spiral-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
}

.spiral-svg {
    width: 100%;
    height: 100%;
}

.wave-path {
    transform-origin: center;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: wave-entrance 2s ease-out forwards, wave-motion 20s ease-in-out infinite alternate 2s;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.15));
}

.energy-pulse {
    stroke: var(--energy-pulse);
    stroke-width: 3.5;
    stroke-dasharray: 150, 1000;
    animation: pulse-flow 6s linear infinite;
    filter: blur(1px) drop-shadow(0 0 12px var(--energy-pulse));
}

.particle {
    fill: var(--accent-blue);
    opacity: 0.5;
    filter: blur(1px);
    animation: particle-drift 12s linear infinite;
}

@keyframes wave-entrance {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes wave-motion {
    0% {
        transform: translateY(-4%) scale(1.0);
    }

    100% {
        transform: translateY(4%) scale(1.1);
    }
}

@keyframes pulse-flow {
    0% {
        stroke-dashoffset: 1200;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes particle-drift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.7;
    }

    80% {
        opacity: 0.7;
    }

    100% {
        transform: translate(150px, -150px) scale(1.5);
        opacity: 0;
    }
}

/* Typography */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-weight: 700;
}

.text-huge {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.text-gradient-aurora {
    background: linear-gradient(135deg, var(--accent-blue), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    border-bottom: 1px solid var(--border-light);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
}

/* Buttons */
.btn-aurora {
    background: var(--text-primary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-aurora:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Grid Components */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.bento-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.bento-item.col-2 {
    grid-column: span 2;
}

/* Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.col-2 {
        grid-column: span 1;
    }

    .text-huge {
        font-size: 3rem;
    }
}