/* monopole.cloud - Skeuomorphic Sky Theme */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: #3A5068;
    background: #F0F6FB;
    overflow-x: hidden;
}

/* ===== Layer 1: The Sky ===== */
#sky {
    position: relative;
    min-height: 100vh;
    background: #F0F6FB;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sky-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #2A4058;
    text-shadow: 0 2px 4px rgba(0,0,0,0.06);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #6A8098;
    margin-bottom: 2rem;
}

/* Skeuomorphic Button */
.explore-btn {
    position: relative;
    display: inline-block;
    padding: 12px 36px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #78B8E8 0%, #68A8D8 100%);
    color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.08),
        0 4px 16px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 12px rgba(0,0,0,0.12),
        0 8px 24px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.explore-btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

.btn-gloss {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

/* ===== Cloud Shapes ===== */
.cloud {
    position: absolute;
    opacity: 0.07;
    z-index: 1;
}

.cloud .puff {
    position: absolute;
    background: #68A8D8;
    border-radius: 50%;
}

.cloud-1 {
    bottom: 20%;
    left: -5%;
    animation: driftRight 60s linear infinite;
}
.cloud-1 .p1 { width: 120px; height: 80px; top: 0; left: 40px; }
.cloud-1 .p2 { width: 80px; height: 60px; top: -20px; left: 80px; }
.cloud-1 .p3 { width: 100px; height: 70px; top: 10px; left: 0; }
.cloud-1 .p4 { width: 90px; height: 60px; top: -10px; left: 120px; }

.cloud-2 {
    bottom: 30%;
    right: -10%;
    animation: driftLeft 75s linear infinite;
}
.cloud-2 .p1 { width: 140px; height: 90px; top: 0; left: 30px; }
.cloud-2 .p2 { width: 100px; height: 70px; top: -25px; left: 70px; }
.cloud-2 .p3 { width: 110px; height: 75px; top: 10px; left: 0; }

.cloud-3 {
    bottom: 10%;
    left: 30%;
    animation: driftRight 90s linear infinite;
}
.cloud-3 .p1 { width: 160px; height: 100px; top: 0; left: 50px; }
.cloud-3 .p2 { width: 110px; height: 80px; top: -30px; left: 100px; }
.cloud-3 .p3 { width: 130px; height: 85px; top: 15px; left: 0; }
.cloud-3 .p4 { width: 100px; height: 70px; top: -15px; left: 160px; }
.cloud-3 .p5 { width: 80px; height: 55px; top: 5px; left: 200px; }

.cloud-4 {
    bottom: 25%;
    left: 60%;
    animation: driftLeft 55s linear infinite;
    opacity: 0.04;
}
.cloud-4 .p1 { width: 100px; height: 65px; top: 0; left: 20px; }
.cloud-4 .p2 { width: 70px; height: 50px; top: -15px; left: 50px; }
.cloud-4 .p3 { width: 85px; height: 55px; top: 5px; left: 0; }

@keyframes driftRight {
    from { transform: translateX(-100px); }
    to { transform: translateX(100vw); }
}

@keyframes driftLeft {
    from { transform: translateX(100px); }
    to { transform: translateX(-100vw); }
}

/* ===== Layer 2: The Explanation ===== */
#explanation {
    position: relative;
}

.section-band {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-image: linear-gradient(180deg, #F0F6FB 0%, #E8F0F8 100%);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    pointer-events: none;
}

.section-inner {
    max-width: 720px;
    margin: 0 auto;
}

/* Content Cards */
.content-card {
    background: #F0F6FB;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.06),
        0 12px 24px rgba(0,0,0,0.04);
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(20px);
}

.content-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.content-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 8px 20px rgba(0,0,0,0.08),
        0 16px 32px rgba(0,0,0,0.06);
}

.content-card:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

.content-card h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #2A4058;
    margin-bottom: 1rem;
}

.content-card p {
    margin-bottom: 1rem;
    color: #3A5068;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Cloud size progression */
.band-2 .cloud,
.band-3 .cloud,
.band-4 .cloud {
    opacity: 0.06;
}

/* ===== Layer 3: The Summit ===== */
#summit {
    position: relative;
}

.band-summit {
    background-image: linear-gradient(180deg, #E8F0F8 0%, #FFF8E8 100%);
    padding: 8rem 1.5rem;
}

.dashboard-panel {
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 2px 8px rgba(0,0,0,0.04),
        0 8px 24px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dashboard-panel.revealed {
    opacity: 1;
    transform: translateY(0);
}

.panel-label {
    display: inline-block;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6A8098;
    background: #E8F0F8;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.dashboard-panel h2 {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #2A4058;
    margin-bottom: 2rem;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.concept-item {
    background: #F0F6FB;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 12px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.concept-item:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.06),
        0 8px 20px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.concept-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.icon-north {
    background: linear-gradient(135deg, #68A8D8, #2A4058);
}

.icon-south {
    background: linear-gradient(135deg, #D8E8F0, #68A8D8);
}

.icon-dirac {
    background: linear-gradient(135deg, #FFF8E8, #68A8D8);
}

.concept-label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #2A4058;
    margin-bottom: 0.5rem;
}

.concept-item p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6A8098;
}

/* ===== Closing: Clear Sky ===== */
#clear-sky {
    min-height: 60vh;
    background: linear-gradient(180deg, #FFF8E8 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.clear-sky-content {
    text-align: center;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.clear-sky-content.revealed {
    opacity: 1;
    transform: translateY(0);
}

.closing-text {
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #6A8098;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.closing-domain {
    font-weight: 700;
    font-size: 0.875rem;
    color: #D8E8F0;
    letter-spacing: 0.02em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-band {
        padding: 4rem 1rem;
    }

    .content-card {
        padding: 1.5rem;
    }

    .dashboard-panel {
        padding: 2rem;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }
}
