/* ============================================
   monopole.systems — Surreal Systems Dreamscape
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0C0E18;
    color: #A0A8B8;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.85;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Bokeh Background --- */
.bokeh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bokeh-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    will-change: transform, opacity;
}

.bokeh-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 192, 208, 0.25) 0%, transparent 70%);
    top: -5%;
    left: 10%;
    animation: bokehDrift1 25s ease-in-out infinite, bokehFadeIn 3s 0.5s forwards;
}

.bokeh-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(160, 96, 192, 0.2) 0%, transparent 70%);
    top: 30%;
    right: -5%;
    animation: bokehDrift2 30s ease-in-out infinite, bokehFadeIn 3s 0.8s forwards;
}

.bokeh-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(208, 160, 96, 0.2) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: bokehDrift3 22s ease-in-out infinite, bokehFadeIn 3s 1s forwards;
}

.bokeh-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(96, 192, 208, 0.15) 0%, transparent 70%);
    top: 50%;
    left: -10%;
    animation: bokehDrift4 28s ease-in-out infinite, bokehFadeIn 3s 1.2s forwards;
}

.bokeh-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(160, 96, 192, 0.18) 0%, transparent 70%);
    top: 15%;
    left: 55%;
    animation: bokehDrift5 20s ease-in-out infinite, bokehFadeIn 3s 1.5s forwards;
}

.bokeh-6 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(208, 160, 96, 0.15) 0%, transparent 70%);
    bottom: 25%;
    right: 15%;
    animation: bokehDrift6 26s ease-in-out infinite, bokehFadeIn 3s 1.8s forwards;
}

.bokeh-7 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(96, 192, 208, 0.12) 0%, transparent 70%);
    top: 70%;
    left: 70%;
    animation: bokehDrift7 24s ease-in-out infinite, bokehFadeIn 3s 2s forwards;
}

.bokeh-8 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(160, 96, 192, 0.14) 0%, transparent 70%);
    top: 5%;
    right: 30%;
    animation: bokehDrift8 27s ease-in-out infinite, bokehFadeIn 3s 2.2s forwards;
}

.bokeh-9 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(208, 160, 96, 0.1) 0%, transparent 70%);
    top: 85%;
    left: 5%;
    animation: bokehDrift9 23s ease-in-out infinite, bokehFadeIn 3s 2.4s forwards;
}

.bokeh-10 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(96, 192, 208, 0.08) 0%, transparent 70%);
    top: 40%;
    left: 40%;
    animation: bokehDrift10 29s ease-in-out infinite, bokehFadeIn 3s 2.6s forwards;
}

@keyframes bokehFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bokehDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, 20px) scale(1.03); }
    50% { transform: translate(50px, 40px) scale(1.06); }
    75% { transform: translate(-15px, 55px) scale(0.97); }
}

@keyframes bokehDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-35px, -15px) scale(1.05); }
    50% { transform: translate(-55px, -25px) scale(1.08); }
    75% { transform: translate(20px, -45px) scale(0.93); }
}

@keyframes bokehDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -25px) scale(1.04); }
    50% { transform: translate(35px, -45px) scale(1.06); }
    75% { transform: translate(-30px, -15px) scale(0.95); }
}

@keyframes bokehDrift4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -20px) scale(1.03); }
    50% { transform: translate(65px, -35px) scale(1.05); }
    75% { transform: translate(25px, 30px) scale(0.97); }
}

@keyframes bokehDrift5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-20px, 30px) scale(1.05); }
    50% { transform: translate(-35px, 45px) scale(1.07); }
    75% { transform: translate(40px, -8px) scale(0.94); }
}

@keyframes bokehDrift6 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-25px, -20px) scale(1.02); }
    50% { transform: translate(-45px, -35px) scale(1.04); }
    75% { transform: translate(15px, 25px) scale(0.98); }
}

@keyframes bokehDrift7 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(25px, 15px) scale(1.04); }
    50% { transform: translate(40px, 30px) scale(1.06); }
    75% { transform: translate(-18px, -25px) scale(0.96); }
}

@keyframes bokehDrift8 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, 15px) scale(1.04); }
    50% { transform: translate(-50px, 25px) scale(1.06); }
    75% { transform: translate(10px, -35px) scale(0.95); }
}

@keyframes bokehDrift9 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(35px, -15px) scale(1.03); }
    50% { transform: translate(20px, -30px) scale(1.05); }
    75% { transform: translate(-25px, 20px) scale(0.97); }
}

@keyframes bokehDrift10 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-15px, 25px) scale(1.02); }
    50% { transform: translate(25px, -20px) scale(1.04); }
    75% { transform: translate(-30px, -10px) scale(0.98); }
}

/* --- Organic SVG Overlay --- */
.organic-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.branch-group {
    transition: opacity 1.5s ease;
}

.organic-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawOrganic 4s ease-out forwards;
}

