/* Homepage Specific Styles - Auto Formula 1 */

:root {
    /* Clean Minimalist Palette */
    --primary: #2563eb;             /* Clean blue */
    --primary-light: #dbeafe;       /* Very light blue */
    --primary-dark: #1d4ed8;        /* Darker blue */
    --secondary: #059669;           /* Clean green */
    --secondary-light: #d1fae5;     /* Very light green */
    --accent: #dc2626;              /* Clean red */
    --accent-light: #fee2e2;        /* Very light red */
    /* Aliases (unify older refs) */
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    --accent-color: var(--accent);
    
    /* Clean Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Text */
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    /* Aliases for legacy */
    --text-dark: var(--text-primary);
    --text-medium: var(--text-secondary);
    
    /* Backgrounds (slightly darker to reduce whiteness) */
    --bg-primary: #f6f7fb;
    --bg-secondary: #eef2f7;
    --bg-muted: #e9edf3;
    
    /* Borders */
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background:
        radial-gradient(900px 500px at -10% 0%, rgba(17,24,39,0.04) 0%, rgba(17,24,39,0) 50%),
        radial-gradient(900px 500px at 110% 100%, rgba(17,24,39,0.04) 0%, rgba(17,24,39,0) 50%),
        var(--bg-primary);
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nowrap {
    white-space: nowrap;
}

/* Clean Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background:
        linear-gradient(180deg, rgba(8, 12, 24, 0.9), rgba(8, 12, 24, 0.78));
    backdrop-filter: blur(16px) saturate(130%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 0.7rem 0;
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.navbar.scrolled {
    box-shadow: 0 18px 45px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.12);
    background:
        linear-gradient(180deg, rgba(8, 12, 24, 0.95), rgba(8, 12, 24, 0.85));
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-toggle-left {
    position: absolute;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.25s ease, max-height 0.25s ease, padding 0.25s ease;
    transform-origin: left center;
}

.menu-toggle-left i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.menu-toggle-left:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.2);
}

.menu-toggle-left.active {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(239,68,68,0.2));
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.menu-toggle-left.active i {
    transform: rotate(90deg);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 90px;
    max-height: 90px;
    width: auto;
}

/* Override unified logo sizing */
.navbar .logo {
    height: 46px;
}

.navbar .logo-link {
    width: 210px;
    height: 46px;
    overflow: hidden;
    line-height: 0;
}

.navbar #navbarLogo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.navbar .logo {
    position: relative;
}

.navbar .logo::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.22), rgba(239, 68, 68, 0));
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.navbar .logo:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.navbar .logo img {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .navbar .logo {
        height: 40px;
    }

    .navbar .logo-link {
        width: 168px;
        height: 40px;
    }
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: #e2e8f0;
}

.nav-menu {
    display: none;
}

.nav-menu a {
    color: #e8edf7;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    position: relative;
    font-weight: 600;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.85), rgba(59, 130, 246, 0.9));
    border-radius: 999px;
    opacity: 0;
    transform: translateX(-50%) scaleX(0.6);
    transition: width 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 70%;
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
    font-weight: 800;
    color: #ffffff;
}

.nav-cta {
    position: absolute;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.8rem;
}

.dealer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border-radius: 1px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 24px rgba(239,68,68,0.35);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dealer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(239,68,68,0.45);
}

/* Clean Hero Section */
.hero {
    min-height: 90vh;
    background: url('hero.jpg') 100% 35% / cover no-repeat,
                linear-gradient(120deg, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0) 35%),
                radial-gradient(900px 600px at 85% 10%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(1200px 700px at 20% 20%, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.1) 60%),
                var(--bg-primary);
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* flip overlay so light flows right -> left */
    background: linear-gradient(270deg, rgba(17,23,42,0.75) 0%, rgba(17,23,42,0.55) 45%, rgba(17,23,42,0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero { background-position: center ; }
    .hero::before { background: linear-gradient(180deg, rgba(17,23,42,0.9) 0%, rgba(17,23,42,0.8) 50%, rgba(17,23,42,0.6) 100%); }

    .hero-text {
        align-items: center;
    }

    .hero-meta-row {
        position: static;
        margin-bottom: 1rem;
        justify-content: center;
    }

    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 460px;
}

.hero-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
    position: absolute;
    top: 0;
    right: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37,99,235,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-badge i { color: #fbbf24; }

.hero-signal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    backdrop-filter: blur(8px);
}

.hero-signal .ping {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
}

.hero-signal .ping::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(34,197,94,0.5);
    animation: ping 1.5s infinite;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-top: 110px;
    margin-bottom: 1rem;
    line-height: 1.05;
    transform: translate(-80px, 0);
}

