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

:root {
    --bg: #0a0a0f;
    --bg-secondary: #11111a;
    --fg: #f0f0f5;
    --fg-muted: #888899;
    --accent: #00d4aa;
    --accent-dim: #00d4aa33;
    --card: #16161f;
    --border: #2a2a3a;
    --glow: rgba(0, 212, 170, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
    line-height: 1.6;
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.scroll-container {
    position: relative;
    z-index: 10;
    min-height: 400vh;
}

section {
    position: relative;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 8rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--accent) 0%, #00ffcc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    color: var(--fg-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--glow);
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--accent) 0%, #00b894 100%);
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.features {
    padding-top: 4rem;
}

.feature {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem;
    opacity: 0;
    transform: translateY(50px);
}

.feature-content {
    max-width: 500px;
    z-index: 20;
}

.feature:nth-child(odd) .feature-content {
    margin-left: auto;
    text-align: right;
}

.feature:nth-child(even) .feature-content {
    margin-right: auto;
}

.feature h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature p {
    font-size: 1.125rem;
    color: var(--fg-muted);
    line-height: 1.7;
}

.specs {
    padding: 8rem 2rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.spec-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.spec-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-muted);
    margin-bottom: 0.5rem;
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fg);
}

.cta-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 100%);
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--fg-muted);
    margin-bottom: 2rem;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent 0%, var(--bg) 50%, var(--bg) 100%);
    z-index: 20;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-branding {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--fg-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.footer-creator {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-text {
        opacity: 1;
        transform: none;
    }
    .feature, .spec-card {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 768px) {
    .feature:nth-child(odd) .feature-content,
    .feature:nth-child(even) .feature-content {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .feature {
        min-height: auto;
        padding: 4rem 1.5rem;
    }
}

::selection {
    background: var(--accent);
    color: var(--bg);
}