/* ========================================
   $UGCLAB - Roblox UGC Creation Studio
   Glassmorphism Design System
   ======================================== */

/* Clash Display Font Import */
@font-face {
    font-family: 'Clash Display';
    src: url('https://cdn.fontshare.com/wf/YPQES5QWJFXBMKV5RDKHXITGBCJHWVCS/OEBKOQNP6FWPBCXDHJHRZATWMYQ5PJWB/NBRFTNC5LNYBNXHBWFZJJ2SPTYCSCX47.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('https://cdn.fontshare.com/wf/YPQES5QWJFXBMKV5RDKHXITGBCJHWVCS/LFCCFQ6SKTJQKV26SGYIIMYQTX63OHRP/NBRFTNC5LNYBNXHBWFZJJ2SPTYCSCX47.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('https://cdn.fontshare.com/wf/YPQES5QWJFXBMKV5RDKHXITGBCJHWVCS/PXAVCOIW7PQRK3A7SXZGNVVWMNDHQONW/NBRFTNC5LNYBNXHBWFZJJ2SPTYCSCX47.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Display';
    src: url('https://cdn.fontshare.com/wf/YPQES5QWJFXBMKV5RDKHXITGBCJHWVCS/BXTZ5ULJNHPKSMS73ZKRJVQ5DS5CHJRY/NBRFTNC5LNYBNXHBWFZJJ2SPTYCSCX47.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties */
:root {
    --color-bg: #08080c;
    --color-bg-elevated: #0d0d12;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-glass: rgba(255, 255, 255, 0.05);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --color-glass-hover: rgba(255, 255, 255, 0.08);

    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.6);
    --color-text-tertiary: rgba(255, 255, 255, 0.4);

    --color-magenta: #ff2d7a;
    --color-magenta-glow: rgba(255, 45, 122, 0.4);
    --color-cyan: #00d4ff;
    --color-cyan-glow: rgba(0, 212, 255, 0.4);
    --color-purple: #8b5cf6;
    --color-purple-glow: rgba(139, 92, 246, 0.4);

    --gradient-primary: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-cyan) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
    --gradient-border: linear-gradient(135deg, rgba(255, 45, 122, 0.5) 0%, rgba(0, 212, 255, 0.5) 100%);

    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    --blur-glass: 20px;
    --blur-glow: 60px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 10000;
}

/* Selection */
::selection {
    background: var(--color-magenta);
    color: var(--color-text);
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-magenta-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

body:hover .cursor-glow {
    opacity: 0.3;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.1em;
}

.logo-symbol {
    color: var(--color-magenta);
}

.logo-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-right: 0.4em;
    vertical-align: middle;
}

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

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out-expo);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-x-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
}

.nav-x-link:hover {
    color: var(--color-text);
    background: var(--color-glass-hover);
}

.nav-ca-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--color-magenta);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.nav-ca-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--color-magenta-glow);
}

.nav-ca-btn svg {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.nav-ca-btn:hover svg {
    opacity: 1;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    transition: top 0.4s var(--ease-out-expo);
}

.toast.visible {
    top: 1.5rem;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(13, 13, 18, 0.95);
    border: 1px solid var(--color-glass-border);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.toast-content svg {
    color: var(--color-magenta);
    flex-shrink: 0;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--blur-glow));
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-magenta);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-cyan);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.3;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: titleReveal 1s var(--ease-out-expo) forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.15s;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: subtitleReveal 1s var(--ease-out-expo) 0.4s forwards;
}

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

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: ctaReveal 1s var(--ease-out-expo) 0.6s forwards;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text);
    box-shadow: 0 4px 20px var(--color-magenta-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px var(--color-magenta-glow);
}

.btn-secondary {
    background: var(--color-glass);
    color: var(--color-text);
    border: 1px solid var(--color-glass-border);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
}