.hero-title-main {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    white-space: nowrap;
    line-height: 1;
}

.hero-subline {
    font-size: clamp(1.1rem, 0.7vw + 1rem, 1.4rem);
    color: rgba(255,255,255,0.9);
    margin: 0.5rem 0 1.4rem;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.hero-text p {
    font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.3rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.75rem;
    line-height: 1.7;
    max-width: 620px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 4.5rem;
    margin-bottom: 2.2rem;
    transform: translateX(-45px);
}

.highlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    position: relative;
}
.highlight-chip i { color: #60a5fa; }

.chip-info {
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    width: 260px;
    background: rgba(0,0,0,0.8);
    color: #f8fafc;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.9rem;
    line-height: 1.4;
    z-index: 5;
}

.chip-info::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 16px;
    border-width: 8px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}

.highlight-chip:hover .chip-info,
.highlight-chip:focus-within .chip-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: left;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    transition: all 0.25s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.stat-item:hover::after { opacity: 1; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* hero visual card removed */

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: var(--white);
    padding: 1rem 1.6rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(220, 38, 38, 0.4), 0 0 18px rgba(220,38,38,0.4);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.btn-primary i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: scale(1.1);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.5);
}

/* Pulse animation for primary button */
@keyframes pulse-red {
    0% {
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5), 0 0 0 10px rgba(220, 38, 38, 0.1);
    }
    100% {
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    }
}

.btn-primary {
    animation: pulse-red 2s infinite;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: white;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-color: #dc2626;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.35), 0 0 14px rgba(220,38,38,0.4);
}

.btn-secondary i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
}

/* Trust Badges Strip */
.trust {
    padding: 2.5rem 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.75) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-carousel .container {
    position: relative;
}

.trust-slider {
    overflow: hidden;
    position: relative;
}

.trust-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.4);
    color: #f8fafc;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.trust-nav:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.trust-prev { left: 0.25rem; }
.trust-next { right: 0.25rem; }

.trust-nav i {
    font-size: 0.9rem;
}

.trust-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.6s ease;
    will-change: transform;
    padding: 0.25rem;
    cursor: grab;
}

.trust-track.dragging {
    cursor: grabbing;
}

.trust-slide {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: inherit;
}

.logo-img-wrap {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
}

.logo-img-wrap img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
}

.logo-mix img {
    mix-blend-mode: multiply;
}

.logo-badge {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #0b1224;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 25px rgba(0,0,0,0.25);
}

