:root {
    --bg: #0a0c0b;
    --cellulose-base: rgba(240, 245, 242, 0.04);
    --cellulose-border: rgba(255, 255, 255, 0.12);
    --accent: #c1ff72;
    --text-main: #e0e7e1;
    --text-dim: #8a938c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Cellulose Grain Overlay */
.cellulose-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
    mix-blend-mode: overlay;
}

.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, #1a2c20 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, #121826 0%, transparent 40%);
    z-index: -1;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.04em;
    /* text-transform: lowercase; */
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

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

nav {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .mono {
    padding-top: 0.5rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    position: relative;
    top: 2px;
}

/* The Hero Component */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}

.hero-subtitle {
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-dim);
    font-size: 1.25rem;
    max-width: 500px;
}

/* The Cellulose Card Hook */
.frosted-sheet {
    background: var(--cellulose-base);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--cellulose-border);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s ease;
    padding-bottom: 6rem;
}

.frosted-sheet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.app-spotlight {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.app-badge {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: rgba(193, 255, 114, 0.1);
    border: 1px solid rgba(193, 255, 114, 0.2);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.badge-text {
    color: var(--accent);
    font-size: 0.6rem;
}

.spotlight-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.spotlight-description {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.icon-check {
    width: 14px;
    color: var(--accent);
}

.price-tag {
    font-size: 4rem;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.1;
    position: absolute;
    bottom: -1rem;
    right: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-main);
    color: var(--bg);
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: var(--accent);
    box-shadow: 0 10px 30px rgba(193, 255, 114, 0.2);
}

.icon-arrow {
    width: 18px;
}

.spotlight-extra {
    padding: 2rem;
}

.spotlight-info-group {
    margin-bottom: 3rem;
}

.spotlight-info-text {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.stat-block {
    border-left: 2px solid var(--cellulose-border);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
}

/* Pipeline Visual */
.pipeline {
    margin-top: 2rem;
    padding-bottom: 10rem;
}

.pipeline-title {
    margin-bottom: 3rem;
    opacity: 0.5;
}

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

.future-card {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    position: relative;
}

.card-phase {
    color: var(--text-dim);
}

.card-title {
    margin: 1rem 0 0.5rem 0;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.loading-bar {
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 30%;
    background: var(--accent);
    animation: pulse-width 3s infinite ease-in-out;
}

/* Progress variants */
.loading-progress.variant-3 {
    width: 15%;
    animation-delay: 1s;
}

.loading-progress.variant-4 {
    width: 5%;
}

.card-dim {
    opacity: 0.5;
}

@keyframes pulse-width {
    0% {
        width: 10%;
        opacity: 0.3;
    }

    50% {
        width: 60%;
        opacity: 1;
    }

    100% {
        width: 10%;
        opacity: 0.3;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.floating {
    animation: float 6s ease-in-out infinite;
}

/* SVG Grain Filter */
.grain-svg {
    position: absolute;
    width: 0;
    height: 0;
}

/* Footer */
.site-footer {
    padding-bottom: 4rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--cellulose-border);
    padding-top: 2rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-links {
    color: var(--text-dim);
    display: flex;
    gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .app-spotlight {
        grid-template-columns: 1fr;
    }

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

    .frosted-sheet {
        padding: 2rem;
    }
}