@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-bg: #0B1224;
    --accent-blue: #007BFF;
    --logo-blue: #468EF9;
    --white-text: #F1F5F9;
    --muted-text: #A6B1C3;
    --illustration-bg: #EAF1FA;
    --graph-blue: #3A84F9;
    --primary-color: #007BFF;
    --secondary-color: #468EF9;
    --accent-color: #3A84F9;
    --dark-color: #0B1224;
    --light-color: #F1F5F9;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-teal: #0f766e;
    --accent-slate: #1f2937;

    /* New premium colors */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --soft-blue: rgba(59, 130, 246, 0.1);
    --soft-teal: rgba(20, 184, 166, 0.1);
    --soft-purple: rgba(139, 92, 246, 0.1);
    --soft-orange: rgba(245, 158, 11, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background:
        radial-gradient(1200px 520px at 14% 8%, rgba(255, 234, 217, 0.34) 0%, rgba(248, 250, 252, 0) 62%),
        radial-gradient(980px 460px at 84% 16%, rgba(214, 230, 255, 0.42) 0%, rgba(248, 250, 252, 0) 64%),
        var(--neutral-50);
    color: var(--text-primary);
}

/* Transparent sections to show parallax background */
.hero-section,
.section-glass,
.stats-glass,
.cta-glass {
    background: transparent !important;
}

.hero-section::before {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

/* Hero Section - Optimized */
.hero-section {
    min-height: clamp(620px, 86vh, 860px);
    padding: 6.5rem 0 3.5rem;
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    color: var(--text-primary);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(248, 250, 252, 0.22) 100%);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Reduced floating elements for better performance */
.floating-element:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    opacity: 0.25;
}

.floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    opacity: 0.2;
}

/* Navigation */
.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease, padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    backdrop-filter: blur(12px);
    padding: 0.55rem 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    will-change: transform;
}

.navbar-custom.scrolled {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    padding: 0.35rem 0;
}

.navbar-custom.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
}

.navbar-brand img {
    height: auto;
    width: 190px;
    max-width: none;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-secondary) !important;
}

.navbar-custom .navbar-nav {
    align-items: center;
    gap: 0.5rem;
}

.navbar-custom .nav-auth-link {
    margin: 0;
    min-width: 104px;
    height: 38px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    text-decoration: none !important;
}

.navbar-custom .nav-auth-link:hover {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
}

.navbar-custom .nav-auth-link-primary {
    min-width: 136px;
    border-color: #2563eb;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.navbar-custom .nav-auth-link-primary:hover {
    color: #ffffff !important;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.32);
}

.nav-link.btn.btn-outline-light {
    border-color: var(--accent-slate);
    color: var(--accent-slate) !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link.btn.btn-outline-light:hover {
    background: var(--accent-slate);
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(15, 23, 42, 0.2);
}

.navbar-toggler-icon {
    filter: invert(0.2);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-primary);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.hero-image-container {
    position: relative;
    z-index: 5;
}

.hero-image {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
}

.hero-image img {
    border-radius: 16px;
    width: 100%;
    height: auto;
}

.hero-section .floating-element {
    background: radial-gradient(circle at 30% 30%, rgba(148, 163, 184, 0.18), transparent 70%);
}

.hero-section .btn-glass-optimized {
    background: #ffffff;
    border: 1.5px solid var(--accent-slate);
    color: var(--accent-slate);
    border-radius: 14px;
    padding: 0.95rem 2.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.hero-section .btn-glass-optimized:hover {
    background: var(--neutral-100);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    transform: translate3d(0, -2px, 0);
}

.hero-section .btn-glass-optimized i {
    color: inherit;
}

.hero-section .btn-glass-primary {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.hero-section .btn-glass-primary:hover {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-teal);
}

.hero-section .btn-glass-secondary {
    border-color: #14b8a6;
    color: #14b8a6;
}

.hero-section .btn-glass-secondary:hover {
    background: rgba(20, 184, 166, 0.12);
    color: var(--accent-teal);
}

.hero-scroll-link {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none !important;
    color: #1e3a8a;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.28);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-scroll-link:visited,
.hero-scroll-link:active {
    color: #1e3a8a;
    text-decoration: none !important;
}

.hero-scroll-link:hover {
    text-decoration: none !important;
    color: #1e40af;
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.2);
}

.hero-scroll-link:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.3);
    outline-offset: 3px;
}

