:root {
    /* Palette */
    --bg-paper: #f4f1ea;
    /* Natural Paper */
    --text-lead: #1a1a1a;
    /* Charcoal */
    --text-muted: #5a5a5a;
    --accent-orange: #ff6b35;
    /* Vibrant fun */
    --accent-rose: #d4a373;
    /* Soft touch */
    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.9);

    /* Fonts */
    --font-heading: 'Gloria Hallelujah', cursive;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--bg-paper);
    color: var(--text-lead);
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(var(--accent-rose) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Subtle dot pattern */
}

/* Custom Cursor */
#cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

#cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    position: fixed;
    top: -16px;
    /* Offset to center around dot */
    left: -16px;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--glass-white);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-lead);
}

.logo-img {
    height: 40px;
    object-fit: contain;
}

.nav-btn {
    text-decoration: none;
    color: var(--text-lead);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--text-lead);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    transform: scale(1.05);
}

/* Main Layout */
main {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 12rem;
    gap: 3rem;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

h1 .highlight {
    color: var(--accent-orange);
    position: relative;
    display: inline-block;
}

h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: rgba(255, 107, 53, 0.2);
    z-index: -1;
    transform: rotate(-1deg);
    border-radius: 5px;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-lead);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 107, 53, 0.3);
}

.sub-text {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.floating-dude {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--accent-rose);
    opacity: 0.15;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: blob-morph 10s infinite alternate ease-in-out;
}

@keyframes blob-morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Philosophy */
#philosophy {
    padding: 6rem 0;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.3rem;
    color: var(--text-muted);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid var(--text-lead);
    /* Sketchy border */
    text-align: left;
    transition: transform 0.3s;
    box-shadow: 10px 10px 0 var(--text-muted);
}

.feature-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 var(--accent-orange);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--bg-paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
    border: 2px dashed var(--text-muted);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* --- New Content Sections --- */
.content-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.alt-bg {
    background: rgba(255, 255, 255, 0.4);
    border-top: 1px dashed rgba(0, 0, 0, 0.05);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.content-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--accent-orange);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.section-desc-left {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* WHAT Section - Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.placeholder-box {
    position: relative;
    height: 400px;
    border-radius: 30px;
    border: 3px solid var(--text-lead);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.05);
}

.abstract-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--accent-rose);
    position: absolute;
    animation: rotate-circle 20s linear infinite;
}

.abstract-line {
    width: 150px;
    height: 3px;
    background: var(--text-lead);
    transform: rotate(-45deg);
}

.code-bubble {
    position: absolute;
    top: 20%;
    left: -20px;
    padding: 1rem 2rem;
    background: var(--text-lead);
    color: white;
    border-radius: 20px 20px 0 20px;
    font-family: monospace;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
    animation: float-bubble 4s infinite ease-in-out;
}

.response-bubble {
    position: absolute;
    bottom: 20%;
    right: -20px;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: white;
    border-radius: 20px 20px 20px 0;
    font-family: monospace;
    box-shadow: -10px 10px 0 rgba(0, 0, 0, 0.1);
    animation: float-bubble 4s infinite ease-in-out 2s;
    /* delay */
}

@keyframes float-bubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate-circle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* WHY Section - Manifesto Grid */
.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 3rem;
    margin-top: 4rem;
    text-align: left;
}

.manifesto-item {
    padding: 2rem;
    border-left: 3px solid var(--accent-rose);
}

.manifesto-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-lead);
}

/* HOW Section - Steps */
.timeline-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    position: relative;
    gap: 2rem;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--text-muted);
    opacity: 0.2;
    z-index: 0;
    border-top: 3px dashed;
}

.step-card {
    flex: 1;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 3px solid var(--text-lead);
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 10px 10px 0 var(--accent-rose);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--text-lead);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    /* cutout effect */
}

/* USE CASES - Scenarios */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.case-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* CTA & Footer */
#footer-cta {
    padding: 8rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.large-text {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
}

.big-btn {
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
}

footer {
    text-align: center;
    padding: 4rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Utility */
.opacity-0 {
    opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --container-width: 95%;
    }
}

@media (max-width: 768px) {
    #hero {
        grid-template-columns: 1fr;
        padding-top: 8rem;
        text-align: center;
        min-height: auto;
        gap: 3rem;
    }

    #hero p {
        margin: 0 auto 3rem;
    }

    .hero-image {
        order: -1;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 3rem;
    }

    .timeline-steps::before {
        display: none;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .glass-nav {
        top: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .logo-text {
        display: none;
        /* Hide text on mobile to save space */
    }

    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .btn-primary {
        padding: 1rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .content-section {
        padding: 3rem 0;
    }
}