/* 智慧云 v3.2 */
:root {
  --primary: #0067ED;
  --primary-hover: #0050B3;
  --primary-light: #e8f2ff;
  --secondary: #0b1a3b;
  --text: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg: #f5f6f9;
  --bg-white: #ffffff;
  --border: #e5e7eb;
  --border-light: #f0f1f3;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 40px -8px rgba(0,0,0,.12);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  --header-h: 60px;
  --sidebar-w: 240px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-hover); }

img, svg { max-width: 100%; display: block; }

/* === Header === */
.site-header {
  background: var(--secondary);
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff !important; font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
.logo-icon { font-size: 26px; }
.logo-text span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-links a { display: block; padding: 8px 14px; font-size: 14px; color: rgba(255,255,255,.75); border-radius: 6px; transition: all .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { background: var(--primary) !important; color: #fff !important; font-weight: 600; padding: 8px 18px !important; }
.nav-cta:hover { background: var(--primary-hover) !important; }

/* === Footer === */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,.6);
  padding: 56px 32px 24px;
  font-size: 14px;
}
.footer-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.footer-brand p { line-height: 1.7; margin-bottom: 8px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.45); font-size: 13px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px; margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .15s; text-align: center; text-decoration: none; line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--primary) !important; border: 1px solid var(--primary); }
.btn-secondary:hover { background: var(--primary-light); }
.btn-outline { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 8px; }
.btn-block { width: 100%; justify-content: center; }

