/* VORTEX - Clean Modern Design - Performance Optimized */
/* Color Scheme: 70% Black, 30% White/Blue */

@import url("css2-1.css");

/* Performance CSS - Force GPU acceleration and reduce repaints */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:root {
    /* Primary Colors - Glossy Dark */
    --black-primary: #000000;
    --black-secondary: #0f0f0f;
    --black-tertiary: #1a1a1a;
    --black-glossy: #050505;
    --white-primary: #ffffff;
    --white-secondary: #f8f9fa;
    --blue-primary: #2563eb;
    --blue-secondary: #3b82f6;
    --gray-primary: #6b7280;
    --gray-secondary: #9ca3af;
    --gray-light: #e5e7eb;

    /* RGB versions for alpha usage */
    --black-primary-rgb: 0, 0, 0;
    --blue-primary-rgb: 37, 99, 235;
    --white-primary-rgb: 255, 255, 255;

    /* Typography - Modern and Bold */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing and Layout */
    --container-width: 1200px;
    --border-radius: 8px;
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: transform 0.15s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
*,
*::before,
*::after {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* GPU acceleration for commonly animated elements */
.btn,
.nav-link,
.feature-card,
.terminal-window,
.hero-content,
.loading-spinner,
.connect-wallet-btn {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

html {
    scroll-behavior: auto; /* Disable smooth scroll for performance */
}

body {
    font-family: var(--font-primary);
    background: var(--black-primary);
    color: var(--white-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Simple Black Background with Accents */
.vortex-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5;
    pointer-events: none;
    background:
        /* Subtle dark blue accent spots */
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.02) 0%, transparent 40%),
        /* Subtle white accent spots */
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.01) 0%, transparent 30%),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.015) 0%, transparent 35%),
        /* Base black */
        #000000;
}


.scanlines {
    display: none; /* Removed for static design */
}



@keyframes scanlineParallax {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}


#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8; /* Grid distortion visibility */
}

/* Animated Grain/Noise Effect (DISABLED - Using Grid Distortion) */
.grain-overlay {
    display: none; /* Disabled - using grid distortion instead */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    mix-blend-mode: screen;
}

.grain-overlay::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image:
        repeating-radial-gradient(
            circle at 17% 32%,
            white,
            black 0.00085px,
            white 0.0017px
        ),
        repeating-radial-gradient(
            circle at 29% 68%,
            white,
            black 0.00087px,
            white 0.0018px
        ),
        repeating-radial-gradient(
            circle at 71% 45%,
            white,
            black 0.00089px,
            white 0.0019px
        );
    animation: grainShift 8s steps(10) infinite;
    transform: translate3d(0, 0, 0);
}

@keyframes grainShift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    10% {
        transform: translate(-5%, -10%) scale(1.01);
    }
    20% {
        transform: translate(-15%, 5%) scale(1.02);
    }
    30% {
        transform: translate(7%, -25%) scale(1.01);
    }
    40% {
        transform: translate(-5%, 15%) scale(1.02);
    }
    50% {
        transform: translate(-10%, 10%) scale(1.01);
    }
    60% {
        transform: translate(15%, 0%) scale(1.03);
    }
    70% {
        transform: translate(0%, 15%) scale(1.01);
    }
    80% {
        transform: translate(3%, 25%) scale(1.02);
    }
    90% {
        transform: translate(-10%, 10%) scale(1.01);
    }
}

/* Alternative grain style - more film-like */
.grain-overlay.film-grain::before {
    background:
        url("");
    opacity: 0.15;
    animation: grainMove 0.5s steps(3) infinite;
}

@keyframes grainMove {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(-2px, -2px);
    }
    66% {
        transform: translate(2px, 2px);
    }
}

/* Subtle color grain variation */
.grain-overlay.color-grain::before {
    background:
        repeating-conic-gradient(
            from 0deg at 30% 30%,
            rgba(6, 227, 249, 0.01) 0deg,
            transparent 0.5deg,
            transparent 1.5deg,
            rgba(37, 99, 235, 0.01) 2deg
        ),
        repeating-conic-gradient(
            from 45deg at 70% 70%,
            rgba(255, 255, 255, 0.01) 0deg,
            transparent 0.5deg,
            transparent 1.5deg,
            rgba(6, 227, 249, 0.01) 2deg
        );
    animation: grainRotate 20s linear infinite;
}