.hero-scroll-link-text {
    line-height: 1;
}

.hero-scroll-link-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.24);
}

.hero-scroll-link-icon i {
    font-size: 0.8rem;
    animation: hero-scroll-bounce 1.35s ease-in-out infinite;
}

.hero-scroll-link:hover .hero-scroll-link-icon {
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.hero-trust-strip {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.hero-trust-chip i {
    color: #2563eb;
    font-size: 0.78rem;
}

@keyframes hero-scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

/* Redesign Components */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.quick-action-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.quick-action-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: var(--primary-color);
}

.quick-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-blue-soft {
    background: var(--soft-blue);
    color: #3b82f6;
}

.bg-teal-soft {
    background: var(--soft-teal);
    color: #14b8a6;
}

.bg-purple-soft {
    background: var(--soft-purple);
    color: #8b5cf6;
}

.bg-orange-soft {
    background: var(--soft-orange);
    color: #f59e0b;
}

.quick-action-card span {
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-glass-premium {
    min-width: 260px;
    height: 54px;
    padding: 0 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: rgba(255, 255, 255, 0.86);
    color: #0f172a;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.btn-glass-premium i {
    color: inherit;
}

.btn-glass-premium:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    color: #0f172a;
}

.btn-glass-premium:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.btn-glass-premium.btn-glass-primary {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn-glass-premium.btn-glass-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.32);
}

.hero-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.2rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.22);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-inline-link i {
    font-size: 0.9rem;
}

.hero-inline-link:hover {
    color: #1d4ed8;
    border-bottom-color: rgba(29, 78, 216, 0.42);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Override legacy hero button color rules for new premium CTA buttons */
.hero-section .btn-glass-premium,
.hero-section .btn-glass-premium:hover,
.hero-section .btn-glass-premium.btn-glass-primary,
.hero-section .btn-glass-premium.btn-glass-primary:hover {
    color: inherit;
}

.hero-section .btn-glass-premium.btn-glass-primary,
.hero-section .btn-glass-premium.btn-glass-primary:hover {
    color: #ffffff;
}

.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-image-main {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    border: 8px solid #ffffff;
}

.hero-image-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-teal);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-experience-card {
    position: absolute;
    top: 20%;
    right: -1rem;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.exp-icon {
    width: 40px;
    height: 40px;
    background: #fef3c7;
    color: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.exp-text {
    display: flex;
    flex-direction: column;
}

.exp-text strong {
    font-size: 1.25rem;
    color: var(--text-primary);
}

.exp-text span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Optimized Glass Buttons - Using external CSS */

.member-id-section {
    padding: 20px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.member-id-section-improved {
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.member-id-text {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.btn-glass-primary:hover {
    background: rgba(0, 123, 255, 0.25);
    border-color: rgba(0, 123, 255, 0.4);
    color: var(--accent-blue);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Optimized Cards - Using external CSS */

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 24px 45px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.glass-card h3 {
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.glass-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-blue), var(--graph-blue));
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.25);
}

.glass-card:nth-child(even) .feature-icon {
    background: linear-gradient(135deg, var(--logo-blue), var(--accent-blue));
}

/* Sections */
.section-glass {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.9) 100%);
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Section */
.stats-glass {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 6rem 0;
    position: relative;
}

.stat-item {
    text-align: center;
    color: var(--text-primary);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--accent-slate);
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Steps */
.step-glass {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    color: var(--text-primary);
    position: relative;
    will-change: transform;
}

.step-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.step-glass h3 {
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.step-glass p {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--logo-blue), var(--accent-blue));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 15px rgba(70, 142, 249, 0.25);
}

/* CTA Section */
.cta-glass {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 6rem 0;
    text-align: center;
    color: var(--text-primary);
    position: relative;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    color: var(--text-primary);
    position: relative;
    will-change: transform;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--logo-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(70, 142, 249, 0.25);
}

.service-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Location Cards */
.location-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    color: var(--text-primary);
    position: relative;
    will-change: transform;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
}