.badge-blue { background: linear-gradient(135deg, #8ec5ff, #60a5fa); }
.badge-amber { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.badge-slate { background: linear-gradient(135deg, #c7d2fe, #64748b); }
.badge-green { background: linear-gradient(135deg, #bbf7d0, #22c55e); }
.badge-red { background: linear-gradient(135deg, #fecdd3, #fb7185); }
.badge-purple { background: linear-gradient(135deg, #e9d5ff, #a855f7); }

.logo-meta h4 {
    margin: 0;
    font-size: 1rem;
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
}

.logo-meta p { display: none; }

/* Clean Benefits Section */
.benefits {
    padding: 5rem 0;
    /* lighter dark with right-to-left light sweep */
    background:
        linear-gradient(270deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 60%),
        linear-gradient(135deg, #3a415a 0%, #2d3a52 50%, #262c40 100%);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.06);
    z-index: 1;
}

.benefits .container {
    position: relative;
    z-index: 2;
}

.benefits .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.benefits .section-header p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.25rem 1.1rem;
    text-align: center;
    box-shadow: 0 16px 36px rgba(0,0,0,0.22);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.75rem;
    color: #f8fafc;
    font-size: 1.3rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.35rem;
}

.benefit-card p {
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
    font-size: 0.95rem;
    margin: 0;
    display: none; /* hidden; revealed via hover swap handled in JS */
}

.benefit-card::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 0;
}

.benefit-card:hover::after {
    opacity: 1;
    transform: scale(1.05);
}

.benefit-card.mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.benefit-card.mini h3,
.benefit-card.mini p {
    text-align: center;
}

.compact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.compact-header .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin: 0;
    font-weight: 800;
}

.compact-header h2 {
    margin: 0;
    font-size: 2.3rem;
    letter-spacing: -0.015em;
    line-height: 1.15;
    position: relative;
}

.compact-header h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    margin-top: 0.4rem;
    border-radius: 999px;
    margin-left: auto;
    margin-right: auto;
}

.header-note {
    margin: 0.35rem 0 0;
    color: rgba(255,255,255,0.78);
    max-width: 520px;
    line-height: 1.6;
    font-weight: 600;
    text-align: center;
}

.benefit-card.mini {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.75rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Clean Stats Section */
.stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    color: var(--text-primary);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px 400px at 20% 30%, rgba(37,99,235,0.12), transparent 60%),
                radial-gradient(900px 500px at 80% 70%, rgba(239,68,68,0.12), transparent 60%),
                rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats .stat-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15,23,42,0.12);
    padding: 1.8rem 1.4rem 1.5rem;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #0f172a;
    line-height: 1;
}

.stats .stat-item p {
    font-size: 1.05rem;
    color: rgba(15,23,42,0.7) !important;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

.stats .stat-item::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 50% 50%, rgba(37,99,235,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.stats .stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(15,23,42,0.18);
    border-color: #d1d9e6;
}

.stats .stat-item:hover::after {
    opacity: 1;
    transform: scale(1.05);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}

.icon-blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.icon-green { background: linear-gradient(135deg, #34d399, #10b981); }
.icon-gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.icon-red { background: linear-gradient(135deg, #fb7185, #ef4444); }

.stats .stat-item {
    align-items: center;
    text-align: center;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
    background: radial-gradient(circle at 12% 20%, rgba(59, 130, 246, 0.12), transparent 35%), radial-gradient(circle at 84% 12%, rgba(16, 185, 129, 0.12), transparent 38%), linear-gradient(135deg, #0b1226 0%, #0f172a 45%, #0b1226 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before,
.testimonials::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    filter: blur(140px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.testimonials::before {
    background: rgba(59, 130, 246, 0.45);
    top: -140px;
    left: -120px;
}

.testimonials::after {
    background: rgba(16, 185, 129, 0.35);
    bottom: -180px;
    right: -80px;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: #e5e7eb;
}

.testimonials .section-header p {
    margin-top: 0.25rem;
    opacity: 0.8;
}

.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: visible;
    padding: 0;
}

.testimonials-track {
    display: flex;
    gap: 1rem;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    padding: 0;
    scroll-behavior: smooth;
    position: relative;
    background: transparent;
}

.testimonials-track::-webkit-scrollbar { display: none; }
.testimonials-track { scrollbar-width: none; }

.review-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
    min-width: 260px;
    scroll-snap-align: start;
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    backdrop-filter: blur(4px);
}

.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(16, 185, 129, 0.25));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    border-color: rgba(59, 130, 246, 0.35);
}

.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #e2e8f0;
    border: none;
    border-radius: 14px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    z-index: 6;
}

.testi-nav:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.38);
    background: linear-gradient(135deg, #111827, #1e293b);
}

.testi-nav.prev { left: -36px; }
.testi-nav.next { right: -36px; }

.testi-nav i { pointer-events: none; font-size: 1rem; }

.review-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
}

.review-name {
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #475569;
}

.google-badge {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.review-date {
    color: #94a3b8;
}

.review-rating {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

.review-text {
    margin: 0.25rem 0 0.75rem;
    color: #1f2937;
    line-height: 1.6;
    font-size: 1rem;
}

.review-location {
    color: #475569;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Enhanced FAQ Section */
.faq-enhanced {
    padding: 6rem 0;
    background: url('FAQ.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.faq-enhanced::before {
    content: none;
}

.faq-enhanced .container {
    position: relative;
    z-index: 1;
}
.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.faq-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.6rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-header h2 i {
    color: var(--primary);
    font-size: 2.5rem;
    -webkit-text-fill-color: initial;
}

.faq-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 720px;
    line-height: 1.6;
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.faq-slider {
    position: relative;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.75rem 0;
}

.faq-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s ease;
    will-change: transform;
}

.faq-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 0.75rem;
    display: flex;
    justify-content: center;
}

.faq-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.faq-nav {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.faq-nav:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #dbeafe;
}

.faq-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.faq-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.2s ease;
}

.faq-dot.active {
    width: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #fb7185);
}

.faq-slider.dragging .faq-track {
    transition: none;
}

.faq-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    width: 100%;
    max-width: 860px;
    backdrop-filter: blur(4px);
}

.faq-card::before {
    content: none;
}

.faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.faq-card:hover::before {
    transform: scaleX(1);
}

.faq-card.active,
.faq-card.open {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 28px 64px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.faq-card.active::before,
.faq-card.open::before {
    transform: scaleX(1);
}

.faq-card-header {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    min-height: 96px;
    gap: 1rem;
}

.faq-card:hover .faq-card-header {
    background: rgba(255, 255, 255, 0.1);
}

.faq-card.active .faq-card-header,
.faq-card.open .faq-card-header {
    background: rgba(37, 99, 235, 0.08);
}

.faq-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-card:nth-child(1) .faq-icon { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.faq-card:nth-child(2) .faq-icon { background: linear-gradient(135deg, #34d399, #10b981); }
.faq-card:nth-child(3) .faq-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.faq-card:nth-child(4) .faq-icon { background: linear-gradient(135deg, #fb7185, #ef4444); }
.faq-card:nth-child(5) .faq-icon { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.faq-card:nth-child(6) .faq-icon { background: linear-gradient(135deg, #38bdf8, #0ea5e9); }

.faq-card:hover .faq-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scale(1.05);
}

.faq-card.active .faq-icon,
.faq-card.open .faq-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: scale(1.05);
}

.faq-icon i {
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.3s ease;
}

.faq-card:hover .faq-icon i,
.faq-card.active .faq-icon i,
.faq-card.open .faq-icon i {
    color: #fff;
    transform: scale(1.1);
}

.faq-question-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.faq-question-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.faq-card:hover .faq-question-content h3,
.faq-card.active .faq-question-content h3,
.faq-card.open .faq-question-content h3 {
    color: #dbeafe;
}

.faq-question-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-arrow {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #eef2f7;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-card:hover .faq-arrow,
.faq-card.active .faq-arrow,
.faq-card.open .faq-arrow {
    background: transparent;
    transform: none;
}

.faq-arrow i {
    display: none;
}

.faq-card.open {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 28px 64px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.faq-card-body {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 1.25rem;
    pointer-events: none;
}

.faq-card.open .faq-card-body {
    max-height: 1200px;
    overflow: visible;
    opacity: 1;
    padding: 0.5rem 1.25rem 1.25rem 1.25rem;
    pointer-events: auto;
}

.faq-key-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.faq-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    white-space: pre-line;
    text-align: left;
    text-decoration: none;
}

.faq-pill-toggle {
    cursor: pointer;
    justify-content: space-between;
    min-width: 220px;
}

.faq-pill-content {
    display: none;
    width: 100%;
    flex-basis: 100%;
    margin-top: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1px;
    color: #f8fafc;
    line-height: 0.8;
    white-space: pre-line;
}

.faq-pill-content div {
    margin-bottom: 0.02rem;
    position: relative;
    padding-left: 0.6rem;
}

.faq-pill-content div:last-child {
    margin-bottom: 0;
}

.faq-pill-content div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f8fafc;
    transform: translateY(-50%);
}

.faq-pill-info {
    position: relative;
    cursor: pointer;
}

.faq-pill-info-content {
    display: none;
    position: relative;
    min-width: 260px;
    max-width: 100%;
    margin-top: 0.4rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.75rem;
    color: #f8fafc;
    line-height: 1.4;
    z-index: 1;
    backdrop-filter: blur(6px);
}

.faq-pill-info-content p {
    margin: 0 0 0.4rem 0;
}

.faq-pill-info-content p:last-child {
    margin-bottom: 0;
}

.faq-pill-info.open .faq-pill-info-content {
    display: block;
}

.faq-pill-toggle.open .pill-indicator i {
    transform: rotate(45deg);
}

.faq-pill-toggle .pill-indicator i {
    transition: transform 0.2s ease;
}

.faq-answer {
    color: #f8fafc;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 700;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
}

.faq-answer .faq-line {
    display: block;
    margin-top: 0.2rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .faq-slide {
        padding: 0 0.25rem;
    }
}

@media (max-width: 768px) {
    .faq-enhanced {
        padding: 4rem 0;
    }
    
    .faq-header h2 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .faq-header h2 i {
        font-size: 2rem;
    }
    
.faq-header p {
    font-size: 0.98rem;
    padding: 0 1rem;
}
    
    .faq-card-header {
        padding: 1.25rem;
        min-height: 100px;
    }
    
    .faq-icon {
        width: 45px;
        height: 45px;
        margin-right: 0.75rem;
    }
    
    .faq-icon i {
        font-size: 1.2rem;
    }
    
    .faq-question-content h3 {
        font-size: 1rem;
    }
    
    .faq-question-content p {
        font-size: 0.82rem;
    }
    
    .faq-arrow {
        width: 36px;
        height: 36px;
    }
    
    .faq-arrow i {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 540px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
    
    .faq-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .faq-arrow {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }
}


/* Clean CTA Section */
.cta-section {
    padding: 5rem 0;
    background:
        radial-gradient(800px 400px at 10% -20%, rgba(37,99,235,0.08) 0%, rgba(37,99,235,0) 60%),
        radial-gradient(600px 300px at 90% 120%, rgba(220,38,38,0.06) 0%, rgba(220,38,38,0) 60%),
        var(--bg-secondary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background:
        radial-gradient(800px 400px at 110% 0%, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0) 60%),
        var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background:
        radial-gradient(680px 220px at 10% 0%, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0)),
        radial-gradient(680px 220px at 92% 0%, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0)),
        linear-gradient(180deg, #0b1220 0%, #0a1222 100%);
    color: #e5e7eb;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 1.35rem 0 0.82rem;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 320px) repeat(3, minmax(160px, 1fr));
    gap: 0.8rem 1rem;
    align-items: flex-start;
}

.footer-brand {
    max-width: none;
    padding-top: 0.1rem;
}

.footer-brand > div {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.footer-brand img {
    height: 102px !important;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #f8fafc;
}

.footer-brand p {
    margin: 0;
    color: rgba(226, 232, 240, 0.8);
    line-height: 1.5;
    font-size: 0.95rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 0.75rem;
    grid-column: 2 / -1;
}

.footer-column {
    background: transparent;
    border: 0;
    padding: 0;
    min-width: 0;
}

.footer-column h4 {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.footer-column > a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    width: auto;
    margin: 0 0.34rem 0.34rem 0;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(30, 41, 59, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-column > a:hover {
    color: #ffffff;
    border-color: rgba(191, 219, 254, 0.46);
    background: rgba(37, 99, 235, 0.26);
    transform: translateY(-1px);
}

.footer-row span,
.footer-row a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
}

.footer-row a:hover {
    color: #f8fafc;
}

.footer-row {
    display: grid;
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 0.45rem;
    margin: 0.24rem 0;
    padding: 0.12rem 0;
}

.footer-row i {
    color: #dbeafe;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.28);
    border: 1px solid rgba(147, 197, 253, 0.32);
    flex-shrink: 0;
}

.footer-contact-column {
    padding-left: 0.2rem;
}

.footer-contact-column .footer-row {
    grid-template-columns: 28px 1fr;
    align-items: center;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.22);
    padding-bottom: 0.35rem;
}

.footer-contact-column .footer-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.footer-contact-column .footer-row a,
.footer-contact-column .footer-row span {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.footer-contact-column .footer-row a:hover {
    color: #ffffff;
}

.footer-contact-column .footer-row i {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(14, 165, 233, 0.88));
    border: 1px solid rgba(191, 219, 254, 0.45);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.28);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.24);
    margin-top: 0.65rem;
    padding-top: 0.62rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #d1d5db;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.footer-columns .footer-column:nth-child(1),
.footer-columns .footer-column:nth-child(3) {
    display: block;
}

.footer .language-switcher {
    display: flex;
    gap: 0.5rem;
}

.footer .language-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.footer .language-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
}

.footer .language-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

@media (max-width: 1080px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 0.72rem;
    }

    .footer-columns {
        grid-column: auto;
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .footer-brand img {
        height: 92px !important;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 1.2rem 0 0.78rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        display: flex;
        justify-content: flex-start;
    }

    .footer-brand img {
        height: 82px !important;
    }
}

/* Floating CTA Cluster */
.cta-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1200;
}

.cta-fab .cta-btn:hover {
    transform: translateY(-1px);
}

.cta-actions {
    display: flex;
    gap: 0.5rem;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(12px);
    transition: all 0.28s ease;
    padding: 0.4rem 0.6rem;
    background: rgba(12, 20, 38, 0.9);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.cta-fab.open .cta-actions {
    max-width: 260px;
    opacity: 1;
    transform: translateX(0);
}

.cta-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: conic-gradient(from 120deg, #0f172a, #1d4ed8, #0ea5e9, #0f172a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

.cta-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(14, 165, 233, 0.5);
}

.cta-main i {
    font-size: 1.35rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.35);
}

.whatsapp-btn i {
    font-size: 1.35rem;
}

.call-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.call-btn i {
    font-size: 1.2rem;
    transform: scaleX(-1);
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 0, #fbbf24, #f59e0b);
    color: #111827;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(14, 165, 233, 0.5);
}

.ai-btn i {
    font-size: 1.1rem;
}

.ai-chat-widget {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 360px;
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 3rem);
    background:
        radial-gradient(circle at 20% 10%, rgba(45, 212, 191, 0.16), transparent 38%),
        radial-gradient(circle at 82% 8%, rgba(14, 165, 233, 0.18), transparent 42%),
        linear-gradient(155deg, rgba(10, 16, 32, 0.94), rgba(7, 11, 24, 0.96));
    border-radius: 22px;
    box-shadow: 0 26px 80px rgba(8, 15, 35, 0.65), 0 14px 32px rgba(8, 15, 35, 0.5);
    overflow: hidden;
    z-index: 1100;
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(12px);
    background-clip: padding-box;
    transform: translateY(14px) scale(0.985);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.22s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ai-chat-widget.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 32px 90px rgba(8, 15, 35, 0.65), 0 16px 38px rgba(8, 15, 35, 0.5);
    border-color: rgba(59, 130, 246, 0.35);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(34, 197, 94, 0.18));
    color: #e5e7eb;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.ai-chat-title {
    margin: 0;
    font-weight: 700;
}

.ai-chat-subtitle {
    font-size: 0.85rem;
    opacity: 0.85;
}

.ai-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-subtitle-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ai-chat-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 16px 6px;
    color: #cbd5e1;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(45, 212, 191, 0.08));
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.ai-chat-beta {
    background: #fff4e6;
    color: #9a3412;
    border: 1px solid #fdba74;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 8px 12px 0;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-status-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.ai-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: pulseDot 2s infinite;
}

.ai-quick-wrapper {
    display: grid;
    grid-template-columns: 1fr 48px;
    align-items: stretch;
    gap: 8px;
    padding: 0 12px;
    width: 100%;
}

.ai-quick-questions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
    margin: 6px 0 10px;
    background: linear-gradient(140deg, rgba(15, 23, 42, 0.97), rgba(22, 30, 48, 0.93));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    max-height: 240px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.28s ease, margin 0.28s ease, opacity 0.25s ease;
    position: relative;
    flex: 1;
    min-width: 0;
    opacity: 1;
}

.ai-quick-questions.animating {
    animation: quickSlide 0.24s ease;
}

.ai-quick-questions.animating-up {
    animation: quickSlideUp 0.26s ease;
}

.ai-quick-questions.animating-down {
    animation: quickSlideDown 0.26s ease;
}

.ai-quick-questions.collapsed + .ai-quick-nav {
    display: none;
}

.ai-quick-toggle-row {
    padding: 8px 12px 6px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(17, 24, 39, 0.9));
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    justify-content: center;
}

.ai-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.98), rgba(13, 25, 45, 0.96));
    color: #e5e7eb;
    border-radius: 14px;
    padding: 9px 12px;
    font-size: 0.95rem;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.22s ease, transform 0.2s ease;
    white-space: normal;
    width: 100%;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.ai-quick-btn:hover {
    background: linear-gradient(145deg, rgba(14, 165, 233, 0.22), rgba(34, 197, 94, 0.25));
    border-color: rgba(14, 165, 233, 0.55);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.2);
}

.ai-quick-questions.collapsed {
    max-height: 0;
    padding: 0 14px;
    margin: 0 12px;
    opacity: 0;
    pointer-events: none;
    border-color: transparent;
    box-shadow: none;
}

.ai-quick-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0 10px;
}

.ai-quick-nav.hidden {
    display: none;
}

.ai-quick-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-quick-nav-btn:hover {
    background: rgba(14, 165, 233, 0.16);
    border-color: rgba(14, 165, 233, 0.4);
}

.ai-quick-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@keyframes quickSlide {
    from {
        opacity: 0.2;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.ai-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-header-actions .ai-status-dot {
    display: none;
}

.ai-quick-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 2px;
    color: #e5e7eb;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.ai-quick-toggle:hover {
    background: rgba(14, 165, 233, 0.22);
    border-color: rgba(14, 165, 233, 0.5);
}

.ai-chat-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.ai-chat-body {
    max-height: 320px;
    min-height: 180px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background:
        radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.1), transparent 46%),
        radial-gradient(circle at 82% 12%, rgba(45, 212, 191, 0.08), transparent 44%),
        linear-gradient(140deg, rgba(8, 12, 26, 0.78), rgba(9, 14, 30, 0.82));
}

.ai-bubble {
    padding: 12px 14px;
    border-radius: 14px;
    line-height: 1.55;
    font-size: 0.95rem;
    max-width: 86%;
    word-break: break-word;
    position: relative;
    animation: bubbleIn 0.22s ease;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ai-bubble.ai {
    background: linear-gradient(135deg, #0ea5e9, #0ea5e9 45%, #22d3ee);
    color: #0b1226;
    align-self: flex-start;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.25);
    border: none;
    padding-left: 30px;
}

.ai-bubble.user {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    align-self: flex-end;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.ai-bubble.ai::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 10px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ai-avatar, none), #0f172a;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.25);
}

.ai-bubble.user::before {
    display: none;
}

.ai-chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(11, 17, 32, 0.95));
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.ai-chat-input input {
    flex: 1;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
    padding: 11px 12px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.95);
}

.ai-chat-input input:focus {
    outline: 2px solid rgba(14, 165, 233, 0.35);
}

.ai-chat-input button {
    border: none;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    color: #0b1226;
    padding: 11px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.ai-chat-input button:hover {
    background: linear-gradient(135deg, #0284c7, #06b6d4);
}

@keyframes bubbleIn {
    from {
        transform: translateY(6px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .ai-chat-widget {
        right: 1rem;
        left: 1rem;
        bottom: 5rem;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 5rem);
        overflow: hidden;
    }

    .ai-quick-questions {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid rgba(15, 23, 42, 0.1);
        max-height: 240px;
        overflow-x: hidden;
        overflow-y: auto;
        transform: none;
    }

    .ai-chat-body {
        max-height: 260px;
    }
}
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes ping {
    0% { transform: scale(0.9); opacity: 0.9; }
    75% { transform: scale(1.6); opacity: 0; }
    100% { opacity: 0; }
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1rem;
    color: #f8fafc;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    display: block;
    position: fixed;
    top: 72px;
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100% - 3rem);
    max-width: 1200px;
    transform: translate(-50%, -6px) scaleY(0.88);
    transform-origin: top center;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 1rem 1.25rem 0.85rem;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
    opacity: 0;
    border: none;
    box-shadow: none;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translate(-50%, 0) scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    border: none;
    pointer-events: none;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.mobile-menu li {
    margin: 0;
}

.mobile-menu a {
    display: inline-flex;
    padding: 0.58rem 0.95rem;
    text-decoration: none;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
    border: none;
    background: transparent;
    letter-spacing: 0.01em;
}

.mobile-menu a:hover {
    background: none;
    color: #ffffff;
    transform: translateY(-1px);
}

.mobile-menu .cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    margin-top: 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 0.35rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #e2e8f0;
    cursor: pointer;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.language-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    overflow: hidden;
}

.language-btn:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 14px rgba(0,0,0,0.16);
}

.language-btn.active {
    background: transparent;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
}

.language-btn.active:hover {
    background: transparent;
}

.language-btn .flag {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    line-height: 1;
}

.language-btn[data-lang="ge"] .flag { background-image: url('geo.avif'); }
.language-btn[data-lang="en"] .flag { background-image: url('usa.avif'); }

.language-toggle .flag {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    line-height: 1;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.18);
    overflow: hidden;
}

.language-toggle:hover,
.language-dropdown:focus-within .language-toggle {
    background: transparent;
    transform: translateY(-1px);
}

.language-menu {
    position: absolute;
    top: 0;
    right: 110%;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    z-index: 10;
    transform-origin: right top;
    opacity: 0;
    transform: translateX(-6px) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-dropdown.open .language-menu {
    display: flex;
    opacity: 1;
    transform: translateX(0) scale(1);
}

.language-menu .language-btn.active {
    display: none;
}

/* Override language button visuals for full-image circular flags */
.language-btn,
.language-toggle {
    background: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    overflow: hidden;
    line-height: 0;
}

.language-btn:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.16);
}

