:root {
    /* Base Variables - Refined for Chinese Enterprise Aesthetic */
    --primary-color: #1677ff; /* Ant Design Blue - Very standard for Chinese Enterprise UI */
    --primary-hover: #4096ff;
    --secondary-color: #64748b;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #ff4d4f;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fallback Variables to prevent invisible text if data-theme is missing */
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --primary-glow: rgba(22, 119, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --nav-bg: rgba(255, 255, 255, 0.9);
}
/* Admin Modals */
.mgr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mgr-modal.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.mgr-modal.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px;
}

.close-modal:hover {
    color: var(--error-color);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: var(--bg-color);
    border-radius: 0 0 12px 12px;
}

.btn-cancel {
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-cancel:hover {
    border-color: var(--text-muted);
}

.btn-confirm {
    padding: 10px 20px;
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-confirm:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-color);
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

/* Tech Blue Theme (Default/Dark) */
[data-theme="dark"] {
    --bg-color: #00091d; /* Deep Night Blue */
    --card-bg: #0a162d;
    --text-color: #e6edf3;
    --text-muted: #8b949e;
    --border-color: #21262d;
    --primary-glow: rgba(22, 119, 255, 0.4);
    --glass-bg: rgba(10, 22, 45, 0.85);
    --nav-bg: rgba(0, 9, 29, 0.9);
}

/* Light Theme - Clean and Professional */
[data-theme="light"] {
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --primary-glow: rgba(22, 119, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --nav-bg: rgba(255, 255, 255, 0.9);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.5);
    color: white;
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    background: none;
    border: none;
}

.theme-toggle:hover {
    color: var(--primary-color);
    background-color: var(--card-bg);
}

/* 欢迎长期合作徽章 */
.cooperation-badge {
    position: relative;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1677ff;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(22, 119, 255, 0.3);
}

.cooperation-badge i {
    font-size: 12px;
}

/* Hero Section */
.hero {
    padding: 90px 0 30px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(22, 119, 255, 0.08), transparent 40%),
                radial-gradient(circle at bottom left, rgba(22, 119, 255, 0.05), transparent 40%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 119, 255, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: none;
}

/* Zabbix + Prometheus 背景装饰 */
.hero-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    opacity: 0.08;
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;

    filter: blur(2px) saturate(0.9) contrast(1.02) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.08));
}

[data-theme="dark"] .hero-bg-img {
    opacity: 0.1;
    filter: blur(2px) saturate(1.05) contrast(1.05) brightness(1.02) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.2));
}

.hero-bg-zabbix {
    width: 320px;
    height: auto;
    top: 5%;
    left: -40px;
    transform: translateY(0);
    opacity: 0.08;
}

.hero-bg-prometheus {
    width: 320px;
    height: auto;
    bottom: 5%;
    left: -40px;
    transform: translateY(0);
    opacity: 0.08;
}

.hero-brand-showcase {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-brand-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    min-width: 180px;
}

.hero-brand-card-zabbix {
    left: 8%;
    top: 14%;
    background: rgba(255, 255, 255, 0.78);
}

.hero-brand-card-prometheus {
    right: 7%;
    top: 12%;
    background: rgba(255, 255, 255, 0.8);
}

.hero-brand-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
}

.hero-brand-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
}

[data-theme="dark"] .hero-brand-card {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-brand-card-zabbix {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.2), rgba(10, 22, 45, 0.82));
}

[data-theme="dark"] .hero-brand-card-prometheus {
    background: linear-gradient(135deg, rgba(255, 121, 63, 0.22), rgba(10, 22, 45, 0.84));
}

[data-theme="dark"] .hero-brand-title {
    color: #e6edf3;
}