/* === Hero === */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b1a3b 0%, #0f2b5c 40%, #0d2347 100%);
  color: #fff; padding: 100px 32px 80px;
  text-align: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,103,237,.15), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,103,237,.1), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-container { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-block; margin-bottom: 24px; padding: 4px 14px;
  border: 1px solid rgba(0,103,237,.4); border-radius: 20px;
  font-size: 13px; color: rgba(255,255,255,.8); background: rgba(0,103,237,.1);
}
.hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: var(--primary); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.5); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Sections === */
.section { padding: 80px 32px; }
.section-container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.5px; }
.section-header p { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }
.section-gray { background: #fff; }

/* === Feature Cards === */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border); transition: all .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feature-icon.blue { background: #e8f2ff; color: var(--primary); }
.feature-icon.green { background: var(--success-bg); color: var(--success); }
.feature-icon.purple { background: #f3e8ff; color: #7c3aed; }
.feature-icon.orange { background: var(--warning-bg); color: var(--warning); }
.feature-icon.rose { background: var(--danger-bg); color: var(--danger); }
.feature-icon.cyan { background: #ecfeff; color: #0891b2; }
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.feature-card .card-link { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* === Stats === */
.stats { background: var(--secondary); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; }
.stat-item { padding: 16px; }
.stat-value { font-size: 40px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.6); }
.stat-desc { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 4px; }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 32px 24px; border: 1px solid var(--border); text-align: center;
  transition: all .25s; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(0,103,237,.08);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 16px; border-radius: 12px;
}
.pricing-card h3 { font-size: 18px; margin-bottom: 8px; }
.pricing-card .plan-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-card .price { font-size: 40px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.pricing-card .price-unit { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-card ul li { padding: 8px 0; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 8px; }
.pricing-card ul li:last-child { border: none; }
.pricing-check { color: var(--success); font-weight: bold; }

/* === Customer Logos === */
.customers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.customer-logo { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px 24px; border: 1px solid var(--border); text-align: center; transition: all .25s; }
.customer-logo:hover { box-shadow: var(--shadow-lg); }
.customer-logo .logo-circle { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; color: #fff; }
.customer-logo h4 { font-size: 15px; margin-bottom: 4px; }
.customer-logo p { font-size: 12px; color: var(--text-muted); }

/* === Case Studies === */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all .25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card-body { padding: 28px; }
.case-card-body .industry-tag { display: inline-block; padding: 2px 10px; background: var(--primary-light); color: var(--primary); border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.case-card-body h3 { font-size: 17px; margin-bottom: 10px; }
.case-card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.case-card-body .case-stats { display: flex; gap: 20px; font-size: 13px; }
.case-card-body .case-stats span { color: var(--primary); font-weight: 700; }

/* === Blog === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all .25s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-body { padding: 24px; }
.blog-card-body .blog-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 16px; line-height: 1.4; margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.blog-card-body .blog-tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.blog-tag { padding: 2px 8px; background: var(--bg); border-radius: 4px; font-size: 11px; color: var(--text-muted); }

/* === Auth Pages === */
.auth-page { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 44px 40px; width: 100%; max-width: 420px;
  border: 1px solid var(--border);
}
.auth-card .auth-logo { text-align: center; margin-bottom: 28px; }
.auth-card .auth-logo span { font-size: 28px; display: block; margin-bottom: 8px; }
.auth-card .auth-logo h1 { font-size: 20px; font-weight: 700; }
.auth-card .auth-logo p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px; font-family: var(--font); color: var(--text);
  background: var(--bg-white); transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,103,237,.1); }
.form-group small { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.auth-links { display: flex; justify-content: center; gap: 12px; margin-top: 20px; font-size: 13px; color: var(--text-muted); }
.auth-links a { font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; font-size: 12px; color: var(--text-muted); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.alert { padding: 12px 16px; border-radius: 6px; font-size: 13px; margin-bottom: 18px; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }

/* === Console === */
.console-layout { display: flex; min-height: calc(100vh - var(--header-h) - 300px); }
.console-sidebar {
  width: var(--sidebar-w); background: #fff; border-right: 1px solid var(--border);
  padding: 20px 0; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.console-sidebar-header { padding: 0 20px 16px; border-bottom: 1px solid var(--border-light); margin-bottom: 8px; }
.console-sidebar-header h3 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.console-sidebar-header span { font-size: 11px; color: var(--text-muted); }
.console-sidebar-section { padding: 12px 20px 4px; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.console-sidebar ul { list-style: none; padding: 0; }
.console-sidebar li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 20px;
  font-size: 13px; color: var(--text-secondary); transition: all .12s; border-left: 3px solid transparent;
}
.console-sidebar li a:hover { background: var(--bg); color: var(--text); }
.console-sidebar li a.active { color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); font-weight: 600; }
.console-sidebar li a .nav-icon { font-size: 16px; width: 20px; text-align: center; }
.console-main { flex: 1; padding: 28px 32px; min-width: 0; }
.console-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.console-header h2 { font-size: 22px; font-weight: 700; }
.console-header .breadcrumb { font-size: 13px; color: var(--text-muted); }
.console-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 28px; }
.console-card {
  background: var(--bg-white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--border); transition: all .2s;
}
.console-card:hover { box-shadow: var(--shadow-md); }
.console-card-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 14px; }
.console-card-header h4 { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.console-card-header .card-icon { font-size: 22px; }
.console-card .card-value { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.console-card .card-sub { font-size: 12px; color: var(--text-muted); }
.console-card .card-trend { font-size: 12px; margin-top: 8px; }
.console-card .card-trend.up { color: var(--success); }
.console-card .card-trend.down { color: var(--danger); }

.console-section { background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; margin-bottom: 24px; }
.console-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* === Data Tables === */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table thead { background: #f8fafc; }
.data-table th {
  padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text-secondary);
  font-size: 12px; text-transform: uppercase; letter-spacing: .3px; border-bottom: 2px solid var(--border);
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); }
.data-table tbody tr:hover { background: #fafbfc; }
.data-table tbody tr:last-child td { border-bottom: none; }

.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.status-badge.running { background: var(--success-bg); color: #065f46; }
.status-badge.stopped { background: var(--danger-bg); color: #991b1b; }
.status-badge.warning { background: var(--warning-bg); color: #92400e; }
.status-badge.active { background: #dbeafe; color: #1e40af; }
.status-badge .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.status-badge.running .dot { background: var(--success); }
.status-badge.stopped .dot { background: var(--danger); }
.status-badge.warning .dot { background: var(--warning); }

/* === Docs === */
.docs-layout { display: flex; min-height: calc(100vh - var(--header-h) - 300px); max-width: 1280px; margin: 0 auto; }
.docs-sidebar {
  width: 260px; background: var(--bg-white); border-right: 1px solid var(--border);
  padding: 28px 0; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.docs-sidebar-section { padding: 0 24px 8px; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.docs-sidebar ul { list-style: none; }
.docs-sidebar li a {
  display: block; padding: 8px 24px; font-size: 13px; color: var(--text-secondary);
  border-left: 2px solid transparent; transition: all .12s;
}
.docs-sidebar li a:hover { color: var(--text); background: var(--bg); }
.docs-sidebar li a.active { color: var(--primary); font-weight: 600; border-left-color: var(--primary); background: var(--primary-light); }
.docs-content { flex: 1; padding: 32px 48px; max-width: 820px; }
.docs-content h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.docs-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; }
.docs-content h3 { font-size: 17px; font-weight: 600; margin: 24px 0 10px; }
.docs-content h4 { font-size: 15px; font-weight: 600; margin: 18px 0 8px; }
.docs-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.docs-content ul, .docs-content ol { margin: 8px 0 16px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.docs-content li { margin-bottom: 6px; }
.docs-content pre {
  background: #1e293b; color: #e2e8f0; padding: 18px 20px; border-radius: var(--radius);
  overflow-x: auto; font-size: 13px; line-height: 1.6; margin-bottom: 18px;
  font-family: var(--font-mono);
}
.docs-content code { font-family: var(--font-mono); font-size: 13px; background: #f1f5f9; padding: 2px 6px; border-radius: 4px; color: var(--primary); }
.docs-content pre code { background: transparent; padding: 0; color: #e2e8f0; }
.docs-content .callout {
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; border-left: 3px solid;
}
.docs-content .callout.info { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.docs-content .callout.warning { background: var(--warning-bg); border-color: var(--warning); color: #92400e; }
.docs-content .callout.danger { background: var(--danger-bg); border-color: var(--danger); color: #991b1b; }
.docs-content hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* === Page Headers === */
.page-header { background: #fff; border-bottom: 1px solid var(--border); padding: 48px 32px; text-align: center; }
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-header p { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* === Profile / Account dropdown === */
.user-menu { position: relative; }
.user-menu-btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; color: rgba(255,255,255,.75); cursor: pointer; font-size: 13px; background: none; border: none; }
.user-menu-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; font-weight: 600; }

/* === Permission hint === */
.permission-hint {
  background: var(--warning-bg); border: 1px solid #fde68a; border-left: 3px solid var(--warning);
  padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px;
  font-size: 13px; color: #92400e;
}
.more-hint { font-size: 12px; color: var(--text-muted); margin-top: 12px; font-style: italic; }

/* === Tag/chip === */
.tag { display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.tag-green { background: #d1fae5; color: #065f46; }
.tag-gray { background: #f1f5f9; color: #475569; }

/* === Tabs === */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab { padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: all .15s; background: none; border-top: none; border-left: none; border-right: none; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* === Input/Select (generic) === */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea {
  font-family: var(--font);
}
select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; background: #fff; color: var(--text); }

/* === Responsive === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .customers-grid { grid-template-columns: repeat(2,1fr); }
  .cases-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .footer-container { grid-template-columns: repeat(3,1fr); }
  .console-layout, .docs-layout { flex-direction: column; }
  .console-sidebar, .docs-sidebar { width: 100%; height: auto; position: static; border-right: none; border-bottom: 1px solid var(--border); padding: 16px; }
}
@media (max-width: 640px) {
  .features-grid, .pricing-grid, .stats-grid, .cases-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 32px; }
  .nav-links { display: none; }
  .section { padding: 48px 16px; }
}