.location-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--graph-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.location-info h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.location-address {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(0, 123, 255, 0.08);
    color: var(--accent-blue);
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.18);
}

.location-btn {
    background: #ffffff;
    border: 1.5px solid rgba(0, 123, 255, 0.4);
    color: var(--accent-blue);
    padding: 0.75rem 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.location-btn:hover {
    background: rgba(0, 123, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.5);
    color: var(--accent-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Interactive Clinic Locator */
.clinic-locator-section {
    padding: 3.25rem 0 4rem;
    background: linear-gradient(180deg, rgba(255, 249, 243, 0.92) 0%, rgba(241, 245, 249, 0.94) 56%, rgba(236, 243, 255, 0.9) 100%);
    scroll-margin-top: 92px;
}

.clinic-locator-grid {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    background: #f4f7fb;
}

.clinic-locator-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1.25rem;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    max-height: 840px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.clinic-locator-header h2 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 0 0 0.65rem;
    color: #0f172a;
}

.clinic-locator-header p {
    margin: 0;
    color: #5a6780;
    font-size: 1rem;
}

.clinic-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #f7f9fc;
}

.clinic-search i {
    color: #94a3b8;
}

.clinic-search input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    color: #0f172a;
    font-weight: 500;
}

.clinic-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: auto;
    padding-right: 0.25rem;
}

.clinic-item {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.clinic-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.clinic-item.is-active {
    border-color: rgba(37, 99, 235, 0.58);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.clinic-item.is-hidden {
    display: none;
}

.clinic-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.clinic-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: #2563eb;
    background: #e9efff;
}

.clinic-status {
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.28rem 0.68rem;
    color: #64748b;
    background: #e2e8f0;
}

.clinic-status.is-open {
    color: #0f766e;
    background: #ccfbf1;
}

.clinic-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.55rem;
    color: #0f172a;
}

.clinic-item p {
    margin: 0;
    color: #5b6880;
    font-size: 0.95rem;
}

.clinic-item p i {
    margin-right: 0.35rem;
    color: #94a3b8;
}

.clinic-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.clinic-action-btn {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #334155;
    background: #f8fafc;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.62rem 0.8rem;
    transition: all 0.2s ease;
}

.clinic-action-btn:hover {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.75);
}

.clinic-action-btn.is-primary {
    color: #ffffff;
    border-color: #2563eb;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.clinic-action-btn.is-primary:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.clinic-map-stage {
    min-height: 680px;
    position: relative;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.clinic-map-frame {
    width: 100%;
    max-width: 880px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    padding: 1.1rem;
    background: linear-gradient(180deg, #f9fafc, #ebeff4);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06), 0 14px 30px rgba(15, 23, 42, 0.1);
}

.clinic-map-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(59, 130, 246, 0.14), transparent 28%),
        radial-gradient(circle at 78% 72%, rgba(20, 184, 166, 0.1), transparent 24%),
        url('/static/images/clinic_map_backdrop.svg') center/cover no-repeat,
        linear-gradient(180deg, #f3f5f9, #eef1f6);
}

.clinic-map-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    max-width: min(250px, calc(100% - 2rem));
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    pointer-events: none;
    z-index: 4;
}

.clinic-map-overlay span {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
}

.clinic-map-overlay i {
    color: #2563eb;
}

.clinic-map-overlay small {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.25;
}

.clinic-map-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.02) 100%);
    pointer-events: none;
    z-index: 2;
}

