@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    --primary-color: #1B2A6B;
    --primary-hover: #131E50;
    --accent-color: #4A8DFF;
    --accent-hover: #2970E6;
    --accent-light: #EBF3FF;
    --white: #FFFFFF;
    --light-gray: #F7F8FA;
    --border-color: #E2E8F0;
    
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --gradient-primary: linear-gradient(135deg, #1B2A6B 0%, #111942 100%);
    --gradient-accent: linear-gradient(135deg, #4A8DFF 0%, #1B2A6B 100%);
    --gradient-light: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    --gradient-card-hover: linear-gradient(180deg, rgba(74, 141, 255, 0.05) 0%, rgba(27, 42, 107, 0) 100%);

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-pill: 50px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(27, 42, 107, 0.08), 0 4px 6px -2px rgba(27, 42, 107, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(27, 42, 107, 0.12), 0 10px 10px -5px rgba(27, 42, 107, 0.06);
    --shadow-hover: 0 25px 50px -12px rgba(27, 42, 107, 0.18);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* --- BASE STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-bg {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.section-title-wrapper {
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--accent-light);
    color: var(--accent-color);
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #DCFCE7;
    color: #166534;
}

/* --- ANIMATIONS (SCROLL AFFECTED) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    transition: var(--transition-smooth);
    padding: 0;
}

.header.sticky {
    box-shadow: var(--shadow-sm);
}

.header.sticky .header-top {
    display: none;
}

.header.sticky .header-main {
    padding: 0.5rem 0;
}

/* --- HEADER TOP & MAIN --- */
.header-top {
    background-color: #F8F9FA;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.35rem 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.header-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4A8DFF;
    font-weight: 600;
}

.header-top-link:hover {
    color: var(--primary-color);
}

.header-top-link svg {
    width: 14px;
    height: 14px;
}

.header-top-divider {
    color: #CBD5E1;
}

.header-main {
    position: relative;
    padding: 0.75rem 0;
    transition: var(--transition-smooth);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- DROPDOWN & HEADER ITEMS --- */
.nav-item {
    position: relative;
    display: inline-block;
    padding: 0.95rem 0;
}

.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid var(--text-dark);
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: var(--transition-smooth);
}

.nav-link:hover .arrow-down {
    border-top-color: var(--accent-color);
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    z-index: 1000;
    display: block;
    opacity: 0;
    pointer-events: none;
    min-width: 180px;
    padding: 0.75rem 0;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Invisible bridge to prevent mouse leaving hover target */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background-color: transparent;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(2px);
}

.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
    color: var(--accent-color);
}

/* --- ACCENT BLUE & NAVY HEADER BUTTONS --- */
.btn-header-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-accent {
    background-color: #4A8DFF;
    color: var(--white) !important;
    border: none;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-accent:hover {
    background-color: #2970E6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent-outline {
    background-color: transparent;
    color: #4A8DFF !important;
    border: 1.5px solid #4A8DFF;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-accent-outline:hover {
    background-color: rgba(74, 141, 255, 0.05);
    transform: translateY(-2px);
}

.btn-signin-outlined {
    background-color: transparent;
    color: #4A8DFF !important;
    border: 1.5px solid #4A8DFF;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    padding: 0.5rem 1.75rem;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.btn-signin-outlined:hover {
    background-color: rgba(74, 141, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-navy {
    background-color: #1B2A6B;
    color: var(--white) !important;
    border: none;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-navy:hover {
    background-color: #131E50;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.header.sticky .logo img {
    height: 70px;
}

.logo-icon {
    width: 45px;
    height: 45px;
}

.logo-text {
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 10rem 0 6rem 0;
    background: #FFFFFF;
    overflow: hidden;
}

/* Premium Ambient Glowing Blobs */
.hero-glow-1 {
    position: absolute;
    top: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 141, 255, 0.12) 0%, rgba(74, 141, 255, 0) 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: float-glow-1 15s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.08) 0%, rgba(147, 51, 234, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: float-glow-2 18s ease-in-out infinite alternate;
}

@keyframes float-glow-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, -40px) scale(1.15); }
}

@keyframes float-glow-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 50px) scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 640px;
}