@keyframes grainRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(2);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(2);
    }
}

/* Toggle classes for different grain styles */
.grain-overlay.hidden {
    display: none;
}

.grain-overlay.subtle {
    opacity: 0.1;
}

.grain-overlay.medium {
    opacity: 0.2;
}

.grain-overlay.heavy {
    opacity: 0.3;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.8s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: opacity, transform;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 68, 136, 0.15) 0%, rgba(0, 34, 68, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.loading-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(0, 51, 102, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(0, 34, 68, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.loading-screen.loaded {
    opacity: 0;
    transform: scale(1.5) translateZ(200px);
    pointer-events: none;
}

/* Ensure main content is visible */
.main-content {
    position: relative;
    z-index: 1;
}

.loading-text {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    position: relative;
    overflow: visible;
    z-index: 10;
    color: #0077ee; /* Fallback color */
    background: linear-gradient(90deg,
        #002244 0%,
        #003366 20%,
        #004488 40%,
        #0055aa 60%,
        #0066cc 80%,
        #0077ee 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
    animation: gradientFlow 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 20px rgba(0, 102, 204, 0.3));
    will-change: background-position;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.loading-text .letter {
    display: inline-block;
    opacity: 0;
    color: #06e3f9;
    animation: typewriterFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes typewriterFadeIn {
    0% {
        opacity: 0;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

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

.loading-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        #003366 10%,
        #0066cc 50%,
        #003366 90%,
        transparent 100%);
    animation: loadingBar 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.8s;
    filter: drop-shadow(0 0 4px rgba(0, 102, 204, 0.6));
}

@keyframes loadingBar {
    to {
        width: 100%;
    }
}

/* Compact Navigation */
.navbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 100px rgba(255, 255, 255, 0.02);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.logo {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    display: block;
    vertical-align: middle;
}

.logo:hover {
    transform: scale(1.1) rotate(15deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
}

.brand-text {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.3),
        0 0 10px rgba(255, 255, 255, 0.15);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.brand-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-primary), rgba(255, 255, 255, 0.5));
    transition: width 0.4s ease;
}

.nav-brand:hover .brand-text::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white-primary);
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    box-shadow:
        0 4px 12px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.wallet-section {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.connect-wallet-btn {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--white-primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transform: translateX(-10px);
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.connect-wallet-btn:hover {
    background: linear-gradient(135deg, var(--blue-secondary) 0%, var(--blue-primary) 100%);
    transform: translateX(-10px) translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.4),
        0 0 30px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.08);
    border-color: rgba(37, 99, 235, 0.5);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-primary);
    cursor: pointer;
    padding: 8px;
}

/* Two-Column Hero Section */
.hero {
    padding: 100px 0 80px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white-primary);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    font-weight: 900;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6))
            drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-primary), transparent);
    animation: expandLine 1.5s ease-out 1.2s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--white-primary);
    box-shadow:
        0 4px 20px rgba(37, 99, 235, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

/* Glossy Terminal Window */
.terminal-window {
    background: #000000;
    border: 1px solid #333333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.02);
    position: relative;
}

.terminal-header {
    background: linear-gradient(135deg,
        var(--black-secondary) 0%,
        var(--black-glossy) 50%,
        var(--black-secondary) 100%);
    border: 1px solid var(--black-tertiary);
    padding: 12px 20px;
    border-bottom: 1px solid var(--black-tertiary);
    text-align: center;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.terminal-title {
    color: var(--white-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.terminal-body {
    padding: 24px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.prompt {
    color: var(--blue-primary);
    font-weight: 600;
    margin-right: 8px;
}

.command {
    color: var(--white-primary);
    font-weight: 500;
}

.output {
    color: var(--gray-secondary);
    margin-left: 20px;
}

.success {
    color: var(--blue-primary);
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--black-secondary);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg,
        var(--black-secondary) 0%,
        var(--black-glossy) 50%,
        var(--black-secondary) 100%);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--blue-primary);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white-primary);
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1);
}

.gradient-text {
    color: var(--blue-primary);
    text-shadow:
        0 0 15px rgba(37, 99, 235, 0.8),
        0 0 30px rgba(37, 99, 235, 0.4),
        0 0 60px rgba(37, 99, 235, 0.2);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    gap: 3rem;
}

