/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: var(--spacing-xl);
}



.logo {
    font-size: 1.5rem;
    color: var(--color-brand);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.95;
    margin-bottom: var(--spacing-lg);
}

.highlight {
    color: var(--color-brand);
    text-shadow: 0 0 20px var(--color-brand-glow);
}

.highlight-alt {
    color: #fff;
    -webkit-text-stroke: 2px var(--color-brand);
}

/* Waitlist Form */
.waitlist-container {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.waitlist-form {
    display: flex;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 450px;
}

input[type="email"] {
    flex: 1;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--color-brand);
}

.btn-primary {
    background: var(--color-brand);
    color: #000;
    font-weight: 800;
    padding: 0 2rem;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--color-brand-glow);
}

.waitlist-count {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Mechanics Section */
.mechanics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.mechanic-step {
    padding: var(--spacing-md);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.mechanic-step h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

/* Features Grid */
.features {
    padding: var(--spacing-xl) 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--color-bg-card);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid #222;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--color-brand);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* Footer (Base Styles) */
.footer {
    text-align: center;
    padding: var(--spacing-xl) 0;
    border-top: 1px solid #111;
    font-size: 0.875rem;
    opacity: 0.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo img {
    display: block;
    /* Opacity handled inline or here, verifying visually */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .waitlist-form {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
        padding: 1rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* Questionnaire Styles */
.questionnaire-form {
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    gap: var(--spacing-md);
    background: #111;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid #333;
    animation: fadeIn 0.5s ease-out;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    width: 100%;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.form-group input[type="text"] {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    width: 100%;
    font-family: var(--font-body);
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--color-brand);
}

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-option {
    flex: 1;
    cursor: pointer;
}

.radio-option input {
    display: none;
}

.radio-btn {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border: 1px solid #333;
    border-radius: var(--radius-md);
    background: #000;
    transition: all 0.2s;
    font-weight: 600;
}

.radio-option input:checked+.radio-btn {
    background: var(--color-brand);
    color: #000;
    border-color: var(--color-brand);
}

/* Success State Styles (Modal) */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.success-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.success-card {
    position: relative;
    z-index: 2;
    background: rgba(10, 5, 5, 0.95);
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    text-align: center;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 50px rgba(255, 49, 49, 0.2);
    animation: scaleIn 0.3s ease-out;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #999;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.close-modal-btn:hover {
    color: #fff;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-card h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-email {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.success-email span {
    color: var(--color-brand);
    font-weight: 600;
}

.referral-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.referral-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.referral-sub {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Title Logo */
.hero-title-logo {
    height: 0.75em;
    width: auto;
    vertical-align: middle;
    margin-bottom: 0.1em;
    display: inline-block;
}



/* Specific style for Contact Us to make it pop slightly more if desired, or keep uniform */

/* Mission Section */
.mission-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 49, 49, 0.05) 0%, transparent 100%);
    border-top: 1px solid #111;
    scroll-margin-top: 100px;
    /* Fix for fixed header obscuring content */
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: #fff;
}

.mission-text {
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: #ccc;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.mission-subtext {
    font-size: 1.1rem;
    color: #fff;
}

.mission-subtext strong {
    color: var(--color-brand);
}

/* Footer Links Replaced */
.footer-links-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.footer-links-row a {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-row a:hover {
    color: var(--color-brand);
}

.footer-separator {
    color: #444;
    font-size: 1.2rem;
    font-weight: 300;
}



/* Ensure content doesn't get hidden behind fixed header */
.hero {
    padding-top: 120px;
    /* Offset for fixed header */
}

/* Mobile Adjustments for Nav and Footer */
@media (max-width: 768px) {
    .nav {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .nav-links {
        display: none;
        /* Hide nav links on mobile for simplicity */
    }

    .footer-links-row {
        gap: 1rem;
    }
}