/* VmShell PAY - 頂尖支付公司風格 (Stripe/Adyen Inspired) - 淺綠色主題 */
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.2.0/fonts/remixicon.css');

:root {
    --primary: #2ecc71;
    --primary-light: #58d68d;
    --primary-dark: #27ae60;
    --dark: #1a2a1f;
    --text: #425466;
    --heading: #1a2a1f;
    --light-bg: #f0fdf4;
    --white: #ffffff;
    --border: #e6f4ea;
    --shadow: 0 15px 35px rgba(46,204,113,.1), 0 5px 15px rgba(0,0,0,.07);
    --radius: 8px;
    --container-width: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.top-bar { background: var(--dark); color: rgba(255,255,255,0.7); padding: 10px 0; font-size: 13px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left span { margin-right: 20px; }
.topbar-left i { color: var(--primary-light); margin-right: 5px; }
.topbar-right a { color: rgba(255,255,255,0.7); margin-left: 20px; text-decoration: none; transition: .3s; }
.topbar-right a:hover { color: var(--white); }

/* Header */
.main-header { background: var(--white); padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-size: 24px; font-weight: 800; color: var(--primary-dark); text-decoration: none; }
.logo-sub { font-size: 11px; color: #94a3b8; display: block; text-transform: uppercase; letter-spacing: 1px; }
.main-nav ul { display: flex; list-style: none; gap: 35px; }
.main-nav a { color: var(--dark); font-weight: 600; font-size: 15px; text-decoration: none; transition: .3s; }
.main-nav a:hover { color: var(--primary-dark); }

/* Hero Section */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: ''; position: absolute; top: -10%; right: -10%; width: 50%; height: 120%;
    background: url('/assets/images/hero/hero-bg.jpg') no-repeat center;
    background-size: contain; opacity: 0.05; z-index: 0;
}
.hero-content { max-width: 600px; position: relative; z-index: 1; }
.hero-section h1 { font-size: 56px; font-weight: 800; color: var(--heading); line-height: 1.1; margin-bottom: 25px; }
.hero-section p { font-size: 20px; color: var(--text); margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; }

.btn-primary { background: var(--primary-dark); color: var(--white); padding: 14px 30px; border-radius: 4px; font-weight: 600; text-decoration: none; transition: .3s; }
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 7px 14px rgba(46,204,113,.1), 0 3px 6px rgba(0,0,0,.08); }
.btn-secondary { background: var(--white); color: var(--primary-dark); padding: 14px 30px; border-radius: 4px; font-weight: 600; text-decoration: none; border: 1px solid var(--primary-dark); transition: .3s; }
.btn-secondary:hover { background: var(--light-bg); }

/* Trust Bar */
.trust-bar { padding: 40px 0; border-bottom: 1px solid var(--border); text-align: center; }
.trust-bar p { font-size: 14px; color: #94a3b8; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; font-weight: 700; }
.partner-logos-strip { display: flex; justify-content: space-between; align-items: center; opacity: 0.6; filter: grayscale(1); }
.partner-logos-strip img { height: 35px; transition: .3s; }
.partner-logos-strip img:hover { opacity: 1; filter: grayscale(0); }

/* Features */
.section-padding { padding: 100px 0; }
.bg-light { background: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 70px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title h2 { font-size: 36px; color: var(--heading); margin-bottom: 20px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-card { padding: 30px; transition: .3s; }
.feature-card .icon { font-size: 32px; color: var(--primary-dark); margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; color: var(--heading); margin-bottom: 15px; }
.feature-card p { font-size: 15px; color: var(--text); }

/* Intro Wrapper */
.intro-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.badge { background: rgba(46, 204, 113, 0.1); color: var(--primary-dark); padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: inline-block; }
.intro-text h2 { font-size: 36px; color: var(--heading); margin-bottom: 25px; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { display: flex; align-items: center; margin-bottom: 15px; font-weight: 600; color: var(--dark); }
.check-list i { color: #2ecc71; margin-right: 15px; font-size: 20px; }
.intro-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Partner Grid */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.partner-item { background: var(--white); padding: 40px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; transition: .3s; }
.partner-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-dark); }
.partner-logo img { max-height: 45px; object-fit: contain; }
.partner-name { margin-top: 20px; font-weight: 700; color: #94a3b8; font-size: 12px; text-transform: uppercase; }

/* CTA Section */
.cta-section { background: var(--primary-dark); padding: 80px 0; text-align: center; color: var(--white); }
.cta-section h2 { font-size: 36px; margin-bottom: 20px; }
.cta-section p { font-size: 18px; margin-bottom: 40px; opacity: 0.9; }
.btn-white { background: var(--white); color: var(--primary-dark); padding: 16px 40px; border-radius: 4px; font-weight: 700; text-decoration: none; transition: .3s; display: inline-block; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 7px 14px rgba(0,0,0,.1); }

/* Footer */
.site-footer { background: var(--dark); color: #94a3b8; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h3 { color: var(--white); font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: #94a3b8; font-size: 14px; text-decoration: none; transition: .3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; text-align: center; font-size: 13px; }

@media (max-width: 992px) {
    .hero-section h1 { font-size: 42px; }
    .features-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero-btns { flex-direction: column; }
}

body { background: #f7fafc; color: #172033; }
.main-header { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #e6ebf2; }
.top-bar { background: #07111f; }
.global-layout-wrapper { align-items: flex-start; }
.global-main-content > .card, .card, .login-box {
    border: 1px solid #e6ebf2;
    border-radius: 8px !important;
    box-shadow: 0 14px 32px rgba(15,23,42,.07) !important;
}
.dashboard-sidebar {
    border: 1px solid #e6ebf2;
    border-radius: 8px !important;
    box-shadow: 0 14px 32px rgba(15,23,42,.07) !important;
}
.dashboard-sidebar .sidebar-nav li a { border-radius: 8px; margin: 2px 10px; }
.dashboard-sidebar .sidebar-nav li.active a, .dashboard-sidebar .sidebar-nav li a:hover {
    background: #ecfeff;
    color: #0f766e;
    border-right-color: #0f766e;
}
.btn-primary, .btn-secondary, .btn-white, button { border-radius: 8px !important; }
.btn-primary { background: #0f766e; }
.btn-primary:hover { background: #115e59; }
input, select, textarea { outline: none; }
input:focus, select:focus, textarea:focus { border-color: #14b8a6 !important; box-shadow: 0 0 0 3px rgba(20,184,166,.12) !important; }
.hero-section { background: #07111f; }
.hero-section h1 { color: #fff; }
.hero-section p { color: #cbd5e1; }
.badge { border-radius: 999px; }
.merchant-pro-page{display:grid;gap:18px}.merchant-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;background:#fff;border:1px solid #e6ebf2;border-radius:8px;padding:26px;box-shadow:0 14px 32px rgba(15,23,42,.07)}.merchant-hero h1{font-size:30px;color:#0f172a;margin:8px 0}.merchant-hero p{color:#64748b;max-width:720px;margin:0}.vp-kicker{font-size:12px;font-weight:800;color:#0f766e;background:#ccfbf1;border-radius:999px;padding:5px 10px}.vp-actions{display:flex;gap:10px;flex-wrap:wrap}.merchant-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.merchant-metrics>div,.merchant-card{background:#fff;border:1px solid #e6ebf2;border-radius:8px;padding:20px;box-shadow:0 14px 32px rgba(15,23,42,.07)}.merchant-metrics small{display:block;color:#64748b;margin-bottom:8px}.merchant-metrics strong{font-size:26px;color:#0f172a}.merchant-metrics span{display:block;color:#64748b;font-size:13px}.merchant-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.vp-steps{display:grid;gap:10px}.vp-steps div{display:grid;grid-template-columns:34px 1fr;gap:2px 10px;align-items:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:10px}.vp-steps b{grid-row:span 2;background:#0f766e;color:#fff;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}.vp-steps span{font-weight:800;color:#0f172a}.vp-steps small{color:#64748b}.mini-bars{height:190px;display:flex;gap:12px;align-items:flex-end;border-bottom:1px solid #e5e7eb}.mini-bars span{flex:1;background:linear-gradient(180deg,#0f766e,#14b8a6);border-radius:8px 8px 0 0}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:13px 12px;border-bottom:1px solid #edf2f7;text-align:left}.data-table th{background:#f8fafc;color:#475569;font-size:13px}@media(max-width:900px){.merchant-hero{display:block}.vp-actions{margin-top:15px}.merchant-metrics,.merchant-grid{grid-template-columns:1fr}}

/* 全站商户端统一排版 */
.global-layout-wrapper {
    align-items: flex-start;
    width: 100%;
    max-width: var(--container-width) !important;
    gap: 20px !important;
    margin-top: 28px !important;
    margin-bottom: 42px !important;
}
.global-main-content {
    min-width: 0;
    flex: 1;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 14px 32px rgba(15,23,42,.07);
}
.dashboard-sidebar {
    width: 260px !important;
    flex: 0 0 260px !important;
    background: #fff;
    border: 1px solid #e6ebf2 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 32px rgba(15,23,42,.07) !important;
    overflow: hidden;
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 124px);
    display: flex;
    flex-direction: column;
}
.sidebar-profile {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #063f3b 0%, #0f766e 55%, #14b8a6 100%);
    color: #fff;
}
.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.25);
    font-weight: 900;
}
.sidebar-profile strong,
.sidebar-profile span {
    display: block;
}
.sidebar-profile strong {
    font-size: 15px;
}
.sidebar-profile span {
    color: rgba(255,255,255,.75);
    font-size: 12px;
    margin-top: 2px;
}
.sidebar-nav-wrap {
    padding: 10px 10px 4px;
    overflow: auto;
}
.sidebar-section {
    padding: 6px 0 8px;
}
.sidebar-section + .sidebar-section {
    border-top: 1px solid #eef2f7;
}
.sidebar-section-title {
    padding: 6px 10px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.dashboard-sidebar .sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dashboard-sidebar .sidebar-nav li a {
    min-height: 36px;
    margin: 3px 0;
    border-radius: 8px;
    font-weight: 750;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    text-decoration: none;
    padding: 8px 10px;
    border: 1px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.dashboard-sidebar .sidebar-nav li a i {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #0f766e;
    font-size: 15px;
    flex: 0 0 26px;
}
.dashboard-sidebar .sidebar-nav li a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dashboard-sidebar .sidebar-nav li.active a,
.dashboard-sidebar .sidebar-nav li a:hover {
    background: #ecfeff !important;
    color: #0f766e !important;
    border-color: #99f6e4 !important;
    transform: translateX(2px);
}
.dashboard-sidebar .sidebar-nav li.active a {
    box-shadow: inset 3px 0 0 #0f766e;
}
.dashboard-sidebar .sidebar-nav li.active a i,
.dashboard-sidebar .sidebar-nav li a:hover i {
    background: #0f766e;
    color: #fff;
}
.sidebar-footer-action {
    padding: 12px;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
}
.sidebar-footer-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border-radius: 8px;
    color: #dc2626;
    background: #fff;
    border: 1px solid #fee2e2;
    text-decoration: none;
    font-weight: 800;
}
.sidebar-footer-action a:hover {
    background: #fef2f2;
}
.merchant-pro-page {
    width: 100%;
    gap: 16px;
}
.merchant-hero {
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(15,118,110,.08), rgba(37,99,235,.05)),
        #fff !important;
}
.merchant-hero h1 {
    line-height: 1.18;
}
.merchant-metrics>div {
    position: relative;
    overflow: hidden;
}
.merchant-metrics>div::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg,#0f766e,#2563eb);
}
.merchant-card {
    overflow-x: auto;
}
.merchant-card h3 {
    margin-top: 0;
    color: #0f172a;
}
.user-focus-page {
    gap: 16px;
}
.user-focus-hero {
    box-shadow: none !important;
    align-items: center;
}
.user-focus-hero .vp-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(128px, 1fr));
    width: min(100%, 456px);
    flex: 0 0 min(100%, 456px);
    align-self: center;
}
.user-focus-hero .vp-actions a {
    min-height: 50px;
    padding: 12px 18px;
    white-space: nowrap;
}
.heepay-mini-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
    background: #07111f;
    color: #fff;
    border-radius: 8px;
    padding: 14px;
}
.heepay-mini-strip div {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 10px 12px;
}
.heepay-mini-strip strong,
.heepay-mini-strip span {
    display: block;
}
.heepay-mini-strip strong {
    font-size: 18px;
}
.heepay-mini-strip span {
    color: #cbd5e1;
    font-size: 12px;
    margin-top: 2px;
}
.heepay-mini-strip a {
    color: #fff;
    background: #0f766e;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
    padding: 10px 13px;
    white-space: nowrap;
}
.compact-metrics {
    gap: 12px;
}
.compact-metrics > div {
    box-shadow: none;
}
.user-action-list {
    display: grid;
    gap: 10px;
}
.user-action-list div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 2px 10px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 11px;
}
.user-action-list b {
    grid-row: span 2;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #0f766e;
    color: #fff;
}
.user-action-list span {
    color: #0f172a;
    font-weight: 850;
}
.user-action-list small {
    color: #64748b;
}
.data-table {
    min-width: 720px;
}
.data-table th,
.data-table td {
    white-space: nowrap;
}
.btn-primary,
.btn-secondary,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 8px !important;
    font-weight: 750 !important;
}
@media(max-width:1100px){
    .merchant-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
    .heepay-mini-strip{grid-template-columns:1fr 1fr}
    .user-focus-hero .vp-actions{width:100%;flex-basis:100%}
    .global-layout-wrapper{display:block!important}
    .dashboard-sidebar{width:100%!important;position:relative!important;margin-bottom:18px}
    .global-main-content{padding:14px}
}
@media(max-width:720px){
    .merchant-metrics,.merchant-grid{grid-template-columns:1fr!important}
    .heepay-mini-strip{grid-template-columns:1fr}
    .merchant-hero{display:block}
    .user-focus-hero .vp-actions{grid-template-columns:1fr}
    .vp-actions{margin-top:14px}
}

/* Shared frontend alignment: keep page chrome and content on the same grid. */
.header-inner {
    gap: 16px;
    min-width: 0;
}

.logo,
.header-action {
    flex: 0 0 auto;
}

.main-nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
}

.main-nav ul {
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 24px;
}

.main-nav a {
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.2;
}

.header-action .btn-primary {
    white-space: nowrap;
    min-height: 46px;
    padding: 12px 24px;
}

.global-layout-wrapper {
    max-width: var(--container-width) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
}

.dashboard-sidebar {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.sidebar-nav-wrap {
    overflow: visible !important;
}

.dashboard-sidebar .sidebar-nav li a {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 1.2;
}

.dashboard-sidebar .sidebar-nav li a i,
.dashboard-sidebar .sidebar-nav li a .nav-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
}

.sidebar-section-title {
    padding: 6px 10px;
}

@media (max-width: 1250px) {
    .main-nav ul {
        gap: 18px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .header-action .btn-primary {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1120px) {
    .main-nav ul {
        gap: 12px;
    }

    .main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }
}

.about-page-shell {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 34px 20px 70px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 24px;
    align-items: stretch;
    min-height: 430px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7,17,31,.96), rgba(15,118,110,.9)),
        url('/assets/images/hero/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 44px;
    box-shadow: 0 22px 50px rgba(15,23,42,.16);
}

.about-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 760px;
}

.about-eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(20,184,166,.16);
    border: 1px solid rgba(153,246,228,.3);
    color: #ccfbf1;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-hero h1 {
    margin: 18px 0 18px;
    color: #fff;
    font-size: 46px;
    line-height: 1.08;
}

.about-hero p {
    margin: 0;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.85;
}

.about-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.about-hero-card {
    align-self: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    padding: 26px;
    backdrop-filter: blur(12px);
}

.about-hero-card span,
.about-hero-card small {
    display: block;
    color: #cbd5e1;
}

.about-hero-card strong {
    display: block;
    margin: 18px 0 4px;
    color: #fff;
    font-size: 58px;
    line-height: 1;
}

.about-flow {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.about-flow div {
    border-radius: 8px;
    padding: 12px 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    font-weight: 850;
}

.about-metrics,
.about-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.about-metrics article,
.about-feature-card,
.about-timeline {
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15,23,42,.07);
}

.about-metrics article {
    padding: 22px;
}

.about-metrics i,
.about-feature-card i,
.about-timeline-list i {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 22px;
}

.about-metrics strong {
    display: block;
    margin-top: 18px;
    color: #0f172a;
    font-size: 32px;
}

.about-metrics span {
    color: #0f766e;
    font-weight: 900;
}

.about-metrics p,
.about-feature-card p,
.about-timeline p {
    color: #64748b;
    line-height: 1.75;
}

.about-feature-card {
    padding: 24px;
}

.about-feature-card span {
    display: block;
    margin-top: 18px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 900;
}

.about-feature-card h2 {
    margin: 8px 0 10px;
    color: #0f172a;
    font-size: 24px;
}

.about-timeline {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 24px;
    margin-top: 18px;
    padding: 26px;
}

.about-timeline h2 {
    margin: 14px 0 10px;
    color: #0f172a;
    font-size: 30px;
}

.about-timeline .about-eyebrow {
    color: #0f766e;
    background: #ccfbf1;
    border-color: #99f6e4;
}

.about-timeline-list {
    display: grid;
    gap: 12px;
}

.about-timeline-list article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.about-timeline-list h3 {
    margin: 0;
    color: #0f172a;
}

.about-timeline-list span {
    color: #0f766e;
    font-weight: 850;
}

@media (max-width: 1250px) {
    .main-nav ul {
        gap: 14px;
    }

    .main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .about-hero,
    .about-timeline {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .about-metrics,
    .about-section-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 34px;
    }
}

.source-plugin-page {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 34px 20px 70px;
}

.source-plugin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 320px;
    gap: 22px;
    align-items: stretch;
    border-radius: 8px;
    background: linear-gradient(135deg, #07111f 0%, #0f766e 100%);
    color: #fff;
    padding: 42px;
    box-shadow: 0 22px 50px rgba(15,23,42,.16);
}

.source-plugin-hero h1 {
    margin: 16px 0;
    color: #fff;
    font-size: 44px;
    line-height: 1.1;
}

.source-plugin-hero p {
    margin: 0;
    max-width: 760px;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.85;
}

.source-plugin-hero-panel {
    align-self: center;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.11);
    border-radius: 8px;
    padding: 24px;
    backdrop-filter: blur(12px);
}

.source-plugin-hero-panel strong {
    display: block;
    color: #fff;
    font-size: 54px;
    line-height: 1;
}

.source-plugin-hero-panel span,
.source-plugin-hero-panel small {
    display: block;
    margin-top: 8px;
    color: #cbd5e1;
}

.source-plugin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.source-plugin-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15,23,42,.07);
}

