:root {
    --primary: #0ea5e9;
    --dark: #0f172a;
    --light: #ebf4fd;
    --gray: #64748b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: clamp(16px, 1vw, 18px);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

header p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #cbd5f5;
}

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.4rem);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 1rem;
}

.hero-content p {
    font-size: large;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

section {
    max-width: 1200px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem) 1rem;
}

section {
    padding: 4rem 1rem;
    max-width: 1100px;
    margin: auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#model {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#snowboard-3d {
    width: 100%;
    height: 100%;
}

form input,
form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    font-family: inherit;
}

footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
}

footer a {
    color: #e5e7eb;
    text-decoration: none;
}



@media (max-width: 768px) {

    /* Center text everywhere */
    body {
        text-align: center;
    }

    /* Hero */
    .hero {
        padding: 2rem 1rem;
    }

    .hero-content {
        align-items: center;
    }

    /* Grids → stack + center */
    .grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .grid>* {
        width: 100%;
        max-width: 400px;
    }

    /* Buttons */
    .btn {
        margin-inline: auto;
    }

    /* Forms */
    form {
        margin-inline: auto;
    }
}