@keyframes bgFloat1 {
    0%, 100% { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
    25% { transform: translateY(-50%) translate(-10px, 15px) rotate(1deg); }
    50% { transform: translateY(-50%) translate(8px, -10px) rotate(-1deg); }
    75% { transform: translateY(-50%) translate(-5px, 8px) rotate(0.5deg); }
}

@keyframes bgFloat2 {
    0%, 100% { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
    33% { transform: translateY(-50%) translate(15px, -8px) rotate(-1deg); }
    66% { transform: translateY(-50%) translate(-8px, 12px) rotate(1deg); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.rename-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(22, 119, 255, 0.04));
    border: 1px solid rgba(22, 119, 255, 0.15);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
}

.rename-notice i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.rename-notice strong {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-color) 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-content .subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-content .description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-content .description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
    font-size: 0.88rem;
    font-weight: 500;
}

.hero-feature-item i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.cta-buttons .btn {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-video {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    color: white !important;
    border: none;
}

.btn-video:hover {
    background: linear-gradient(135deg, #ff7875, #ff4d4f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.cta-buttons .btn {
    flex: 0 1 auto;
    white-space: nowrap;
    padding: 12px 20px;
    font-size: 15px;
}

.hero-image {
    flex: 1.2;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Sections Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    font-weight: 800;
    position: relative;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.feature-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(22, 119, 255, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.8;
}

.feature-card-highlight {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
    border-color: rgba(22, 119, 255, 0.16);
    box-shadow: 0 14px 32px rgba(22, 119, 255, 0.08);
}

.feature-card-highlight h3 {
    color: var(--primary-color);
}

[data-theme="dark"] .feature-card-highlight {
    background: linear-gradient(180deg, rgba(22, 119, 255, 0.14), rgba(10, 22, 45, 0.96));
    border-color: rgba(64, 150, 255, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .feature-card {
    background-color: rgba(10, 22, 45, 0.92);
    border-color: rgba(64, 150, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .feature-card h3 {
    color: #e6edf3;
}

[data-theme="dark"] .feature-card p {
    color: #94a3b8;
}

/* Gallery */
.gallery-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.gallery-item.reverse {
    flex-direction: row-reverse;
}

.gallery-text {
    flex: 1;
}

.gallery-text h3 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.gallery-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.gallery-image {
    flex: 1.5;
}

.gallery-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.gallery-image:hover img {
    transform: scale(1.03) translateY(-10px);
}

/* Comparison Table */
/* Comparison Table - Professional Enterprise Style */
.comparison-table-container {
    background-color: #ffffff; /* Explicit white background */
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .comparison-table-container {
    background-color: #0a162d;
}

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

.comparison-table th, 
.comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    color: #1f2937 !important; /* Explicit dark color */
    vertical-align: middle;
    font-size: 1rem;
}

[data-theme="dark"] .comparison-table th, 
[data-theme="dark"] .comparison-table td {
    color: #e6edf3 !important; /* Explicit light color */
}

.comparison-table th {
    background-color: #f8fafc;
    font-weight: 700;
}

[data-theme="dark"] .comparison-table th {
    background-color: rgba(255, 255, 255, 0.05);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background-color: rgba(22, 119, 255, 0.05);
    color: #1677ff !important;
    font-weight: 700;
}

[data-theme="dark"] .comparison-table th.highlight,
[data-theme="dark"] .comparison-table td.highlight {
    background-color: rgba(22, 119, 255, 0.1);
    color: #4096ff !important;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    padding-left: 32px;
    width: 40%;
    font-weight: 500;
}

.comparison-table td i.fa-check-circle {
    color: #52c41a;
    font-size: 1.25rem;
}

.comparison-table td i.fa-times-circle {
    color: #ff4d4f;
    opacity: 0.4;
    font-size: 1.25rem;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: var(--section-bg);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 32px 28px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: #1677ff;
    border-width: 2px;
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.12);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 32px rgba(22, 119, 255, 0.2);
}

.pricing-card .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #1677ff;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.card-header .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1677ff;
    line-height: 1;
}

.card-body ul {
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-body li {
    margin-bottom: 14px;
    color: var(--text-color);
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
}

.card-body li:last-child {
    margin-bottom: 0;
}

.card-body li i.fa-star,
.card-body li i.fa-check,
.card-body li i.fa-times {
    flex-shrink: 0;
    margin-top: 3px;
}

.card-body li i.fa-star {
    color: #1677ff;
    font-size: 14px;
}

.card-body li i.fa-check {
    color: #1677ff;
    font-size: 13px;
}

.card-body li i.fa-times {
    color: #94a3b8;
    font-size: 13px;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 8px;
}

.pricing-card.featured .btn-primary {
    background: #1677ff;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.pricing-card.featured .btn-primary:hover {
    background: #0958d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 119, 255, 0.4);
}

.pricing-card .btn-secondary {
    background: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.pricing-card .btn-secondary:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}


/* Deployment Section - Refined Timeline */
.deploy-steps {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 40px;
}

.deploy-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.step {
    position: relative;
    padding-bottom: 40px;
    padding-left: 40px;
}

.step:last-child {
    padding-bottom: 0;
}

.step-number {
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    z-index: 1;
    transform: translateX(-50%);
}

.step h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: #1f2937 !important;
}

[data-theme="dark"] .step h3 {
    color: #e6edf3 !important;
}

.step p {
    color: #6b7280 !important;
    margin-bottom: 16px;
    line-height: 1.6;
}

[data-theme="dark"] .step p {
    color: #8b949e !important;
}

.step pre {
    margin-top: 12px;
    background-color: #f1f5f9;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .step pre {
    background-color: #0d1117;
}

.step code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #0969da;
}

[data-theme="dark"] .step code {
    color: #a5d6ff;
}

/* Deploy Tabs */
.deploy-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.deploy-tab {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.deploy-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.deploy-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.deploy-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-input, .form-textarea, select.form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

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

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    color: var(--text-color);
}

/* Footer */
.footer {
    background-color: var(--card-bg);
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
}

.footer-contact h4, .footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Login Screen */
.login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.login-screen::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite;
}

.login-screen::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    animation: float 20s ease-in-out infinite reverse;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    z-index: 1;
    animation: slideUp 0.5s ease;
}

[data-theme="dark"] .login-card {
    background: rgba(10, 22, 45, 0.95);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card h2 {
    text-align: center;
    margin-bottom: 32px;
    color: #1f2937;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

[data-theme="dark"] .login-card h2 {
    color: #e6edf3;
}

.login-card h2 i {
    color: var(--primary-color);
}

/* Admin Layout */
.mgr-body {
    background: var(--bg-color);
}

.mgr-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-color);
}

.mgr-sidebar {
    width: 260px;
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.mgr-logo {
    padding: 0 24px 24px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mgr-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.mgr-nav-item {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.mgr-nav-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--text-color);
}

[data-theme="dark"] .mgr-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mgr-nav-item.active {
    background-color: rgba(22, 119, 255, 0.1);
    color: var(--primary-color);
}

.mgr-nav-item i {
    width: 20px;
    text-align: center;
}

.mgr-main {
    flex: 1;
    margin-left: 260px; /* Width of sidebar */
    padding: 40px;
    max-width: 100%;
}

.mgr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.mgr-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.mgr-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mgr-content-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Admin Tables */
.mgr-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.mgr-table th,
.mgr-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.mgr-table th {
    font-weight: 600;
    background-color: var(--bg-color);
    color: var(--text-muted);
}

.mgr-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .mgr-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-action {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    margin-right: 8px;
}

.btn-edit {
    background-color: rgba(22, 119, 255, 0.1);
    color: var(--primary-color);
}

.btn-edit:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-delete {
    background-color: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
}

.btn-delete:hover {
    background-color: #ff4d4f;
    color: white;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header h3 {
    font-size: 1.1rem;
    color: var(--text-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .cooperation-badge {
        display: none;
    }
    
    .mgr-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .mgr-sidebar.open {
        transform: translateX(0);
    }
    
    .mgr-main {
        margin-left: 0;
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    /* Re-adding previous responsive styles that were replaced */
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-bg-zabbix,
    .hero-bg-prometheus {
        width: 220px;
        opacity: 0.05;
    }

    .hero-bg-zabbix {
        left: -80px;
        top: 0%;
    }

    .hero-bg-prometheus {
        left: -80px;
        bottom: 0%;
    }

    .hero-brand-showcase {
        display: none;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        justify-content: center;
    }

    .gallery-item {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .gallery-item.reverse {
        flex-direction: column;
    }

    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
        border-radius: 16px;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 16px;
    }

    .deploy-tabs {
        flex-direction: column;
    }

    .deploy-tab {
        width: 100%;
    }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Charts */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.chart-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chart-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-card h3 i {
    color: var(--primary-color);
}

#revenueTrendChart,
#paymentDistChart,
#sourceDistChart,
#visitorTrendChart {
    width: 100%;
    height: 300px;
}

/* Table Container */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Content Views */
.content-view {
    animation: fadeIn 0.3s ease;
}

/* Utility Classes */
.text-success {
    color: var(--success-color) !important;
}

.text-danger {
    color: var(--error-color) !important;
}

.text-warning {
    color: var(--warning-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Version Timeline */
.version-timeline {
    position: relative;
    padding-left: 40px;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.version-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 40px;
}

.version-item:last-child {
    margin-bottom: 0;
}

.version-badge {
    position: absolute;
    left: -40px;
    top: 0;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.version-content {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.version-content:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.version-content h4 {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.version-content ul {
    list-style: none;
    padding: 0;
}

.version-content li {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(22, 119, 255, 0.5);
}

.scroll-to-top.show {
    display: flex;
}


/* 美化通知样式 */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-notification i {
    font-size: 20px;
}

.custom-notification.success {
    border-left: 4px solid #52c41a;
    color: #52c41a;
}

.custom-notification.success i {
    color: #52c41a;
}

.custom-notification.error {
    border-left: 4px solid #ff4d4f;
    color: #ff4d4f;
}

.custom-notification.error i {
    color: #ff4d4f;
}

.custom-notification.warning {
    border-left: 4px solid #faad14;
    color: #faad14;
}

.custom-notification.warning i {
    color: #faad14;
}

.custom-notification.info {
    border-left: 4px solid #1890ff;
    color: #1890ff;
}

.custom-notification.info i {
    color: #1890ff;
}

.custom-notification span {
    color: var(--text-color);
}

[data-theme="dark"] .custom-notification {
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* 美化确认对话框样式 */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-overlay.show {
    opacity: 1;
}

.confirm-box {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.confirm-box.show {
    transform: scale(1);
    opacity: 1;
}

.confirm-icon {
    text-align: center;
    margin-bottom: 20px;
}

.confirm-icon i {
    font-size: 48px;
    color: #faad14;
}

.confirm-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.confirm-message {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.confirm-cancel {
    background: var(--border-color);
    color: var(--text-color);
}

.confirm-cancel:hover {
    background: #d9d9d9;
}

.confirm-ok {
    background: #ff4d4f;
    color: white;
}

.confirm-ok:hover {
    background: #ff7875;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

[data-theme="dark"] .confirm-box {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .confirm-cancel {
    background: #434343;
    color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .confirm-cancel:hover {
    background: #595959;
}


/* 在线演示链接样式 */
.nav-links .demo-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links .demo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-links .demo-link i {
    font-size: 14px;
}

[data-theme="dark"] .nav-links .demo-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}


/* 演示按钮样式 */
.btn-demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-demo:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.btn-demo i {
    margin-right: 8px;
}

.btn-demo-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-demo-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.pricing-buttons .btn {
    width: 100%;
}

[data-theme="dark"] .btn-demo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="dark"] .btn-demo-secondary {
    color: #667eea;
    border-color: #667eea;
}

[data-theme="dark"] .btn-demo-secondary:hover {
    background: #667eea;
    color: white;
}

/* ==========================================
   Scroll Animations
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.fade-left {
    transform: translateX(-40px);
}

.animate-on-scroll.fade-right {
    transform: translateX(40px);
}

.animate-on-scroll.scale-in {
    transform: scale(0.92);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================
   Stats Counter Section
   ========================================== */
.stats-section {
    padding: 16px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4096ff 50%, #69b1ff 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    filter: blur(40px);
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.stats-counter-item {
    text-align: center;
    color: white;
    padding: 6px 8px;
}

.stats-counter-item .counter-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-counter-item .counter-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
    font-variant-numeric: tabular-nums;
}

.stats-counter-item .counter-label {
    font-size: 0.78rem;
    opacity: 0.85;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-counter-item .counter-value {
        font-size: 2rem;
    }
}

/* ==========================================
   FAQ Accordion
   ========================================== */
.faq-grid {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(22, 119, 255, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faq-question h3 {
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question .faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.85rem;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================
   Mobile Hamburger Menu
   ========================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: rgba(22, 119, 255, 0.08);
    color: var(--primary-color);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .navbar .container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .navbar .container > div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        z-index: 999;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 1rem;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(22, 119, 255, 0.08);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-overlay {
        display: block;
        pointer-events: none;
    }

    .nav-overlay.show {
        pointer-events: auto;
    }

    .cooperation-badge {
        display: none;
    }

    .hero {
        padding: 80px 0 24px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
}

/* ==========================================
   Code Block Copy Button
   ========================================== */
.code-block-wrapper {
    position: relative;
}

.code-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(22, 119, 255, 0.1);
    border: 1px solid rgba(22, 119, 255, 0.2);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 1;
}

.code-copy-btn:hover {
    background: var(--primary-color);
    color: white;
}

.code-copy-btn.copied {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

/* ==========================================
   Section Subtitle
   ========================================== */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -50px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ==========================================
   Admin Mobile Sidebar Toggle
   ========================================== */
.mgr-mobile-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 200;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.mgr-mobile-toggle:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.mgr-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mgr-sidebar-overlay.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .mgr-mobile-toggle {
        display: flex;
    }

    .mgr-sidebar-overlay {
        display: block;
        pointer-events: none;
    }

    .mgr-sidebar-overlay.show {
        pointer-events: auto;
    }

    .mgr-header {
        padding-left: 60px;
    }
}

/* ==========================================
   Admin Theme Toggle
   ========================================== */
.mgr-theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.mgr-theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(22, 119, 255, 0.05);
}

/* ==========================================
   Admin Table Search
   ========================================== */
.table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.table-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 14px;
    transition: var(--transition);
    min-width: 220px;
}

.table-search:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.1);
}

.table-search i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.table-search input {
    border: none;
    background: none;
    color: var(--text-color);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.table-search input::placeholder {
    color: var(--text-muted);
}

.table-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Admin Export Button */
.btn-export {
    background: rgba(82, 196, 26, 0.1);
    color: #52c41a;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-export:hover {
    background: #52c41a;
    color: white;
}

.btn-import {
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-import:hover {
    background: var(--primary-color);
    color: white;
}

/* ==========================================
   Admin Pagination
   ========================================== */
.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pagination-buttons {
    display: flex;
    gap: 4px;
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================
   Improved Gallery Section Animations
   ========================================== */
.gallery-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   Pricing Card Feature List
   ========================================== */
.pricing-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* ==========================================
   Admin Empty State
   ========================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 1rem;
}

/* ==========================================
   Navbar scrolled state
   ========================================== */
.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Section alternating backgrounds
   ========================================== */
.section-alt {
    background: var(--bg-color);
}

/* ==========================================
   Typing cursor effect for hero
   ========================================== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary-color);
    margin-left: 2px;
}