.feature-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.feature-card {
    background: linear-gradient(135deg,
        var(--black-secondary) 0%,
        var(--black-glossy) 50%,
        var(--black-secondary) 100%);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--blue-primary);
    clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-secondary);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: linear-gradient(135deg,
        var(--black-secondary) 0%,
        var(--black-glossy) 50%,
        var(--black-secondary) 100%);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.benefit-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--blue-primary);
    clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white-primary);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--gray-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg,
        var(--black-secondary) 0%,
        var(--black-glossy) 50%,
        var(--black-secondary) 100%);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem 2rem 3rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--blue-primary);
    clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white-primary);
    margin-bottom: 1rem;
    text-align: left;
}

.faq-item p {
    color: var(--gray-secondary);
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* Create Page Styles */
.create-hero {
    padding: 120px 0 60px;
    background: var(--black-primary);
    text-align: center;
}

.create-header h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white-primary);
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.7),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 80px rgba(255, 255, 255, 0.2);
}

.token-creator {
    padding: 4rem 0;
    background: var(--black-secondary);
}

.creator-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.creator-form-panel {
    background: var(--black-primary);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.form-panel {
    padding: 0;
}

.panel-header {
    background: var(--black-tertiary);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--black-tertiary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    color: var(--white-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.network-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-secondary);
    font-size: 0.9rem;
}

.network-dot {
    width: 8px;
    height: 8px;
    background: var(--blue-primary);
    border-radius: 50%;
}

.token-form {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--white-primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--black-secondary);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    color: var(--white-primary);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    color: var(--gray-secondary);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.advanced-features {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--black-tertiary);
}

.advanced-features h4 {
    color: var(--white-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coming-soon-badge {
    background: var(--gray-primary);
    color: var(--white-primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.features-grid-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--black-secondary);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    opacity: 0.5;
}

.feature-option.disabled {
    cursor: not-allowed;
}

.feature-info label {
    color: var(--white-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.feature-info small {
    color: var(--gray-secondary);
    font-size: 0.8rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
    color: var(--white-primary);
    border: none;
    padding: 16px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-top: 2rem;
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    box-shadow:
        0 4px 15px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--blue-secondary) 0%, var(--blue-primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(37, 99, 235, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    clip-path: polygon(6% 0%, 100% 0%, 94% 100%, 0% 100%);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.submit-btn:hover::before {
    left: 100%;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--black-primary);
    border: 1px solid var(--black-tertiary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--blue-primary);
    transform: translateY(-2px);
}

.info-card h4 {
    color: var(--white-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--gray-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    color: var(--gray-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.benefits-list li::before {
    content: '•';
    color: var(--blue-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cost-breakdown {
    margin-bottom: 1rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--gray-secondary);
}

.cost {
    color: var(--white-primary);
    font-weight: 600;
}

.cost-divider {
    border-top: 1px solid var(--black-tertiary);
    margin: 12px 0;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--white-primary);
    font-size: 1.1rem;
}

.help-link {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.help-link:hover {
    color: var(--blue-secondary);
}

/* Footer */
.footer {
    background: var(--black-secondary);
    border-top: 1px solid var(--black-tertiary);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-brand p {
    color: var(--gray-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--white-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: var(--gray-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--black-tertiary);
    text-align: center;
    color: var(--gray-secondary);
}

/* Animations */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}


/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .connect-wallet-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
        min-width: auto;
        white-space: nowrap;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
    }

    .navbar.open .nav-menu {
        display: flex;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.5rem 2rem;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
        font-size: 1rem;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .terminal-body {
        padding: 12px;
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .terminal-line {
        flex-wrap: wrap;
        margin-bottom: 6px;
    }

    .prompt {
        flex-shrink: 0;
        margin-right: 0.5rem;
    }

    .command, .output {
        flex: 1;
        word-break: break-all;
    }

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

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        min-height: 48px;
        touch-action: manipulation;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .form-panel,
    .info-card {
        padding: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .loading-text {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        letter-spacing: 0.2em;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .nav-menu {
        top: 70px;
        padding: 1.5rem 0;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    /* Mobile form optimizations */
    input, textarea, select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        touch-action: manipulation;
    }

    .connect-wallet-btn, .submit-btn, .claim-button {
        min-height: 48px;
        touch-action: manipulation;
    }
}