/* ===== 半桶水BTS 样式表 ===== */

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

:root {
    --primary: #2f6bff;
    --primary-dark: #1f56db;
    --primary-light: #edf4ff;
    --accent: #60a5fa;
    --accent-soft: rgba(96, 165, 250, 0.16);
    --text: #0f172a;
    --text-secondary: #64748b;
    --text-light: #cbd5e1;
    --bg: #f4f7fb;
    --bg-white: #ffffff;
    --bg-dark: #dceaff;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-dark: rgba(255, 255, 255, 0.86);
    --border: rgba(148, 163, 184, 0.22);
    --border-strong: rgba(148, 163, 184, 0.32);
    --success: #10b981;
    --error: #ef4444;
    --radius: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.16);
    --transition: all 0.24s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(47, 107, 255, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.1), transparent 24%),
        linear-gradient(180deg, #fbfdff 0%, #f5f9ff 26%, #f3f7fd 100%);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.mobile-menu-open {
    overflow: hidden;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 480px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: rgba(47, 107, 255, 0.06);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #5c8dff);
    color: #fff;
    box-shadow: 0 14px 30px rgba(91, 108, 255, 0.24);
}

.btn-primary:hover { color: #fff; transform: translateY(-1px); }

.btn-outline {
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    border-color: var(--border);
    backdrop-filter: blur(14px);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: rgba(91, 108, 255, 0.24);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}

.btn-ghost:hover {
    background: rgba(91, 108, 255, 0.08);
    color: var(--primary-dark);
}

.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(244, 247, 251, 0.78);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.logo:hover { color: var(--text); }

.logo-icon {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8, #2563eb, #3b82f6);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.22),
        0 8px 24px rgba(37, 99, 235, 0.3),
        0 0 40px rgba(59, 130, 246, 0.14);
    animation: logo-glow-pulse 4s ease-in-out infinite;
    overflow: hidden;
}

/* 扫描光线 */
.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.08) 70%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: logo-scan-line 3.5s ease-in-out infinite;
}

/* 内边框 */
.logo-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

@keyframes logo-glow-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 0 3px rgba(59, 130, 246, 0.22),
            0 8px 24px rgba(37, 99, 235, 0.3),
            0 0 40px rgba(59, 130, 246, 0.14);
    }
    50% { 
        box-shadow: 
            0 0 0 5px rgba(59, 130, 246, 0.1),
            0 12px 36px rgba(37, 99, 235, 0.35),
            0 0 60px rgba(59, 130, 246, 0.2);
    }
}

@keyframes logo-scan-line {
    0%   { left: -60%; opacity: 0; }
    25%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text { font-size: 20px; font-weight: 800; line-height: 1; }
.logo-sub { font-size: 12px; color: var(--text-secondary); line-height: 1.1; }

.main-nav {
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(14px);
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover {
    color: var(--primary-dark);
    background: rgba(91, 108, 255, 0.08);
}

.mobile-menu-toggle,
.mobile-nav {
    display: none;
}

.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(47, 107, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-dark);
    transition: var(--transition);
}

.mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.user-info { font-size: 14px; color: var(--text-secondary); }

/* Common */
.section { padding: 88px 0; }
.section-dark {
    background: linear-gradient(180deg, #f3f8ff 0%, #edf5ff 100%);
    color: var(--text);
}
.section-surface { padding-top: 24px; }

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

.section-header-left { text-align: left; }

.section-header .eyebrow,
.section-header-left .eyebrow {
    margin-bottom: 14px;
    background: rgba(91, 108, 255, 0.08);
    border-color: rgba(91, 108, 255, 0.14);
    color: var(--primary-dark);
}

.section-dark .section-header .eyebrow,
.section-dark .section-header-left .eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #dbe7ff;
}

.section-header h2,
.section-header-left h2 {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-header p,
.section-header-left p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 760px;
}

.section-header p { margin: 0 auto; }
.section-dark .section-header p,
.section-dark .section-header-left p { color: rgba(226, 232, 240, 0.82); }

.card-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Hero */
.hero-enterprise {
    position: relative;
    overflow: hidden;
    padding: 56px 0 48px;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.18), transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(47, 107, 255, 0.16), transparent 30%),
        linear-gradient(135deg, #f4f8ff 0%, #edf4ff 45%, #f9fbff 100%);
}

