:root {
    --bg-primary: #000000;
    --text-primary: #ffffff;
    --text-secondary: #666666;
    --grid-color: #1a1a1a;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    min-height: 100vh;
    position: relative;
}

/* Grain texture overlay */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Grid Canvas */
#gridCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

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

.title {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    background: linear-gradient(
        90deg,
        #3a3a3a 0%,
        #7a7a7a 20%,
        #cccccc 40%,
        #ffffff 50%,
        #cccccc 60%,
        #7a7a7a 80%,
        #3a3a3a 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtitleGradient 3s ease-in-out infinite;
}

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

/* CTA Button */
.cta-section {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

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

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
    }
}
