:root {
    --bg-light: #fcfcfd;
    --text-main: #1a1a24;
    --text-muted: #64748b;
    --accent-blue: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.08);
    --glass-white: rgba(255, 255, 255, 0.7);
    --border-soft: rgba(0, 0, 0, 0.06);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Urbanist', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Canvas */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: auto;
    /* Interaction intent */
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, transparent 50%, rgba(255, 255, 255, 0.5) 100%);
}

/* Utils */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hidden {
    display: none !important;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    /* Lighter weight for "cleaner" feel */
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent-blue);
    font-weight: 600;
}

/* Header */
header {
    padding: 2.5rem 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 50;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.logo-accent {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    /* Pillow shape for softer feel */
    font-family: var(--font-display);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-nav {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn-nav:hover {
    background: var(--bg-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: var(--text-main);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    padding: 14rem 0 8rem;
    text-align: center;
}

.badge-clean {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--accent-soft);
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    margin-bottom: 2rem;
    line-height: 1;
}

.hero-subtext {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 5rem;
    font-weight: 300;
}

/* Wishlist Section */
.glass-light {
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    padding: 1rem;
    max-width: 540px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    padding: 0.4rem;
}

.wishlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-main);
}

.wishlist-form input:focus {
    outline: none;
}

/* Success Message */
.success-message {
    padding: 2.5rem;
}

.success-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.success-message h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-muted);
}

/* Philosophies Grid */
.philosophies {
    padding-bottom: 10rem;
}

.grid-philosophy {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.phil-item {
    position: relative;
}

.num {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--accent-blue);
    opacity: 0.5;
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.phil-item h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.phil-item p {
    color: var(--text-muted);
    font-size: 1.15rem;
    font-weight: 300;
}

.phil-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-blue);
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
}

.phil-item:hover .phil-icon {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-blue);
    color: white;
}

.phil-icon svg {
    width: 24px;
    height: 24px;
}

/* Impact Section */
.impact {
    margin: 4rem auto 10rem;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 40px;
}

.impact-title {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    font-weight: 500;
}

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

.impact-card {
    padding: 1rem;
}

.impact-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.impact-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Footer */
footer {
    padding: 6rem 0 4rem;
    border-top: 1px solid var(--border-soft);
}

.container-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes reveal {
    from {
        opacity: 0;
        letter-spacing: -0.08em;
        filter: blur(10px);
    }

    to {
        opacity: 1;
        letter-spacing: -0.02em;
        filter: blur(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-text {
    opacity: 0;
    animation: reveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scale-in {
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Staggering */
.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.25s;
}

.stagger-3 {
    animation-delay: 0.4s;
}

.stagger-4 {
    animation-delay: 0.6s;
}

.stagger-5 {
    animation-delay: 0.8s;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .input-wrapper {
        flex-direction: column;
    }

    .wishlist-form input {
        padding: 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 3rem;
    }
}