.hero-enterprise::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(47, 107, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 107, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.28;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    align-items: center;
    gap: 44px;
}

.hero-copy h1 {
    font-size: 58px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin: 18px 0 20px;
}

.hero-copy p {
    max-width: 660px;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-tag {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.metric-card {
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.metric-card strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-card span {
    color: var(--text-secondary);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-visual-card {
    position: absolute;
    right: 0;
    left: 42px;
    top: 24px;
    padding: 26px;
    border-radius: 32px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
}

.hero-visual-card.simple {
    inset: 24px 0 auto 0;
}

.hero-visual-brand {
    position: absolute;
    right: 0;
    left: 42px;
    top: 24px;
    padding: 26px;
    border-radius: 32px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
}

.hero-visual-card img {
    width: 100%;
    height: 100%;
    max-height: 470px;
    object-fit: contain;
}

.floating-card { display: none; }

.floating-card-top { left: 0; top: 86px; }
.floating-card-bottom { right: -8px; bottom: 24px; }

.floating-label {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(91, 108, 255, 0.18);
    color: #dbe7ff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.floating-card strong {
    display: block;
    font-size: 22px;
    margin-bottom: 6px;
}

.floating-card p { color: rgba(226, 232, 240, 0.74); font-size: 13px; }

/* Brand strip */
.brand-strip { margin-top: -24px; position: relative; z-index: 2; }

.brand-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.brand-chip {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.brand-chip span {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.brand-chip strong { font-size: 18px; }

/* Updates */
.updates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.update-card {
    border-radius: 24px;
    padding: 24px;
    transition: var(--transition);
}

.update-card:hover { transform: translateY(-4px); }

.update-card-dark {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(47, 107, 255, 0.12);
}

.update-card-dark .card-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.card-badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.card-badge.hot { background: rgba(239, 68, 68, 0.16); color: #fecaca; }
.card-badge.new { background: rgba(16, 185, 129, 0.16); color: #bbf7d0; }
.card-badge.event { background: rgba(34, 211, 238, 0.14); color: #a5f3fc; }

.update-card h3 { font-size: 20px; margin-bottom: 10px; }
.update-card p { color: var(--text-secondary); font-size: 14px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.feature-card-modern {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-img {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(91, 108, 255, 0.12), rgba(34, 211, 238, 0.12));
    margin-bottom: 18px;
}

.feature-card-modern h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card-modern p {
    color: var(--text-secondary);
    font-size: 14px;
}

.feature-card-clickable {
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.feature-card-clickable:hover {
    border-color: rgba(47, 107, 255, 0.22);
}

.feature-card-clickable:hover .feature-card-arrow {
    opacity: 1;
    transform: translateX(2px);
}

.feature-card-arrow {
    display: inline-block;
    font-size: 18px;
    opacity: 0.45;
    transition: var(--transition);
    color: var(--primary);
    vertical-align: -1px;
}

/* Story cards */
.story-grid {
    display: grid;
    grid-template-columns: 1.35fr .95fr;
    gap: 22px;
}

.story-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(180deg, #ffffff, #f9fbff);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow);
}

.story-card-large {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
}

.story-copy .eyebrow {
    margin-bottom: 16px;
    background: rgba(91, 108, 255, 0.08);
    border-color: rgba(91, 108, 255, 0.14);
    color: var(--primary-dark);
}

.story-copy h3 {
    font-size: 30px;
    line-height: 1.16;
    margin-bottom: 12px;
}

.story-copy p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.story-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(91, 108, 255, 0.07), rgba(34, 211, 238, 0.06));
}

.story-media.compact { min-height: 260px; }

/* Pricing pages */
.pricing-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 40px;
    background: linear-gradient(135deg, #f4f8ff 0%, #edf4ff 55%, #f9fbff 100%);
    color: var(--text);
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 32px;
    align-items: center;
}

.pricing-hero-copy h1 {
    font-size: 48px;
    line-height: 1.08;
    margin: 18px 0 18px;
}

.pricing-hero-copy p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 650px;
}

.pricing-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.pricing-summary-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(47, 107, 255, 0.12);
}

.pricing-summary-card strong {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}

.pricing-summary-card span {
    color: var(--text-secondary);
    font-size: 13px;
}

.pricing-hero-media {
    padding: 22px;
    border-radius: 30px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.pricing-hero-brand {
    padding: 22px;
    border-radius: 30px;
    border: 1px solid rgba(47, 107, 255, 0.12);
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.page-shell { margin-top: -26px; position: relative; z-index: 2; }

.pricing-note-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.pricing-note-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow);
}

.pricing-note-card h3 { font-size: 17px; margin-bottom: 4px; }
.pricing-note-card p { color: var(--text-secondary); font-size: 14px; }

.pricing-callout {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(91, 108, 255, 0.08), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(91, 108, 255, 0.12);
    color: var(--primary-dark);
    font-size: 14px;
}

/* Model tabs and table */
.model-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.model-tab {
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    border: none;
    background: transparent;
    transition: var(--transition);
}

.model-tab:hover { color: var(--primary-dark); background: rgba(91, 108, 255, 0.08); }
.model-tab.active {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
}

.model-tabs.is-loading { pointer-events: none; opacity: 0.72; }

#pricing-summary,
#pricing-content {
    transition: opacity 0.2s ease;
}

#pricing-summary.is-loading,
#pricing-content.is-loading {
    opacity: 0.55;
}

.model-table-wrap {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow);
}

.model-table-wrap-premium { backdrop-filter: blur(14px); }

.model-table {
    width: 100%;
    border-collapse: collapse;
}

.model-table th {
    padding: 18px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(248, 250, 252, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    white-space: nowrap;
}

.model-table td {
    padding: 18px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    vertical-align: middle;
}

.model-table tr:last-child td { border-bottom: none; }
.model-table tr:hover td { background: rgba(248, 250, 252, 0.75); }

.model-name-cell { display: flex; align-items: center; gap: 12px; }

.model-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(91, 108, 255, 0.12), rgba(34, 211, 238, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.model-icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(100%) invert(1);
    opacity: 0.9;
}

/* 大语言模型 - 蓝色 */
.model-icon-llm {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.28);
}

/* 视觉模型 - 紫色 */
.model-icon-vision {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.28);
}

/* 语音模型 - 橙色 */
.model-icon-speech {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.28);
}

/* 嵌入模型 - 绿色 */
.model-icon-embedding {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.28);
}

/* 未知分类 - 灰色 */
.model-icon-default {
    background: linear-gradient(135deg, #64748b, #475569);
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.24);
}

.model-name { font-weight: 700; }

.model-badge {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

.model-badge.hot { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.model-badge.new { background: rgba(16, 185, 129, 0.12); color: #059669; }

.price-value { font-weight: 800; color: var(--primary-dark); font-size: 16px; }
.price-unit { font-size: 12px; color: var(--text-secondary); }
.free-quota { font-size: 13px; color: var(--success); font-weight: 700; }
.table-description { color: var(--text-secondary); font-size: 13px; }

.model-detail-row { display: none; }
.model-detail-row.show { display: table-row; }
.model-detail-row td {
    padding: 24px;
    background: rgba(248, 250, 252, 0.92);
}

.model-detail { display: flex; gap: 32px; }
.detail-info h4 { margin-bottom: 10px; font-size: 18px; }
.model-detail p { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.feature-tag {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(91, 108, 255, 0.08);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.expand-btn {
    background: rgba(91, 108, 255, 0.08);
    border: 0;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 999px;
}

.expand-btn:hover { background: rgba(91, 108, 255, 0.14); }

.section-cta-center {
    text-align: center;
    margin-top: 26px;
}

/* Auth */
.auth-shell {
    padding: 42px 0 24px;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: stretch;
}

.auth-promo {
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f4f8ff 0%, #eef5ff 52%, #f8fbff 100%);
    color: var(--text);
    overflow: hidden;
    position: relative;
}

.auth-promo h1 {
    font-size: 42px;
    line-height: 1.1;
    margin: 16px 0 16px;
}

.auth-promo p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 560px;
}

.auth-bullets {
    display: grid;
    gap: 14px;
    margin: 24px 0 28px;
}

.auth-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(47, 107, 255, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.auth-bullet .card-icon { opacity: 0.95; }

.auth-visual {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(47, 107, 255, 0.1);
}

.auth-visual-brand {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(37, 99, 235, 0.06));
}

.brand-abstract {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-abstract-hero {
    width: 260px;
    height: 260px;
}

.brand-abstract-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(47, 107, 255, 0.15);
    animation: brand-ring-pulse 3s ease-in-out infinite;
}

.brand-abstract-ring::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(47, 107, 255, 0.08);
    animation: brand-ring-pulse 3s ease-in-out infinite 0.5s;
}

@keyframes brand-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 0.4; }
}

.brand-abstract-core {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    border-radius: 26px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 40%, #3b82f6 100%);
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.25),
        0 8px 32px rgba(37, 99, 235, 0.35),
        0 0 80px rgba(59, 130, 246, 0.18);
    animation: brand-core-combo 4s ease-in-out infinite;
    overflow: hidden;
}

/* 科技扫描光线 */
.brand-abstract-core::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 60%;
    height: 220%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.06) 30%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.06) 70%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: brand-scan-line 3s ease-in-out infinite;
}

