/* ===== RESET AND BASE STYLES ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F0F2F5;
    color: #2A2D35;
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* ===== BOKEH BACKGROUND FIELD ===== */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle 60px at 12% 18%, rgba(90, 138, 122, 0.07) 0%, transparent 100%),
        radial-gradient(circle 45px at 88% 32%, rgba(90, 107, 138, 0.06) 0%, transparent 100%),
        radial-gradient(circle 70px at 22% 55%, rgba(90, 138, 122, 0.08) 0%, transparent 100%),
        radial-gradient(circle 50px at 85% 78%, rgba(90, 107, 138, 0.05) 0%, transparent 100%),
        radial-gradient(circle 65px at 8% 82%, rgba(90, 138, 122, 0.06) 0%, transparent 100%),
        radial-gradient(circle 55px at 78% 12%, rgba(90, 107, 138, 0.07) 0%, transparent 100%),
        radial-gradient(circle 80px at 42% 42%, rgba(90, 138, 122, 0.05) 0%, transparent 100%),
        radial-gradient(circle 48px at 68% 62%, rgba(90, 107, 138, 0.06) 0%, transparent 100%);
    background-size: 200% 200%;
    animation: bokeh-parallax 25s ease-in-out infinite;
}

@keyframes bokeh-parallax {
    0% {
        background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%, 50% 50%, 25% 75%, 75% 25%, 50% 50%;
    }
    50% {
        background-position: 3% 5%, 98% 98%, 5% 95%, 98% 3%, 48% 52%, 28% 72%, 72% 28%, 52% 48%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0%, 50% 50%, 25% 75%, 75% 25%, 50% 50%;
    }
}

/* ===== MAIN AND CONTENT COLUMN ===== */

main {
    position: relative;
    z-index: 1;
}

.content-column {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== SECTIONS ===== */

.section {
    padding: 12vh 0;
    text-align: center;
    opacity: 0;
    animation: section-fade-breathe 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-section {
    padding-top: 8vh;
}

.counter-section {
    /* Standard section styling applied */
}

.philosophy-section {
    /* Standard section styling applied */
}

.reflection-section {
    padding-bottom: 8vh;
}

@keyframes section-fade-breathe {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 1.05;
    }
    100% {
        opacity: 1;
    }
}

/* ===== TYPOGRAPHY ===== */

h1, h2 {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    color: #2A2D35;
}

.display-heading {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin-bottom: 2rem;
}

.body-text {
    font-size: 17px;
    font-weight: 400;
    color: #2A2D35;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.counter-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: #6B7585;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

/* ===== COUNTER ELEMENTS ===== */

.counter-block {
    margin: 3rem 0;
}

.counter {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: #5A8A7A;
    text-shadow: 0 0 30px rgba(90, 138, 122, 0.13);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
    display: inline-block;
    position: relative;
    margin-bottom: 0.5rem;
}

.counter::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #5A6B8A, #5A8A7A);
    transition: width 2.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.counter.animated::after {
    width: 100%;
}

/* ===== DIVIDERS ===== */

.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4vh 0;
}

.divider-svg {
    width: 240px;
    height: 120px;
    display: block;
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .content-column {
        padding: 0 1.5rem;
    }

    .section {
        padding: 8vh 0;
    }

    .divider {
        padding: 3vh 0;
    }

    .divider-svg {
        width: 200px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .content-column {
        padding: 0 1rem;
    }

    .display-heading {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .section-heading {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .counter {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .body-text,
    .counter-label {
        font-size: 16px;
    }

    .section {
        padding: 6vh 0;
    }

    .divider {
        padding: 2vh 0;
    }

    .divider-svg {
        width: 180px;
        height: 90px;
    }
}