/* Premium Capsule Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(74, 141, 255, 0.08);
    border: 1px solid rgba(74, 141, 255, 0.15);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    font-weight: 850;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #1B2A6B 0%, #4A8DFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.hero-sec-link {
    font-weight: 650;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    padding: 0.5rem 0;
}

.hero-sec-link svg {
    transition: transform 0.25s ease;
}

.hero-sec-link:hover svg {
    transform: translateX(4px);
}

.hero-sec-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.hero-sec-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Trust Strip Section */
.trust-strip {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.trust-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.rating-stars {
    color: #FBBF24;
    display: flex;
    gap: 2px;
    font-size: 0.85rem;
}

/* --- PREMIUM MASCOT & 3D INTERACTIVE GRAPHICS --- */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-graphics-container {
    position: relative;
    width: 100%;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Ring */
.ring-backdrop {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 141, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(25px);
    z-index: 1;
}

.ring-orbital {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(74, 141, 255, 0.12);
    border-radius: 50%;
    animation: rotate-orbital 50s linear infinite;
    z-index: 1;
}

@keyframes rotate-orbital {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Centerpiece Premium Debit/Credit Card */
.main-brand-card {
    position: relative;
    width: 310px;
    height: 185px;
    background: linear-gradient(135deg, #1B2A6B 0%, #111942 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 25px 60px -12px rgba(27, 42, 107, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    z-index: 2;
    transform: perspective(1200px) rotateY(-8deg) rotateX(8deg);
    animation: float-main-card 6s ease-in-out infinite;
}

@keyframes float-main-card {
    0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(8deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-8deg) rotateX(8deg) translateY(-14px); }
}

.card-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-logo svg {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

.card-chip {
    width: 42px;
    height: 32px;
    background: linear-gradient(135deg, #FFE082 0%, #FFB300 100%);
    border-radius: 6px;
    margin-top: 0.75rem;
    position: relative;
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.card-number {
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin: 1.25rem 0 0.25rem 0;
    opacity: 0.95;
}

.card-holder {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.7;
    text-transform: uppercase;
}

.card-limit {
    align-self: flex-end;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Floating Glass Cards */
.floating-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 15px 35px rgba(27, 42, 107, 0.08);
    z-index: 3;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.floating-glass-card:hover {
    transform: translateY(-5px) scale(1.04) !important;
    box-shadow: 0 20px 45px rgba(27, 42, 107, 0.15);
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.success { background: #DCFCE7; color: #166534; }
.icon-circle.speed { background: #EBF5FF; color: #3B82F6; }
.icon-circle.interest { background: #F3E8FF; color: #7C3AED; }

.icon-circle svg {
    width: 18px;
    height: 18px;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
}

.info-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.card-badge {
    background: #22C55E;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

/* Individual Placements & Float Animations */
.card-approved {
    top: 30px;
    left: 0px;
    animation: float-approved 5s ease-in-out infinite;
}

@keyframes float-approved {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.card-speed {
    bottom: 50px;
    right: 0px;
    animation: float-speed 4.5s ease-in-out infinite;
}

@keyframes float-speed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-interest {
    bottom: 30px;
    left: 20px;
    animation: float-interest 5.5s ease-in-out infinite;
}

@keyframes float-interest {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}


/* --- LOAN PRODUCTS GRID --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(74, 141, 255, 0.3);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon-wrapper {
    background: var(--gradient-accent);
    color: var(--white);
}

.product-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.product-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-rate-wrapper {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-rate-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-rate-val {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.product-link {
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.product-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.product-card:hover .product-link svg {
    transform: translateX(4px);
}

.product-card:hover .product-link,
.product-card:active .product-link,
.product-link:hover,
.product-link:active {
    color: var(--primary-color) !important;
}

/* --- HOW IT WORKS --- */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 2rem;
}

.steps-line {
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.steps-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-accent);
    transition: width 1.5s ease-in-out;
}

.step-card {
    flex: 1;
    text-align: center;
    z-index: 2;
    padding: 0 1rem;
}

.step-number-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.step-card:hover .step-number-wrapper {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.05);
}

.step-active .step-number-wrapper {
    border-color: transparent;
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 220px;
    margin: 0 auto;
}

/* --- WHY CHOOSE US --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-tile {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.feature-tile:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-tile:hover .feature-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- ELIGIBILITY CALCULATOR --- */
.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.calc-inputs {
    padding: 3rem;
}

.calc-outputs {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-title {
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-label-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.calc-value {
    color: var(--accent-color);
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    outline: none;
    border-radius: 3px;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(74, 141, 255, 0.2);
    transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(74, 141, 255, 0.3);
}

.calc-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.calc-option-btn {
    padding: 0.75rem;
    background-color: var(--light-gray);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition-smooth);
    text-align: center;
}

.calc-option-btn.active, .calc-option-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.calc-outputs h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.calc-result-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-result-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.calc-result-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
}

.calc-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

/* --- TESTIMONIALS --- */
.testimonials-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 1rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 10rem;
    color: rgba(74, 141, 255, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

.testimonial-author-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.testimonial-job {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--accent-color);
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(74, 141, 255, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-wrapper {
    background-color: var(--accent-color);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-icon-wrapper svg {
    width: 16px;
    height: 16px;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- FINAL CTA BANNER --- */
.final-cta {
    padding: 6rem 0;
}

.final-cta-box {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.final-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(74, 141, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
}

.final-cta-title {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.final-cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* --- FOOTER --- */
.footer {
    background-color: #0E1638;
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-tagline {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-compliance {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

/* --- MODAL FORM --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 22, 56, 0.7);
    backdrop-filter: blur(8px);
}

.modal-container {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 550px;
    padding: 3rem;
    position: relative;
    z-index: 2001;
    box-shadow: var(--shadow-lg);
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-close svg {
    width: 18px;
    height: 18px;
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--light-gray);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    background-color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(74, 141, 255, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-checkbox-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.form-checkbox-label input {
    margin-top: 3px;
}

.form-btn {
    width: 100%;
    margin-top: 1.5rem;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius-md);
    font-size: 0.85rem;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    display: block;
    background-color: #DCFCE7;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.form-status.error {
    display: block;
    background-color: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
    .footer-brand {
        grid-column: span 3;
        margin-bottom: 1rem;
    }
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.85rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 3rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .header-cta .btn {
        display: none;
    }

    .header-cta.nav-active .btn {
        display: inline-flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-tag {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-items {
        justify-content: center;
    }

    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }

    .steps-line {
        display: none;
    }

    .step-card {
        padding: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-inputs, .calc-outputs {
        padding: 2rem;
    }

    .calc-outputs {
        height: auto;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .final-cta-box {
        padding: 3rem 1.5rem;
    }

    .final-cta-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .modal-container {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* --- MOBILE MENU OVERRIDES --- */
    .nav {
        justify-content: flex-start !important;
        overflow-y: auto !important;
        padding: 5rem 1.5rem 3rem !important;
        align-items: stretch !important;
    }

    .nav-item {
        display: block !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        font-size: 1.1rem !important;
        padding: 0.5rem 0 !important;
    }

    .dropdown-menu {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        pointer-events: all !important;
        transform: none !important;
        width: 100% !important;
        min-width: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        background-color: transparent !important;
    }

    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown:focus-within .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu::before {
        display: none !important;
    }

    .dropdown-menu a {
        padding: 0.5rem 0 !important;
        font-size: 0.95rem !important;
    }

    /* Grid menus mobile override */
    .dropdown-menu.dropdown-grid-2,
    .dropdown-menu.dropdown-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        width: 100% !important;
    }

    /* Mega menu mobile override */
    .dropdown-menu.mega-menu {
        flex-direction: column !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    .mega-menu-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.35rem !important;
        padding: 0.5rem 0 !important;
        background-color: transparent !important;
    }

    .mega-menu-tab {
        padding: 0.4rem 0.6rem !important;
        border-radius: var(--border-radius-sm) !important;
        font-size: 0.8rem !important;
        border-left: none !important;
        border: 1px solid var(--border-color) !important;
        background-color: var(--light-gray) !important;
        width: auto !important;
    }

    .mega-menu-tab.active {
        background-color: var(--accent-light) !important;
        color: var(--accent-color) !important;
        border-color: var(--accent-color) !important;
    }

    .mega-menu-content {
        width: 100% !important;
        padding: 0.75rem 0 0 0 !important;
    }

    .mega-menu-panel {
        display: none !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .mega-menu-panel.active {
        display: flex !important;
    }

    .mega-menu-col {
        width: 100% !important;
    }

    .mega-menu-col-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.35rem !important;
        border-bottom: 1px dashed var(--border-color) !important;
        padding-bottom: 0.25rem !important;
    }

    .mega-menu-link {
        padding: 0.35rem 0 !important;
        font-size: 0.85rem !important;
    }
}

/* --- MEGA MENU DESIGN --- */
.mega-dropdown {
    position: relative;
}

.dropdown-menu.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 900px;
    min-height: 420px;
    display: flex;
    padding: 0;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-item.dropdown.mega-dropdown:hover .dropdown-menu.mega-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%);
}

.mega-menu-sidebar {
    width: 220px;
    background-color: #F8FAFC;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0;
}

.mega-menu-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.mega-menu-tab:hover, .mega-menu-tab.active {
    background-color: var(--white);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.mega-menu-tab svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.mega-menu-tab:hover svg, .mega-menu-tab.active svg {
    color: var(--accent-color);
}

.mega-menu-content {
    flex: 1;
    padding: 1.5rem 2rem;
    position: relative;
    max-height: 500px;
    overflow-y: auto;
    background-color: var(--white);
}

.mega-menu-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.mega-menu-panel.active {
    display: grid;
}

.mega-menu-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-col-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.35rem;
}

.mega-menu-col-title svg {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
}

.mega-menu-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569 !important;
    padding: 0.25rem 0 !important;
    transition: var(--transition-fast);
}

.mega-menu-link:hover {
    color: var(--accent-color) !important;
    background-color: transparent !important;
    padding-left: 2px !important;
}

.dropdown-menu-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.25rem;
}

.dropdown-menu-header svg {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

/* --- MULTI-COLUMN DROPDOWNS --- */
.dropdown-menu.dropdown-grid-2 {
    width: 520px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
}

.dropdown-menu.dropdown-grid-3 {
    width: 750px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
}

.nav-item.dropdown:hover .dropdown-menu.dropdown-grid-2 {
    transform: translateX(-50%) translateY(2px);
    opacity: 1;
    pointer-events: all;
}

.nav-item.dropdown:hover .dropdown-menu.dropdown-grid-3 {
    transform: translateX(-50%) translateY(2px);
    opacity: 1;
    pointer-events: all;
}

.dropdown-grid-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-grid-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.35rem;
}

.dropdown-grid-col-title svg {
    width: 15px;
    height: 15px;
    color: var(--accent-color);
}

.dropdown-grid-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569 !important;
    padding: 0.25rem 0 !important;
    transition: var(--transition-fast);
    text-align: left;
}

.dropdown-grid-link:hover {
    color: var(--accent-color) !important;
    background-color: transparent !important;
    padding-left: 2px !important;
}

/* ========================================================
   PREMIUM REDESIGN — DYNAMIC ELEMENTS
   ======================================================== */

/* --- TYPING CURSOR ANIMATION --- */
.typing-text {
    color: var(--accent-color);
    border-right: none;
}

.typing-cursor {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 300;
    animation: blink-cursor 0.75s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* --- STATS TICKER BAR --- */
.stats-ticker {
    padding: 3.5rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.stats-ticker::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74,141,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    border-color: rgba(74, 141, 255, 0.4);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(74,141,255,0.3), rgba(74,141,255,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: #7CB3FF;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PARTNER MARQUEE --- */
.partner-marquee-section {
    padding: 3.5rem 0 2rem;
    background: var(--light-gray);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 1.5rem;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    padding: 0.75rem 2rem;
    margin: 0 0.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.marquee-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(74, 141, 255, 0.12);
    transform: translateY(-2px);
}

.marquee-logo-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- PRODUCT BADGE --- */
.product-card {
    position: relative;
    overflow: visible;
}

.product-badge-popular {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #FF6B35, #FF2E63);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 46, 99, 0.3);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product card glow on hover */
.product-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, var(--accent-color), #6C63FF, var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::after {
    opacity: 0.6;
}

/* --- NOTIFICATION TOAST --- */
.notification-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 12px 40px rgba(27, 42, 107, 0.15);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    max-width: 380px;
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon svg {
    width: 18px;
    height: 18px;
    color: #FFFFFF;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.toast-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--text-dark);
}

/* --- GLASSMORPHIC FEATURE TILES --- */
.feature-tile {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.feature-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color)) !important;
    border-radius: 14px !important;
}

.feature-icon svg {
    color: #FFFFFF !important;
}

/* --- ANIMATED CTA GRADIENT --- */
.final-cta-box {
    background: linear-gradient(-45deg, #1B2A6B, #2941A0, #4A8DFF, #1B2A6B);
    background-size: 300% 300%;
    animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS --- */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
    }
    
    .notification-toast {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
}
