/* ==========================================================================
   UltraFinpay - 2026 Cutting-Edge FinTech Design System
   Exact Brand Palette: Electric Cyan (#00A0E3) | Royal Indigo (#393185) | Charcoal (#2B2A29)
   ========================================================================== */

:root {
    --brand-primary: #393185;
    --brand-primary-dark: #272161;
    --brand-primary-deep: #1a1645;
    --brand-primary-light: #4e44a6;
    --brand-cyan: #00A0E3;
    --brand-cyan-hover: #008cc7;
    --brand-cyan-light: #e8f7fd;
    --brand-cyan-glow: rgba(0, 160, 227, 0.4);
    --brand-indigo-glow: rgba(57, 49, 133, 0.35);
    --brand-charcoal: #2B2A29;
    --brand-dark: #0f172a;
    --brand-text: #1e293b;
    --brand-muted: #64748b;
    --brand-border: #e2e8f0;
    --brand-border-light: rgba(226, 232, 240, 0.85);
    --brand-light-bg: #f8fafc;
    --brand-card-bg: #ffffff;
    --brand-gradient: linear-gradient(135deg, #00A0E3 0%, #393185 100%);
    --brand-gradient-hover: linear-gradient(135deg, #008cc7 0%, #272161 100%);
    --brand-gradient-dark: linear-gradient(135deg, #272161 0%, #1a1645 100%);
    --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --font-body: 'Poppins', 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --shadow-soft: 0 10px 30px rgba(57, 49, 133, 0.07);
    --shadow-hover: 0 20px 45px rgba(57, 49, 133, 0.16);
}

/* --------------------------------------------------------------------------
   Base Reset & Global Typography
   -------------------------------------------------------------------------- */
body.ultrafinpay-body {
    font-family: var(--font-body);
    color: var(--brand-text);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.25;
}

a {
    transition: all 0.25s ease;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

.text-cyan {
    color: var(--brand-cyan) !important;
}
.text-indigo {
    color: var(--brand-primary) !important;
}
.space {
    padding: 85px 0;
}

/* Safe Bullet Separator (No Mojibake) */
.dot-separator {
    color: var(--brand-cyan);
    font-size: 15px;
    vertical-align: middle;
    margin: 0 8px;
    display: inline-block;
    opacity: 0.85;
}

/* Gradient Text */
.text-gradient-cyan-indigo {
    background: linear-gradient(135deg, #00A0E3 10%, #393185 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-announcement-strip {
    background: var(--brand-gradient-dark);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-announcement-strip .live-tag {
    background: rgba(0, 160, 227, 0.2);
    color: var(--brand-cyan);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 160, 227, 0.35);
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    margin-right: 6px;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px #10b981; }
    100% { transform: scale(0.9); opacity: 0.8; }
}
.announcement-right {
    color: #cbd5e1;
    font-size: 13px;
}
.announcement-right span i {
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   Main Sticky Glassmorphic Header
   -------------------------------------------------------------------------- */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(57, 49, 133, 0.06);
    border-bottom: 1px solid var(--brand-border-light);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.brand-main-logo {
    height: 48px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.brand-main-logo:hover {
    transform: scale(1.03);
}

.main-header .navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-charcoal) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: all 0.25s ease;
}

.main-header .navbar-nav .nav-link:hover,
.main-header .navbar-nav .nav-item.active .nav-link {
    color: var(--brand-cyan) !important;
}

.main-header .navbar-nav .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand-cyan);
}

/* Header Action Buttons */
.btn-login-outline {
    background: transparent;
    color: var(--brand-primary) !important;
    border: 1.5px solid var(--brand-primary);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
}
.btn-login-outline:hover {
    background: var(--brand-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--brand-indigo-glow);
    transform: translateY(-1px);
}

.btn-register-gradient {
    background: var(--brand-gradient);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 14px var(--brand-cyan-glow);
    transition: all 0.3s ease;
}
.btn-register-gradient:hover {
    background: var(--brand-gradient-hover);
    box-shadow: 0 6px 20px var(--brand-indigo-glow);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-apk-pill {
    background: #0f172a;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-apk-pill:hover {
    background: var(--brand-cyan);
    color: #ffffff !important;
    border-color: var(--brand-cyan);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-fintech-section {
    padding: 95px 0 85px;
    background: radial-gradient(rgba(0, 160, 227, 0.10) 1.5px, transparent 1.5px),
                radial-gradient(circle at 85% 20%, rgba(0, 160, 227, 0.14) 0%, transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(57, 49, 133, 0.10) 0%, transparent 45%),
                #ffffff;
    background-size: 32px 32px, 100% 100%, 100% 100%;
    overflow: hidden;
}

.ambient-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
    z-index: 1;
}
.orb-cyan {
    width: 480px;
    height: 480px;
    background: rgba(0, 160, 227, 0.18);
    top: -50px;
    right: 5%;
}
.orb-indigo {
    width: 380px;
    height: 380px;
    background: rgba(57, 49, 133, 0.14);
    bottom: 50px;
    left: 2%;
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    background: var(--brand-cyan-light);
    border: 1px solid rgba(0, 160, 227, 0.3);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-cyan);
    margin-right: 10px;
    display: inline-block;
    box-shadow: 0 0 10px var(--brand-cyan);
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 160, 227, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 160, 227, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 160, 227, 0); }
}
.hero-live-pill .pill-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-cyan);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-main-title {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--brand-primary);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-lead-desc {
    font-size: 17px;
    color: var(--brand-muted);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 540px;
}

