/* ─── LookForCars.in — Coming Soon ─── */

:root {
    --bg: #060a14;
    --bg-surface: #0c1222;
    --bg-elevated: #111a2e;
    --border: #1a2540;
    --border-light: #243352;
    --white: #f1f5f9;
    --gray: #8a9bb8;
    --dim: #526280;
    --blue: #2563eb;
    --blue-bright: #3b82f6;
    --blue-light: #60a5fa;
    --blue-soft: rgba(37,99,235,0.1);
    --blue-glow: rgba(37,99,235,0.35);
    --green: #10b981;
    --green-soft: rgba(16,185,129,0.1);
    --red: #ef4444;
    --red-soft: rgba(239,68,68,0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ─── Background Effects ─── */
.bg-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-bottom {
    position: fixed;
    bottom: -300px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ─── Hero Car Background ─── */
.hero-car-bg {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
    height: 640px;
    background: url('../img/hero-car.jpg') center center / cover no-repeat;
    opacity: 0.26;
    pointer-events: none;
    z-index: 0;
    filter: saturate(0.8);
    -webkit-mask-image: radial-gradient(ellipse 65% 60% at center, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse 65% 60% at center, #000 15%, transparent 78%);
}

@media (max-width: 768px) {
    .hero-car-bg {
        height: 460px;
        opacity: 0.18;
        top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-car-bg {
        height: 380px;
        opacity: 0.15;
    }
}

/* ─── Main Container ─── */
.coming-soon {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ─── Brand ─── */
.brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    margin-bottom: 48px;
}

.brand em {
    font-style: normal;
    color: var(--blue-bright);
}

/* ─── Status Pill ─── */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-soft);
    border: 1px solid rgba(37,99,235,0.25);
    color: var(--blue-bright);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.status-pill .dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ─── Location Badge ─── */
.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(16,185,129,0.1));
    border: 1px solid rgba(37,99,235,0.3);
    padding: 10px 24px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.location-badge i {
    color: var(--blue-bright);
    font-size: 1.15rem;
}

.location-badge strong {
    color: var(--blue-light);
}

/* ─── Heading ─── */
.coming-soon h1 {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.coming-soon h1 span {
    background: linear-gradient(135deg, var(--blue-bright), var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Subtitle ─── */
.subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 48px;
    font-weight: 400;
}

.text-blue {
    color: var(--blue-bright);
    font-weight: 700;
}

/* ─── Card ─── */
.subscribe-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    max-width: 460px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.subscribe-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.subscribe-card p {
    font-size: 0.85rem;
    color: var(--dim);
    margin-bottom: 24px;
}

/* ─── Role Toggle ─── */
.role-toggle {
    display: flex;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 16px;
}

.role-toggle input[type="radio"] {
    display: none;
}

.role-toggle label {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dim);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.role-toggle label i {
    font-size: 1rem;
}

.role-toggle input[type="radio"]:checked + label {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 2px 12px var(--blue-glow);
}

/* ─── Role Offer Banners (Buyer + Dealer) ─── */
.dealer-offer,
.buyer-offer {
    display: none;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(37,99,235,0.1));
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: left;
    animation: slideIn 0.3s ease;
}

.dealer-offer i,
.buyer-offer i {
    font-size: 1.2rem;
    color: var(--green);
    flex-shrink: 0;
}

.dealer-offer span,
.buyer-offer span {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.5;
}

.dealer-offer strong,
.buyer-offer strong {
    color: var(--green);
}

.dealer-offer.visible,
.buyer-offer.visible {
    display: flex;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Email Input ─── */
.email-group {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.email-group input[type="email"] {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.92rem;
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.email-group input[type="email"]::placeholder {
    color: var(--dim);
}

.email-group input[type="email"]:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-soft);
}

/* ─── Submit Button ─── */
.btn-notify {
    background: var(--blue);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-notify:hover {
    background: var(--blue-bright);
    box-shadow: 0 0 30px var(--blue-glow);
}

.btn-notify:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ─── Spinner ─── */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}

.btn-notify.loading .spinner { display: inline-block; }
.btn-notify.loading .btn-text { display: none; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── Messages ─── */
.form-message {
    font-size: 0.82rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
    text-align: left;
}

.form-message.success {
    display: block;
    background: var(--green-soft);
    color: var(--green);
    border: 1px solid rgba(16,185,129,0.2);
}

.form-message.error {
    display: block;
    background: var(--red-soft);
    color: var(--red);
    border: 1px solid rgba(239,68,68,0.2);
}

/* ─── Trust Badges ─── */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray);
    white-space: nowrap;
}

.trust-badges i {
    font-size: 0.95rem;
    color: var(--green);
}

@media (max-width: 480px) {
    .trust-badges {
        gap: 8px 14px;
    }
    .trust-badges span {
        font-size: 0.72rem;
    }
}

/* ─── Features Row ─── */
.features {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.88rem;
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
    color: var(--blue-bright);
}

/* ─── Subscriber Count ─── */
.subscriber-count {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding: 14px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.subscriber-avatars {
    display: flex;
}

.subscriber-avatars .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    border: 2px solid var(--bg-surface);
}

.subscriber-avatars .avatar:nth-child(1) {
    background: var(--blue);
    z-index: 3;
}

.subscriber-avatars .avatar:nth-child(2) {
    background: #7c3aed;
    margin-left: -10px;
    z-index: 2;
}

.subscriber-avatars .avatar:nth-child(3) {
    background: var(--green);
    margin-left: -10px;
    z-index: 1;
}

.subscriber-count p {
    font-size: 0.88rem;
    color: var(--gray);
    margin: 0;
}

.subscriber-count p strong {
    color: var(--white);
    font-weight: 700;
}

.subscriber-count.count-bump {
    animation: bump 0.4s ease;
}

@keyframes bump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* ─── What's Coming Section ─── */
.whats-coming {
    margin-top: 64px;
    width: 100%;
    max-width: 820px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 36px;
    line-height: 1.6;
}

.preview-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.preview-card:hover {
    border-color: var(--border-light);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.card-icon.buyer-icon {
    background: var(--blue-soft);
    color: var(--blue-bright);
    border: 1px solid rgba(37,99,235,0.2);
}

.card-icon.dealer-icon {
    background: var(--green-soft);
    color: var(--green);
    border: 1px solid rgba(16,185,129,0.2);
}

.preview-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.preview-card .card-desc {
    font-size: 0.85rem;
    color: var(--dim);
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray);
    font-weight: 400;
}

.card-features li i {
    font-size: 0.9rem;
    color: var(--blue-bright);
    flex-shrink: 0;
}

.preview-card:last-child .card-features li i {
    color: var(--green);
}

.preview-card:last-child .card-features li:last-child {
    background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(37,99,235,0.08));
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 4px;
}

.preview-card:last-child .card-features li:last-child i {
    color: var(--green);
}

.preview-card:last-child .card-features li:last-child strong {
    color: var(--green);
}

/* ─── FAQ Section ─── */
.faq-section {
    margin-top: 64px;
    width: 100%;
    max-width: 680px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--border-light);
}

.faq-item[open] {
    border-color: rgba(37,99,235,0.3);
}

.faq-item summary {
    padding: 18px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 0.85rem;
    color: var(--dim);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
    color: var(--blue-bright);
}

.faq-item[open] summary {
    color: var(--blue-light);
}

.faq-answer {
    padding: 0 22px 18px;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
    text-align: left;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─── */
.footer {
    text-align: center;
    padding: 24px;
    color: var(--dim);
    font-size: 0.78rem;
    position: relative;
    z-index: 1;
}

.footer a {
    color: var(--blue-bright);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 14px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    color: var(--blue-bright);
    border-color: var(--blue);
    background: var(--blue-soft);
    box-shadow: 0 0 16px var(--blue-glow);
}

.footer p + p {
    margin-top: 6px;
}

.footer-credit {
    font-size: 0.68rem;
    opacity: 0.55;
    margin-top: 10px !important;
}

.footer-credit a {
    color: var(--dim) !important;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .preview-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .email-group {
        flex-direction: column;
    }

    .btn-notify {
        width: 100%;
        justify-content: center;
    }

    .subscribe-card {
        padding: 28px 20px;
    }

    .subscriber-count {
        flex-direction: column;
        gap: 8px;
        border-radius: 16px;
        padding: 16px 20px;
    }

    .preview-card {
        padding: 24px 20px;
    }

    .section-title {
        font-size: 1.3rem;
    }
}
