/* ==========================================================
   龙神软件 · 公司主页样式
   风格：简洁明亮 · 圆角柔和 · 轻阴影
   ========================================================== */

/* ---------- 设计变量 ---------- */
:root {
    --brand: #1B84FF;
    --brand-deep: #0B62D6;
    --mint: #17C3B2;
    --accent: #FF8A3D;
    --violet: #7C6BFF;

    --ink: #16233B;
    --ink-2: #3D4A63;
    --muted: #6E7B93;

    --bg: #FFFFFF;
    --bg-soft: #F5F8FF;
    --line: #E7EDF8;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(22, 35, 59, .06);
    --shadow: 0 10px 30px rgba(22, 35, 59, .08);
    --shadow-lg: 0 24px 60px rgba(22, 35, 59, .12);

    --header-h: 72px;
    --maxw: 1160px;
}

/* ---------- 基础重置 ---------- */
* { box-sizing: border-box; }

/* hidden 属性的优先级必须高于元素自身的 display 声明，
   否则 .modal-mask(display:grid)、.btn(display:inline-flex) 会让它失效 */
[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.4px; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--header-h);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(27, 132, 255, .28);
}

.logo-mark-sm {
    width: 30px;
    height: 30px;
    box-shadow: none;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 18px; letter-spacing: .5px; }
.logo-text em {
    font-style: normal;
    font-size: 9px;
    letter-spacing: 1.4px;
    color: var(--muted);
    text-transform: uppercase;
}

/* 导航主体 */
.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    color: var(--ink-2);
    transition: color .2s ease, background .2s ease;
}