.btn-hero-primary {
    background: var(--brand-gradient);
    color: #ffffff !important;
    padding: 14px 34px;
    border-radius: var(--radius-pill);
    font-size: 15.5px;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 24px var(--brand-cyan-glow);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--brand-indigo-glow);
    color: #ffffff !important;
}

.btn-hero-secondary {
    background: #ffffff;
    color: var(--brand-primary) !important;
    border: 2px solid var(--brand-primary);
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 15.5px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(57, 49, 133, 0.08);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-hero-secondary:hover {
    background: var(--brand-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--brand-indigo-glow);
}

.btn-hero-apk {
    background: #0f172a;
    color: #ffffff !important;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-hero-apk:hover {
    background: var(--brand-cyan);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.hero-trust-bullets-row .trust-bullet {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-text);
    display: inline-flex;
    align-items: center;
}
.hero-trust-bullets-row .trust-bullet i {
    font-size: 16px;
    margin-right: 8px;
}

/* --------------------------------------------------------------------------
   Hero Visual / Interactive CSS FinTech Card
   -------------------------------------------------------------------------- */
.fintech-card-wrapper {
    max-width: 480px;
    margin: 0 auto;
    z-index: 2;
}

.glass-dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 25px 60px rgba(57, 49, 133, 0.16), 0 0 35px rgba(0, 160, 227, 0.12);
    border: 1px solid rgba(0, 160, 227, 0.25);
    position: relative;
    overflow: hidden;
}

.glass-dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--brand-gradient);
}

.dash-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dash-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-primary);
}

.badge-success-live {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    font-weight: 700;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
}

.wallet-balance-box {
    background: var(--brand-gradient-dark);
    padding: 22px;
    border-radius: var(--radius-md);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(39, 33, 97, 0.35);
    position: relative;
    overflow: hidden;
}

.wallet-balance-box::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(0, 160, 227, 0.2);
    border-radius: 50%;
    filter: blur(20px);
}

.balance-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.currency-symbol {
    font-size: 24px;
    color: var(--brand-cyan);
    font-weight: 700;
    margin-right: 4px;
}

.balance-digits {
    font-size: 32px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.profit-gain-pill {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.3);
}

/* Quick Service Matrix */
.quick-service-matrix {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    background: var(--brand-light-bg);
    padding: 14px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-border);
}

.service-matrix-item {
    text-align: center;
}
.service-matrix-item .matrix-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}
.service-matrix-item:hover .matrix-icon {
    background: var(--brand-cyan);
    color: #ffffff;
    transform: translateY(-2px);
}
.service-matrix-item span {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--brand-muted);
}