.clinic-pin {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 3px solid #e6ecff;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.34);
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
}

.clinic-pin:hover {
    transform: translate(-50%, -50%) scale(1.09);
}

.clinic-pin.is-active {
    animation: clinic-pin-pulse 1.8s infinite;
}

.pin-mega {
    left: 41%;
    top: 34%;
}

.pin-gateway {
    left: 72%;
    top: 58%;
}

.pin-festival {
    left: 43%;
    top: 73%;
}

@keyframes clinic-pin-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35), 0 12px 20px rgba(37, 99, 235, 0.34);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0), 0 12px 20px rgba(37, 99, 235, 0.34);
    }
}

.clinic-map-detail {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: min(360px, calc(100% - 3rem));
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.18);
    padding: 1rem;
    z-index: 4;
    overflow: hidden;
    isolation: isolate;
}

.clinic-map-detail::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.34;
    background: url('/static/images/hero_variant1.png') center/cover no-repeat;
    filter: saturate(0.82) contrast(0.92);
}

.clinic-map-detail::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.94) 60%, rgba(255, 255, 255, 0.96) 100%);
}

.clinic-map-detail > * {
    position: relative;
    z-index: 1;
}

.clinic-map-detail.is-animating {
    animation: clinic-detail-swap 260ms ease;
}

@keyframes clinic-detail-swap {
    0% {
        opacity: 0.45;
        transform: translateY(-10px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.clinic-map-detail-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.clinic-map-detail-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8edff 0%, #dbe7ff 100%);
    color: #2563eb;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.clinic-map-detail-top h3 {
    margin: 0;
    font-size: 1.55rem;
    color: #111827;
}

.clinic-map-detail-top p {
    margin: 0;
    color: #64748b;
    font-weight: 600;
}

.clinic-detail-rating {
    margin-bottom: 0.7rem;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.clinic-detail-rating strong {
    color: #111827;
}

.clinic-detail-rating small {
    color: #64748b;
    font-weight: 600;
}

.clinic-detail-type {
    margin: 0 0 0.5rem;
    color: #3f4b63;
    font-weight: 600;
    font-size: 0.95rem;
}

.clinic-map-detail > p {
    margin: 0 0 0.9rem;
    color: #4a556d;
    font-size: 0.95rem;
    line-height: 1.55;
}

.clinic-detail-meta {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 0.9rem;
    padding-top: 0.75rem;
}

.clinic-detail-meta p {
    margin: 0.32rem 0;
    font-size: 0.9rem;
    color: #4a556d;
}

.clinic-map-detail > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: #0f172a;
    transition: background 0.2s ease;
}

.clinic-map-detail > a:hover {
    background: #1e293b;
}

@media (max-width: 1180px) {
    .clinic-locator-grid {
        grid-template-columns: 1fr;
    }

    .clinic-locator-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        max-height: none;
    }

    .clinic-map-stage {
        min-height: 540px;
    }

    .clinic-map-detail {
        right: 1rem;
        top: 1rem;
    }
}

@media (max-width: 768px) {
    .clinic-locator-section {
        padding: 3.5rem 0 4rem;
    }

    .clinic-locator-header h2 {
        font-size: 1.8rem;
    }

    .clinic-actions {
        grid-template-columns: 1fr;
    }

    .clinic-map-stage {
        min-height: 430px;
        padding: 0.75rem;
    }

    .clinic-map-detail {
        position: static;
        width: 100%;
        margin-top: 0.8rem;
    }

    .clinic-pin {
        width: 40px;
        height: 40px;
    }
}

/* Article Cards */
.article-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    color: var(--text-primary);
    position: relative;
    will-change: transform;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 123, 255, 0.9);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.article-link:hover {
    color: var(--logo-blue);
    text-decoration: none;
    transform: translateX(2px);
}

/* Footer */
.footer-glass {
    background: var(--primary-bg);
    color: var(--white-text);
    padding: 3rem 0 1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white-text);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white-text);
}

