body {
    font-family: 'Montserrat', sans-serif;
}

/* Hero gradient - matches the image exactly: light blue top-left to dark navy bottom-right */
.hero-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0E69FA 0%, #041223 100%);
    background-attachment: fixed;
    background-size: cover;
}

/* Glass form panel */
.glass-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    /*border: 0.5px solid rgba(255, 255, 255, 1);*/
    border-radius: 14px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.5);
    transform: translateY(calc(var(--scroll-y, 0) * 0.2px));
    will-change: transform;
}

/* Dark inputs */
.dark-input {
    background: rgba(15, 27, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
}

.dark-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(20, 35, 60, 0.98);
}

/* Custom arrow for selects */
select.dark-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 1rem;
    padding-right: 2.2rem;
}

.dark-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Logos bar */
.logos-bar {
    background: rgba(3, 18, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

/* CTA button */
.cta-btn {
    background: linear-gradient(90deg, #DA0080 0%, #660EFF 100%);
    /*border: 0.5px solid rgba(255, 255, 255, 1);*/
    box-shadow: 0 10px 25px rgba(218, 0, 128, 0.4), inset 0 0 5px rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    /* Reduced from 20px to fit 40px height better */
    height: 44px;
    /* Slight adjustment to fit text comfortably while staying close to 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    max-width: 200px;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #FF4BC8 0%, #964BFF 100%);
    transform: scale(1.02);
}

.cta-btn:active {
    background: linear-gradient(90deg, #960032 0%, #190EB4 100%);
    transform: scale(0.98);
}

/* Header contact buttons */
.header-pill {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    /*border: 0.5px solid rgba(255, 255, 255, 1);*/
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.header-pill:hover {
    background: linear-gradient(110deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-1px);
}

.header-pill:active {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
    transform: translateY(0);
}

/* Benefit card icon */
.benefit-icon {
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

/* Coverage Selection Buttons (Glass Buttons) */
#coverage-list {
    position: relative;
}

.coverage-slider {
    position: absolute;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), inset 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 0;
}

.coverage-btn {
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.cov-active {
    transform: translateX(18px) scale(1.04);
}

.cov-inactive {
    opacity: 0.7;
}

.cov-inactive:hover {
    opacity: 1;
    transform: translateX(8px);
}

.cov-inactive:active {
    transform: translateX(4px) scale(0.98);
}

/* Why buy section */
.why-section {
    background: linear-gradient(90deg, #0162e0 0%, #0348a1 35%, #051428 100%);
    border-radius: 35px;
    position: relative;
}

/* Benefit Cards */
.benefit-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 0 6px rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 0 6px rgba(255, 255, 255, 0.5);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Specific parallax for the hero title block */
.hero-title-parallax {
    transform: translateY(calc(var(--scroll-y, 0) * 0.15px));
    will-change: transform;
}

/* Staggered delay for cards */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Floating animation */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: floating 4s ease-in-out infinite;
    transform: translateY(calc(var(--scroll-y, 0) * 0.45px));
}

/* Ambient glowing blobs for liquid glass effect */
.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
    will-change: transform;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #660EFF 0%, transparent 70%);
    top: 5%;
    right: -150px;
    transform: translateY(calc(var(--scroll-y, 0) * -0.8px));
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0276D4 0%, transparent 70%);
    bottom: -10%;
    left: -200px;
    transform: translateY(calc(var(--scroll-y, 0) * 0.5px));
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #AE8FF9 0%, transparent 70%);
    top: 30%;
    left: 10%;
    transform: translateY(calc(var(--scroll-y, 0) * -0.35px));
}

/* New bottom-right resplandor for the form area */
.blob-4 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(180, 210, 255, 0.25) 50%, transparent 80%);
    bottom: -250px;
    right: -250px;
    transform: translateY(calc(var(--scroll-y, 0) * 0.1px));
    filter: blur(100px);
    opacity: 0.9;
    z-index: 1;
}

/* Ambient glow */
.ambient-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.1) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

/* Liquid Glass Navbar (Optimized for translucency & legibility) */
.liquid-glass-navbar {
    background: linear-gradient(110deg, rgba(8, 23, 50, 0.7) 0%, rgba(12, 37, 79, 0.4) 100%) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
}

/* Infinite Scroll Carousel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
    display: flex;
    width: max-content;
    align-items: center;
    gap: 2.5rem;
    will-change: transform;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 28px;
    flex-shrink: 0;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.75;
    filter: brightness(0) invert(1);
}

.carousel-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Coverage box transition */
#coverage-box {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center top;
}

/* Blue strip gradient */
.blue-strip {
    background: #00354F;
}

/* Vue Form Validation Styles */
.field-error {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.25) !important;
}

.field-success {
    border-color: #4ade80 !important;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.2) !important;
}

.error-msg {
    color: #fca5a5;
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: slideIn 0.2s ease;
}

.success-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #4ade80;
    font-size: 16px;
    pointer-events: none;
}

.field-wrapper {
    position: relative;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hamburger & Sidebar ── */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay */
#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Sidebar panel */
#contact-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: linear-gradient(160deg, #041230 0%, #062060 50%, #0a3080 100%);
    border-left: 1px solid rgba(100, 160, 255, 0.2);
    z-index: 201;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

#contact-sidebar.open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    transition: background 0.2s;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(100, 160, 255, 0.25);
    border-radius: 16px;
    padding: 14px 18px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    cursor: pointer;
}

.sidebar-contact-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(140, 190, 255, 0.45);
    transform: translateX(-3px);
}

.sidebar-contact-btn:active {
    transform: scale(0.97);
}

.sidebar-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4338ca);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}

.sidebar-icon-circle img {
    width: 22px;
    height: 22px;
}

/* Pretty Notifications */
.notification-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.pretty-alert {
    min-width: 320px;
    max-width: 420px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 15, 30, 0.8) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    pointer-events: auto;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pretty-alert.show {
    transform: translateX(0);
    opacity: 1;
}

.pretty-alert.error {
    border-left: 5px solid #ef4444;
}

.pretty-alert.warning {
    border-left: 5px solid #f59e0b;
}

.pretty-alert.success {
    border-left: 5px solid #10b981;
}

.alert-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.error .alert-icon-circle {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.warning .alert-icon-circle {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.success .alert-icon-circle {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.alert-content {
    flex: 1;
}

.alert-title {
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.alert-message {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

.alert-close {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    margin-left: 4px;
    transition: all 0.2s;
}

.alert-close:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Performance Optimization: Content Visibility */
.cv-auto {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* Horizontal bounce animation for table scroll helper */
@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}
.animate-bounce-horizontal {
    animation: bounceHorizontal 1.2s infinite;
}