/* Activity Ticker */
.live-activity-stream {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
}
.dot-success {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}
.stream-tx-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-charcoal);
}
.stream-tx-gain {
    font-size: 12.5px;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(57, 49, 133, 0.16);
    display: flex;
    align-items: center;
    border: 1px solid var(--brand-border);
    z-index: 3;
    animation: floatOrb 5s ease-in-out infinite;
}
.badge-profit {
    top: -20px;
    left: -25px;
}
.badge-settlement {
    bottom: -20px;
    right: -25px;
    animation-delay: 2.5s;
}
@keyframes floatOrb {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-badge .badge-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 10px;
}
.badge-profit .badge-icon-wrap {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.floating-badge .badge-val {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--brand-primary);
}
.floating-badge .badge-sub {
    font-size: 10.5px;
    color: var(--brand-muted);
}

/* --------------------------------------------------------------------------
   TRUST & SCALE METRICS SECTION
   -------------------------------------------------------------------------- */
.trust-metrics-section {
    padding: 30px 0;
    background: #ffffff;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.metric-glass-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 26px 18px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}
.metric-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-cyan);
}
.metric-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--brand-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
}
.metric-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-primary);
    font-family: var(--font-heading);
    line-height: 1.15;
    margin-bottom: 4px;
}
.metric-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-muted);
}

/* --------------------------------------------------------------------------
   SERVICES BENTO GRID SECTION
   -------------------------------------------------------------------------- */
.services-bento-section {
    background: var(--brand-light-bg);
}

.badge-section-pill {
    display: inline-flex;
    align-items: center;
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 160, 227, 0.25);
    margin-bottom: 16px;
}

.section-heading-bold {
    font-size: 38px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 12px;
}
.section-sub-desc {
    font-size: 16.5px;
    color: var(--brand-muted);
    max-width: 650px;
    margin: 0 auto;
}

.bento-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-cyan);
}
.bento-card:hover::before {
    opacity: 1;
}

.bento-badge-tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--brand-cyan);
    background: var(--brand-cyan-light);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 18px;
}
.badge-bbps {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.badge-pan {
    background: rgba(57, 49, 133, 0.12);
    color: var(--brand-indigo);
}

.bento-icon-box {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background: var(--brand-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.35s ease;
    padding: 10px;
}
.bento-img-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.bento-card:hover .bento-icon-box {
    transform: scale(1.08);
}
.icon-aeps, .icon-dmt, .icon-fastag {
    font-size: 26px;
    color: var(--brand-cyan);
}

.bento-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 12px;
}
.bento-desc {
    font-size: 14.5px;
    color: var(--brand-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bento-operators-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}
.op-tag {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-light-bg);
    border: 1px solid var(--brand-border);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.bento-link-btn {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}
.bento-link-btn i {
    transition: transform 0.25s ease;
}
.bento-link-btn:hover {
    color: var(--brand-primary);
}
.bento-link-btn:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   OPERATOR MARQUEE SECTION
   -------------------------------------------------------------------------- */
.operator-marquee-section {
    background: #ffffff;
    padding: 35px 0 30px;
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
}
.marquee-subtitle {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--brand-muted);
}
#marquee-horizontal li {
    display: inline-block;
    margin: 0 16px;
}
#marquee-horizontal li img {
    height: 52px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--brand-border);
    background: #ffffff;
    padding: 6px 12px;
    transition: all 0.3s ease;
}
#marquee-horizontal li img:hover {
    transform: scale(1.08);
    border-color: var(--brand-cyan);
    box-shadow: 0 6px 16px var(--brand-cyan-glow);
}

/* --------------------------------------------------------------------------
   WHY CHOOSE ULTRAFINPAY
   -------------------------------------------------------------------------- */
.why-choose-section {
    background: #ffffff;
}

.feature-advantage-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.feature-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.feature-advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-cyan);
}
.feature-advantage-card:hover::before {
    opacity: 1;
}

.feature-img-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background: var(--brand-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 12px;
    transition: all 0.35s ease;
}
.feature-img-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.feature-advantage-card:hover .feature-img-icon-wrap {
    transform: scale(1.1);
}