@keyframes brand-scan-line {
    0%   { left: -60%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

/* 角标装饰 */
.brand-abstract-core::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 23px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

@keyframes brand-core-combo {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 
            0 0 0 4px rgba(59, 130, 246, 0.25),
            0 8px 32px rgba(37, 99, 235, 0.35),
            0 0 80px rgba(59, 130, 246, 0.18);
    }
    30% { 
        transform: translateY(-8px) scale(1.03); 
        box-shadow: 
            0 0 0 8px rgba(59, 130, 246, 0.12),
            0 14px 48px rgba(37, 99, 235, 0.4),
            0 0 120px rgba(59, 130, 246, 0.25);
    }
    60% { 
        transform: translateY(0) scale(0.98); 
        box-shadow: 
            0 0 0 4px rgba(59, 130, 246, 0.25),
            0 8px 32px rgba(37, 99, 235, 0.35),
            0 0 80px rgba(59, 130, 246, 0.18);
    }
}

.brand-abstract-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
    animation: brand-dot-pulse 2.5s ease-in-out infinite;
}

.brand-abstract-dot.dot-1 { top: 14px; right: 38px; animation-delay: 0s; }
.brand-abstract-dot.dot-2 { bottom: 26px; left: 26px; animation-delay: 0.8s; background: #3b82f6; }
.brand-abstract-dot.dot-3 { top: 50%; right: 8px; animation-delay: 1.6s; width: 6px; height: 6px; opacity: 0.35; }

@keyframes brand-dot-pulse {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.8); opacity: 0.7; }
}

