/* Clean Modern Style - v3.3 (Stacked Form + Refined Text) */
:root {
    --primary-color: #39ff14;
    --background: #0f0f0f;
    --card-bg: rgba(26, 26, 26, 0.95);
    /* Slightly transparent for BG visibility */
    --text-white: #ffffff;
    --text-grey: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --container-width: 1100px;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-white);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* BACKGROUND IMAGE RESTORED */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('assets/hero_nextseat_legs_modern_small.jpg') no-repeat center center/cover;
    opacity: 0.35;
    /* Subtle atmosphere */
    z-index: -1;
    filter: brightness(0.7) contrast(1.1);
}

.background-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 15, 15, 0.7) 0%,
            rgba(15, 15, 15, 0.4) 50%,
            rgb(15, 15, 15) 100%);
    /* Smooth fade to black at bottom */
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* HEADER / HERO */
.header-section {
    padding: 60px 0 40px 0;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto 40px auto;
    background: rgba(0, 0, 0, 0.4);
    /* Highlight text */
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.sub-headline strong {
    color: var(--text-white);
}

/* --- HERO FORM (HIGHLIGHTED) --- */
.form-container {
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    /* Narrower for stacked vertical look */
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.15), 0 20px 60px rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.form-container:hover {
    box-shadow: 0 0 50px rgba(57, 255, 20, 0.25), 0 25px 70px rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.form-subtitle {
    color: var(--text-grey);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* VISUAL ANCHOR FOR FORM */
.form-container::before {
    content: '🚀 CSATLAKOZZ MOST';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: black;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

/* FORM ELEMENTS - STACKED */
.input-wrapper {
    display: flex;
    flex-direction: column;
    /* ALWAYS VERTICAL */
    gap: 15px;
    margin-bottom: 20px;
}

input[type="email"] {
    width: 100%;
    padding: 18px;
    border-radius: var(--radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-align: center;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: black;
    font-weight: 800;
    padding: 18px 20px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background: #42ff1f;
    box-shadow: 0 5px 20px rgba(57, 255, 20, 0.4);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    font-size: 0.9rem;
    color: #888;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* STATS BAR */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.stat-box {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* URGENCY STRIP - SUBTLE */
.urgency-strip {
    text-align: center;
    padding: 10px;
    max-width: 600px;
    margin: 40px auto 0 auto;
    /* Centered and spaced */
}

.urgency-content {
    display: inline-block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    /* Muted color */
    font-size: 0.9rem;
    /* Removed flashy gradients and animations */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.5);
}

.urgency-content strong {
    color: white;
}

/* FEATURES GRID */
.features-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-box {
    background: var(--card-bg);
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
    backdrop-filter: blur(5px);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(36, 36, 36, 0.95);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.feature-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-box p {
    color: var(--text-grey);
    font-size: 1rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 20px 20px 20px;
    color: var(--text-grey);
    line-height: 1.6;
}

/* FOOTER / DISCLAIMER */
.footer {
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.8);
}

/* MESSAGES */
.message {
    text-align: center;
    margin-top: 1rem;
    min-height: 24px;
    font-weight: 600;
}

.success-msg {
    color: var(--primary-color);
}

.error-msg {
    color: #ff4444;
}

/* ERROR STATE ANIMATION */
.input-error {
    border-color: #ff4444 !important;
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .form-container {
        padding: 25px;
    }

    .grid-wrapper {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }
}