.feature-card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 12px;
}
.feature-card-desc {
    font-size: 14.5px;
    color: var(--brand-muted);
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   ABOUT SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.about-showcase-section {
    background: var(--brand-light-bg);
}

.about-dashboard-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-dashboard-preview img {
    transition: transform 0.4s ease;
}
.about-dashboard-preview:hover img {
    transform: scale(1.02);
}

.preview-overlay-stat {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(57, 49, 133, 0.15);
    border: 1px solid var(--brand-border);
}
.stat-big {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-cyan);
    line-height: 1.1;
}
.stat-small {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.check-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS
   -------------------------------------------------------------------------- */
.how-it-works-section {
    background: #ffffff;
}

.step-process-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 100%;
    transition: all 0.35s ease;
}
.step-process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-cyan);
}
.step-num-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 900;
    color: rgba(57, 49, 133, 0.08);
    font-family: var(--font-heading);
}
.step-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background: var(--brand-cyan-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    transition: all 0.35s ease;
}
.step-process-card:hover .step-icon-wrap {
    background: var(--brand-gradient);
    color: #ffffff;
    transform: scale(1.08);
}
.step-process-card:hover .step-icon-wrap i {
    color: #ffffff !important;
}
.step-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 12px;
}
.step-card-desc {
    font-size: 14.5px;
    color: var(--brand-muted);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   MOBILE APP BANNER SECTION
   -------------------------------------------------------------------------- */
.mobile-app-banner-section {
    padding: 40px 0 85px;
    background: #ffffff;
}

.app-banner-card {
    background: var(--brand-gradient-dark);
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(26, 22, 69, 0.3);
    position: relative;
    overflow: hidden;
}
.app-banner-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: rgba(0, 160, 227, 0.25);
    border-radius: 50%;
    filter: blur(50px);
}

.badge-app-pill {
    background: rgba(0, 160, 227, 0.2);
    color: var(--brand-cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    display: inline-block;
    border: 1px solid rgba(0, 160, 227, 0.3);
    margin-bottom: 18px;
}

.app-banner-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}
.app-banner-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 580px;
}

.app-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-download-app-gold {
    background: var(--brand-cyan);
    color: #ffffff !important;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    font-size: 15.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 24px var(--brand-cyan-glow);
    transition: all 0.3s ease;
    border: none;
}
.btn-download-app-gold:hover {
    background: #ffffff;
    color: var(--brand-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.app-qr-mockup .qr-box-inner {
    background: #ffffff;
    padding: 24px;
    border-radius: var(--radius-md);
    display: inline-block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   INNER PAGE HERO BANNER (About, Services, Contact, Policies)
   -------------------------------------------------------------------------- */
.inner-page-hero {
    background: linear-gradient(135deg, #1a1645 0%, #393185 60%, #272161 100%);
    padding: 65px 0 55px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.inner-page-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(0, 160, 227, 0.15);
    border-radius: 50%;
    filter: blur(60px);
}
.inner-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}
.inner-hero-desc {
    font-size: 16.5px;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 16px;
    line-height: 1.6;
}
.inner-hero-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}
.inner-hero-breadcrumb a {
    color: var(--brand-cyan);
}
.inner-hero-breadcrumb a:hover {
    color: #ffffff;
}
.active-crumb {
    color: #ffffff;
}

/* About Page Specific Styles */
.about-img-wrap img {
    border: 1px solid var(--brand-border);
}
.floating-stat-box {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(57, 49, 133, 0.16);
    border: 1px solid var(--brand-border);
    text-align: center;
}
.floating-stat-box .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-cyan);
    line-height: 1.1;
}
.floating-stat-box .stat-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
}

.mini-stat-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    padding: 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(57, 49, 133, 0.05);
    text-align: center;
}
.about-pillar-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.3s ease;
}
.about-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-cyan);
}
.about-pillar-card .pillar-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

/* Contact Page Specific Styles */
.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: all 0.3s ease;
}
.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-cyan);
}
.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
}
.contact-card-icon.icon-wa {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.contact-highlight {
    background: var(--brand-light-bg);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid var(--brand-border);
}

.contact-details-box {
    background: var(--brand-gradient-dark);
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(26, 22, 69, 0.25);
}
.text-light-muted {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: var(--shadow-soft);
}
.input-field-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 6px;
    display: block;
}
.modern-input {
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 14.5px;
    color: var(--brand-charcoal);
    background: #ffffff;
    transition: all 0.25s ease;
}
.modern-input:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(0, 160, 227, 0.15);
    outline: none;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background: var(--brand-primary-deep);
    color: #ffffff;
    position: relative;
}