.brand-abstract-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.2), transparent);
    animation: brand-line-shift 4s ease-in-out infinite;
}

.brand-abstract-line.line-1 { width: 80px; top: 25%; left: -10%; animation-delay: 0s; }
.brand-abstract-line.line-2 { width: 60px; bottom: 30%; right: -5%; animation-delay: 2s; }

@keyframes brand-line-shift {
    0%, 100% { opacity: 0.2; transform: translateX(0); }
    50% { opacity: 0.5; transform: translateX(8px); }
}

.auth-card {
    width: 100%;
    padding: 40px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow-lg);
}

.auth-card-glass { backdrop-filter: blur(18px); }

.auth-card h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .auth-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.86);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(91, 108, 255, 0.42);
    box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Alerts */
.alert {
    max-width: 1240px;
    margin: 18px auto 0;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
}

.auth-card .alert { margin: 0 0 20px; max-width: none; }
.alert-success { background: rgba(16, 185, 129, 0.12); color: #065f46; border: 1px solid rgba(16, 185, 129, 0.18); }
.alert-error { background: rgba(239, 68, 68, 0.1); color: #991b1b; border: 1px solid rgba(239, 68, 68, 0.16); }

/* Footer */
.site-footer {
    margin-top: 80px;
    padding: 52px 0 26px;
    background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
    color: var(--text-secondary);
}

.footer-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-topline p { color: rgba(203, 213, 225, 0.8); }
.footer-topline p { color: var(--text-secondary); }

.footer-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 107, 255, 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 34px;
}

.footer-col h4 {
    color: var(--text);
    font-size: 16px;
    margin-bottom: 14px;
}

.footer-col p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-col a:hover { color: var(--primary-dark); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(47, 107, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Admin */
.admin-body {
    background: linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 110;
    background: rgba(246, 249, 255, 0.92);
    border-bottom: 1px solid rgba(47, 107, 255, 0.08);
    backdrop-filter: blur(18px);
}

.admin-topbar-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.admin-brand:hover {
    color: var(--text);
}

.admin-brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #74a1ff);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 30px rgba(47, 107, 255, 0.2);
}

.admin-brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-brand-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.admin-brand-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-topbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(47, 107, 255, 0.08);
}

.admin-topbar-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.admin-topbar-nav a:hover {
    color: var(--primary-dark);
    background: rgba(47, 107, 255, 0.08);
}

.admin-userbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-userbar-name {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(47, 107, 255, 0.08);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: calc(100vh - 78px);
}

.admin-sidebar {
    background: linear-gradient(180deg, #081429 0%, #091a35 100%);
    color: #fff;
    padding: 24px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar .sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.admin-sidebar h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.admin-sidebar .sidebar-header p {
    color: rgba(203, 213, 225, 0.65);
    font-size: 12px;
}

.admin-sidebar .sidebar-nav {
    display: grid;
    gap: 6px;
    padding: 0 10px;
}

.admin-sidebar .sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #9fb0c9;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-icon {
    width: 20px;
    text-align: center;
    opacity: 0.9;
}

.admin-sidebar .sidebar-nav a:hover,
.admin-sidebar .sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-main {
    min-width: 0;
    padding: 32px;
    background: transparent;
    overflow-x: auto;
}

.admin-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-page-head h2 {
    font-size: 30px;
    line-height: 1.12;
    margin-bottom: 6px;
}

.admin-page-head p {
    color: var(--text-secondary);
    font-size: 14px;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table-shell {
    overflow: hidden;
    border-radius: 22px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

.data-table th {
    background: #f7faff;
    font-weight: 700;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    white-space: nowrap;
}

.data-table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #f8fbff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 107, 255, 0.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.form-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 107, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow);
    max-width: 900px;
}

.admin-card {
    max-width: 820px;
}

.admin-card-title {
    font-size: 18px;
    margin-bottom: 18px;
}

.admin-form-card {
    max-width: 980px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 1180px) {
    .hero-grid,
    .pricing-hero-grid,
    .auth-layout,
    .story-card-large {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 480px;
        margin-top: 10px;
    }

    .hero-visual-card { left: 0; }
    .hero-visual-brand { left: 0; }
    .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .updates-grid,
    .features-grid,
    .brand-strip-grid,
    .pricing-summary,
    .pricing-note-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .admin-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .admin-topbar-inner,
    .admin-topbar-right {
        gap: 12px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header { padding: 12px 0; }
    .nav-shell {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
    }
    .main-nav,
    .header-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        inset: 69px 0 auto 0;
        z-index: 90;
        padding: 0 16px;
        pointer-events: none;
    }

    .mobile-nav-inner {
        margin-top: 10px;
        padding: 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(47, 107, 255, 0.12);
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        transition: var(--transition);
    }

    .mobile-nav.is-open {
        pointer-events: auto;
    }

    .mobile-nav.is-open .mobile-nav-inner {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-nav-links {
        display: grid;
        gap: 8px;
        margin-bottom: 16px;
    }

    .mobile-nav-links a {
        padding: 12px 14px;
        border-radius: 14px;
        color: var(--text);
        background: var(--primary-light);
        font-weight: 600;
    }

    .mobile-nav-actions {
        display: grid;
        gap: 10px;
    }

    .mobile-user-info {
        font-size: 13px;
        color: var(--text-secondary);
    }

    .hero-enterprise { padding-top: 28px; }
    .hero-copy h1,
    .pricing-hero-copy h1,
    .auth-promo h1 {
        font-size: 30px;
    }

    .hero-copy p,
    .pricing-hero-copy p { font-size: 15px; }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2,
    .section-header-left h2 {
        font-size: 28px;
    }

    .hero-metrics,
    .updates-grid,
    .features-grid,
    .brand-strip-grid,
    .pricing-summary,
    .pricing-note-grid,
    .footer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-visual-card {
        position: relative;
        top: 0;
        left: 0;
    }

    .hero-actions .btn,
    .section-cta-center .btn {
        width: 100%;
    }

    .hero-metrics {
        gap: 10px;
    }

    .metric-card {
        padding: 14px 16px;
    }

    .pricing-hero-media,
    .pricing-hero-brand,
    .auth-visual {
        display: none;
    }

    .page-shell {
        margin-top: -14px;
    }

    .floating-card {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

    .model-tabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        width: 100%;
        gap: 10px;
        padding: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .model-tabs::-webkit-scrollbar {
        display: none;
    }

    .model-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .footer-topline,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-card,
    .auth-promo,
    .story-card,
    .form-card {
        padding: 24px;
    }

    .auth-layout {
        gap: 16px;
    }

    .auth-promo {
        order: 2;
        padding-top: 22px;
    }

    .auth-card {
        order: 1;
        padding: 24px 18px;
    }

    .auth-promo p {
        font-size: 14px;
    }

    .model-table-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .model-table,
    .model-table thead,
    .model-table tbody {
        display: block;
    }

    .model-table thead {
        display: none;
    }

    .model-table tr {
        display: block;
        margin-bottom: 14px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 20px;
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    .model-table tr.model-detail-row {
        margin-top: -6px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .model-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        width: 100%;
        padding: 12px 14px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        font-size: 13px;
    }

    .model-table td::before {
        content: attr(data-label);
        flex: 0 0 72px;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.5;
    }

    .model-table td[data-label="模型名称"] {
        display: block;
    }

    .model-table td[data-label="模型名称"]::before {
        display: block;
        margin-bottom: 8px;
    }

    .model-name-cell {
        align-items: flex-start;
    }

    .model-table td[data-label="模型详情"] {
        display: block;
        padding: 16px 14px;
    }

    .model-table td[data-label="模型详情"]::before {
        display: none;
    }

    .model-detail {
        display: block;
    }

    .detail-info h4 {
        font-size: 16px;
    }

    .expand-btn {
        width: 100%;
    }

    .pricing-callout {
        margin-top: 16px;
        padding: 14px;
        font-size: 13px;
    }

    .admin-topbar-inner,
    .admin-topbar-right {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar {
        position: static;
    }

    .admin-topbar-inner {
        padding: 14px 0;
    }

    .admin-topbar-nav,
    .admin-userbar {
        width: 100%;
        flex-wrap: wrap;
    }

    .admin-topbar-nav {
        border-radius: 18px;
    }

    .admin-userbar .btn {
        width: auto;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 100%;
        padding: 18px 0;
    }

    .admin-sidebar .sidebar-nav {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 20px 16px;
    }

    .admin-page-head h2 {
        font-size: 24px;
    }

    .form-card,
    .admin-card,
    .admin-form-card {
        max-width: none;
    }
}