.language-btn.active,
.language-btn.active:hover {
    background: transparent;
}

.language-btn .flag,
.language-toggle .flag {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: 150% 150%;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 0;
    line-height: 1;
}

.language-btn[data-lang="ge"] .flag,
.language-toggle .flag.ge {
    background-image: url('geo.avif');
}

.language-btn[data-lang="en"] .flag,
.language-toggle .flag.en {
    background-image: url('usa.avif');
    background-size: 170% 170%;
}


/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
    }
    .nav-cta {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        min-height: 70vh;
        padding: 2rem 0;
        padding-top: 120px; /* Extra padding for mobile navbar */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-top: 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: auto;
    }

    .hero-card {
        padding: 1.5rem;
        transform: rotate(0deg);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }

    .hero-text p {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-card {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }

    .hero-card h3 {
        font-size: 1.25rem;
    }

    .hero-card p {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .cta-fab {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-card {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }

    .hero-card h3 {
        font-size: 1.1rem;
        color: white;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .benefit-card {
        padding: 1.5rem 1rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .hero-card p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Enhanced animations and interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.cta-button:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Improved loading states */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced hover effects */
.benefit-card,
.testimonial-card,
.hero-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover,
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Improved form styling */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

/* Enhanced mobile experience */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }
    
    .hero-card {
        margin-top: 2rem;
        transform: rotate(0deg);
    }
}

/* Performance optimizations */
.hero,
.benefits,
.stats,
.testimonials {
    will-change: transform;
}

/* Hero Logo Section Styles */
.hero-logo-section {
    margin: 2rem 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo-img {
    height: 130px;
    width: auto;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.6)) brightness(1.1) contrast(1.2);
}

.hero-logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.2);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

/* Hero logo hidden state */
.hero-logo-section.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Mobile responsive hero logo */
@media (max-width: 768px) {
    .hero-logo {
        gap: 1rem;
    }
    
    .hero-logo-img {
        height: 100px;
    }
    
    .hero-logo-text {
        font-size: 1.6rem;
    }
    
    .hero-logo-section.moving-to-navbar .hero-logo-img {
        height: 40px;
    }
    
    .hero-logo-section.moving-to-navbar .hero-logo-text {
        font-size: 1.25rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

@keyframes floatIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}
