/* :root variables moved to variables.css for consistency */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--gray-50);
    background-image: linear-gradient(180deg, #FFFFFF 0%, var(--gray-50) 48%, #EEF7F2 100%);
    color: var(--primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* --- Container --- */
.landing-container {
    max-width: 640px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative top line */
.landing-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.logo {
    margin-bottom: 32px;
}

.logo img {
    height: 48px;
    width: auto;
}

/* --- Typography & Hook --- */
h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: 0;
}

h1 span {
    color: var(--accent-dark);
    position: relative;
    display: inline-block;
}

h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 30%;
    background: var(--accent-light);
    z-index: -1;
    border-radius: 4px;
}

/* --- Social Proof --- */
.proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.proof-badge i {
    color: var(--accent);
    font-size: 1.25rem;
}

/* --- Benefits Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
}

.benefit-item {
    padding: 16px;
    background: var(--gray-50);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-item:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: var(--shadow);
    border-color: var(--gray-100);
}

.benefit-icon {
    width: 42px;
    height: 42px;
    background: var(--white);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.benefit-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--primary);
}

.benefit-text p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.4;
}

.form-cta-text {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 1.15rem;
}

/* --- Form --- */
#landingForm {
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--gray-50);
    color: var(--primary);
    appearance: none;
    /* Removes default arrow for select */
}

/* Custom Select Arrow */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 48px;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:hover,
.form-select:hover {
    border-color: var(--gray-300);
    background-color: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 216, 99, 0.1);
}

.flex-row {
    display: flex;
    gap: 16px;
}

.flex-1 {
    flex: 1;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 216, 99, 0.2), 0 2px 4px -1px rgba(0, 216, 99, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 216, 99, 0.3), 0 4px 6px -2px rgba(0, 216, 99, 0.15);
    filter: brightness(1.05);
}

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

.form-footer {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gray-50);
    padding: 12px;
    border-radius: 10px;
}

.form-footer i {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* --- Success State --- */
.success-container {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
}

.success-icon {
    width: 96px;
    height: 96px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 32px;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.success-container h2 {
    margin-bottom: 16px;
    font-size: 1.8rem;
    font-weight: 800;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-return {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid var(--gray-200);
}

.btn-return:hover {
    background: var(--gray-50);
    color: var(--primary);
    border-color: var(--gray-300);
}

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

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

@media (max-width: 640px) {
    body {
        padding: 16px;
    }

    .landing-container {
        padding: 32px 20px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 16px;
        text-align: left;
    }

    .benefit-icon {
        margin: 0;
        width: 36px;
        height: 36px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .flex-row {
        flex-direction: column;
        gap: 0;
    }

    .logo {
        margin-bottom: 24px;
    }

    .benefit-text strong {
        margin-bottom: 2px;
    }
}

/* --- Call Box (Success) --- */
.call-box {
    background: var(--accent-light);
    padding: 24px;
    border-radius: 16px;
    margin: 24px 0;
    border: 1px solid rgba(0, 216, 99, 0.2);
}

.call-box p {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.phone-link {
    color: var(--accent-dark);
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
    display: inline-block;
    transition: color 0.2s;
}

.phone-link:hover {
    color: var(--accent);
}
