/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0f0d;
    --bg-card: #1a2520;
    --bg-elevated: #1e2e26;
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.15);
    --amber: #f59e0b;
    --text: #e8ece9;
    --text-muted: #8a9b8f;
    --radius: 12px;
    --max-w: 1080px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 15, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--green);
}

.logo-sm {
    font-size: 1rem;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
    background: var(--green-dim);
    border-color: var(--green);
}

/* === Buttons === */
.btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
    background: var(--green);
    color: #0a0f0d;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* === Hero === */
.hero {
    padding: 140px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-visual {
    flex-shrink: 0;
    width: 280px;
}

.hero-bowler {
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* === Section Title === */
.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* === Features === */
.features {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background decorative elements */
.bg-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.bg-decor-stumps {
    width: 80px;
    right: 5%;
    top: 10%;
}

.bg-decor-ball {
    width: 150px;
    left: -30px;
    bottom: 5%;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--green-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === How It Works === */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-card);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 260px;
    padding: 0 20px;
}

.step-illustration {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.step-illustration svg {
    width: 100%;
    height: 100%;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green);
    color: #0a0f0d;
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--green), transparent);
    margin-top: 23px;
    flex-shrink: 0;
}

/* === Waitlist === */
.waitlist {
    padding: 80px 0;
}

.waitlist-box {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: 16px;
    padding: 48px 36px;
}

.waitlist-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.waitlist-box > p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.waitlist-form {
    display: flex;
    gap: 10px;
}

.waitlist-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.waitlist-form input[type="email"]:focus {
    border-color: var(--green);
}

.waitlist-form .btn {
    white-space: nowrap;
    padding: 14px 24px;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 14px;
}

.form-success {
    margin-top: 20px;
    padding: 16px;
    background: var(--green-dim);
    border-radius: 10px;
    color: var(--green);
    font-weight: 600;
}

/* === Footer === */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(34, 197, 94, 0.08);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* === Fade-in Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        background: linear-gradient(180deg, var(--green), transparent);
        margin: 0;
    }

    .step {
        max-width: 100%;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-box {
        padding: 36px 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .feature-card {
        padding: 24px;
    }
}
