/* css/landing.css */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.hero-content { position: relative; z-index: 2; mix-blend-mode: exclusion; }

#waveform-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.3; }

.hero h1 {
    font-size: clamp(4rem, 15vw, 12rem); /* Massive scale */
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    color: #fff;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: var(--font-tech);
    color: #888;
    max-width: 600px;
    margin: 0 auto 4rem;
    border-left: 1px solid var(--accent);
    padding-left: 1.5rem;
    text-align: left;
}

/* Grid Background */
.grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(#222 1px, transparent 1px), linear-gradient(90deg, #222 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

/* Products */
.products { padding: 8rem 0; }

.product-card {
    border: 1px solid var(--border-dim);
    padding: 3rem;
    margin-bottom: 2rem;
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    transition: 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover {
    border-color: var(--accent); /* Red border on hover */
    transform: translateX(10px); /* Slide effect */
}

.product-number {
    position: absolute; top: -1rem; right: 1rem;
    font-size: 8rem; font-weight: 900;
    color: #222; z-index: -1;
    font-family: var(--font-stack);
}

.product-name { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -2px; margin-bottom: 1rem; color: #fff; }

.product-link {
    display: inline-block; margin-top: 2rem;
    color: var(--accent); font-family: var(--font-tech);
    text-transform: uppercase; font-weight: bold; border-bottom: 1px solid var(--accent);
}

/* Philosophy */
.philosophy { padding: 8rem 0; border-top: 1px solid var(--border-dim); }
.philosophy-text { font-size: clamp(1.5rem, 3vw, 2.5rem); color: #444; line-height: 1.4; }
.philosophy-text strong { color: #fff; font-weight: 400; background: rgba(255, 62, 62, 0.1); padding: 0 5px; }

/* FIX: Stats Section (Fixes the broken alignment in your screenshot) */
.stats {
    padding: 6rem 0;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    background: var(--bg-panel);
}

.stats-grid {
    display: grid;
    /* Forces 4 columns on large screens */
    grid-template-columns: repeat(4, 1fr); 
    gap: 2rem;
    text-align: left;
}

.stat {
    border-left: 1px solid var(--border-dim);
    padding-left: 2rem;
}

.stat-number {
    font-family: var(--font-tech); /* Monospace fixes spacing issues */
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.stat-label { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* FIX: Newsletter (Fixes the invisible input) */
.newsletter { padding: 8rem 0; text-align: center; }

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 3rem auto 0;
    border: 1px solid #444; /* Container border */
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    background: #111; /* Visible dark background */
    border: none;
    color: #fff;
    font-family: var(--font-tech);
    outline: none;
}

.newsletter-input:focus { background: #000; }

.newsletter-button {
    padding: 1rem 2rem;
    background: #fff; /* High contrast button */
    color: #000;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.newsletter-button:hover {
    background: var(--accent); /* Red on hover */
    color: #fff;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr 1fr; } /* 2x2 grid on mobile */
    .newsletter-form { flex-direction: column; border: none; gap: 1rem; }
    .newsletter-input, .newsletter-button { width: 100%; border: 1px solid #333; }
}
