/* monopole.tech - Frutiger Aero Glossy Tech Blobitecture */
/* Colors: #FFFFFF, #9b59b6, #2ecc71, #1a5276, #7DFFB3, #3498db, #C49EFF, #82C8FF */

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

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Albert Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    background: #1a5276;
}

/* Aurora Background */
#aurora-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #1a5276, #9b59b6, #2ecc71, #3498db, #1a5276);
    background-size: 400% 400%;
    animation: auroraShift 20s ease infinite;
}

@keyframes auroraShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Blob Layer */
#blob-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(2px);
    opacity: 0;
    transition: opacity 1s ease;
}

.blob.visible {
    opacity: 1;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -5%;
    transform: translate(-200px, -100px);
    animation: blobDrift1 30s linear infinite;
}

.blob-2 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: -10%;
    transform: translate(200px, 0);
    animation: blobDrift2 35s linear infinite;
}

.blob-3 {
    width: 350px;
    height: 350px;
    bottom: -5%;
    left: 30%;
    transform: translate(0, 200px);
    animation: blobDrift3 25s linear infinite;
}

@keyframes blobDrift1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(60px, 40px) rotate(5deg); }
    66% { transform: translate(-30px, 70px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes blobDrift2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-50px, -30px) rotate(-4deg); }
    66% { transform: translate(40px, -60px) rotate(6deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes blobDrift3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -40px) rotate(3deg); }
    66% { transform: translate(-40px, -20px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Floating Spheres */
#sphere-layer {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.6), rgba(255,255,255,0.1) 40%, rgba(130,200,255,0.15) 70%, transparent);
    box-shadow: inset 0 -4px 12px rgba(0,0,0,0.1), 0 0 20px rgba(130,200,255,0.15);
}

.sphere-1 {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 8%;
    animation: floatSphere 12s ease-in-out infinite;
}

.sphere-2 {
    width: 40px;
    height: 40px;
    top: 35%;
    right: 12%;
    animation: floatSphere 15s ease-in-out infinite 2s;
}

.sphere-3 {
    width: 70px;
    height: 70px;
    top: 65%;
    left: 75%;
    animation: floatSphere 18s ease-in-out infinite 4s;
}

.sphere-4 {
    width: 50px;
    height: 50px;
    top: 80%;
    left: 20%;
    animation: floatSphere 14s ease-in-out infinite 1s;
}

.sphere-5 {
    width: 45px;
    height: 45px;
    top: 50%;
    left: 50%;
    animation: floatSphere 16s ease-in-out infinite 3s;
}

@keyframes floatSphere {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-15px); }
    75% { transform: translateY(-25px) translateX(5px); }
}

/* Content Layer */
#content-layer {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Glass Panel Shared */
.glass-panel {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.panel-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 40px rgba(130,200,255,0.1);
    pointer-events: none;
}

/* Hero */
#hero {
    padding: 80px 60px;
    text-align: center;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#hero.visible {
    opacity: 1;
    transform: translateY(0);
}

.version-tag {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-button {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.primary {
    background: rgba(255, 255, 255, 0.9);
    color: #1a5276;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}

/* Card Grid */
#card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 32px 28px;
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.glass-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

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

.card-title {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.card-body {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.card-version {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

/* Footer */
#site-footer {
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-version {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    #card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    #card-grid {
        grid-template-columns: 1fr;
    }
    #hero {
        padding: 48px 28px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    #site-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
