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

/* === ROOT VARIABLES === */
:root {
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-light: #f5f5f5;
    --gray-mid: #d4d4d4;
    --neon-green: #06d6a0;
    --neon-purple: #7c3aed;
    --neon-pink: #ff006e;
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--black);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* === BLOBS === */
.blob {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    animation: blobMorph 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -150px;
    background: var(--neon-green);
    opacity: 0.06;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%);
}

.blob-2 {
    width: 400px;
    height: 400px;
    top: 50%;
    left: -120px;
    background: var(--neon-purple);
    opacity: 0.06;
    clip-path: polygon(25% 5%, 75% 0%, 95% 35%, 100% 65%, 75% 100%, 25% 95%, 0% 65%, 5% 30%);
    animation-delay: -3s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    bottom: -80px;
    right: -100px;
    background: var(--neon-pink);
    opacity: 0.06;
    clip-path: polygon(35% 0%, 65% 5%, 100% 35%, 95% 65%, 65% 100%, 35% 95%, 0% 65%, 5% 35%);
    animation-delay: -5s;
}

@keyframes blobMorph {
    0%, 100% {
        clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 95% 70%, 70% 100%, 30% 95%, 0% 70%, 5% 30%);
    }
    50% {
        clip-path: polygon(20% 5%, 80% 5%, 95% 25%, 100% 75%, 80% 95%, 20% 100%, 5% 75%, 0% 25%);
    }
}

/* === LEAF SVG === */
.leaf {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.leaf.visible {
    opacity: 1;
}

.leaf-1 {
    top: 15%;
    right: 8%;
    transform: rotate(15deg);
}

.leaf-2 {
    top: 55%;
    left: 5%;
    transform: rotate(-25deg);
}

.leaf-3 {
    bottom: 12%;
    right: 12%;
    transform: rotate(40deg);
}

.leaf-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.5s ease;
}

.leaf.visible .leaf-path {
    stroke-dashoffset: 0;
}

/* === CONTENT COLUMN === */
.content-column {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === SECTIONS === */
.section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 12vh 0;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

.section.blurred {
    filter: blur(1.5px);
    opacity: 0.6;
}

.section-inner {
    width: 100%;
}

/* === HERO === */
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.neon-accent {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.15rem;
    color: var(--black);
    opacity: 0.7;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 14px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(10, 10, 10, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(10, 10, 10, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--gray-mid);
}

.btn-ghost:hover {
    border-color: var(--black);
}

/* === SECTION TITLES === */
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

/* === BODY TEXT === */
.body-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 16px;
}

/* === FEATURES === */
.feature-card {
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-light);
}

.feature-card:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.4rem;
    display: inline-block;
    margin-bottom: 8px;
}

.feature-icon.neon-green { color: var(--neon-green); }
.feature-icon.neon-purple { color: var(--neon-purple); }
.feature-icon.neon-pink { color: var(--neon-pink); }

.feature-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* === CODE BLOCK === */
.code-block {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-code);
    font-size: 0.88rem;
    line-height: 1.9;
    padding: 32px;
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 8px 40px rgba(10, 10, 10, 0.12);
}

.code-comment {
    color: var(--gray-mid);
}

.code-cmd {
    color: var(--neon-green);
}

/* === PHILOSOPHY === */
.philosophy-quote {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-style: italic;
    line-height: 1.6;
    border-left: 3px solid var(--neon-purple);
    padding-left: 24px;
    margin-bottom: 32px;
    color: var(--black);
    opacity: 0.9;
}

/* === FOOTER NOTE === */
.footer-note {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--gray-mid);
    margin-top: 48px;
}

/* === SCROLL REVEAL === */
.section-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.active .section-inner {
    opacity: 1;
    transform: translateY(0);
}