.nav-link:hover { color: var(--brand); background: rgba(27, 132, 255, .07); }
.nav-link.is-active { color: var(--brand); font-weight: 600; }
.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: var(--brand);
    transform: translateX(-50%);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 13px 24px; }

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(27, 132, 255, .28);
}
.btn-primary:hover {
    background: var(--brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(27, 132, 255, .34);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

/* 浅色调按钮：弱化版主按钮，用于不想抢视觉焦点的转化入口 */
.btn-soft {
    background: rgba(27, 132, 255, .08);
    color: var(--brand);
    box-shadow: none;
}
.btn-soft:hover {
    background: rgba(27, 132, 255, .16);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn:active { transform: translateY(0); }

/* 登录 / 个人主页切换 */
.auth { margin-left: 12px; }

.user { position: relative; }

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.user-btn:hover { border-color: var(--brand); background: #fff; }

.avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #22D3EE, #1B84FF);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.user-name {
    font-size: 14px;
    color: var(--ink);
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.caret { color: var(--muted); transition: transform .2s ease; }
.user-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 168px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 70;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    background: none;
    border-radius: 9px;
    font-size: 14px;
    text-align: left;
    color: var(--ink-2);
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.dropdown-item:hover { background: var(--bg-soft); color: var(--brand); }
.dropdown-item-danger { color: var(--accent); }
.dropdown-item-danger:hover { background: rgba(255, 138, 61, .1); color: var(--accent); }

.dropdown-sep { height: 1px; margin: 6px 4px; background: var(--line); }

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1px solid var(--line);
    border-radius: 11px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 96px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -220px;
    right: -160px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(27, 132, 255, .16), rgba(23, 195, 178, .12) 45%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 22px;
    border-radius: var(--radius-pill);
    background: rgba(27, 132, 255, .09);
    color: var(--brand);
    font-size: 13px;
    font-weight: 500;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: -1.2px;
    background: linear-gradient(96deg, #16233B 20%, #1B84FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    margin-top: 20px;
    max-width: 480px;
    font-size: 17px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.hero-facts strong {
    display: block;
    font-size: 24px;
    color: var(--ink);
    letter-spacing: -.5px;
}
.hero-facts span { font-size: 13px; color: var(--muted); }

/* Hero 右侧视觉 */
.hero-visual {
    position: relative;
    height: 380px;
}

.orb {
    position: absolute;
    top: 34px;
    left: 12%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(140deg, #22D3EE 0%, #1B84FF 55%, #7C6BFF 100%);
    box-shadow: 0 30px 70px rgba(27, 132, 255, .28);
}

.float-card {
    position: absolute;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.float-card-1 {
    top: 46px;
    right: 4px;
    width: 210px;
    animation: float 6s ease-in-out infinite;
}

.float-card-2 {
    bottom: 34px;
    left: 0;
    width: 178px;
    animation: float 7s ease-in-out infinite reverse;
}

.float-lines i, .float-bar {
    display: block;
    height: 9px;
    border-radius: 5px;
    background: var(--line);
}
.float-lines i { margin: 10px 0; }
.float-lines i:first-child { margin-top: 14px; }
.float-bar { margin-top: 16px; background: linear-gradient(90deg, #22D3EE, #1B84FF); }
.float-card-2 .float-bar { display: none; }

.dot {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 7px;
}
.dot-mint { background: linear-gradient(135deg, #17C3B2, #22D3EE); }
.dot-orange { background: linear-gradient(135deg, #FF8A3D, #FFB068); }

.float-badge {
    position: absolute;
    right: 26px;
    bottom: 22px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    animation: float 8s ease-in-out infinite;
}
.float-badge strong { display: block; font-size: 15px; }
.float-badge span { font-size: 12px; color: var(--muted); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 620px; margin-bottom: 48px; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    font-size: 13px;
    font-weight: 500;
}

.section-head h2 { font-size: 34px; letter-spacing: -.8px; }
.section-sub { margin-top: 14px; font-size: 16px; color: var(--muted); }

/* ---------- 公司简介 ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: start;
}

.about-copy p { font-size: 16.5px; color: var(--ink-2); }
.about-copy p + p { margin-top: 18px; }

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat {
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat strong {
    display: block;
    font-size: 30px;
    letter-spacing: -1px;
    background: linear-gradient(96deg, #1B84FF, #17C3B2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- 产品卡片 ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(27, 132, 255, .32);
}
.card h3 { margin: 18px 0 10px; font-size: 19px; }
/* flex:1 让描述撑开，使四张卡片的标签与按钮底部对齐 */
.card p { flex: 1; font-size: 14.5px; color: var(--muted); }

.card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
}
.icon-blue   { background: rgba(27, 132, 255, .11); color: var(--brand); }
.icon-mint   { background: rgba(23, 195, 178, .14); color: #0E9E90; }
.icon-orange { background: rgba(255, 138, 61, .14); color: var(--accent); }
.icon-violet { background: rgba(124, 107, 255, .13); color: var(--violet); }

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.card-actions .btn {
    flex: 1 1 92px;
    min-width: 88px;
    padding-left: 12px;
    padding-right: 12px;
}

.card-tag {
    display: inline-block;
    margin-top: 18px;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 12.5px;
}

/* ---------- 服务支持 ---------- */
.supports {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.support {
    padding: 28px 24px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--mint);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.support:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.support h3 { font-size: 17px; margin-bottom: 10px; }
.support p { font-size: 14.5px; color: var(--muted); }

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 44px;
    padding: 36px 40px;
    background: linear-gradient(110deg, #1B84FF, #22D3EE 92%);
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 20px 46px rgba(27, 132, 255, .26);
}
.cta h3 { font-size: 22px; }
.cta p { margin-top: 8px; font-size: 15px; opacity: .9; }
.cta .btn-primary {
    flex-shrink: 0;
    background: #fff;
    color: var(--brand-deep);
    box-shadow: none;
}
.cta .btn-primary:hover { background: #F2F7FF; transform: translateY(-1px); }

/* ---------- 新闻资讯 ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card:nth-child(2) { border-top-color: var(--mint); }
.news-card:nth-child(3) { border-top-color: var(--accent); }

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.news-date {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .3px;
}

.news-tag {
    padding: 3px 11px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
}
.tag-blue   { background: rgba(27, 132, 255, .10); color: var(--brand); }
.tag-mint   { background: rgba(23, 195, 178, .14); color: #0E9E90; }
.tag-orange { background: rgba(255, 138, 61, .14); color: var(--accent); }

.news-card h3 {
    margin-bottom: 12px;
    font-size: 17.5px;
    line-height: 1.5;
    transition: color .2s ease;
}
.news-card:hover h3 { color: var(--brand); }

.news-card p {
    flex: 1;
    font-size: 14.5px;
    color: var(--muted);
}

.news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand);
}
.news-more svg { transition: transform .22s ease; }
.news-card:hover .news-more svg { transform: translateX(4px); }

.news-footer { margin-top: 40px; text-align: center; }

/* ---------- 资讯静态页 ---------- */
.article-page {
    padding: 64px 0 88px;
    background: var(--bg-soft);
    animation: article-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes article-enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-container {
    max-width: 860px;
    padding: 44px 46px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.article-back { margin-bottom: 26px; }
.article-meta { font-size: 14px; color: var(--muted); }
.article-container h1 { margin-top: 10px; font-size: 34px; }
.article-summary { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.article-cover {
    width: 100%;
    max-height: 430px;
    margin-top: 26px;
    object-fit: cover;
    border-radius: var(--radius);
}

.article-content {
    margin-top: 30px;
    color: var(--ink-2);
    line-height: 1.9;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin: 28px 0 12px;
    color: var(--ink);
}

.article-content p,
.article-content ul,
.article-content ol { margin-top: 14px; }
.article-content ul,
.article-content ol { padding-left: 24px; list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content img {
    max-width: 100%;
    margin: 22px auto;
    border-radius: var(--radius-sm);
}
.article-content a { color: var(--brand); text-decoration: underline; }

@media (max-width: 720px) {
    .article-container { padding: 30px 22px; }
    .article-container h1 { font-size: 27px; }
}

/* ---------- 页脚 ---------- */
.footer {
    padding: 52px 0 34px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand strong { font-size: 16px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); }

.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { font-size: 14.5px; color: var(--ink-2); transition: color .2s ease; }
.footer-links a:hover { color: var(--brand); }

.copyright {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

/* ---------- 登录弹层 ---------- */
.modal-mask {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(22, 35, 59, .42);
    backdrop-filter: blur(3px);
    animation: fadeIn .2s ease;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 34px 32px 32px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: popIn .24s ease;
}
.modal h3 { font-size: 21px; }
.modal-sub { margin-top: 8px; margin-bottom: 24px; font-size: 13.5px; color: var(--muted); }

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; margin-bottom: 7px; font-size: 13.5px; color: var(--ink-2); }
.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(27, 132, 255, .13);
}

.form-error {
    margin-bottom: 12px;
    font-size: 13.5px;
    color: var(--accent);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to { opacity: 1; transform: none; }
}

/* ---------- 滚动入场动画 ---------- */
.reveal { transition: opacity .66s ease, transform .66s ease; }
.js-ready .reveal { opacity: 0; transform: translateY(20px); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .js-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .cards, .supports, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card:last-child { grid-column: 1 / -1; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { height: 330px; }
    .orb { left: 50%; transform: translateX(-50%); }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
    .menu-toggle { display: block; }

    .nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .nav.is-open { display: flex; }

    .nav-link { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 16px; }
    .nav-link.is-active::after { display: none; }
    .nav-link.is-active { background: rgba(27, 132, 255, .08); }

    .auth { margin-left: 0; margin-top: 8px; }
    .auth .btn-sm, .user-btn { width: 100%; justify-content: center; }
    .dropdown { position: static; margin-top: 8px; box-shadow: none; }

    .hero { padding: 56px 0 64px; }
    .hero h1 { font-size: 36px; }
    .hero-facts { gap: 28px; }

    .section { padding: 64px 0; }
    .section-head h2 { font-size: 27px; }

    .cta { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .cards, .supports, .news-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { height: 290px; }
    .orb { width: 240px; height: 240px; }
    .float-card-1 { width: 180px; right: 0; }
    .float-card-2 { width: 150px; }
    .float-badge { right: 0; }
    .logo-text em { display: none; }
}