.branch-left .organic-path:nth-child(1) { animation-delay: 1s; }
.branch-left .organic-path:nth-child(2) { animation-delay: 1.3s; }
.branch-left .organic-path:nth-child(3) { animation-delay: 1.6s; }
.branch-left .organic-path:nth-child(4) { animation-delay: 1.9s; }
.branch-left .organic-path:nth-child(5) { animation-delay: 1.2s; }
.branch-left .organic-path:nth-child(6) { animation-delay: 1.5s; }
.branch-left .organic-path:nth-child(7) { animation-delay: 1.8s; }
.branch-left .organic-path:nth-child(8) { animation-delay: 2.1s; }

.branch-right .organic-path:nth-child(1) { animation-delay: 1.4s; }
.branch-right .organic-path:nth-child(2) { animation-delay: 1.7s; }
.branch-right .organic-path:nth-child(3) { animation-delay: 2.0s; }
.branch-right .organic-path:nth-child(4) { animation-delay: 2.3s; }
.branch-right .organic-path:nth-child(5) { animation-delay: 1.6s; }
.branch-right .organic-path:nth-child(6) { animation-delay: 1.9s; }
.branch-right .organic-path:nth-child(7) { animation-delay: 2.2s; }

.branch-center .organic-path:nth-child(1) { animation-delay: 2.0s; }
.branch-center .organic-path:nth-child(2) { animation-delay: 2.2s; }
.branch-center .organic-path:nth-child(3) { animation-delay: 2.4s; }
.branch-center .organic-path:nth-child(4) { animation-delay: 2.6s; }

@keyframes drawOrganic {
    to {
        stroke-dashoffset: 0;
    }
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: 0.1em;
    color: #E0E4F0;
    opacity: 0;
    transform: translateY(20px);
    animation: heroTitleIn 1.5s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes heroTitleIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    color: #7080A0;
    letter-spacing: 0.25em;
    text-transform: lowercase;
    margin-top: 1.2rem;
    opacity: 0;
    animation: subtitleIn 1.5s 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes subtitleIn {
    to {
        opacity: 0.7;
    }
}

/* Hero Divider */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    opacity: 0;
    animation: subtitleIn 1.5s 2.5s forwards;
}

.divider-line {
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7080A0, transparent);
}

.divider-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #60C0D0;
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 4px rgba(96, 192, 208, 0.2); }
    50% { opacity: 1; box-shadow: 0 0 12px rgba(96, 192, 208, 0.5); }
}

/* --- Hero Diagram --- */
.hero-diagram {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: min(550px, 80vw);
    height: auto;
    z-index: 2;
    opacity: 0;
    animation: diagramFadeIn 2s 2.5s forwards;
}

@keyframes diagramFadeIn {
    to { opacity: 0.6; }
}