.btn-secondary:hover {
    background: var(--color-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover svg {
    transform: translate(3px, -3px);
}

.btn-secondary:hover svg {
    transform: translateY(3px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: scrollIndicatorReveal 1s var(--ease-out-expo) 1s forwards;
}

@keyframes scrollIndicatorReveal {
    to {
        opacity: 0.5;
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-text) 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(0.5);
        opacity: 0.2;
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 8rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
}

.section-title.visible {
    animation: sectionTitleReveal 0.8s var(--ease-out-expo) forwards;
}

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

/* ========================================
   Catalog Section
   ======================================== */
.catalog {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.catalog-counter {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.counter-label {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.counter-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-value::after {
    content: '+';
    -webkit-text-fill-color: var(--color-cyan);
}

/* Catalog Filters */
.catalog-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: var(--color-glass-hover);
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--color-text);
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Catalog Card */
.catalog-card {
    position: relative;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(40px);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.catalog-card.visible {
    animation: cardReveal 0.6s var(--ease-out-expo) forwards;
}

.catalog-card:nth-child(1) { animation-delay: 0.05s; }
.catalog-card:nth-child(2) { animation-delay: 0.1s; }
.catalog-card:nth-child(3) { animation-delay: 0.15s; }
.catalog-card:nth-child(4) { animation-delay: 0.2s; }
.catalog-card:nth-child(5) { animation-delay: 0.25s; }
.catalog-card:nth-child(6) { animation-delay: 0.3s; }
.catalog-card:nth-child(7) { animation-delay: 0.35s; }
.catalog-card:nth-child(8) { animation-delay: 0.4s; }
.catalog-card:nth-child(9) { animation-delay: 0.45s; }
.catalog-card:nth-child(10) { animation-delay: 0.5s; }
.catalog-card:nth-child(11) { animation-delay: 0.55s; }
.catalog-card:nth-child(12) { animation-delay: 0.6s; }

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

.catalog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--gradient-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.catalog-card:hover::before {
    opacity: 1;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.catalog-card:hover {
    background: var(--color-glass-hover);
    border-color: transparent;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, var(--color-magenta-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.catalog-card:hover .card-glow {
    opacity: 0.3;
}

.card-image {
    padding: 2rem 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.card-image svg,
.card-image img {
    width: 100%;
    height: 100%;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.4s var(--ease-out-expo);
    border-radius: 8px;
}

.catalog-card:hover .card-image svg,
.catalog-card:hover .card-image img {
    transform: scale(1.1) translateY(-5px);
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.card-sales {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-text-tertiary);
    font-size: 0.8rem;
}

.card-sales svg {
    color: var(--color-cyan);
}

/* Hidden cards for filtering */
.catalog-card.hidden {
    display: none;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.03) 50%, transparent 100%);
}

.how-it-works .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.flow-diagram {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 2rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(30px);
}

.flow-step.visible {
    animation: flowStepReveal 0.6s var(--ease-out-expo) forwards;
}

.flow-step[data-step="1"].visible { animation-delay: 0.1s; }
.flow-step[data-step="2"].visible { animation-delay: 0.3s; }
.flow-step[data-step="3"].visible { animation-delay: 0.5s; }

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

.flow-step:hover {
    background: var(--color-glass-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.flow-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: var(--color-text);
}

.flow-icon svg {
    width: 32px;
    height: 32px;
}

.flow-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.flow-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.flow-connector {
    display: flex;
    align-items: center;
    padding-top: 3rem;
    opacity: 0;
}

.flow-connector.visible {
    animation: connectorReveal 0.6s var(--ease-out-expo) 0.2s forwards;
}

.flow-connector:last-of-type.visible {
    animation-delay: 0.4s;
}

@keyframes connectorReveal {
    to {
        opacity: 0.5;
    }
}

.flow-connector svg {
    width: 80px;
    height: 20px;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
    padding: 6rem 2rem;
}

.stats-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 4rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.stats-panel.visible {
    animation: statsPanelReveal 0.8s var(--ease-out-expo) forwards;
}

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

.stats-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, var(--color-magenta-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, var(--color-cyan-glow) 0%, transparent 50%);
    opacity: 0.15;
}

.stat-item {
    position: relative;
    text-align: center;
    z-index: 1;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--color-text-secondary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-top: 0.5rem;
}

.stat-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    color: var(--color-cyan);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, var(--color-glass-border) 50%, transparent 100%);
}

/* ========================================
   Why Section
   ======================================== */
.why-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 45, 122, 0.03) 50%, transparent 100%);
}

.why-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

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

.why-card {
    padding: 2rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    transition: all 0.4s var(--ease-out-expo);
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(30px);
}

.why-card.visible {
    animation: whyCardReveal 0.6s var(--ease-out-expo) forwards;
}

.why-card:nth-child(1).visible { animation-delay: 0.1s; }
.why-card:nth-child(2).visible { animation-delay: 0.2s; }
.why-card:nth-child(3).visible { animation-delay: 0.3s; }
.why-card:nth-child(4).visible { animation-delay: 0.4s; }

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

.why-card:hover {
    background: var(--color-glass-hover);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.why-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
}

.why-icon svg {
    width: 40px;
    height: 40px;
}

.why-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ========================================
   Roadmap Section
   ======================================== */
.roadmap {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.roadmap .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-magenta) 0%, var(--color-cyan) 50%, var(--color-purple) 100%);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 3rem;
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.visible {
    animation: timelineItemReveal 0.6s var(--ease-out-expo) forwards;
}

.timeline-item:nth-child(2).visible { animation-delay: 0.1s; }
.timeline-item:nth-child(3).visible { animation-delay: 0.2s; }
.timeline-item:nth-child(4).visible { animation-delay: 0.3s; }
.timeline-item:nth-child(5).visible { animation-delay: 0.4s; }

@keyframes timelineItemReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: 12px;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-bg);
    border: 2px solid var(--color-cyan);
    box-shadow: 0 0 20px var(--color-cyan-glow);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node {
    transform: scale(1.2);
    box-shadow: 0 0 30px var(--color-cyan-glow);
}

.timeline-content {
    padding: 1.5rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    background: var(--color-glass-hover);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.timeline-quarter {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 12, 0.8) 100%);
    border-top: 1px solid var(--color-glass-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-link svg {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-link:hover svg {
    opacity: 1;
}

.footer-contract {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contract-label {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 8px;
    max-width: fit-content;
}

.contract-address code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    word-break: break-all;
}

.contract-soon {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-magenta);
    letter-spacing: 0.05em;
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 2rem;
    border-top: 1px solid var(--color-glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .flow-connector {
        display: none;
    }

    .flow-diagram {
        flex-direction: column;
        align-items: center;
    }

    .flow-step {
        max-width: 100%;
    }

    .stat-divider {
        display: none;
    }

    .stats-panel {
        padding: 2rem;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 1.5rem;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-counter {
        align-items: flex-start;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .stats-panel {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-contract {
        align-items: center;
    }

    .contract-address {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .catalog-filters {
        justify-content: center;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline-line {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-node {
        left: 2px;
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
