/* Reset and Base Styles */
:root {
    --primary-purple: #1f6bff;
    --dark-purple: #0d47c9;
    --deep-purple: #062a63;
    --light-purple: #eef5ff; 
    --accent-green: #00c853;
    --accent-blue: #2979ff;
    --blue-900: #051c44;
    --blue-800: #0b2c6d;
    --blue-700: #123b7a;
    --blue-600: #1f6bff;
    --blue-500: #4c93ff;
    --blue-100: #eaf3ff;
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --text-dark: #1a1a1a;
    --text-medium: #555555;
    --text-light: #777777;
    --white: #ffffff;
    
    --bg-light: #ffffff;
    --bg-off-white: #f9fafc;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(31, 107, 255, 0.14);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 16px;
}

/* Dark theme overrides */
:root[data-theme="dark"] {
    --primary-purple: #6da4ff;
    --dark-purple: #3f7eff;
    --deep-purple: #031a42;
    
    --bg-light: #0f0f13;
    --bg-off-white: #18181f;

    --text-dark: #f0f0f0;
    --text-medium: #d0d0d0;
    --text-light: #a0a0a0;

    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 12px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Shared transitions */
body, 
.main-header, 
.footer, 
.product-card, 
.service-card, 
.btn-primary, 
.btn-secondary, 
.gallery-item {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

/* Top Header */
.top-header {
    background: linear-gradient(90deg, var(--blue-900), var(--blue-800));
    color: rgba(255,255,255,0.9);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-header-left {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-item i {
    color: var(--primary-purple);
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-login-small {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-login-small:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
}

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 28, 68, 0.92);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    border-bottom: none;
}

[data-theme="dark"] .main-header.scrolled {
    background: rgba(15, 15, 19, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 8px 18px rgba(31, 107, 255, 0.28);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: white;
    transition: color 0.3s ease;
    line-height: 1.1;
}

.logo-icon-small {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.logo-text-small {
    font-size: 20px;
}

.main-header.scrolled .logo-text { 
    color: var(--dark-purple); 
}
[data-theme="dark"] .main-header.scrolled .logo-text { 
    color: white; 
}

.main-header.scrolled .nav-links a { 
    color: var(--text-dark); 
}
[data-theme="dark"] .main-header.scrolled .nav-links a { 
    color: var(--text-dark); 
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover { 
    color: white; 
}
.main-header.scrolled .nav-links a:hover { 
    color: var(--primary-purple); 
}

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

.btn-header {
    background: white;
    color: var(--primary-purple);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.main-header.scrolled .btn-header {
    background: var(--primary-purple);
    color: white;
}

.theme-toggle {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.main-header.scrolled .theme-toggle {
    background: rgba(0,0,0,0.05);
    color: var(--text-dark);
}
[data-theme="dark"] .main-header.scrolled .theme-toggle {
    background: rgba(255,255,255,0.1);
    color: white;
}

.theme-toggle:hover {
    background: white;
    color: var(--primary-purple);
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
.main-header.scrolled .mobile-toggle { 
    color: var(--text-dark); 
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 600px;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    padding: 0;
}

.swiper { 
    width: 100%; 
    height: 100%; 
}

.swiper-slide { 
    position: relative; 
    overflow: hidden; 
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 6s ease;
}

.swiper-slide-active .slide-image { 
    transform: scale(1.05); 
}

.slide-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(4, 24, 66, 0.96) 0%, 
        rgba(10, 58, 150, 0.88) 35%, 
        rgba(31, 107, 255, 0.42) 60%, 
        rgba(31, 107, 255, 0.10) 100%
    );
    z-index: 1;
}

.hero-content-wrapper {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-text-box {
    max-width: 650px;
    color: white;
    padding-left: 20px;
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.swiper-slide-active .hero-text-box,
.hero-text-box.hero-text-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cfe1ff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text-box h1 {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-text-box p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    font-weight: 400;
    max-width: 550px;
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    flex-wrap: wrap;
}

.hero-meta span { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.hero-meta i { 
    color: var(--accent-green); 
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white {
    background-color: white;
    color: var(--primary-purple);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.4);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-purple);
    width: 30px;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.hero-content-wrapper {
    justify-content: flex-start;
    gap: 34px;
}

.hero-slider .hero-dashboard {
    position: absolute;
    right: clamp(24px, 5vw, 60px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: min(380px, calc(100% - 40px));
    color: white;
    border-radius: 26px;
    padding: 22px;
}

.hero-dashboard-top,
.hero-dashboard-item,
.hero-dashboard-insight-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.hero-dashboard-chip {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #dbe9ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-dashboard-label,
.hero-dashboard-insight-row span,
.hero-dashboard-item span,
.hero-dashboard-balance span,
.hero-dashboard-brand span {
    color: rgba(226, 236, 255, 0.84);
}

.hero-dashboard-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-dashboard-brand i,
.hero-floating-badge i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4c93ff, #1f6bff);
    color: white;
    box-shadow: 0 10px 24px rgba(31, 107, 255, 0.26);
}

.hero-dashboard-balance {
    margin: 22px 0 18px;
}

.hero-dashboard-balance strong {
    display: block;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    line-height: 1.1;
    margin-top: 8px;
}

.hero-dashboard-insight-row {
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero-dashboard-insight-row small,
.hero-dashboard-item strong,
.hero-floating-badge strong {
    display: block;
    color: white;
}

.hero-dashboard-insight-row b,
.hero-dashboard-item b {
    color: #8ff0b1;
}

.hero-dashboard-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.hero-dashboard-item {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-floating-badge {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    padding: 12px 14px;
    color: white;
    animation: floatBadge 5.5s ease-in-out infinite;
}

.hero-floating-badge span {
    color: rgba(226, 236, 255, 0.84);
}

.hero-badge-top {
    right: clamp(18px, 4vw, 40px);
    top: 92px;
}

.hero-badge-bottom {
    right: clamp(18px, 10vw, 300px);
    bottom: 118px;
    animation-delay: .7s;
}

/* Stats */
.quick-stats {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-bottom: 20px;
}

.stats-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

[data-theme="dark"] .stats-card {
    background: var(--bg-off-white);
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(0,0,0,0.1);
}

[data-theme="dark"] .stat-item:not(:last-child)::after { 
    background: rgba(255,255,255,0.1); 
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--primary-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-medium);
    font-size: 1.05rem;
}

/* Products */
.products-section { 
    background-color: var(--bg-off-white); 
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .product-card {
    background: #1e1e24;
    border-color: #2a2a35;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-top { 
    background: var(--primary-purple); 
    height: 6px; 
    width: 100%; 
}

.card-body { 
    padding: 30px; 
    flex: 1; 
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.card-rate {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin: 15px 0;
    line-height: 1;
}

.card-rate span {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 600;
}

.card-sub {
    color: var(--text-medium);
    margin-bottom: 15px;
}

.card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
}

.feature-list { 
    list-style: none; 
    margin: 20px 0; 
    padding-left: 0; 
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

[data-theme="dark"] .feature-list li { 
    border-bottom-color: rgba(255,255,255,0.05); 
}

.feature-list i { 
    color: var(--accent-green); 
    font-size: 0.9rem; 
}

.btn-card {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-card:hover {
    background: var(--primary-purple);
    color: white;
}

.rates-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Services */
.services-section { 
    background-color: var(--bg-light); 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 24px;
    text-align: center;
    border-radius: var(--border-radius);
    background: var(--bg-off-white);
    border: 1px solid transparent;
    transition: var(--transition);
}

[data-theme="dark"] .service-card { 
    background: #1e1e24; 
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: rgba(31, 107, 255, 0.10);
}

[data-theme="dark"] .service-card:hover { 
    background: #25252e; 
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-purple), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-purple);
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

[data-theme="dark"] .service-icon { 
    background: linear-gradient(135deg, #2a1b3d, #1a1a1a); 
}

.service-text {
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: gap 0.3s ease;
}

.service-link:hover { 
    gap: 12px; 
}

/* About Section */
.about-section { 
    background-color: var(--bg-off-white); 
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

.about-text {
    margin-bottom: 20px;
}

.about-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

/* Gallery */
.gallery-section { 
    background-color: var(--bg-light); 
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { 
    transform: scale(1.05); 
}

.gallery-overlay {
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #061733;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #a0a0a0;
    margin-top: 20px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; 
    bottom: 0;
    width: 40px; 
    height: 3px;
    background: var(--primary-purple);
}

.footer-links { 
    list-style: none; 
}

.footer-links li { 
    margin-bottom: 12px; 
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover { 
    color: var(--primary-purple); 
    padding-left: 5px; 
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: #b0b0b0;
}

.footer-contact i { 
    color: var(--primary-purple); 
    margin-top: 4px; 
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 36px; 
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-purple);
}

/* ================================
   Bottom Fixed Action Nav (Mobile)
   App-style Login / Open Account
================================ */

.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: none; /* shown only on mobile via media query */
    z-index: 1200;
    font-family: 'Montserrat', sans-serif;
    background: transparent;
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    padding-bottom: env(safe-area-inset-bottom, 0px); /* iOS safe area */
}

.bottom-nav-bar.bottom-nav-hidden {
    transform: translateY(100%);
    box-shadow: none;
}

.bottom-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

/* LEFT BUTTON — LOGIN (light side) */
.bottom-nav-login {
    background: #ffffff;
    color: var(--primary-purple);
    border-top: 1px solid rgba(0,0,0,0.08);
}

.bottom-nav-login i {
    color: var(--primary-purple);
}

/* RIGHT BUTTON — OPEN ACCOUNT (solid purple) */
.bottom-nav-register {
    background: var(--primary-purple);
    color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-left: 1px solid rgba(0,0,0,0.08);
}

.bottom-nav-register i {
    color: #ffffff;
}

/* Dark mode adjustments */
[data-theme="dark"] .bottom-nav-login {
    background: #1a1a1f;
    color: #ffffff;
    border-top-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .bottom-nav-login i {
    color: #ffffff;
}

[data-theme="dark"] .bottom-nav-register {
    border-left-color: rgba(255,255,255,0.12);
}

/* Tap / press feedback */
.bottom-nav-btn:active {
    transform: scale(0.97);
    box-shadow: 0 0 0 6px rgba(31, 107, 255, 0.15);
}


/* Testimonials */
.testimonials-section {
    background:
        radial-gradient(circle at top right, rgba(31, 107, 255, 0.12), transparent 32%),
        linear-gradient(180deg, var(--bg-light) 0%, #f3f8ff 100%);
    overflow: hidden;
}

[data-theme="dark"] .testimonials-section {
    background:
        radial-gradient(circle at top right, rgba(109, 164, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #0a1222 0%, #0d172c 100%);
}

.testimonials-shell {
    position: relative;
}

.testimonials-swiper {
    padding: 10px 4px 56px;
}

.testimonial-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(16, 80, 190, 0.10);
    border-radius: 24px;
    padding: 32px;
    min-height: 100%;
    box-shadow: 0 20px 40px rgba(9, 50, 128, 0.10);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

[data-theme="dark"] .testimonial-card {
    background: rgba(17, 26, 44, 0.96);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.testimonial-stars {
    display: flex;
    gap: 6px;
    color: #2d7dff;
    font-size: 0.95rem;
}

.testimonial-text {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.9;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 4px;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 20px rgba(31, 107, 255, 0.22);
}

.testimonial-author h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-pagination {
    bottom: 4px !important;
}

.testimonials-pagination .swiper-pagination-bullet {
    background: rgba(31, 107, 255, 0.20);
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--primary-purple);
}


/* Responsive Design */
@media (max-width: 1200px) {
    .header-container {
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .container { 
        padding: 0 20px; 
    }

    .hero-text-box h1 { 
        font-size: clamp(2.2rem, 4vw, 3rem); 
    }

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

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

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

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

    .testimonials-swiper {
        overflow: visible;
    }

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

@media (max-width: 768px) {
    section { 
        padding: 40px 0; 
    }

    .container { 
        padding: 0 16px; 
    }
    
    .nav-menu {
        position: fixed;
        top: 0; 
        right: -100%;
        width: 85%; 
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }

    [data-theme="dark"] .nav-menu { 
        background: #1a1a1a; 
    }

    .nav-menu.active { 
        right: 0; 
    }

    .nav-links { 
        flex-direction: column; 
        width: 100%; 
    }

    .nav-links a { 
        color: var(--text-dark); 
        font-size: 1.1rem; 
        display: block; 
        padding: 12px 0; 
        border-bottom: 1px solid rgba(0,0,0,0.05); 
    }

    [data-theme="dark"] .nav-links a { 
        color: white; 
        border-bottom-color: rgba(255,255,255,0.05); 
    }
    
    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .mobile-toggle { 
        display: block; 
        z-index: 1002; 
    }
    
    .hero-slider { 
        margin-top: 0; 
        height: 100vh;
        height: 100svh;
        min-height: 560px; 
        padding: 0 !important; 
    }
    
    .slide-overlay { 
        background: linear-gradient(
            180deg, 
            rgba(4, 24, 66, 0.88) 0%, 
            rgba(10, 58, 150, 0.90) 60%, 
            var(--primary-purple) 100%
        ); 
    }
    
    .hero-content-wrapper { 
        justify-content: center; 
        text-align: center;
        padding-top: 80px;
        align-items: center;
        height: 100%;
    }
    
    .hero-text-box { 
        padding: 0 12px; 
        max-width: 100%; 
        text-align: center; 
    }

    .hero-text-box h1 {
        font-size: clamp(2rem, 6vw, 2.6rem);
    }

    .hero-text-box p {
        margin-inline: auto;
    }

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

    .hero-meta { 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    
    .stats-card { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 20px; 
        padding: 24px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 1.9rem;
    }
    
    .services-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 15px; 
    }

    .testimonial-card {
        padding: 24px;
        border-radius: 20px;
    }
    
    .products-grid, 
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 20px;
        grid-template-columns: none;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .products-grid::-webkit-scrollbar, 
    .gallery-grid::-webkit-scrollbar { 
        display: none; 
    }
    
    .product-card {
        min-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .gallery-item {
        min-width: 65vw; 
        height: 200px; 
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .about-container { 
        grid-template-columns: 1fr; 
        gap: 24px; 
    }

    .about-image { 
        order: -1; 
    }

    .section-header { 
        margin-bottom: 30px; 
    }
    
    .top-header { 
        display: none; 
    }

    .main-header { 
        padding: 10px 0; 
    }

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

    .bottom-nav-bar {
        display: flex;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 480px) {
    .hero-text-box h1 {
        font-size: 2rem;
    }

    .hero-kicker {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .btn-white, 
    .btn-outline-white {
        width: 100%;
        justify-content: center;
    }

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

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

    .testimonial-card {
        padding: 22px 18px;
    }

    .testimonial-text {
        font-size: 0.96rem;
        line-height: 1.8;
    }
}

/* ===========================
   Reduced motion preferences
   =========================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .swiper-slide-active .slide-image {
        transform: none !important;
    }

    .hero-text-box {
        opacity: 1 !important;
        transform: none !important;
    }

    .bottom-nav-bar {
        transition: none !important;
        transform: translateY(0) !important;
    }
}


/* Premium Blue Upgrades */
.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(76, 147, 255, 0.22), transparent 28%),
        radial-gradient(circle at 80% 18%, rgba(31, 107, 255, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(5, 28, 68, 0.5), rgba(18, 59, 122, 0.2));
    z-index: 1;
    pointer-events: none;
}

.hero-slider .swiper,
.hero-slider .swiper-slide,
.hero-content-wrapper,
.slide-overlay,
.slide-image {
    position: relative;
    z-index: 2;
}

.hero-text-box,
.glass-panel {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 20px 45px rgba(3, 22, 58, 0.22);
}

.hero-text-box {
    max-width: 620px;
}

.stats-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(234,243,255,0.86));
    border: 1px solid rgba(31, 107, 255, 0.08);
}

.app-showcase-section {
    background:
        radial-gradient(circle at top left, rgba(76, 147, 255, 0.16), transparent 30%),
        radial-gradient(circle at bottom right, rgba(31, 107, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #f7fbff, #edf5ff 60%, #f8fbff);
    overflow: hidden;
}

[data-theme="dark"] .app-showcase-section {
    background: linear-gradient(180deg, #081526, #0b1320 65%, #101824);
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.app-feature-list {
    display: grid;
    gap: 16px;
    margin: 34px 0 28px;
}

.app-feature {
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.app-feature i,
.floating-badge i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    box-shadow: 0 12px 24px rgba(31, 107, 255, 0.24);
    flex-shrink: 0;
}

.app-feature h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.app-feature p,
.floating-badge span,
.mockup-topbar,
.mockup-balance-card p,
.mockup-balance-card span,
.activity-row span {
    color: var(--text-medium);
}

.btn-app-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(18, 59, 122, 0.18);
    color: var(--blue-800);
    font-weight: 700;
    background: rgba(255,255,255,0.7);
}

.app-visual {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,107,255,0.28), rgba(31,107,255,0));
    filter: blur(8px);
}

.phone-mockup {
    width: 330px;
    padding: 14px;
    border-radius: 34px;
    position: relative;
    animation: floatPhone 4.5s ease-in-out infinite;
}

.phone-notch {
    width: 38%;
    height: 26px;
    border-radius: 20px;
    background: #0d1320;
    margin: 0 auto 12px;
}

.phone-screen {
    background: linear-gradient(180deg, #fbfdff, #eef5ff);
    border-radius: 26px;
    padding: 18px;
    min-height: 600px;
}

[data-theme="dark"] .phone-screen {
    background: linear-gradient(180deg, #09111d, #101c2d);
}

.mockup-topbar {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.mockup-balance-card {
    background: linear-gradient(145deg, var(--blue-900), var(--blue-700));
    color: white;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 22px 40px rgba(5, 28, 68, 0.22);
}

.mockup-balance-card p,
.mockup-balance-card span {
    color: rgba(255,255,255,0.78);
}

.mockup-balance-card h3 {
    font-size: 2rem;
    line-height: 1.1;
    margin: 8px 0;
}

.mockup-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.mockup-actions div,
.mockup-insight {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(31,107,255,0.08);
    border-radius: 18px;
}

[data-theme="dark"] .mockup-actions div,
[data-theme="dark"] .mockup-insight,
[data-theme="dark"] .activity-row {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.mockup-actions div {
    padding: 14px 8px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.mockup-actions i {
    display: block;
    color: var(--blue-700);
    margin-bottom: 8px;
    font-size: 1rem;
}

.mockup-insight {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.mockup-insight strong,
.mockup-insight span,
.activity-row b {
    color: var(--blue-800);
}

.mockup-activity {
    display: grid;
    gap: 10px;
}

.activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(31,107,255,0.08);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 20px;
    padding: 14px 16px;
    min-width: 240px;
    animation: floatBadge 5.5s ease-in-out infinite;
}

.floating-badge strong {
    display: block;
    color: var(--text-dark);
}

.badge-top {
    top: 72px;
    right: 10px;
}

.badge-bottom {
    left: 0;
    bottom: 96px;
    animation-delay: .8s;
}

.testimonials-section {
    background: linear-gradient(180deg, var(--bg-light), var(--blue-100));
}

.testimonials-shell {
    position: relative;
}

.testimonial-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(234,243,255,0.86));
    border: 1px solid rgba(31,107,255,0.1);
    box-shadow: 0 18px 35px rgba(3, 22, 58, 0.08);
}

.testimonial-avatar {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 1100px) {
    .app-showcase-grid {
        grid-template-columns: 1fr;
    }

    .app-visual {
        min-height: 600px;
        order: -1;
    }

    .badge-top { right: 60px; }
    .badge-bottom { left: 40px; }
}

@media (max-width: 768px) {
    .app-showcase-section {
        padding-top: 78px;
    }

    .app-showcase-grid {
        gap: 28px;
    }

    .app-visual {
        min-height: 520px;
    }

    .phone-mockup {
        width: min(100%, 300px);
        padding: 12px;
        border-radius: 28px;
    }

    .phone-screen {
        min-height: 540px;
        padding: 16px;
    }

    .mockup-balance-card h3 {
        font-size: 1.7rem;
    }

    .floating-badge {
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 14px;
    }

    .app-visual {
        display: grid;
        justify-items: center;
    }

    .phone-glow {
        width: 220px;
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phone-mockup,
    .floating-badge {
        animation: none !important;
    }
}


/* Premium service icon motion */
.service-card-animated {
    position: relative;
    overflow: hidden;
}

.service-card-animated::after {
    content: "";
    position: absolute;
    inset: -40% auto auto -20%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(31,107,255,0.10), transparent 70%);
    pointer-events: none;
}

.service-icon-animated {
    position: relative;
    animation: serviceFloat 4.5s ease-in-out infinite;
}

.service-icon-animated i {
    animation: servicePulse 2.8s ease-in-out infinite;
}

.service-card-animated:hover .service-icon-animated {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 16px 30px rgba(31, 107, 255, 0.18);
}

@keyframes serviceFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes servicePulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Loan calculator */
.loan-calculator-section {
    background: linear-gradient(180deg, rgba(238,246,255,0.9), rgba(255,255,255,1));
}

.loan-calculator-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(31,107,255,0.12);
    box-shadow: 0 18px 50px rgba(18,59,122,0.10);
}

.loan-form-panel, .loan-results-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.loan-field label {
    display: block;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 10px;
}

.loan-field input[type="range"] {
    width: 100%;
    accent-color: var(--primary-purple);
}

.loan-field-values {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.loan-field-values strong {
    color: var(--blue-900);
    font-size: 1.05rem;
}

.loan-result-card {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(31,107,255,0.10);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(18,59,122,0.07);
}

.loan-result-card.primary {
    background: linear-gradient(135deg, #0f3e87, #1f6bff);
    color: #fff;
}

.loan-result-card.primary p,
.loan-result-card.primary .loan-result-label {
    color: rgba(255,255,255,0.82);
}

.loan-result-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-medium);
    margin-bottom: 10px;
}

.loan-result-card h3 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
}

.loan-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.loan-result-card strong {
    font-size: 1.4rem;
    color: var(--blue-900);
}

.loan-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.calculator-cta-row {
    justify-content: flex-start;
}

/* Mobile trust pill + enhanced sticky CTA */
.mobile-trust-pill {
    position: fixed;
    left: 50%;
    bottom: 74px;
    transform: translateX(-50%);
    z-index: 1199;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(15, 62, 135, 0.92);
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 62, 135, 0.24);
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.bottom-nav-bar {
    backdrop-filter: blur(14px);
}

.bottom-nav-btn {
    position: relative;
}

.bottom-nav-btn::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
}

.bottom-nav-login {
    background: rgba(255,255,255,0.95);
}

.bottom-nav-register {
    background: linear-gradient(135deg, #0f3e87, #1f6bff);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

@media (prefers-reduced-motion: reduce) {
    .service-icon-animated, .service-icon-animated i {
        animation: none !important;
    }
}

@media (max-width: 991px) {
    .loan-calculator-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-trust-pill {
        display: inline-flex;
    }
    .loan-calculator-shell {
        padding: 22px;
        gap: 24px;
    }
    .loan-results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mobile-trust-pill {
        width: calc(100% - 24px);
        justify-content: center;
        text-align: center;
        bottom: 76px;
    }
}


.hero-slider-status {
    position: absolute;
    right: clamp(18px, 4vw, 44px);
    bottom: clamp(22px, 4vw, 38px);
    z-index: 4;
    min-width: 220px;
    padding: 14px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(1, 17, 49, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: white;
}

.hero-slider-count {
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(219, 233, 255, 0.88);
    margin-bottom: 6px;
    font-weight: 700;
}

.hero-slider-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.hero-slider .swiper-pagination {
    z-index: 4;
    bottom: 34px !important;
    left: 20px !important;
    width: auto !important;
}

.hero-slider .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    margin: 0 6px !important;
}

.hero-slider .swiper-pagination-bullet-active {
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
    .hero-slider-status {
        left: 12px;
        right: 12px;
        bottom: 78px;
        min-width: 0;
        text-align: center;
        padding: 12px 14px;
    }

    .hero-slider .swiper-pagination {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        bottom: 28px !important;
        text-align: center;
    }
}


@media (max-width: 1200px) {
    .hero-slider .hero-dashboard {
        right: 24px;
        width: min(340px, 38vw);
    }

    .hero-badge-bottom {
        right: 220px;
    }
}

@media (max-width: 992px) {
    .hero-slider {
        min-height: 760px;
    }

    .hero-content-wrapper {
        align-items: flex-start;
        padding-top: 118px;
    }

    .hero-text-box {
        max-width: calc(100% - 48px);
    }

    .hero-slider .hero-dashboard {
        left: 24px;
        right: 24px;
        top: auto;
        bottom: 120px;
        width: auto;
        transform: none;
    }

    .hero-badge-top {
        top: 82px;
        right: 20px;
    }

    .hero-badge-bottom {
        left: 24px;
        right: auto;
        bottom: 42px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 860px;
        height: auto;
    }

    .hero-content-wrapper {
        padding-top: 100px;
        align-items: flex-start;
    }

    .hero-text-box {
        padding: 22px 18px;
        margin-right: 0;
    }

    .hero-slider .hero-dashboard {
        left: 12px;
        right: 12px;
        bottom: 160px;
        padding: 18px;
        border-radius: 22px;
    }

    .hero-dashboard-brand {
        display: none;
    }

    .hero-floating-badge {
        padding: 10px 12px;
        transform: scale(0.95);
    }

    .hero-badge-top {
        top: 74px;
        left: 12px;
        right: auto;
    }

    .hero-badge-bottom {
        left: 12px;
        right: 12px;
        bottom: 96px;
    }
}

@media (max-width: 560px) {
    .hero-slider {
        min-height: 900px;
    }

    .hero-dashboard-balance strong {
        font-size: 1.5rem;
    }

    .hero-dashboard-insight-row,
    .hero-dashboard-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-floating-badge {
        display: none;
    }
}




/* Hero captions directly on image slides */
.hero-image-caption {
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translate(-50%, 20px);
    width: min(760px, calc(100% - 32px));
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-image-caption.is-active {
    opacity: 1;
    transform: translate(-50%, 0);
}

.hero-image-caption-box {
    padding: 18px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(3, 22, 58, 0.50), rgba(9, 55, 143, 0.28));
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 18px 45px rgba(2, 15, 41, 0.22);
    text-align: center;
}

.hero-image-caption-label {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    color: #dceaff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-image-caption p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    line-height: 1.45;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* =========================================
   Hero Slider Captions
========================================= */
.hero-slide-caption {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(31, 107, 255, 0.28), rgba(255,255,255,0.16));
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.98);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 30px rgba(6, 42, 99, 0.24);
    max-width: 760px;
}
.hero-slide-caption::before { content: "●"; color: #8fd0ff; text-shadow: 0 0 14px rgba(143, 208, 255, 0.85); font-size: 0.82rem; }
.hero-slider-caption { margin-top: 8px; color: rgba(255,255,255,0.8); font-size: 0.93rem; max-width: 280px; line-height: 1.5; }

.transaction-ticker-section {
    padding: 0;
    background: linear-gradient(90deg, var(--blue-900), var(--blue-800), var(--blue-700));
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.ticker-shell { display: grid; grid-template-columns: 240px 1fr; align-items: center; min-height: 72px; }
.ticker-label {
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%;
    color: white; font-weight: 800; letter-spacing: 0.01em;
    background: rgba(255,255,255,0.08); border-right: 1px solid rgba(255,255,255,0.08);
}
.ticker-track-wrap { overflow: hidden; position: relative; }
.ticker-track {
    display: inline-flex; align-items: center; gap: 22px; white-space: nowrap;
    padding: 0 22px; min-width: max-content; animation: tickerMove 34s linear infinite;
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.92); font-weight: 600; font-size: 0.95rem; }
.ticker-item i { color: #8fd0ff; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.faq-section {
    background:
        radial-gradient(circle at top left, rgba(76, 147, 255, 0.14), transparent 28%),
        linear-gradient(180deg, var(--bg-light), var(--blue-100));
}
.faq-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 28px; align-items: start; }
.faq-panel, .faq-side-card, .branch-map-card, .branch-card { border: 1px solid rgba(31, 107, 255, 0.12); box-shadow: var(--shadow-md); }
.faq-panel { padding: 14px; border-radius: 24px; background: rgba(255,255,255,0.75); }
[data-theme="dark"] .faq-panel, [data-theme="dark"] .faq-side-card, [data-theme="dark"] .branch-map-card, [data-theme="dark"] .branch-card { background: rgba(255,255,255,0.04); }
.faq-item + .faq-item { border-top: 1px solid rgba(31, 107, 255, 0.08); }
.faq-question {
    width: 100%; background: transparent; border: 0; padding: 22px 12px; display: flex;
    align-items: center; justify-content: space-between; gap: 18px; color: var(--text-dark);
    font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; text-align: left; cursor: pointer;
}
.faq-question i {
    width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(31, 107, 255, 0.08); color: var(--primary-purple); transition: var(--transition); flex-shrink: 0;
}
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-answer p { overflow: hidden; padding: 0 12px; color: var(--text-medium); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer p { padding-bottom: 22px; }
.faq-item.active .faq-question i { transform: rotate(45deg); background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple)); color: white; }
.faq-side-card { padding: 28px; border-radius: 24px; }
.faq-side-card h3 { font-size: 1.8rem; margin: 14px 0 12px; }
.faq-side-card p { color: var(--text-medium); margin-bottom: 18px; }
.faq-contact-points { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.faq-contact-points li { display: flex; align-items: center; gap: 12px; color: var(--text-dark); font-weight: 600; }
.faq-contact-points i { color: var(--primary-purple); }

.branch-contact-section {
    background:
        radial-gradient(circle at right top, rgba(31, 107, 255, 0.16), transparent 32%),
        linear-gradient(180deg, var(--blue-100), var(--bg-light));
}
.branch-contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.branch-map-card, .branch-card { border-radius: 24px; padding: 24px; }
.branch-map-top, .branch-map-meta, .contact-mini-grid { display: grid; gap: 16px; }
.branch-map-top { grid-template-columns: 1fr auto; align-items: start; margin-bottom: 18px; }
.branch-map-top h3 { font-size: 1.9rem; margin-top: 10px; }
.map-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px;
    color: white; font-weight: 700; background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    box-shadow: 0 10px 30px rgba(31, 107, 255, 0.24);
}
.branch-map-visual {
    position: relative; min-height: 330px; border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.85), rgba(234,243,255,0.92)),
        linear-gradient(90deg, rgba(31,107,255,0.08) 1px, transparent 1px),
        linear-gradient(rgba(31,107,255,0.08) 1px, transparent 1px);
    overflow: hidden; border: 1px solid rgba(31, 107, 255, 0.1);
}
[data-theme="dark"] .branch-map-visual {
    background:
        linear-gradient(135deg, rgba(8,18,42,0.95), rgba(12,31,71,0.95)),
        linear-gradient(90deg, rgba(141,195,255,0.08) 1px, transparent 1px),
        linear-gradient(rgba(141,195,255,0.08) 1px, transparent 1px);
}
.map-grid {
    position: absolute; inset: 0; background-size: 56px 56px;
    background-image: linear-gradient(90deg, rgba(31,107,255,0.08) 1px, transparent 1px), linear-gradient(rgba(31,107,255,0.08) 1px, transparent 1px);
}
.map-route {
    position: absolute; inset: 18% 16% 22% 18%; border: 4px dashed rgba(31, 107, 255, 0.26);
    border-radius: 46% 54% 60% 40% / 41% 39% 61% 59%; animation: routePulse 3.6s ease-in-out infinite;
}
@keyframes routePulse { 0%,100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.02); opacity: 1; } }
.map-pin {
    position: absolute; width: 28px; height: 28px; background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 14px 28px rgba(31, 107, 255, 0.3);
}
.map-pin span { position: absolute; inset: 7px; background: white; border-radius: 50%; }
.pin-one { top: 24%; left: 28%; }
.pin-two { bottom: 24%; right: 22%; }
.branch-map-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.branch-map-meta strong, .contact-mini-grid strong { display: block; font-size: 1rem; color: var(--text-dark); }
.branch-map-meta span, .contact-mini-grid span, .branch-card p, .branch-card li { color: var(--text-medium); }
.branch-info-stack { display: grid; gap: 20px; }
.branch-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 12px; }
.branch-card h3 i { color: var(--primary-purple); }
.branch-card ul { margin: 14px 0 0 18px; display: grid; gap: 8px; }
.contact-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }

@media (max-width: 991px) {
    .faq-grid, .branch-contact-grid, .ticker-shell { grid-template-columns: 1fr; }
    .ticker-label { justify-content: flex-start; padding: 0 20px; min-height: 60px; }
    .hero-slider-caption { max-width: none; }
}
@media (max-width: 767px) {
    .hero-slide-caption { font-size: 0.86rem; line-height: 1.45; padding: 9px 14px; margin: 12px 0 14px; }
    .hero-slider-caption { font-size: 0.84rem; max-width: 100%; }
    .ticker-item { font-size: 0.88rem; }
    .branch-map-top, .branch-map-meta, .contact-mini-grid { grid-template-columns: 1fr; }
    .branch-map-visual { min-height: 240px; }
    .faq-side-card, .branch-card, .branch-map-card { padding: 20px; }
}


@media (max-width: 768px) {
    .hero-image-caption {
        bottom: 18px;
        width: calc(100% - 24px);
    }

    .hero-image-caption-box {
        padding: 14px 14px;
        border-radius: 18px;
    }

    .hero-image-caption-label {
        font-size: 0.63rem;
        letter-spacing: 0.1em;
        margin-bottom: 6px;
    }

    .hero-image-caption p {
        font-size: 0.92rem;
        line-height: 1.4;
    }
}


/* HERO CAPTION OVERLAY */
.hero{position:relative}
.hero-slide{position:relative}
.hero-slide img{width:100%;display:block}

.hero-slide:after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(5,35,90,0.55);
}

.hero-caption{
position:absolute;
top:80px;
left:80px;
color:#fff;
max-width:520px;
z-index:5;
background:rgba(0,0,0,0.25);
backdrop-filter:blur(6px);
padding:30px;
border-radius:12px;
}

.hero-caption h1{font-size:clamp(45px,5.6vw,76px);font-weight:700;text-shadow:0 6px 22px rgba(0,0,0,0.95);}

.hero-caption p{font-size:clamp(22px,2.1vw,30px);text-shadow:0 4px 16px rgba(0,0,0,0.9);}

/* MOBILE CENTER */
@media(max-width:768px){
.hero-caption{
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
max-width:90%;
}
.hero-caption h1{font-size:clamp(45px,5.6vw,76px);font-weight:700;text-shadow:0 6px 22px rgba(0,0,0,0.95);}
.hero-caption p{font-size:clamp(22px,2.1vw,30px);text-shadow:0 4px 16px rgba(0,0,0,0.9);}
}


/* ===== Premium hero upgrade v9 ===== */
.hero-slider {
    overflow: hidden;
}
.hero-slider .swiper-slide {
    overflow: hidden;
}
.hero-slider .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 1.2s ease;
    will-change: transform;
}
.hero-slider .swiper-slide-active .slide-image,
.hero-slider .swiper-slide-duplicate-active .slide-image {
    animation: heroKenBurns 8s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
    0% { transform: scale(1) translate3d(0,0,0); }
    100% { transform: scale(1.12) translate3d(-1.2%, -1.2%, 0); }
}

.hero-text-box {
    position: relative;
    z-index: 6;
    transform-origin: top left;
}
.hero-text-box,
.hero-slide-caption,
.hero-kicker,
.hero-meta,
.hero-btns {
    will-change: transform, opacity;
}
.hero-text-box.hero-text-visible {
    animation: heroTextLift 0.7s cubic-bezier(.22,.61,.36,1) both;
}
.hero-text-box.hero-text-visible .hero-kicker {
    animation: heroTextItem 0.5s ease both;
}
.hero-text-box.hero-text-visible .hero-slide-caption {
    animation: heroTextItem 0.55s ease 0.08s both;
}
.hero-text-box.hero-text-visible h1 {
    animation: heroTextItem 0.6s ease 0.14s both;
}
.hero-text-box.hero-text-visible p {
    animation: heroTextItem 0.65s ease 0.2s both;
}
.hero-text-box.hero-text-visible .hero-meta {
    animation: heroTextItem 0.7s ease 0.26s both;
}
.hero-text-box.hero-text-visible .hero-btns {
    animation: heroTextItem 0.76s ease 0.32s both;
}
@keyframes heroTextLift {
    0% { opacity: 0; transform: translate3d(0,-18px,0) scale(.985); }
    100% { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes heroTextItem {
    0% { opacity: 0; transform: translate3d(0,12px,0); }
    100% { opacity: 1; transform: translate3d(0,0,0); }
}

.hero-slider .btn-white,
.hero-slider .btn-outline-white {
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(8, 39, 97, 0.24);
}
.hero-slider .btn-white::after,
.hero-slider .btn-outline-white::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255,255,255,0) 15%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 85%);
    transform: translateX(-130%);
    transition: transform 0.8s ease;
    pointer-events: none;
}
.hero-slider .btn-white:hover::after,
.hero-slider .btn-outline-white:hover::after {
    transform: translateX(130%);
}
.hero-slider .btn-white {
    animation: heroButtonGlow 3.2s ease-in-out infinite;
}
.hero-slider .btn-outline-white {
    animation: heroButtonGlowSoft 3.6s ease-in-out infinite;
}
@keyframes heroButtonGlow {
    0%,100% { box-shadow: 0 12px 28px rgba(8, 39, 97, 0.22), 0 0 0 rgba(143, 208, 255, 0.0); }
    50% { box-shadow: 0 16px 34px rgba(8, 39, 97, 0.28), 0 0 22px rgba(143, 208, 255, 0.28); }
}
@keyframes heroButtonGlowSoft {
    0%,100% { box-shadow: 0 10px 24px rgba(8, 39, 97, 0.16), 0 0 0 rgba(143, 208, 255, 0.0); }
    50% { box-shadow: 0 14px 30px rgba(8, 39, 97, 0.2), 0 0 18px rgba(143, 208, 255, 0.22); }
}

.hero-slider .hero-dashboard,
.hero-slider .hero-floating-badge {
    will-change: transform;
}
.hero-slider .hero-dashboard {
    animation: dashboardFloat 5.4s ease-in-out infinite;
}
.hero-slider .hero-floating-badge {
    animation: badgeFloat 4.8s ease-in-out infinite;
}
.hero-slider .hero-badge-bottom {
    animation-delay: 0.6s;
}
@keyframes dashboardFloat {
    0%,100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(0,-10px,0); }
}
@keyframes badgeFloat {
    0%,100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(0,-8px,0); }
}

.hero-image-caption {
    top: 8px;
    left: 24px;
    bottom: auto;
    transform: translate(0, -10px);
    width: min(640px, calc(100% - 48px));
    z-index: 7;
}
.hero-image-caption.is-active {
    transform: translate(0, 0);
}
.hero-image-caption-box {
    padding: 12px 16px;
    border-radius: 18px;
    text-align: left;
    background: linear-gradient(135deg, rgba(3, 22, 58, 0.72), rgba(9, 55, 143, 0.34));
    box-shadow: 0 16px 42px rgba(2, 15, 41, 0.28);
}
.hero-image-caption-label {
    margin-bottom: 6px;
    font-size: 0.6rem;
}
.hero-image-caption p {
    font-size: clamp(0.92rem, 1.7vw, 1.18rem);
    line-height: 1.35;
}

@media (max-width: 991px) {
    .hero-image-caption {
        top: 6px;
        left: 16px;
        width: calc(100% - 32px);
    }
}
@media (max-width: 768px) {
    .hero-slider .swiper-slide-active .slide-image,
    .hero-slider .swiper-slide-duplicate-active .slide-image {
        animation-duration: 6s;
    }
    .hero-image-caption {
        top: 56px;
        left: 50%;
        transform: translate(-50%, -8px);
        width: calc(100% - 24px);
    }
    .hero-image-caption.is-active {
        transform: translate(-50%, 0);
    }
    .hero-image-caption-box {
        text-align: center;
        padding: 12px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .swiper-slide-active .slide-image,
    .hero-slider .swiper-slide-duplicate-active .slide-image,
    .hero-slider .btn-white,
    .hero-slider .btn-outline-white,
    .hero-slider .hero-dashboard,
    .hero-slider .hero-floating-badge,
    .hero-text-box.hero-text-visible,
    .hero-text-box.hero-text-visible .hero-kicker,
    .hero-text-box.hero-text-visible .hero-slide-caption,
    .hero-text-box.hero-text-visible h1,
    .hero-text-box.hero-text-visible p,
    .hero-text-box.hero-text-visible .hero-meta,
    .hero-text-box.hero-text-visible .hero-btns {
        animation: none !important;
        transition: none !important;
    }
}


/* ===== Hero readability refinement v11 ===== */
.hero-slider .slide-image {
    opacity: 0.5;
}

.hero-text-box,
.hero-text-box.glass-panel,
.glass-panel.hero-text-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding-left: 20px;
    padding-right: 0;
    margin-top: 25%;
    max-width: 860px;
}

.hero-text-box .hero-kicker,
.hero-text-box .hero-slide-caption,
.hero-text-box h1,
.hero-text-box p,
.hero-text-box .hero-meta span {
    text-shadow: 0 4px 14px rgba(0,0,0,0.95), 0 8px 24px rgba(0,0,0,0.75), 0 14px 34px rgba(0,0,0,0.55);
}

.hero-text-box .hero-kicker {
    font-size: 1rem;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #eef5ff;
    padding: 0;
    margin-bottom: 18px;
}

.hero-text-box .hero-slide-caption {
    font-size: clamp(1.55rem, 2.55vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 16px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.hero-text-box h1 {
    font-size: clamp(4.1rem, 6.8vw, 6rem);
    line-height: 0.98;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    text-shadow: 0 5px 18px rgba(0,0,0,0.98), 0 12px 36px rgba(0,0,0,0.72);
}

.hero-text-box p {
    font-size: clamp(1.85rem, 2.5vw, 2.15rem);
    line-height: 1.24;
    max-width: 820px;
    color: rgba(255,255,255,0.98);
    margin-bottom: 24px;
}

.hero-text-box .hero-meta {
    gap: 16px 24px;
    margin-bottom: 24px;
    font-size: 1.08rem;
}

.hero-image-caption {
    top: 25%;
    left: 20px;
    width: min(760px, calc(100% - 40px));
}

.hero-image-caption-box {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0;
}

.hero-image-caption-label {
    display: none;
}

.hero-image-caption p {
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    line-height: 1.15;
    font-weight: 900;
    text-shadow: 0 4px 16px rgba(0,0,0,0.98), 0 10px 30px rgba(0,0,0,0.78), 0 18px 40px rgba(0,0,0,0.56);
}

@media (max-width: 1200px) {
    .hero-text-box,
    .hero-text-box.glass-panel,
    .glass-panel.hero-text-box {
        margin-top: 19%;
        max-width: 760px;
    }

    .hero-text-box h1 {
        font-size: clamp(3.4rem, 6.1vw, 4.8rem);
    }

    .hero-text-box p {
        font-size: clamp(1.45rem, 2.3vw, 1.8rem);
    }

    .hero-image-caption {
        top: 21%;
    }
}

@media (max-width: 991px) {
    .hero-text-box,
    .hero-text-box.glass-panel,
    .glass-panel.hero-text-box {
        margin-top: 16%;
        max-width: 680px;
    }

    .hero-text-box h1 {
        font-size: clamp(3rem, 7vw, 4rem);
    }

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

    .hero-image-caption {
        top: 18%;
        left: 16px;
        width: calc(100% - 32px);
    }

    .hero-image-caption p {
        font-size: clamp(1.35rem, 3.6vw, 1.95rem);
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        align-items: flex-start;
        padding-top: 0;
    }

    .hero-text-box,
    .hero-text-box.glass-panel,
    .glass-panel.hero-text-box {
        margin-top: 32%;
        padding-inline: 14px;
        text-align: center;
    }

    .hero-text-box .hero-kicker {
        justify-content: center;
        font-size: 0.9rem;
    }

    .hero-text-box .hero-slide-caption {
        font-size: 1.15rem;
    }

    .hero-text-box h1 {
        font-size: clamp(2.45rem, 8.9vw, 3.25rem);
        line-height: 1.02;
    }

    .hero-text-box p {
        font-size: 1.08rem;
        line-height: 1.35;
        margin-inline: auto;
    }

    .hero-image-caption {
        top: 14%;
        left: 50%;
        transform: translate(-50%, -8px);
        width: calc(100% - 24px);
    }

    .hero-image-caption.is-active {
        transform: translate(-50%, 0);
    }

    .hero-image-caption p {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        text-align: center;
    }
}

.hero-caption{animation:heroFade 1s ease;}
@keyframes heroFade{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);}}


/* === Premium banking upgrade v14 === */
.stats .stat-value,
.stat .number,
.counter,
[data-counter]{
  display:inline-block;
  min-width: 3ch;
}

.bank-card-visual,
.hero-card-ui,
.premium-card-float{
  animation: cardFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

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

.hero,
.hero-section,
.hero-slider-wrap,
.hero-banner{
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero-section::before,
.hero-slider-wrap::before,
.hero-banner::before{
  content:"";
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(82, 141, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(96, 165, 250, 0.14), transparent 30%);
  pointer-events:none;
  filter: blur(10px);
  z-index:0;
}

.hero > *,
.hero-section > *,
.hero-slider-wrap > *,
.hero-banner > *{
  position: relative;
  z-index: 1;
}

.regulatory-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.regulatory-badge{
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.06);
  color:#dbeafe;
  border-radius:999px;
  padding:9px 14px;
  font-size:13px;
  line-height:1;
  letter-spacing:.02em;
  backdrop-filter: blur(8px);
}

.footer .regulatory-badges,
.site-footer .regulatory-badges,
footer .regulatory-badges{
  justify-content:flex-start;
}

.member-login-preview{
  margin-top:26px;
  max-width:360px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(15,23,42,.88), rgba(30,41,59,.78));
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 20px 55px rgba(2,6,23,.35);
  backdrop-filter: blur(10px);
}

.member-login-preview h4{
  margin:0 0 12px 0;
  color:#eff6ff;
  font-size:16px;
}

.member-login-preview .login-row{
  display:flex;
  gap:10px;
  margin-bottom:10px;
}

.member-login-preview .login-input{
  flex:1;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.16);
  background:rgba(255,255,255,.08);
  color:#e5efff;
  padding:12px 14px;
  font-size:14px;
}

.member-login-preview .login-btn{
  width:100%;
  border:none;
  border-radius:14px;
  padding:13px 16px;
  cursor:pointer;
  color:white;
  background:linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow:0 10px 24px rgba(37,99,235,.32);
  font-weight:600;
}

.member-login-preview .login-meta{
  margin-top:10px;
  font-size:12px;
  color:#bfdbfe;
}

@media (max-width: 768px){
  .member-login-preview{
    max-width:100%;
  }
  .regulatory-badges{
    gap:8px;
  }
}


/* === v16 clean hero + phone UI upgrade === */
.hero-slide,
.slide,
.hero-slider .swiper-slide,
.hero-slider-item{
  overflow:hidden;
}

.hero-slide img,
.slide img,
.hero-slider .swiper-slide img,
.hero-slider-item img{
  animation: heroKenBurns 9s ease-in-out infinite alternate;
  transform-origin:center center;
}

@keyframes heroKenBurns{
  0%{transform:scale(1);}
  100%{transform:scale(1.08);}
}

.hero-caption,
.hero-content,
.hero-text{
  transition: opacity .55s ease, transform .55s ease;
}

.hero-caption.is-changing,
.hero-content.is-changing,
.hero-text.is-changing{
  opacity:.0;
  transform:translateY(14px);
}

.credit-service-card,
.service-card,
.services .card{
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.credit-service-card:hover,
.service-card:hover,
.services .card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(2,6,23,.26);
}

.credit-service-icon,
.service-icon{
  box-shadow: 0 12px 24px rgba(37,99,235,.22);
}

.phone-ui-screen{
  width:100%;
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  border-radius:28px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(7,18,42,.98), rgba(16,41,95,.88));
  color:#eff6ff;
  position:relative;
}

.phone-ui-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 16px 10px;
  font-size:12px;
  color:#dbeafe;
}

.phone-ui-badge{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(59,130,246,.14);
  border:1px solid rgba(147,197,253,.18);
}

.phone-balance{
  margin:8px 14px 12px;
  padding:16px;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(37,99,235,.96), rgba(96,165,250,.76));
  box-shadow:0 18px 34px rgba(30,64,175,.30);
}

.phone-balance .label{
  font-size:12px;
  opacity:.9;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.phone-balance .amount{
  font-size:28px;
  font-weight:800;
  line-height:1.1;
  margin:8px 0 10px;
}

.phone-balance .sub{
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  opacity:.95;
}

.phone-quick-actions{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  padding:0 14px 14px;
}

.phone-action{
  padding:10px 8px;
  border-radius:16px;
  text-align:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(191,219,254,.12);
  font-size:11px;
  color:#dbeafe;
}

.phone-action strong{
  display:block;
  font-size:18px;
  margin-bottom:6px;
  color:#fff;
}

.phone-transactions{
  padding:0 14px 16px;
  display:grid;
  gap:10px;
}

.phone-transaction{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(191,219,254,.12);
}

.phone-transaction .left{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.phone-transaction .name{
  font-size:13px;
  font-weight:600;
  color:#eff6ff;
}

.phone-transaction .desc{
  font-size:11px;
  color:#bfdbfe;
}

.phone-transaction .amount{
  font-size:13px;
  font-weight:700;
  color:#e0f2fe;
}

.phone-bottom-nav{
  margin-top:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  padding:12px 14px 14px;
  background:rgba(2,6,23,.28);
  border-top:1px solid rgba(191,219,254,.10);
}

.phone-bottom-nav span{
  text-align:center;
  font-size:11px;
  color:#bfdbfe;
}

@media (max-width:768px){
  .phone-balance .amount{font-size:24px;}
  .phone-quick-actions{gap:8px;}
}


/* === v17 hero text +45% === */
.hero-caption h1,
.hero-content h1,
.hero-text h1{
  font-size: clamp(46px, 5.8vw, 78px) !important;
}

.hero-caption p,
.hero-content p,
.hero-text p{
  font-size: clamp(23px, 2.2vw, 32px) !important;
}


/* === v23 premium upgrades === */
.security-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.security-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(191,219,254,.18);
  color:#eff6ff;
  backdrop-filter:blur(10px);
  animation:badgePulse 3.2s ease-in-out infinite;
}
.security-badge:nth-child(2){animation-delay:.4s;}
.security-badge:nth-child(3){animation-delay:.8s;}
@keyframes badgePulse{
  0%,100%{transform:translateY(0); box-shadow:0 0 0 rgba(37,99,235,0);}
  50%{transform:translateY(-2px); box-shadow:0 10px 24px rgba(37,99,235,.18);}
}

.live-ticker{
  position:relative;
  overflow:hidden;
  border-top:1px solid rgba(191,219,254,.12);
  border-bottom:1px solid rgba(191,219,254,.12);
  background:linear-gradient(90deg, rgba(7,26,61,.96), rgba(11,35,79,.92));
}
.live-ticker-track{
  display:flex;
  gap:28px;
  white-space:nowrap;
  width:max-content;
  padding:12px 0;
  animation:tickerMove 22s linear infinite;
}
.live-ticker-item{
  color:#eaf3ff;
  font-size:14px;
}
.live-ticker-item strong{
  color:#fff;
}
@keyframes tickerMove{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

.hero-phone-preview{
  margin-top:24px;
  width:min(320px, 92vw);
  border-radius:32px;
  padding:12px;
  background:linear-gradient(180deg, rgba(6,18,44,.95), rgba(16,41,95,.88));
  border:1px solid rgba(191,219,254,.14);
  box-shadow:0 30px 60px rgba(2,6,23,.34);
}
.hero-phone-screen{
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(10,28,64,.98), rgba(20,58,120,.9));
  min-height:540px;
  display:flex;
  flex-direction:column;
  color:#fff;
}
.hero-phone-top{
  display:flex;
  justify-content:space-between;
  padding:14px 16px 10px;
  font-size:12px;
  color:#dbeafe;
}
.hero-phone-balance{
  margin:8px 14px 14px;
  padding:18px;
  border-radius:20px;
  background:linear-gradient(135deg,#2563eb,#60a5fa);
}
.hero-phone-balance .label{font-size:12px;opacity:.9;text-transform:uppercase;letter-spacing:.05em;}
.hero-phone-balance .amount{font-size:30px;font-weight:800;line-height:1.05;margin:8px 0;}
.hero-phone-actions{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  padding:0 14px 14px;
}
.hero-phone-action{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(191,219,254,.12);
  border-radius:16px;
  padding:10px 6px;
  text-align:center;
  font-size:11px;
  color:#dbeafe;
}
.hero-phone-action strong{display:block;color:#fff;font-size:18px;margin-bottom:6px;}
.hero-phone-transactions{
  display:grid;
  gap:10px;
  padding:0 14px 14px;
}
.hero-phone-tx{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(191,219,254,.12);
  border-radius:16px;
  padding:12px;
}
.hero-phone-tx .name{font-size:13px;font-weight:700;color:#fff;}
.hero-phone-tx .meta{font-size:11px;color:#bfdbfe;margin-top:3px;}
.hero-phone-tx .amt{font-size:13px;font-weight:700;color:#eaf3ff;}
@media (max-width: 768px){
  .security-badges{justify-content:center;}
  .hero-phone-preview{margin-left:auto;margin-right:auto;}
  .hero-phone-screen{min-height:500px;}
}


/* === v24 feature slider card === */
.feature-slider-wrap{display:flex;justify-content:center;padding:22px 16px 8px;}
.feature-slider-card{width:100%;max-width:620px;background:linear-gradient(135deg,#0b2a63,#133d91);border-radius:16px;padding:16px 20px;color:#fff;font-weight:600;font-size:15px;text-align:center;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.25);border:1px solid rgba(191,219,254,.16);}
.feature-slider-track{display:flex;transition:transform .5s ease;will-change:transform;}
.feature-slide{min-width:100%;padding:6px 10px;line-height:1.5;}
@media (max-width:768px){.feature-slider-wrap{padding:18px 14px 4px;}.feature-slider-card{font-size:14px;padding:14px 16px;border-radius:14px;}}