.connection-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.connection-line.animate {
    animation: drawLine 2s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

.node-core, .node-glow {
    transition: opacity 0.8s ease;
}

.node-core.animate {
    animation: nodePulse 3s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.node-glow.animate {
    animation: glowPulse 3s ease-in-out infinite;
}

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

.node-peripheral.animate {
    animation: peripheralPulse 4s ease-in-out infinite;
}

@keyframes peripheralPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* --- Systems Section --- */
.systems-section {
    position: relative;
    z-index: 2;
    padding: 6rem 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 0.15em;
    color: #E0E4F0;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-subtext {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    color: #7080A0;
    text-align: center;
    letter-spacing: 0.08em;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s 0.2s ease, transform 0.8s 0.2s ease;
}

.section-subtext.visible {
    opacity: 0.7;
    transform: translateY(0);
}

/* --- Card Grid --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- System Cards --- */
.system-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.system-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-1 { transform: translateY(30px) rotate(-0.5deg); }
.card-2 { transform: translateY(30px) rotate(0.3deg); }
.card-3 { transform: translateY(30px) rotate(-0.3deg); }
.card-4 { transform: translateY(30px) rotate(0.4deg); }
.card-5 { transform: translateY(30px) rotate(-0.4deg); }
.card-6 { transform: translateY(30px) rotate(0.5deg); }

.card-1.visible { transform: translateY(0) rotate(-0.5deg); }
.card-2.visible { transform: translateY(0) rotate(0.3deg); }
.card-3.visible { transform: translateY(0) rotate(-0.3deg); }
.card-4.visible { transform: translateY(0) rotate(0.4deg); }
.card-5.visible { transform: translateY(0) rotate(-0.4deg); }
.card-6.visible { transform: translateY(0) rotate(0.5deg); }

.card-inner {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.system-card:hover .card-inner {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

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

.system-label {
    font-family: 'Fira Code', monospace;
    font-weight: 400;
    font-size: 0.7rem;
    color: #7080A0;
    letter-spacing: 0.08em;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60C0D0;
}

.status-indicator.active {
    animation: statusBlink 3s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 4px rgba(96, 192, 208, 0.3); }
    50% { opacity: 1; box-shadow: 0 0 8px rgba(96, 192, 208, 0.6); }
}

.card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #E0E4F0;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #A0A8B8;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.card-diagram {
    width: 100%;
    height: 60px;
    margin-bottom: 1rem;
}

.card-metrics {
    display: flex;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.metric-label {
    font-family: 'Fira Code', monospace;
    font-size: 0.6rem;
    color: #7080A0;
    letter-spacing: 0.1em;
}

.metric-value {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #60C0D0;
    letter-spacing: 0.05em;
}

/* Card accent color variations */
.card-2 .metric-value,
.card-4 .metric-value {
    color: #D0A060;
}

.card-3 .metric-value,
.card-6 .metric-value {
    color: #A060C0;
}

/* --- Card Diagram Animations --- */
.card-line, .card-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.system-card.visible .card-line,
.system-card.visible .card-path {
    animation: drawCardLine 1.5s 0.3s forwards;
}

@keyframes drawCardLine {
    to {
        stroke-dashoffset: 0;
    }
}

.active-cell {
    animation: cellPulse 2.5s ease-in-out infinite;
}

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

.entropy-ring {
    transform-origin: 100px 40px;
}

.ring-outer {
    animation: ringRotate 12s linear infinite;
}

.ring-mid {
    animation: ringRotate 8s linear infinite reverse;
}

.ring-inner {
    animation: ringRotate 5s linear infinite;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.wave-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.system-card.visible .wave-path {
    animation: drawWave 2s 0.5s forwards;
}

@keyframes drawWave {
    to { stroke-dashoffset: 0; }
}

.route-dot {
    animation: routePulse 2s ease-in-out infinite alternate;
}

@keyframes routePulse {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.mesh-node {
    animation: meshNodePulse 3s ease-in-out infinite;
}

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

.card-endpoint {
    animation: endpointPulse 2.8s ease-in-out infinite;
}

@keyframes endpointPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.card-node {
    animation: nodeRingPulse 4s ease-in-out infinite;
}

@keyframes nodeRingPulse {
    0%, 100% { opacity: 0.5; stroke-width: 1; }
    50% { opacity: 0.9; stroke-width: 1.5; }
}

/* --- Interstitial Section --- */
.interstitial-section {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.interstitial-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.interstitial-diagram {
    width: 100%;
    height: auto;
}

.flow-line {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
}

.interstitial-section.visible .flow-line {
    animation: drawFlowLine 3s ease-out forwards;
}

.flow-line-2 {
    animation-delay: 0.5s !important;
}

@keyframes drawFlowLine {
    to { stroke-dashoffset: 0; }
}

.flow-node {
    animation: flowNodePulse 3s ease-in-out infinite;
}

@keyframes flowNodePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* --- Aurora Section --- */
.aurora-section {
    position: relative;
    z-index: 2;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.aurora-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(96, 192, 208, 0.08) 0%,
        rgba(160, 96, 192, 0.06) 30%,
        rgba(208, 160, 96, 0.05) 60%,
        rgba(12, 14, 24, 0) 100%
    );
    animation: auroraShift 15s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% {
        background: linear-gradient(
            135deg,
            rgba(96, 192, 208, 0.08) 0%,
            rgba(160, 96, 192, 0.06) 30%,
            rgba(208, 160, 96, 0.05) 60%,
            rgba(12, 14, 24, 0) 100%
        );
    }
    50% {
        background: linear-gradient(
            180deg,
            rgba(160, 96, 192, 0.07) 0%,
            rgba(96, 192, 208, 0.05) 40%,
            rgba(208, 160, 96, 0.06) 70%,
            rgba(12, 14, 24, 0) 100%
        );
    }
    100% {
        background: linear-gradient(
            225deg,
            rgba(208, 160, 96, 0.08) 0%,
            rgba(96, 192, 208, 0.06) 30%,
            rgba(160, 96, 192, 0.05) 60%,
            rgba(12, 14, 24, 0) 100%
        );
    }
}

.aurora-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.aurora-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.aurora-text {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: #E0E4F0;
    letter-spacing: 0.08em;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.aurora-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.aurora-div-line {
    display: block;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7080A0, transparent);
}

.aurora-div-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #A060C0;
    animation: auroraDotPulse 4s ease-in-out infinite;
}

@keyframes auroraDotPulse {
    0%, 100% { opacity: 0.3; box-shadow: 0 0 4px rgba(160, 96, 192, 0.2); }
    50% { opacity: 1; box-shadow: 0 0 12px rgba(160, 96, 192, 0.5); }
}

.aurora-label {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #7080A0;
    opacity: 0.6;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #0C0E18;
}

::-webkit-scrollbar-thumb {
    background: #7080A0;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A0A8B8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .card-1, .card-2, .card-3,
    .card-4, .card-5, .card-6 {
        transform: translateY(30px) rotate(0deg);
    }

    .card-1.visible, .card-2.visible, .card-3.visible,
    .card-4.visible, .card-5.visible, .card-6.visible {
        transform: translateY(0) rotate(0deg);
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .systems-section {
        padding: 4rem 1.2rem 6rem;
    }

    .hero-section {
        padding: 1.5rem;
    }

    .hero-diagram {
        bottom: 5%;
        width: 90vw;
    }

    .aurora-text {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .section-heading {
        letter-spacing: 0.1em;
    }

    .interstitial-section {
        padding: 1rem;
    }
}

/* --- Selection --- */
::selection {
    background: rgba(96, 192, 208, 0.3);
    color: #E0E4F0;
}
