/* Timer Styles */
.timer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-family: var(--font-display);
}

.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    min-width: 80px;
    backdrop-filter: blur(5px);
}

.timer-block span {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.timer-block small {
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-top: 5px;
}

.timer-separator {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    margin-top: -15px; /* Align with numbers */
}

/* Expired State Styles */
.expired-container {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    text-align: center;
}

.expired-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.form-container {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.form-input, .form-select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 2px rgba(227, 24, 55, 0.2);
}

/* Enhanced Multi-select Pills */
.checkbox-pill {
    padding: 12px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: inline-block;
    user-select: none;
}

.checkbox-pill:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    transform: translateY(-2px);
}

.checkbox-pill:has(input:checked) {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(227, 24, 55, 0.4);
    transform: translateY(-2px);
}

/* Ensure form inputs look good */
.form-group textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(45deg, var(--color-accent), #b00e28);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.3);
}

.form-submit-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 15px 40px rgba(227, 24, 55, 0.5);
    transform: translateY(-3px);
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 3px;
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    background-color: rgba(255,255,255,0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.consent-text {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

.consent-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: white;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.modal-subtitle {
    color: var(--color-text-secondary);
}

/* Success Message in Modal */
.form-success {
    display: none;
    text-align: center;
    padding: 20px;
}

.form-success i {
    font-size: 4rem;
    color: #00ff64;
    margin-bottom: 20px;
    display: block;
}

/* Dividers */
.section-divider-text {
    font-family: var(--font-display);
    font-size: 12vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
    text-align: center;
    line-height: 0.8;
    margin: 50px 0;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    opacity: 0.8;
    width: max-content;
    padding-left: 0; /* Start visible immediately */
    margin-left: -20%; /* Start slightly offset to the left to ensure continuity if needed, or 0 */
}

/* Feature List */
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.feature-list i {
    color: var(--color-accent);
}

/* UI Components - RESTORED (Buttons, Tabs, Lease Cards, Promo Banners) */
/* 1. Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 16px 0;
    background-color: var(--color-accent);
    color: white;
    font-weight: 700;
    border-radius: 4px; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid var(--color-accent);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    margin-top: auto;
}

.btn:hover {
    background-color: transparent;
    box-shadow: 0 0 20px var(--color-accent-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    display: inline-block;
    text-align: center;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* 2. Typography */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
}

.hero-title-large {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: white;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
}

.hero-overlay-text {
    position: absolute;
    bottom: 10%;
    right: 5%;
    text-align: right;
    z-index: 10;
    max-width: 400px;
}

/* 3. Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.tab-btn.active, .tab-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

/* 4. Lease Card Visuals */
.lease-card {
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #111;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.lease-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    z-index: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.lease-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) grayscale(20%);
    transition: filter 0.5s ease;
    background-color: #1a1a1a;
}

.lease-card:hover .lease-card-bg img {
    transform: scale(1.1);
    filter: brightness(0.6) grayscale(0%);
}

.lease-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(to top, black 60%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.5s ease;
}

.lease-card:hover .lease-content {
    background: linear-gradient(to top, black 80%, rgba(0,0,0,0.4) 100%);
}

.lease-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.1;
    min-height: 2.2em;
}

.lease-price-tag {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
    display: block;
    text-shadow: 0 10px 30px rgba(0,0,0,0.9);
}

.lease-price-sub {
    font-size: 0.9rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px black;
    margin-bottom: 15px;
    display: block;
}

.lease-features {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.4;
    flex-grow: 0; 
    height: 80px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lease-features strong {
    color: white;
    display: block;
    margin-top: 5px;
}

.legal-text {
    font-size: 0.65rem;
    color: #888;
    line-height: 1.2;
    margin-top: 10px;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
    opacity: 0.8;
    height: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.floating-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-accent);
    color: white;
    padding: 6px 14px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border-radius: 4px;
}

/* 5. Promo Banners */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promo-banner {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
    background: #0f0f0f;
    transition: transform 0.4s ease, border-color 0.4s ease;
    text-decoration: none;
}

.promo-banner:hover {
    transform: scale(1.02);
    border-color: var(--color-accent);
    z-index: 5;
}

.promo-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: filter 0.4s ease;
}

.promo-banner:hover .promo-banner-bg img {
    filter: brightness(0.6);
}

.promo-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
}

.promo-tag {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    align-self: flex-start;
}

.promo-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.promo-desc {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 80%;
    margin-bottom: 20px;
}

.promo-link {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-accent);
    color: white;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 2px solid var(--color-accent);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content; /* Prevent full width unless specified */
}

.promo-link:hover {
    background-color: transparent;
    box-shadow: 0 0 20px var(--color-accent-glow);
    transform: translateY(-2px);
    color: white;
}

.promo-link i {
    transition: transform 0.3s ease;
}

.promo-banner:hover .promo-link i {
    transform: translateX(5px);
}

.promo-banner.full-width {
    grid-column: 1 / -1;
    height: 450px;
}

.promo-banner.full-width .promo-title {
    font-size: 4rem;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .promo-banner.full-width .promo-title {
        font-size: 2.5rem;
    }
    .promo-banner {
        height: auto;
        min-height: 300px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 25px;
    }
    .modal-container {
        padding: 30px 20px;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
}
/* Promo Timer */
.promo-timer {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #ff4d4d; /* Urgent red */
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo-timer i {
    font-size: 0.8rem;
}

/* Adjust tags margin since we wrapped them */
.promo-tag {
    margin-bottom: 0; /* Removed bottom margin as it's handled by the flex row now */
}
/* Multi-select Pills */
.custom-multiselect {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-pill {
    position: relative;
    cursor: pointer;
}

.checkbox-pill input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-pill {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.checkbox-pill:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.checkbox-pill input:checked + span, /* Fallback selector if needed */
.checkbox-pill:has(input:checked) {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* Ensure inputs are visible for debugging or standard behavior if :has not supported fully yet (it is widely supported now) */
/* We rely on :has or JS toggle class if needed, but CSS :has is good for modern browsers */
/* Multi-select Pills */
.custom-multiselect {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-pill {
    position: relative;
    cursor: pointer;
}

.checkbox-pill input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-pill {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.checkbox-pill:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.checkbox-pill input:checked + span, /* Fallback selector if needed */
.checkbox-pill:has(input:checked) {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* Ensure inputs are visible for debugging or standard behavior if :has not supported fully yet (it is widely supported now) */
/* We rely on :has or JS toggle class if needed, but CSS :has is good for modern browsers */
/* Multi-select Pills */
.custom-multiselect {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-pill {
    position: relative;
    cursor: pointer;
}

.checkbox-pill input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-pill {
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.checkbox-pill:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.checkbox-pill input:checked + span, /* Fallback selector if needed */
.checkbox-pill:has(input:checked) {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent-glow);
}

/* Ensure inputs are visible for debugging or standard behavior if :has not supported fully yet (it is widely supported now) */
/* We rely on :has or JS toggle class if needed, but CSS :has is good for modern browsers */
/* Promo Timer */
.promo-timer {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: #ff4d4d; /* Urgent red */
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo-timer i {
    font-size: 0.8rem;
}

/* Adjust tags margin since we wrapped them */
.promo-tag {
    margin-bottom: 0; /* Removed bottom margin as it's handled by the flex row now */
}