.footer-top-cta {
    position: relative;
    top: -45px;
    margin-bottom: -15px;
    z-index: 10;
}

.cta-inner-card {
    background: linear-gradient(135deg, #393185 0%, #00A0E3 100%);
    border-radius: var(--radius-lg);
    padding: 35px 40px;
    box-shadow: 0 20px 50px rgba(57, 49, 133, 0.35);
}

.badge-cta-pill {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 10px;
}
.cta-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}
.cta-subtitle {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.btn-cta-action {
    background: #ffffff;
    color: var(--brand-primary) !important;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-cta-action:hover {
    background: #0f172a;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-cta-app {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.btn-cta-app:hover {
    background: #ffffff;
    color: var(--brand-primary) !important;
}

.footer-content-wrap {
    padding: 40px 0 50px;
}

.footer-brand-card {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.footer-logo-img {
    height: 44px;
    max-width: 100%;
    object-fit: contain;
}
.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.65;
}

.trust-tags-row .trust-pill {
    background: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-right: 6px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
    color: var(--brand-cyan);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--brand-cyan);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links-list li {
    margin-bottom: 11px;
}
.footer-links-list li a {
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links-list li a:hover {
    color: var(--brand-cyan);
    transform: translateX(4px);
}

.footer-contact-items .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 14px;
    color: #94a3b8;
}
.footer-contact-items .contact-item i {
    color: var(--brand-cyan);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 16px;
}

.footer-bottom-bar {
    background: #0f0d2b;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13.5px;
}
.copyright-text {
    color: #64748b;
}
.copyright-text strong {
    color: #cbd5e1;
}
.security-text {
    color: #94a3b8;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Tablets & Mobile Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-main-title {
        font-size: 38px;
    }
    .hero-lead-desc {
        font-size: 15.5px;
    }
    .fintech-card-wrapper {
        margin-top: 30px;
    }
    .floating-badge {
        display: none;
    }
    .cta-inner-card {
        padding: 25px;
    }
    .cta-title {
        font-size: 22px;
    }
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        margin-top: 15px;
    }
    .main-header .navbar-nav .nav-link {
        color: var(--brand-primary) !important;
        padding: 10px 14px !important;
    }
    .main-header .navbar-nav .nav-item.active .nav-link::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .space {
        padding: 60px 0;
    }
    .hero-main-title {
        font-size: 32px;
    }
    .section-heading-bold {
        font-size: 28px;
    }
    .metric-number {
        font-size: 26px;
    }
    .app-banner-card {
        padding: 30px 20px;
    }
    .app-banner-title {
        font-size: 26px;
    }
    .quick-service-matrix {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .inner-hero-title {
        font-size: 30px;
    }
    .contact-details-box, .contact-form-card {
        padding: 25px 20px;
    }
}

/* =========================================================================
   11. AUTHENTICATION & LOGIN PAGE STYLES (UltraFinpay 2026 Theme)
   ========================================================================= */
.auth-page-section {
    padding: 70px 0 90px;
    background: radial-gradient(circle at 10% 20%, rgba(0, 160, 227, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(57, 49, 133, 0.06) 0%, transparent 40%),
                #F8FAFC;
    min-height: calc(100vh - 350px);
    display: flex;
    align-items: center;
}

.auth-showcase-panel {
    background: linear-gradient(145deg, #1b1647 0%, #2f2777 50%, #15113d 100%);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(27, 22, 71, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-showcase-panel::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 160, 227, 0.3) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

.auth-showcase-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 160, 227, 0.18);
    border: 1px solid rgba(0, 160, 227, 0.4);
    color: var(--brand-cyan);
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 25px;
    width: fit-content;
}

.auth-showcase-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.auth-showcase-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 35px;
}

.auth-showcase-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.auth-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 160, 227, 0.2);
    border: 1px solid rgba(0, 160, 227, 0.35);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.auth-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.auth-feature-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
}

.auth-showcase-bottom-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-card-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--brand-border);
    padding: 45px 40px;
    position: relative;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header-logo {
    max-height: 54px;
    width: auto;
    margin-bottom: 16px;
}

