/* ===== Reset & Variables ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --accent: #CC0000;
  --accent-hover: #a30000;
  --accent-light: #fef2f2;
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --blue: #2563eb;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }
.text-gradient {
  background: linear-gradient(135deg, #CC0000, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.navbar.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,.95); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.logo-icon { display: flex; align-items: center; }
.logo-text {
  background: linear-gradient(135deg, #CC0000, #300060);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 800; font-size: 20px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }
.nav-gh {
  display: flex !important; align-items: center; gap: 6px;
  padding: 6px 14px; background: var(--bg-tertiary);
  border-radius: 999px; font-size: 13px !important;
  font-weight: 600 !important; color: var(--text-primary) !important;
}
.nav-gh:hover { background: var(--border); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px; transition: all .3s ease;
}

/* ===== Hero ===== */
.hero { position: relative; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .3; }
.hero-glow-1 { width: 600px; height: 600px; background: #CC0000; top: -200px; right: -100px; }
.hero-glow-2 { width: 500px; height: 500px; background: #7c3aed; bottom: -150px; left: -100px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-container { position: relative; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 12px; background: var(--bg-primary);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-desc { font-size: 18px; color: var(--text-secondary); line-height: 1.7; max-width: 600px; margin: 0 auto 32px; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; border: none;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(204,0,0,.3); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 12px rgba(204,0,0,.3); transform: translateY(-1px); }
.btn-outline { background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-secondary); border-color: var(--border-hover); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-secondary); color: var(--text-primary); }

