/* simidiots.com - Frutiger Aero Greenhouse */

:root {
    --forest-canopy: #1B5E20;
    --leaf-gold: #C5E17A;
    --sky-wash: #E8F5E9;
    --dark-canopy: #0A3A0F;
    --dark-forest: #0A2A0F;
    --sunbeam: rgba(197, 225, 122, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #E8F5E9 0%, #C5E17A 30%, #1B5E20 60%, #0A3A0F 100%);
    background-attachment: fixed;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--dark-forest);
    overflow-x: hidden;
}

/* Glass utility */
.glass {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Hero */
.hero {
    min-height: 120vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 5vw;
}

.shape-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    animation: float var(--float-duration) var(--float-delay) ease-in-out infinite;
}

.floating-shape.s1 { width: 60px; }
.floating-shape.s2 { width: 80px; }
.floating-shape.s3 { width: 50px; }
.floating-shape.s4 { width: 70px; }
.floating-shape.s5 { width: 40px; }
.floating-shape.s6 { width: 120px; }
.floating-shape.s7 { width: 100px; }
.floating-shape.s8 { width: 60px; }
.floating-shape.s9 { width: 35px; }
.floating-shape.s10 { width: 90px; }

.bg-shape { filter: blur(12px); }
.mid-shape { filter: blur(4px); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-glass {
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    text-align: center;
    max-width: 700px;
}

.hero-domain {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    letter-spacing: 0.04em;
    color: var(--dark-forest);
    transition: font-variation-settings 0.3s ease;
    font-variation-settings: 'wght' 700;
}

.hero-domain:hover {
    font-variation-settings: 'wght' 900;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.7;
    color: var(--dark-forest);
    margin-top: 1.5rem;
}

/* Block shared */
.block {
    padding: 6vh 5vw;
    position: relative;
    z-index: 2;
}

.block-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--dark-forest);
    margin-bottom: 1.5rem;
}

/* Swarm */
.block-swarm {
    padding: 8vh 5vw;
}

.swarm-grid {
    display: flex;
    gap: 3vw;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.swarm-card {
    flex: 1;
    max-width: 300px;
    min-height: 50vh;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.3s ease;
}

.swarm-card:hover {
    background: rgba(255, 255, 255, 0.18);
}

.card-shape {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    animation: pulse-shape 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(197, 225, 122, 0.2));
    transition: animation-duration 0.3s ease, filter 0.3s ease;
}

.swarm-card:hover .card-shape {
    animation-duration: 1.5s;
    filter: drop-shadow(0 0 16px rgba(197, 225, 122, 0.4));
}

@keyframes pulse-shape {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.card-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest-canopy);
    margin-bottom: 0.8rem;
}

.card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-forest);
}

/* Signal */
.block-signal {
    display: flex;
    justify-content: center;
}

.signal-card {
    display: flex;
    gap: 4vw;
    max-width: 80vw;
    padding: 48px;
    align-items: center;
}

.signal-text {
    flex: 0 0 55%;
}

.signal-text p {
    font-size: clamp(0.9rem, 1.1vw, 1.05rem);
    line-height: 1.7;
    color: var(--dark-forest);
}

.signal-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hex-grid {
    width: 100%;
    max-width: 300px;
}

.hex-cell {
    transform: scale(0);
    transition: transform 0.3s ease;
    transition-delay: calc(var(--hex-index) * 50ms);
}

.hex-grid.visible .hex-cell {
    transform: scale(1);
}

/* Output */
.block-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
}

.output-card {
    width: 60vw;
    max-width: 600px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.output-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest-canopy);
    width: 180px;
    flex-shrink: 0;
}

.progress-track {
    flex: 1;
    height: 16px;
    background: var(--forest-canopy);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
}

.progress-fill {
    height: 100%;
    background: var(--leaf-gold);
    border-radius: 8px;
    width: 0%;
    transition: width 1.2s ease-out;
}

.block-output.visible .progress-fill {
    width: var(--target-width);
}

/* Footer */
.greenhouse-floor {
    background: var(--dark-canopy);
    padding: 8vh 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.footer-glass {
    padding: 24px 40px;
    max-width: 500px;
    text-align: center;
}

.footer-statement {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sky-wash);
}

.footer-meta {
    text-align: center;
}

.footer-domain {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--leaf-gold);
}

.footer-rule {
    border: none;
    height: 1px;
    background: rgba(197, 225, 122, 0.3);
    margin: 1rem 0;
    width: 200px;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--sky-wash);
    opacity: 0.6;
}
