:root {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --accent-1: #4f46e5; /* Indigo */
    --accent-2: #7c3aed; /* Violet */
    --accent-3: #db2777; /* Pink */
    --accent-finbi: #059669; /* Green */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: #e2e8f0;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Soft Ambient Mesh */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(140px);
    opacity: 0.35;
    border-radius: 50%;
    animation: drift 20s infinite alternate linear;
}

.shape-1 { top: -10%; left: -10%; width: 550px; height: 550px; background: #c7d2fe; }
.shape-2 { bottom: 10%; right: -10%; width: 650px; height: 650px; background: #fed7aa; animation-delay: -5s; }
.shape-3 { top: 35%; left: 35%; width: 500px; height: 500px; background: #bae6fd; animation-delay: -10s; }

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -50px) scale(1.1); }
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.04);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    min-height: 48px;
    min-width: 48px;
    padding: 6px 12px;
}

.logo i {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links > a.nav-text-link, .nav-links .dropdown > a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}
.nav-links > a.nav-text-link:hover, .nav-links .dropdown > a:hover {
    color: var(--accent-1);
}

/* Dropdown Menu CSS */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown .dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    min-width: 220px;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    z-index: 200;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px; left: 0; right: 0; height: 15px;
}
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(10px);
}
.dropdown-content a {
    color: var(--text-main);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-finbi);
}

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}
.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white !important;
    border: none;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-primary-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent-1);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main) !important;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, #a855f7, #ec4899, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    contain: layout;
}

.badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* FINBI Massive Highlight Section */
.finbi-massive-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 60px;
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.9), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.gradient-finbi-text {
    background: linear-gradient(to right, #10b981, #047857);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.finbi-content {
    flex: 1.2;
    z-index: 2;
}

.finbi-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

.abstract-dash {
    width: 100%;
    max-width: 450px;
    height: 320px;
    background: rgba(10, 10, 15, 0.9);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.dash-header { height: 24px; background: rgba(255,255,255,0.05); border-bottom: 1px solid var(--glass-border); }
.dash-body { display: flex; flex: 1; }
.dash-sidebar { width: 60px; background: rgba(255,255,255,0.03); border-right: 1px solid var(--glass-border); }
.dash-main { flex: 1; padding: 20px; display: flex; flex-wrap: wrap; gap: 15px; align-content: flex-start; }
.dash-widget { background: rgba(255,255,255,0.06); border-radius: 8px; height: 60px; }
.w-full { width: 100%; height: 90px; }
.w-half { width: calc(50% - 7.5px); }

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Glass Cards */
.glass-card {
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.gradient-survey { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gradient-games { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gradient-api { background: linear-gradient(135deg, #6366f1, #4338ca); }

.glass-card h3 {
    font-size: 1.4rem;
}

.glass-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.card-links {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.card-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--glass-bg);
    border-radius: 8px;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-links a:hover {
    background: rgba(255,255,255,0.1);
}

.single-link {
    width: 100%;
    justify-content: space-between;
}

/* Ecosystem Map */
.dark-section {
    position: relative;
    padding-top: 40px;
}

.glass-panel {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px 40px;
}

.text-center { text-align: center; }

.ecosystem-map {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.eco-node {
    padding: 15px 30px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.root-node {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.5rem;
    z-index: 2;
}

.eco-branches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    max-width: 800px;
}

.leaf-node {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.leaf-node span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leaf-node strong {
    color: var(--accent-finbi);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 20px;
    margin-top: 50px;
    text-align: center;
    background: rgba(0,0,0,0.3);
}

.footer-content .logo {
    justify-content: center;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 3.5rem; }
    .nav-links { display: none; }
    .hero-actions { flex-direction: column; }
    .eco-branches { flex-direction: column; }
    .finbi-massive-card { flex-direction: column; padding: 40px 20px; text-align: center; }
    .finbi-visual { width: 100%; justify-content: center; margin-top: 20px; }
    .card-links { justify-content: center; }
}

/* ==========================================================================
   High-Contrast Studio Theme & Readability Enhancements
   ========================================================================== */
:root {
    --bg-dark: #f8fafc;
    --card-surface: #ffffff;
    --card-surface-elevated: #ffffff;
    --text-primary: #0f172a;
    --text-body: #334155;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-subtle: #e2e8f0;
    --border-highlight: #6366f1;
    --accent-indigo: #4f46e5;
    --accent-indigo-light: #6366f1;
    --accent-cyan: #0284c7;
    --accent-emerald: #059669;
    --accent-rose: #e11d48;
}

body {
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

p, span, li, td, th {
    color: #334155;
}

.text-muted, .legal-meta, .hero p, .feature-copy p, .support-band p {
    color: #475569 !important;
}

/* Global Form Placeholders High Contrast */
::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}
::-webkit-input-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}
::-moz-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.gradient-text {
    background: linear-gradient(135deg, #4f46e5, #0284c7, #059669) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Glass Navigation Light Theme - Sleek Single-Line Modern Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.nav-content {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 28px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap !important;
}

.logo {
    color: #0f172a !important;
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.logo span {
    white-space: nowrap !important;
    display: inline;
}

.logo i {
    color: #4f46e5 !important;
    font-size: 1.35rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links > a.nav-text-link {
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap !important;
    padding: 7px 13px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    display: inline-block;
    flex-shrink: 0;
}

.nav-links > a.nav-text-link:hover {
    color: #4f46e5 !important;
    background: #f1f5f9;
}

.nav-links > a.nav-text-link.active {
    color: #4f46e5 !important;
    background: #eef2ff;
    font-weight: 700;
}

.nav-buttons {
    margin-left: 8px;
    flex-shrink: 0;
    white-space: nowrap !important;
}

.nav-buttons a.btn-primary, .nav-buttons .btn-primary {
    white-space: nowrap !important;
    padding: 8px 20px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Hero Section Light Theme */
.hero {
    min-height: 80vh;
    padding-top: 140px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 80% 25%, rgba(99, 102, 241, 0.08), transparent 50%),
                radial-gradient(circle at 15% 75%, rgba(6, 182, 212, 0.08), transparent 50%) !important;
}

.eyebrow {
    color: #4f46e5 !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #059669;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.4);
}

.hero h1 {
    color: #0f172a !important;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero p {
    color: #475569 !important;
    font-size: 1.18rem;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 30px;
}

.hero-note {
    color: #475569 !important;
    font-size: 0.9rem;
    margin-top: 22px;
}

.hero-note i {
    color: #059669 !important;
    margin-right: 6px;
}

/* Signal Strip Light Theme */
.signal-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.signal-strip div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    border-right: 1px solid #e2e8f0;
}

.signal-strip div:last-child {
    border-right: none;
}

.signal-strip strong {
    color: #4f46e5 !important;
    font-size: 0.9rem;
    font-weight: 800;
}

.signal-strip span {
    color: #0f172a !important;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Buttons Light Theme */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: #ffffff !important;
    border: 1px solid #4f46e5 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
    font-weight: 700;
}

.btn-primary:hover {
    background: #4338ca !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-secondary {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Panels & Cards Light Theme */
.glass-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    color: #334155 !important;
}

/* Support Band Light Theme */
.support-band {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px;
    color: #0f172a !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    padding: 50px 48px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.support-band h2 {
    color: #0f172a !important;
    margin: 8px 0 12px;
}

.support-band p {
    color: #475569 !important;
}

.support-actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    align-items: center;
}

@media (max-width: 768px) {
    .support-band {
        padding: 36px 28px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

.section-kicker {
    color: #4f46e5 !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Legal Page Layout & Table of Contents Light Theme */
.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.legal-contents {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.legal-contents strong {
    color: #0f172a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.legal-contents a {
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 6px 10px;
    border-radius: 6px;
}

.legal-contents a:hover {
    color: #4f46e5;
    background: #eef2ff;
    padding-left: 14px;
}

.legal-document {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px;
    padding: 40px;
    color: #334155 !important;
    line-height: 1.8;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

.legal-document h2 {
    color: #0f172a !important;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.legal-document h3 {
    color: #0f172a !important;
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-document p, .legal-document li {
    color: #334155 !important;
    font-size: 0.98rem;
}

.legal-document strong {
    color: #0f172a !important;
}

.legal-document a {
    color: #4f46e5 !important;
    text-decoration: underline;
}

/* Footer Light Theme */
footer {
    border-top: 1px solid #e2e8f0 !important;
    padding: 40px 20px;
    margin-top: 50px;
    text-align: center;
    background: #f1f5f9 !important;
}

.footer-content p {
    color: #475569 !important;
    font-size: 0.95rem;
}

.footer-content a {
    color: #4f46e5 !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-content a:hover {
    color: #3730a3 !important;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .nav-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
    .signal-strip { grid-template-columns: repeat(2, 1fr); }
    .signal-strip div:nth-child(2) { border-right: none; }
    .signal-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--border-subtle); }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-contents { position: static; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.6rem; }
    .signal-strip { grid-template-columns: 1fr; }
    .signal-strip div { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

/* ── Floating AdMob / AdSense Earning Banner ─────────────────────── */
.floating-ad-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15) !important;
    z-index: 990;
    overflow: hidden;
    contain: layout style;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    font-family: 'Inter', -apple-system, sans-serif;
}
.floating-ad-banner.minimized {
    transform: translateY(125%);
    opacity: 0;
    pointer-events: none;
}
.ad-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.ad-banner-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ad-banner-tag i {
    color: #4f46e5;
}
.ad-dismiss-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.ad-dismiss-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}
.ad-banner-body {
    padding: 10px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
}
.ad-fallback-card {
    width: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: left;
}
.ad-fallback-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    color: #4f46e5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}
.ad-fallback-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}
.ad-fallback-desc {
    font-size: 0.76rem;
    color: #475569;
    margin: 0 0 8px;
    line-height: 1.4;
}
.ad-fallback-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #4f46e5;
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}
.ad-fallback-action:hover {
    background: #4338ca;
}
.ad-minimized-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 989;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    border-radius: 9999px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, background 0.2s;
}
.ad-minimized-trigger.visible {
    display: inline-flex;
}
.ad-minimized-trigger:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: #4f46e5;
}

@media (max-width: 600px) {
    .floating-ad-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }
    .ad-minimized-trigger {
        bottom: 12px;
        right: 12px;
    }
}