/* Hero Stats */
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 48px; }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stat-num { font-size: 28px; font-weight: 800; background: linear-gradient(135deg, #CC0000, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Code */
.hero-code { max-width: 560px; margin: 0 auto; background: #0f172a; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); text-align: left; }
.code-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1e293b; border-bottom: 1px solid #334155; }
.code-dots { display: flex; gap: 6px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.code-dots span:first-child { background: #ef4444; }
.code-dots span:nth-child(2) { background: #f59e0b; }
.code-filename { font-size: 12px; color: #64748b; font-family: 'JetBrains Mono', monospace; }
.hero-code pre { padding: 16px; margin: 0; }
.hero-code code { font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; color: #e2e8f0; }
.code-comment { color: #64748b; }
.code-prompt { color: #22c55e; }
.code-output { color: #60a5fa; }

/* ===== Section Common ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; padding: 4px 14px; background: var(--accent-light); color: var(--accent); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* ===== Features ===== */
.features { background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all .3s ease; }
.feature-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== Architecture ===== */
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.arch-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all .3s ease; }
.arch-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.arch-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.arch-icon { font-size: 20px; }
.arch-name { font-size: 15px; font-weight: 700; }
.arch-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.tech-bar { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 24px; display: flex; align-items: center; gap: 16px; overflow-x: auto; }
.tech-label { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.tech-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tech-pill { padding: 4px 12px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }

/* ===== Themes & Plugins ===== */
.themes-plugins { background: var(--bg-secondary); }
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.tp-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.tp-card-icon { color: var(--text-muted); margin-bottom: 8px; }
.tp-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.tp-card > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.tp-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.tp-item-preview { height: 80px; border-radius: var(--radius-sm); border: 1px solid var(--border); overflow: hidden; }
.tp-item-name { display: block; font-size: 13px; font-weight: 600; margin-top: 8px; }
.tp-item-desc { display: block; font-size: 11px; color: var(--text-muted); }
.tp-plugins-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.tp-plugin-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-secondary); border-radius: var(--radius-sm); }
.tp-plugin-icon { font-size: 20px; }
.tp-plugin-name { display: block; font-size: 14px; font-weight: 600; }
.tp-plugin-desc { display: block; font-size: 12px; color: var(--text-muted); }
.tp-features { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tp-features li { font-size: 13px; color: var(--text-secondary); padding-left: 20px; position: relative; }
.tp-features li::before { content: '\2713'; position: absolute; left: 0; color: #22c55e; font-weight: 700; }

/* Code Showcase */
.code-showcase { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.code-tabs { display: flex; border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.code-tab { padding: 10px 20px; background: none; border: none; font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all var(--transition); }
.code-tab.active { color: var(--text-primary); border-bottom-color: var(--accent); }
.code-tab:hover { color: var(--text-primary); }
.code-panel { display: none; }
.code-panel.active { display: block; }
.code-panel pre { padding: 20px 24px; margin: 0; background: #0f172a; }
.code-panel code { font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.8; color: #e2e8f0; }
.code-keyword { color: #c084fc; }
.code-class { color: #60a5fa; }
.code-func { color: #34d399; }
.code-symbol { color: #fbbf24; }
.code-string { color: #fb923c; }

/* ===== Quickstart ===== */
.steps { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 48px; }
.step { display: flex; align-items: center; gap: 24px; width: 100%; max-width: 600px; }
.step-num { width: 48px; height: 48px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; flex-shrink: 0; box-shadow: 0 0 0 4px var(--accent-light); }
.step-content { flex: 1; }
.step-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-content pre { background: #0f172a; border-radius: var(--radius-sm); padding: 12px 16px; overflow-x: auto; }
.step-content code { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #e2e8f0; line-height: 1.6; }
.step-hint { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }
.step-hint code { background: var(--bg-tertiary); color: var(--text-primary); padding: 2px 6px; border-radius: 4px; font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.step-connector { width: 2px; height: 24px; background: var(--border); margin-left: 23px; }
.quickstart-deploy { max-width: 600px; margin: 0 auto; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.quickstart-deploy h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.quickstart-deploy pre { background: #0f172a; border-radius: var(--radius-sm); padding: 16px; overflow-x: auto; }
.quickstart-deploy code { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #e2e8f0; line-height: 1.6; }

/* ===== Admin Preview ===== */
.admin-preview { background: var(--bg-secondary); }
.admin-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 24px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px; width: fit-content; margin-left: auto; margin-right: auto; }
.admin-tab { padding: 8px 20px; background: none; border: none; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all var(--transition); }
.admin-tab.active { background: var(--bg-tertiary); color: var(--text-primary); font-weight: 600; }
.admin-tab:hover:not(.active) { color: var(--text-primary); }

.admin-mockup { display: flex; gap: 0; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 480px; }
.admin-mockup-sidebar { width: 200px; background: #0f172a; padding: 16px 0; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-sidebar-logo { color: #fff; font-size: 16px; font-weight: 800; padding: 0 16px 16px; border-bottom: 1px solid #1e293b; margin-bottom: 8px; background: linear-gradient(135deg, #CC0000, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.admin-sidebar-menu { display: flex; flex-direction: column; gap: 2px; padding: 0 8px; }
.admin-menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: 13px; color: #94a3b8; cursor: pointer; transition: all var(--transition); }
.admin-menu-item:hover { background: #1e293b; color: #e2e8f0; }
.admin-menu-item.active { background: #1e293b; color: #f8fafc; }
.admin-mockup-main { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.admin-content { display: none; flex-direction: column; flex: 1; overflow: hidden; }
.admin-content.active { display: flex; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); background: var(--bg-primary); }
.admin-breadcrumb { font-size: 13px; color: var(--text-muted); }
.admin-topbar-right { font-size: 13px; color: var(--text-secondary); }

/* Dashboard */
.admin-dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; overflow: auto; }
.admin-stat-card { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-secondary); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.admin-stat-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.admin-stat-num { display: block; font-size: 22px; font-weight: 800; }
.admin-stat-label { display: block; font-size: 12px; color: var(--text-muted); }
.admin-chart-placeholder { grid-column: span 2; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.admin-chart-placeholder > span { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.admin-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 100px; }
.admin-chart-bar { flex: 1; background: linear-gradient(to top, #CC0000, #7c3aed); border-radius: 4px 4px 0 0; min-height: 10px; opacity: .7; transition: opacity .3s; }
.admin-chart-bar:hover { opacity: 1; }
.admin-recent { grid-column: span 2; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.admin-recent > span { font-size: 13px; font-weight: 600; color: var(--text-secondary); display: block; margin-bottom: 12px; }
.admin-recent-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.admin-recent-item:last-child { border-bottom: none; }
.admin-badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.admin-badge.green { background: #dcfce7; color: #16a34a; }
.admin-badge.yellow { background: #fef3c7; color: #d97706; }

/* Editor */
.admin-editor-preview { flex: 1; display: flex; flex-direction: column; }
.admin-editor-titlebar { padding: 20px 20px 0; }
.admin-editor-input-placeholder { font-size: 24px; font-weight: 700; color: var(--text-muted); }
.admin-editor-toolbar { display: flex; align-items: center; gap: 2px; padding: 10px 20px; border-bottom: 1px solid var(--border); }
.admin-editor-toolbar span { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; }
.admin-editor-toolbar span:hover { background: var(--bg-tertiary); }
.admin-editor-mode { margin-left: auto !important; width: auto !important; padding: 0 10px !important; background: var(--bg-tertiary) !important; font-size: 12px !important; color: var(--text-muted) !important; }
.admin-editor-body { flex: 1; padding: 16px 20px; overflow: auto; background: #fafafa; }
.admin-editor-line { display: flex; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.8; }
.line-num { color: var(--text-muted); min-width: 24px; text-align: right; user-select: none; }
.line-text { color: var(--text-primary); }

/* Widgets */
.admin-widgets-preview { display: flex; gap: 16px; padding: 16px; flex: 1; overflow: auto; }
.admin-widget-types { width: 200px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px; flex-shrink: 0; }
.admin-widget-type { padding: 8px 12px; border-radius: 6px; font-size: 13px; cursor: pointer; transition: all var(--transition); }
.admin-widget-type:hover { background: var(--bg-primary); }
.admin-widget-type.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.admin-widget-sidebar { flex: 1; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.admin-sidebar-header { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.admin-widget-dragged { display: flex; flex-direction: column; gap: 6px; }
.admin-widget-card { padding: 10px 12px; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-weight: 500; cursor: grab; }

/* Themes Admin */
.admin-themes-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px; flex: 1; overflow: auto; }
.admin-theme-card { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: all var(--transition); cursor: pointer; }
.admin-theme-card:hover { box-shadow: var(--shadow-md); }
.admin-theme-card.active-theme { border-color: var(--accent); }
.admin-theme-preview { height: 180px; position: relative; }
.admin-theme-active-badge { position: absolute; top: 8px; right: 8px; padding: 3px 10px; background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 600; }
.admin-theme-name { display: block; text-align: center; padding: 10px; font-size: 13px; font-weight: 600; }

/* ===== CTA ===== */
.cta-section { padding: 40px 0 80px; }
.cta-card { position: relative; background: linear-gradient(135deg, #0f172a, #1a103c); border-radius: 24px; padding: 64px 40px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(204,0,0,.3), transparent); top: -100px; right: -100px; border-radius: 50%; }
.cta-card h2 { position: relative; color: #fff; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-card p { position: relative; color: #94a3b8; font-size: 16px; max-width: 450px; margin: 0 auto 28px; }
.cta-actions { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; }
.cta-actions .btn-ghost { border-color: #334155; color: #94a3b8; }
.cta-actions .btn-ghost:hover { background: #1e293b; color: #f8fafc; }

/* ===== Footer ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { font-size: 16px; font-weight: 800; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); max-width: 260px; }
.footer-links h4 { font-size: 13px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.footer-links a { display: block; font-size: 14px; color: var(--text-secondary); padding: 4px 0; }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-primary); border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 12px;
  }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .arch-grid { grid-template-columns: 1fr; }
  .tp-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .admin-mockup { flex-direction: column; height: auto; }
  .admin-mockup-sidebar { width: 100%; padding: 8px; flex-direction: row; overflow-x: auto; gap: 0; }
  .admin-sidebar-logo { display: none; }
  .admin-sidebar-menu { flex-direction: row; gap: 0; padding: 0; }
  .admin-menu-item { white-space: nowrap; font-size: 12px; padding: 6px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 24px; }
  .step { flex-direction: column; align-items: flex-start; }
  .step-connector { display: none; }
}
