/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

.hero-gradient {
    background: linear-gradient(to top, #0a0a0a 0%, transparent 50%, transparent 100%);
}

/* Noise Texture */
.noise-bg {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: 50;
}



/* Dialog Styles */
:root {
    --bg: #0b0f17;
    --panel: rgba(255, 255, 255, 0.06);
    --panel-strong: rgba(255, 255, 255, 0.09);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.68);
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 22px 80px rgba(0, 0, 0, 0.55);
    --focus: rgba(99, 179, 237, 0.55);
    --danger: #ff6b6b;
    --success: #51cf66;
    --radius: 18px;
    }

    /* optional: button styling for the demo open button */
    button {
    font: inherit;
    }

    .btn-primary,
    .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform .08s ease, background .2s ease, border-color .2s ease;
    }

    .btn-primary {
    background: linear-gradient(180deg, rgba(99,179,237,0.28), rgba(99,179,237,0.12));
    color: var(--text);
    }
    .btn-primary:hover { border-color: rgba(99,179,237,0.55); }
    .btn-primary:active { transform: translateY(1px); }

    .btn-secondary {
    background: var(--panel);
    color: var(--text);
    }
    .btn-secondary:hover { background: var(--panel-strong); }

    .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    }
    .icon-btn:hover { background: var(--panel-strong); }

    /* Dialog */
    .dialog {
    width: min(920px, calc(100% - 28px));
    border: none;
    padding: 0;
    background: transparent;
    color: var(--text);
    }

    .dialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    }

    .dialog__surface {
    background: radial-gradient(1200px 500px at 10% 0%, rgba(99,179,237,0.12), transparent 60%),
                radial-gradient(900px 600px at 90% 10%, rgba(168, 85, 247, 0.10), transparent 60%),
                var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    }

    .dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    }

    .dialog__title {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: 0.2px;
    }

    .dialog__subtitle {
    margin: 8px 0 0 0;
    color: var(--muted);
    line-height: 1.35;
    max-width: 58ch;
    }

    .dialog__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    }

    .lang-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 999px;
    padding: 3px;
    }

    .lang-toggle__btn {
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 999px;
    cursor: pointer;
    }
    .lang-toggle__btn.is-active {
    background: rgba(255, 255, 255, 0.10);
    color: var(--text);
    }

    /* Form */
    .form {
    display: grid;
    gap: 16px;
    }

    .grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    }

    @media (min-width: 720px) {
    .grid {
        grid-template-columns: 1fr;
    }
    /* Make pickup/dropoff span full width if you want:
    #pickup, #dropoff { grid-column: 1 / -1; }
    */
    }

    .field label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    }

    .field input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .field input::placeholder {
    color: rgba(255, 255, 255, 0.35);
    }

    .field input:focus {
    border-color: rgba(99, 179, 237, 0.65);
    box-shadow: 0 0 0 4px var(--focus);
    background: rgba(255, 255, 255, 0.06);
    }

    .help {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    }

    .error {
    margin: 8px 0 0;
    color: var(--danger);
    font-size: 0.9rem;
    min-height: 1.1em;
    }

    .form__footer {
    display: grid;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    }

    .fineprint {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
    }

    .footer__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    }

    .submit-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    min-height: 1.2em;
    }

    /* Honeypot hidden field */
    .hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    }