.source-plugin-cover {
    min-height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #0f766e;
}

.source-plugin-body {
    padding: 22px;
}

.source-plugin-meta,
.source-plugin-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.source-plugin-meta span,
.source-plugin-stats span {
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 850;
}

.source-plugin-meta span:first-child {
    background: #ccfbf1;
    color: #0f766e;
}

.source-plugin-card h2 {
    margin: 14px 0 8px;
    color: #0f172a;
    font-size: 24px;
}

.source-plugin-card p {
    color: #64748b;
    line-height: 1.7;
}

.source-plugin-richtext {
    margin: 14px 0;
    color: #334155;
    line-height: 1.75;
}

.source-plugin-richtext ul,
.source-plugin-richtext ol {
    padding-left: 20px;
}

.source-plugin-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin-top: 18px;
    padding: 0 18px;
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.source-plugin-download.disabled {
    background: #f1f5f9;
    color: #64748b;
}

@media (max-width: 980px) {
    .source-plugin-hero,
    .source-plugin-grid {
        grid-template-columns: 1fr;
    }

    .source-plugin-hero {
        padding: 26px;
    }

    .source-plugin-hero h1 {
        font-size: 34px;
    }
}

.news-page-shell,
.news-detail-shell {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 34px 20px 70px;
}

.news-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 22px;
    align-items: stretch;
    border-radius: 8px;
    background: linear-gradient(135deg, #07111f 0%, #0f766e 100%);
    color: #fff;
    padding: 42px;
    box-shadow: 0 22px 50px rgba(15,23,42,.16);
}

