.form-input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: #fff;
    transition: border-color 0.2s;
}
.form-input:focus {
    outline: none;
    border-color: #d4a020;
    box-shadow: 0 0 0 1px rgba(232, 200, 90, 0.15);
}
.form-input::placeholder {
    color: #6b7280;
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Read-more on car detail */
.car-readmore.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

/* --- Toast slide-in (existing) --- */
@keyframes slide-in {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}
.animate-slide-in { animation: slide-in 0.3s ease-out; }

/* --- Scroll-reveal base --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"] {
    opacity: 0;
    transform: translateX(-40px);
}
[data-reveal="left"].revealed {
    transform: translateX(0);
}
[data-reveal="right"] {
    opacity: 0;
    transform: translateX(40px);
}
[data-reveal="right"].revealed {
    transform: translateX(0);
}
[data-reveal="scale"] {
    opacity: 0;
    transform: scale(0.92);
}
[data-reveal="scale"].revealed {
    transform: scale(1);
}

/* --- Stagger children --- */
[data-stagger] > * { transition-delay: calc(var(--stagger, 0) * 80ms); }

/* --- Hero shimmer on wordmark --- */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.hero-shimmer {
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

/* --- Hero floating glow orbs --- */
@keyframes float-up {
    0%   { transform: translateY(0) scale(1);   opacity: 0.3; }
    50%  { opacity: 0.15; }
    100% { transform: translateY(-120vh) scale(0.4); opacity: 0; }
}
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,32,0.35) 0%, transparent 70%);
    pointer-events: none;
    animation: float-up var(--dur) linear var(--delay) infinite;
    will-change: transform, opacity;
}

/* --- Breathing glow pulse (used on icons, CTAs) --- */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,32,0.0); }
    50%      { box-shadow: 0 0 20px 4px rgba(212,160,32,0.12); }
}
.glow-breathe {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* --- Gradient border sweep on hover --- */
@keyframes border-sweep {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* --- Navbar glass morph on scroll --- */
.nav-scrolled {
    background: rgba(10,10,10,0.97) !important;
    border-bottom-color: rgba(212,160,32,0.15) !important;
    box-shadow: 0 1px 30px rgba(0,0,0,0.5);
}

/* --- Desktop nav links — sliding gold underline --- */
.nav-link {
    position: relative;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #9ca3af;
    transition: color 0.25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4a020, #f0c850);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover {
    color: #fff;
}
.nav-link:hover::after {
    width: 60%;
    left: 20%;
}
.nav-link.active {
    color: #f0c850;
}
.nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* --- Animated hamburger icon --- */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 20px;
}
.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.25s ease,
                width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}
.hamburger-icon span:nth-child(2) { width: 14px; }
.hamburger-icon span:nth-child(3) { width: 18px; }

.menu-open .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-open .hamburger-icon span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.menu-open .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 20px;
}

/* --- Mobile nav links — stagger slide-in --- */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s ease calc(var(--i, 0) * 0.04s),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 0.04s),
                background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}
.mobile-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-color: rgba(212,160,32,0.15);
}
.mobile-nav-link.active {
    color: #f0c850;
    background: rgba(212,160,32,0.08);
    border-color: rgba(212,160,32,0.15);
}

/* --- Buy / Rent funnel cards --- */
.funnel-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.07);
    background: linear-gradient(170deg, rgba(255,255,255,0.04) 0%, rgba(10,10,10,0.6) 100%);
    transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.funnel-card:hover {
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 24px 48px -16px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
    transform: translateY(-4px);
}
.funnel-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.funnel-card:hover .funnel-card-glow {
    opacity: 1;
}
.funnel-card-line {
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--tw-gradient-stops));
    border-radius: 1px;
}
.funnel-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    font-size: 0.75rem;
    font-weight: 500;
    color: #d1d5db;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.funnel-card:hover .funnel-pill {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

/* --- Card tilt / lift on hover (subtle 3D) --- */
.card-lift {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.5),
                0 0 0 1px rgba(212,160,32,0.08);
}

/* --- Smooth counter (used on stat numbers) --- */
.counter-value {
    display: inline-block;
    min-width: 2ch;
}

/* --- Floating WhatsApp/Call pulse ring --- */
@keyframes ring-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.fab-pulse {
    animation: ring-pulse 2.5s ease-out infinite;
}

/* --- Section divider glow line --- */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212,160,32,0.3) 50%, transparent 100%);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal].revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-shimmer { animation: none; }
    .hero-particle { animation: none; display: none; }
    .glow-breathe { animation: none; }
    .fab-pulse { animation: none; }
    .card-lift:hover { transform: none; }
}
