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

:root {
    --bg-primary: #0B0B0D;
    --bg-secondary: #111113;
    --text-primary: #FFFFFFEE;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --neon-blue: #8AC8FF;
    --neon-violet: #C1AFFF;
    --neon-mint: #00FFB3;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-blue: rgba(138, 200, 255, 0.3);
    --glow-violet: rgba(193, 175, 255, 0.3);
    --glow-mint: rgba(0, 255, 179, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(138, 200, 255, 0.13) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(193, 175, 255, 0.13) 0%, transparent 60%);
}

/* Background grid pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Gradient blobs */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -50px) scale(1.1); }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(11, 11, 13, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: rotate(3deg) scale(1.05);
}

.nav-logo svg {
    filter: drop-shadow(0 0 8px var(--glow-blue));
    transition: filter 0.3s ease;
}

.nav-logo:hover svg {
    filter: drop-shadow(0 0 12px var(--glow-blue));
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 32px;
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--neon-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-violet) 100%);
    color: var(--bg-primary);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(138, 200, 255, 0.5), 0 8px 24px var(--glow-blue);
}

.btn-primary.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-glow {
    box-shadow: 0 4px 20px var(--glow-blue);
}

.btn-glow:hover {
    box-shadow: 0 8px 32px var(--glow-blue), 0 0 16px var(--glow-violet);
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    font-family: 'Space Grotesk', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-violet) 50%, var(--neon-mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 20px var(--glow-blue));
}

/* Countdown Timer */
.countdown-container {
    margin: 48px auto 48px;
    text-align: center;
}

.countdown-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.countdown-number {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    color: var(--text-primary);
    line-height: 1;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
}

.countdown-number.updating {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(138, 200, 255, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.countdown-label-small {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.countdown-separator {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.6;
    font-weight: 400;
}

/* Waitlist Form */
.waitlist-form {
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 280px;
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
}

.email-input::placeholder {
    color: var(--text-tertiary);
}

.email-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px var(--glow-blue);
}

.hero-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Visual Section - The Grid Core */
.visual-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.visual-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(138, 200, 255, 0.2), rgba(193, 175, 255, 0.2));
}

.visual-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.grid-core {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-core-svg {
    width: 100%;
    height: auto;
    max-width: 600px;
}

.core-cube {
    animation: pulseCore 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulseCore {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.outer-node {
    animation: pulseNode 3s ease-in-out infinite;
    transform-origin: center;
    animation-delay: 0s;
}

@keyframes pulseNode {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

.connection-line {
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.grid-core:hover .connection-line {
    opacity: 0.25;
}

/* Section Styles */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 20px;
    margin-bottom: 64px;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(138, 200, 255, 0.2), rgba(193, 175, 255, 0.2));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.step-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-violet), var(--neon-mint));
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.step-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.step-icon {
    margin-bottom: 24px;
    filter: drop-shadow(0 0 8px var(--glow-blue));
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.step-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

/* Templates Section */
.templates-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.templates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(138, 200, 255, 0.2), rgba(193, 175, 255, 0.2));
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.template-card {
    padding: 32px;
    background: rgba(16, 16, 24, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.template-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(138, 200, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.template-card:hover {
    background: rgba(21, 21, 32, 0.8);
    border-color: var(--neon-violet);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--glow-violet);
}

.template-card:hover::before {
    opacity: 1;
}

.template-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 12px var(--glow-violet));
    transition: transform 0.2s ease;
}

.template-card:hover .template-icon {
    transform: scale(1.1);
}

.template-icon svg {
    width: 48px;
    height: 48px;
}

.template-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
}

.template-description {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Providers Section */
.providers-section {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    z-index: 1;
}

.providers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(138, 200, 255, 0.2), rgba(193, 175, 255, 0.2));
}

.providers-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(138, 200, 255, 0.2), rgba(193, 175, 255, 0.2));
}

.providers-content {
    max-width: 800px;
    margin: 0 auto;
}

.providers-list {
    list-style: none;
    margin: 48px 0;
}

.providers-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 18px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.providers-item:last-child {
    border-bottom: none;
}

.check-icon {
    color: var(--neon-mint);
    font-weight: 700;
    font-size: 20px;
    filter: drop-shadow(0 0 8px var(--glow-mint));
}

.providers-form {
    margin-top: 48px;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(138, 200, 255, 0.2), rgba(193, 175, 255, 0.2));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.feature-item {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text-secondary);
}

.feature-item:hover {
    border-color: var(--neon-blue);
    color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--glow-blue);
}

/* Footer */
.footer {
    padding: 64px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-link {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-link:hover {
    color: var(--neon-mint);
    text-shadow: 0 0 8px var(--glow-mint);
}

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

    .nav-link {
        display: none;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .form-group {
        flex-direction: column;
        width: 100%;
    }

    .email-input {
        min-width: 100%;
    }

    .btn-primary.btn-large {
        width: 100%;
    }

    .steps-grid,
    .templates-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .gpu-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(6, 1fr);
        height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .step-card,
    .template-card {
        padding: 24px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: rgba(138, 200, 255, 0.3);
}