.footer-bottom {
    border-top: 1px solid rgba(166, 177, 195, 0.3);
    padding-top: 1rem;
    text-align: center;
    color: var(--muted-text);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .glass-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

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

    .cta-title {
        font-size: 2.2rem;
    }

    .btn-glass {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .btn-glass-premium {
        width: 100%;
        min-width: 0;
    }

    .navbar-brand img {
        width: 150px;
        height: auto;
    }

    .navbar-custom .navbar-nav {
        gap: 0.75rem;
    }

    .navbar-custom .nav-auth-link,
    .navbar-custom .nav-auth-link-primary {
        width: 100%;
        min-width: 0;
        border-radius: 12px;
    }
}

/* Animations */
.fade-in {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroGradientMotion {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-2%, 3%, 0);
    }

    100% {
        transform: translate3d(2%, -2%, 0);
    }
}

/* Care Center Card Section */
.care-center-card-section-landing {
    padding: 80px 0;
    background: var(--neutral-50);
    position: relative;
}

/* Launch toggle: temporarily hide card-selling section on landing page */
#care-center-card {
    display: none !important;
}

.card-section-wrapper-landing {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-slideshow-wrapper-landing {
    flex: 1;
    max-width: 500px;
}

.card-content-wrapper-landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-section-title-landing {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--text-primary);
}

.card-description-landing {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 30px 0;
    min-height: 54px;
    transition: opacity 0.3s ease;
}

.card-slideshow-container-landing {
    position: relative;
    width: 100%;
    margin: 0;
    z-index: 1;
}

.card-slideshow-landing {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-slide-landing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-slide-landing.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.card-slide-landing.prev {
    transform: translateX(-100%);
    z-index: 1;
}

.card-image-placeholder-landing {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 20px;
}

.placeholder-content-landing {
    text-align: center;
    color: var(--accent-blue);
}

.placeholder-content-landing i {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.7;
    color: var(--accent-blue);
}

.placeholder-content-landing span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.placeholder-content-landing small {
    display: block;
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-nav-btn-landing {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--accent-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

.card-nav-btn-landing:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.1);
}

.card-nav-prev-landing {
    left: -25px;
}

.card-nav-next-landing {
    right: -25px;
}

.card-indicators-landing {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.card-indicator-landing {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.card-indicator-landing.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.3);
}

.card-action-buttons-landing {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 0;
}

.btn-card-action-landing {
    flex: 0 0 auto;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1.5px solid;
    text-decoration: none;
}

.btn-buy-landing {
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.btn-buy-landing:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.6);
}

.btn-member-landing {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-member-landing:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-scroll-link {
        margin-top: 1.2rem;
        font-size: 0.92rem;
    }

    .hero-section {
        min-height: auto;
        padding: 6rem 0 2.8rem;
    }

    .hero-trust-strip {
        justify-content: center;
    }

    .hero-experience-card {
        display: none;
    }

    .care-center-card-section-landing {
        padding: 60px 0;
    }

    .card-section-wrapper-landing {
        flex-direction: column;
        gap: 40px;
    }

    .card-slideshow-wrapper-landing {
        max-width: 100%;
        width: 100%;
    }

    .card-content-wrapper-landing {
        text-align: center;
    }

    .card-section-title-landing {
        font-size: 28px;
    }

    .card-slideshow-container-landing {
        max-width: 100%;
    }

    .card-slideshow-landing {
        height: 250px;
    }

    .card-nav-prev-landing {
        left: -15px;
    }

    .card-nav-next-landing {
        right: -15px;
    }

    .card-nav-btn-landing {
        width: 40px;
        height: 40px;
    }

    .card-action-buttons-landing {
        flex-direction: column;
        gap: 15px;
    }

    .btn-card-action-landing {
        width: 100%;
    }
}

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

.footer-policy-link {
    color: #007BFF;
    text-decoration: none;
}