.news-hero h1 {
    margin: 16px 0;
    color: #fff;
    font-size: 44px;
    line-height: 1.1;
}

.news-hero p {
    margin: 0;
    max-width: 760px;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.85;
}

.news-featured-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.11);
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.news-featured-card span {
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(20,184,166,.2);
    color: #ccfbf1;
    font-size: 12px;
    font-weight: 900;
}

.news-featured-card strong {
    font-size: 24px;
    line-height: 1.35;
}

.news-featured-card small {
    color: #cbd5e1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.news-card,
.news-detail-article {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15,23,42,.07);
}

.news-card-cover,
.news-detail-cover {
    display: block;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #0f766e;
}

.news-detail-cover {
    min-height: 320px;
}

.news-card-body,
.news-detail-body {
    padding: 22px;
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-card-meta span {
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 850;
}

.news-card-meta span:first-child {
    background: #ccfbf1;
    color: #0f766e;
}

.news-card h2 {
    margin: 14px 0 8px;
    font-size: 22px;
    line-height: 1.35;
}

.news-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.news-card p,
.news-detail-summary,
.news-detail-content {
    color: #64748b;
    line-height: 1.75;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    color: #64748b;
    font-size: 13px;
}

.news-card-footer a {
    color: #0f766e;
    font-weight: 900;
    text-decoration: none;
}

.news-detail-body {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-body h1 {
    margin: 18px 0 10px;
    color: #0f172a;
    font-size: 40px;
    line-height: 1.15;
}

.news-detail-content {
    margin-top: 24px;
    color: #334155;
}

.news-detail-content ul,
.news-detail-content ol {
    padding-left: 22px;
}

.news-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

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

@media (max-width: 780px) {
    .news-hero,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-hero {
        padding: 26px;
    }

    .news-hero h1,
    .news-detail-body h1 {
        font-size: 34px;
    }
}
