/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM LANDING PAGE CSS (Light Theme & Full Hero Hub)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Home Tab: break out of content-container constraints ── */
#Home.tabcontent {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.content-container.full-width-home {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 0;
}

/* ── Typography & Global ── */
.home-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }

/* ── Full Height Hero Hub ── */
.hero-hub-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    overflow: hidden;
    padding: 20px 20px 30px;
}
.hero-hub-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hub-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.hub-sphere.hs1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: #0ea5e9;
}
.hub-sphere.hs2 {
    bottom: -10%; right: -10%;
    width: 40vw; height: 40vw;
    background: #8b5cf6;
}

.hero-hub-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.hero-top-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero-top-right {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logos-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.hero-inst-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 8px 16px rgba(20, 134, 140, 0.15));
}
.hero-inst-logo:hover {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 12px 20px rgba(20, 134, 140, 0.2));
}

.hero-3d-svg-logo {
    max-width: 100%;
    width: 450px;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    filter: drop-shadow(0 15px 25px rgba(20, 134, 140, 0.25));
    transform-style: preserve-3d;
}

.hero-3d-svg-logo:hover {
    transform: translateY(-8px) scale(1.02) perspective(1000px) rotateX(3deg) rotateY(-3deg);
    filter: drop-shadow(0 20px 25px rgba(20, 134, 140, 0.15));
}

/* ── Header Area ── */
.hub-header {
    text-align: left;
    max-width: 800px;
}
.trust-markers {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.trust-pill {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}
.trust-logo { height: 20px; width: auto; }
.hub-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.hub-title .highlight-text {
    color: var(--primary);
}
.hub-motive {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 800px;
}

/* ── Global Impact Bottom Banner ── */
.hub-global-impact-bottom {
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(20, 134, 140, 0.05);
    border: 1px solid rgba(20, 134, 140, 0.2);
    padding: 12px 30px;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(20, 134, 140, 0.05);
    backdrop-filter: blur(10px);
}
.hub-global-impact-bottom .global-label {
    font-size: 1rem;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}
.hub-global-impact-bottom .global-label i { color: #10b981; margin-right: 6px; }
.hub-global-impact-bottom .global-counter {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 4px 10px rgba(20, 134, 140, 0.1);
}

/* ── 4 Solutions Counters ── */
.hub-solutions-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}
.hub-stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hub-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}
.hub-stat-card .stat-icon {
    width: 50px; height: 50px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.hub-stat-card .stat-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.hub-stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.hub-stat-card .stat-metric {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    flex: 1;
}
.hub-stat-card .stat-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex; align-items: center; gap: 6px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.hub-stat-card:hover .stat-link { opacity: 1; }
.hub-stat-card:hover .stat-link i { transform: translateX(4px); }

/* Removed Scroll Indicator */

/* ── Transition Content ── */
.transition-content {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}
.transition-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 16px;
}
.transition-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
}

/* ── Z-Pattern Feature Rows ── */
.features-wrapper {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-content {
    flex: 1;
}
.feature-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.clinical-badge { background: #e0f2fe; color: #0284c7; }
.insurance-badge { background: #ede9fe; color: #6d28d9; }
.privacy-badge { background: #fef3c7; color: #b45309; }
.forgery-badge { background: #d1fae5; color: #047857; }

.feature-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    color: #0f172a;
    margin: 0 0 20px;
    line-height: 1.2;
}
.feature-content p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 24px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.feature-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}
.feature-list li i {
    position: absolute;
    left: 0; top: 4px;
    color: #10b981;
    background: #ecfdf5;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem;
}

.feature-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary, #14868C);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(20, 134, 140, 0.2);
    margin-top: 10px;
}

.feature-launch-btn:hover {
    background: #0e6a6f;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(20, 134, 140, 0.3);
}

.feature-launch-btn i {
    transition: transform 0.2s;
}

.feature-launch-btn:hover i {
    transform: translateX(4px);
}

/* Feature Visuals (Abstract UI Representations) */
.feature-visual {
    flex: 1;
    min-width: 300px;
    height: 400px;
    border-radius: 24px;
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.feature-visual::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
}
.vis-abstract {
    position: relative;
    z-index: 2;
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 80%;
    border: 1px solid #e2e8f0;
}
.abs-icon {
    font-size: 3rem;
}
.clinical-vis .abs-icon { color: #0ea5e9; }
.insurance-vis .abs-icon { color: #8b5cf6; }
.privacy-vis .abs-icon { color: #f59e0b; }
.forgery-vis .abs-icon { color: #10b981; }

.abs-code {
    background: #0f172a;
    padding: 16px;
    border-radius: 12px;
    width: 100%;
}
.abs-code code {
    display: block;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    margin-bottom: 8px;
}

.abs-data-flow { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.bar { height: 8px; border-radius: 4px; background: #e2e8f0; }
.bar.w-70 { width: 70%; background: #8b5cf6; }
.bar.w-40 { width: 40%; background: #c4b5fd; }
.bar.w-90 { width: 90%; background: #ede9fe; }

.abs-redact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.r-block { height: 20px; border-radius: 4px; }
.r-block.dark { background: #334155; }
.r-block.light { background: #e2e8f0; }

.abs-scan-line {
    width: 100%;
    height: 4px;
    background: #10b981;
    border-radius: 2px;
    box-shadow: 0 0 10px #10b981;
    position: relative;
    animation: scan 2s infinite alternate;
}
@keyframes scan {
    0% { transform: translateY(-30px); }
    100% { transform: translateY(30px); }
}

/* ── Geo Footprint ── */
.geo-section {
    background: #f8fafc;
    border-radius: 24px;
    padding: 60px 40px;
    border: 1px solid #e2e8f0;
}
.geo-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.geo-panel {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
}
.geo-icon {
    width: 48px; height: 48px;
    background: rgba(20, 134, 140, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.geo-metrics { margin-bottom: 20px; }
.geo-count {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}
.geo-label {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}
.geo-list {
    flex: 1;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    max-height: 150px;
    overflow-y: auto;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}
.geo-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 20px;
}
.geo-disclaimer i { color: #10b981; margin-right: 6px; }

@media (max-width: 1024px) {
    .hero-top-row {
        flex-direction: column;
        text-align: center;
    }
    .hero-top-left { order: 2; align-items: center; }
    .hero-top-right { order: 1; max-width: 400px; margin: 0 auto; }
    .hero-logos-group { gap: 24px; }
    .hero-inst-logo { height: 72px; }
    .hub-header { text-align: center; }
}
@media (max-width: 900px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .feature-list li {
        text-align: left;
    }
    .feature-visual { width: 100%; min-height: 300px; }
    .hub-solutions-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hub-title { font-size: 2.2rem; }
    .hub-solutions-stats { grid-template-columns: 1fr; }
    .global-counter { font-size: 3.5rem; }
}