.auth-form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.auth-form-subtitle {
    font-size: 14px;
    color: var(--brand-muted);
    margin-bottom: 0;
}

.auth-field-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 8px;
    display: block;
}

.auth-input-group {
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.auth-input-group:focus-within {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(0, 160, 227, 0.15);
}

.auth-input-group .input-group-text {
    background: #F8FAFC;
    border: none;
    color: var(--brand-muted);
    padding: 0 16px;
    font-size: 16px;
}

.auth-input-group .form-control {
    border: none;
    height: 50px;
    font-size: 14.5px;
    color: var(--brand-dark);
    padding: 0 14px;
    font-family: inherit;
    background: transparent;
}

.auth-input-group .form-control:focus {
    box-shadow: none;
    outline: none;
}

.btn-password-toggle {
    background: transparent;
    border: none;
    color: var(--brand-muted);
    padding: 0 16px;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s ease;
}

.btn-password-toggle:hover {
    color: var(--brand-primary);
}

.btn-auth-submit {
    height: 52px;
    border-radius: 12px;
    background: var(--brand-gradient);
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 160, 227, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, #028fcb 0%, #2f2777 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 160, 227, 0.45);
}

.auth-forgot-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-cyan);
    text-decoration: none;
}

.auth-forgot-link:hover {
    color: var(--brand-indigo);
    text-decoration: underline;
}

.auth-divider-wrap {
    text-align: center;
    position: relative;
}

.auth-divider-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E2E8F0;
}

.auth-divider-wrap span {
    background: #ffffff;
    padding: 0 16px;
    position: relative;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-muted);
    letter-spacing: 0.8px;
}

.auth-register-text {
    font-size: 14px;
    color: var(--brand-muted);
}

.auth-register-link {
    color: var(--brand-cyan);
    text-decoration: none;
}

.auth-register-link:hover {
    color: var(--brand-indigo);
    text-decoration: underline;
}

.auth-error-msg {
    background: #FEE2E2;
    border: 1px solid #FCA5A5;
    color: #DC2626;
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 500;
}

.auth-trust-footer {
    font-size: 12.5px;
    color: var(--brand-muted);
}

.auth-input-group select.form-control,
.auth-select {
    border: none;
    height: 50px;
    font-size: 14.5px;
    color: var(--brand-dark);
    padding: 0 14px;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
}

.auth-input-group select.form-control:focus,
.auth-select:focus {
    box-shadow: none;
    outline: none;
}

.field-validation-error {
    color: #DC2626;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

@media (max-width: 991.98px) {
    .auth-showcase-panel {
        margin-bottom: 30px;
        padding: 35px 25px;
    }
    .auth-card-wrapper {
        padding: 35px 25px;
    }
}

/* =========================================================================
   12. LEGAL & POLICY PAGES STYLES (Terms, Privacy, Refund)
   ========================================================================= */
.legal-page-section {
    padding: 70px 0 90px;
    background: #F8FAFC;
}

.legal-card-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--brand-border);
    padding: 50px 45px;
    position: relative;
}

.legal-section-block {
    margin-bottom: 38px;
    padding-bottom: 32px;
    border-bottom: 1px solid #EEF2F6;
}

.legal-section-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.legal-block-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-block-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0;
}

.legal-text {
    font-size: 15px;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 16px;
}

.legal-list {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-list li {
    font-size: 14.5px;
    line-height: 1.75;
    color: #4A5568;
    margin-bottom: 10px;
}

.legal-notice-box {
    background: rgba(0, 160, 227, 0.06);
    border-left: 4px solid var(--brand-cyan);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 18px 22px;
    margin: 25px 0;
    font-size: 14.5px;
    color: var(--brand-primary);
    line-height: 1.65;
}

.legal-sidebar-nav {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--brand-border);
    padding: 25px 20px;
    position: sticky;
    top: 100px;
}

.legal-sidebar-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
}

.legal-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--brand-muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.legal-nav-link:hover, .legal-nav-link.active {
    background: var(--brand-cyan-light);
    color: var(--brand-cyan);
    font-weight: 700;
    transform: translateX(4px);
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .legal-card-wrapper {
        padding: 30px 20px;
    }
}
