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

:root {
    --deep-ground: #0d0f1a;
    --aurora-green: #00e89d;
    --aurora-teal: #00c2d1;
    --aurora-violet: #7b2ff7;
    --aurora-pink: #e040a0;
    --leaf-light: #e8f5e9;
    --warm-glow: #ffd54f;
    --bg-mid1: #0a1628;
    --bg-mid2: #0d1f2d;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--deep-ground);
    color: var(--leaf-light);
    font-family: 'Albert Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    letter-spacing: 0.005em;
    overflow-x: hidden;
}

/* Aurora Overlay */
.aurora-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(170deg, rgba(0,232,157,0.15) 0%, rgba(0,194,209,0.12) 35%, rgba(123,47,247,0.10) 65%, rgba(224,64,160,0.08) 100%);
    background-size: 200% 200%;
    animation: auroraShift 30s ease-in-out infinite;
}

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

/* Sections */
.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(4rem, 8vh, 8rem) clamp(1rem, 4vw, 2rem);
    z-index: 1;
}

/* Hero / Canopy */
#canopy {
    background: linear-gradient(135deg, #0d0f1a 0%, #0a1628 30%, #0d1f2d 60%, #0d0f1a 100%);
}

.leaf-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.leaf-icon {
    position: absolute;
    animation: rotate var(--rot-duration, 60s) linear infinite;
}

.leaf-1 { top: 12%; left: 18%; --rot-duration: 45s; }
.leaf-2 { top: 8%; right: 20%; --rot-duration: 70s; }
.leaf-3 { bottom: 20%; left: 10%; --rot-duration: 55s; }
.leaf-4 { top: 30%; right: 12%; --rot-duration: 90s; }
.leaf-5 { bottom: 15%; right: 18%; --rot-duration: 38s; }
.leaf-6 { top: 50%; left: 35%; --rot-duration: 80s; }

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--leaf-light);
    margin-bottom: 1.5rem;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: scale(0.3);
    animation: bloomChar 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bloomChar {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-tagline {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: rgba(232, 245, 233, 0.7);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Morph Dividers */
.morph-divider {
    position: relative;
    z-index: 1;
    margin-top: -2px;
}

.morph-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.divider-path {
    animation: morphDivider 12s ease-in-out infinite;
}

@keyframes morphDivider {
    0%, 100% { d: path("M0,40 C200,20 400,60 600,40 C800,20 1000,60 1200,40 L1200,80 L0,80Z"); }
    50% { d: path("M0,30 C200,60 400,20 600,50 C800,30 1000,55 1200,35 L1200,80 L0,80Z"); }
}

.divider-1 .divider-path {
    animation-name: morphDivider;
}

.divider-2 .divider-path {
    animation-duration: 15s;
}

.divider-3 .divider-path {
    animation-duration: 10s;
}

/* Growth Rings */
.ring {
    padding: clamp(6rem, 12vh, 10rem) clamp(1rem, 4vw, 2rem);
}

.ring-content {
    max-width: 52rem;
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2rem, 4vh, 4rem);
    z-index: 2;
    position: relative;
}

.ring-icon {
    opacity: 0;
    transform: scale(0.2);
    transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ring-icon.visible {
    opacity: 1;
    transform: scale(1);
}

.draw-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ring-icon.visible .draw-path {
    stroke-dashoffset: 0;
}

.ring-headline {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--leaf-light);
}

.ring-body {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    max-width: 38rem;
    color: rgba(232, 245, 233, 0.85);
}

/* Background Leaves */
.bg-leaf {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50% 0 50% 0;
    border: 1px solid rgba(0, 232, 157, 0.04);
    pointer-events: none;
}

.bg-leaf-1 {
    top: 10%;
    right: -5%;
    transform: rotate(17deg);
    animation: rotate 120s linear infinite;
}

.bg-leaf-2 {
    bottom: 5%;
    left: -8%;
    transform: rotate(43deg);
    border-color: rgba(0, 194, 209, 0.04);
    animation: rotate 150s linear infinite reverse;
}

.bg-leaf-3 {
    top: 20%;
    left: -3%;
    transform: rotate(-12deg);
    border-color: rgba(123, 47, 247, 0.05);
    animation: rotate 100s linear infinite;
}

/* Bloom Section */
.bloom-cluster {
    position: relative;
    width: 300px;
    height: 250px;
}

.bloom-icon {
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bloom-1 { top: 0; left: 50%; transform: translateX(-50%); }
.bloom-2 { top: 40%; left: 0; }
.bloom-3 { bottom: 0; right: 10%; }
.bloom-4 { top: 20%; right: 0; animation: rotate 50s linear infinite; }

.bloom-icon.bloomed {
    transform: scale(1.3) rotate(15deg);
}

/* Footer */
#footer {
    background: var(--leaf-light);
    color: var(--deep-ground);
    min-height: 40vh;
    gap: 1.5rem;
}

.footer-leaf {
    animation: rotate 30s linear infinite;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    color: var(--deep-ground);
}

.footer-text {
    font-family: 'Albert Sans', sans-serif;
    font-weight: 400;
    color: rgba(13, 15, 26, 0.7);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

/* Mobile */
@media (max-width: 768px) {
    .ring-content {
        width: 92%;
    }

    .leaf-icon {
        transform: scale(0.7);
    }

    .bloom-cluster {
        width: 240px;
        height: 200px;
    }
}
