:root {
    --deep-forest: #0D1F0D;
    --moss-dark: #1A2E1A;
    --forest-panel: #1E3320;
    --pale-lichen: #D4E8D0;
    --electric-green: #39FF14;
    --phosphor-cyan: #00FFAA;
    --amber-glow: #FFAA00;
    --forest-green: #2D5A27;
    --underground-bg: #0A1A0A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-forest);
    color: var(--pale-lichen);
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* ============================================
   THE ROOT / HERO
   ============================================ */

.root-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--deep-forest);
    overflow: hidden;
}

.root-tendrils {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tendril {
    fill: none;
    stroke: var(--forest-green);
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.15));
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawTendril 2s ease forwards;
}

.tendril:nth-child(1) { animation-delay: 0s; }
.tendril:nth-child(2) { animation-delay: 0.3s; }
.tendril:nth-child(3) { animation-delay: 0.6s; }
.tendril:nth-child(4) { animation-delay: 0.9s; }
.tendril:nth-child(5) { animation-delay: 1.2s; }
.tendril:nth-child(6) { animation-delay: 1.5s; }

@keyframes drawTendril {
    to { stroke-dashoffset: 0; }
}

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

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(56px, 12vw, 140px);
    letter-spacing: 0.02em;
    text-transform: lowercase;
    color: var(--pale-lichen);
    line-height: 1;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 12px rgba(57, 255, 20, 0.2); }
    50% { text-shadow: 0 0 12px rgba(57, 255, 20, 0.5); }
}

.hero-subtitle {
    font-family: 'Inconsolata', monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--electric-green);
    margin-top: 1.5rem;
}

/* ============================================
   THE GARDEN
   ============================================ */

.garden-section {
    position: relative;
    padding: 48px 24px;
    background-color: var(--deep-forest);
}

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

.bg-curve {
    fill: none;
    stroke: var(--forest-green);
    stroke-width: 2;
    opacity: 0.4;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.15));
}

.garden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.garden-card {
    background-color: var(--forest-panel);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.3), inset 0 0 8px rgba(57, 255, 20, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.garden-card:hover {
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.5), inset 0 0 12px rgba(57, 255, 20, 0.1);
    transform: translateY(-2px);
}

.garden-card .ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.3) 0%, transparent 70%);
    transform: scale(0);
    animation: rippleExpand 600ms ease-out forwards;
    pointer-events: none;
}

@keyframes rippleExpand {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

.card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--pale-lichen);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.card-body {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: var(--pale-lichen);
    opacity: 0.85;
    margin-bottom: 1rem;
}

.card-tld {
    font-family: 'Inconsolata', monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--phosphor-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 170, 0.4);
}

.card-animate {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

/* ============================================
   THE UNDERGROUND
   ============================================ */

.underground-section {
    position: relative;
    min-height: 70vh;
    background-color: var(--underground-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

.network-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.network-lines line {
    stroke: var(--forest-green);
    stroke-width: 1;
    opacity: 0.4;
}

.network-nodes .node {
    fill: none;
    stroke: var(--electric-green);
    stroke-width: 1.5;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.network-nodes .node.lit {
    opacity: 1;
    fill: var(--electric-green);
    filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.6));
}

.underground-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
}

.underground-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 5vw, 42px);
    color: var(--pale-lichen);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.underground-text {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: var(--pale-lichen);
    opacity: 0.9;
}

.glow-text {
    color: var(--phosphor-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 170, 0.4);
}

/* ============================================
   THE SEED
   ============================================ */

.seed-section {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--deep-forest);
    padding: 4rem 2rem;
    overflow: hidden;
}

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

.converge-curve {
    fill: none;
    stroke: var(--forest-green);
    stroke-width: 2;
    opacity: 0.5;
    filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.15));
}

.seed-card {
    position: relative;
    z-index: 1;
    max-width: 400px;
    width: 100%;
    background-color: var(--forest-panel);
    padding: 40px 36px;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    box-shadow: 0 0 24px rgba(57, 255, 20, 0.4), inset 0 0 16px rgba(57, 255, 20, 0.08);
    text-align: center;
}

.seed-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--pale-lichen);
    line-height: 1.2;
}

.seed-footer {
    position: relative;
    z-index: 1;
    font-family: 'Inconsolata', monospace;
    font-size: 12px;
    color: var(--pale-lichen);
    opacity: 0.4;
    margin-top: 2rem;
    letter-spacing: 0.1em;
}

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

@media (max-width: 600px) {
    .garden-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .garden-card {
        padding: 20px;
    }

    .underground-section {
        min-height: auto;
        padding: 3rem 1.25rem;
    }

    .seed-card {
        padding: 28px 24px;
    }

    .seed-title {
        font-size: 24px;
    }
}
