:root {
  --bg-primary: #030508;
  --bg-secondary: #070b12;
  --bg-card: #0a1018;
  --bg-card-hover: #0e1520;
  --bg-sidebar: #060a10;
  --bg-input: #080d15;
  --bg-tertiary: #0c1320;
  --border: #0f1a2a;
  --border-light: #162338;
  --border-focus: #1e3050;
  --accent: #00b4ff;
  --accent-hover: #009ae0;
  --accent-glow: rgba(0, 180, 255, 0.08);
  --accent-glow-strong: rgba(0, 180, 255, 0.16);
  --accent-muted: #0088cc;
  --primary: #00b4ff;
  --text-primary: #e0e8f0;
  --text-secondary: #7b8da8;
  --text-muted: #3e5068;
  --danger: #ed4245;
  --danger-bg: rgba(237, 66, 69, 0.08);
  --warning: #f0a732;
  --warning-bg: rgba(240, 167, 50, 0.08);
  --success: #3ba55c;
  --success-bg: rgba(59, 165, 92, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --sidebar-width: 250px;
  --navbar-height: 52px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(0, 180, 255, 0.08);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.navbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 18, 0.88);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.nav-brand-logo {
  height: 30px;
  width: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 180, 255, 0.3));
}

.brand-name {
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #e0e8f0, #00b4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sentinel-icon { color: var(--accent); font-size: 1.2rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: rgba(0, 180, 255, 0.05); }
.nav-logout { color: var(--danger) !important; }
.nav-logout:hover { background: var(--danger-bg) !important; }

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding-right: 4px;
}

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-hamburger:hover { background: rgba(0, 180, 255, 0.06); }

.app-layout {
  display: flex;
  margin-top: var(--navbar-height);
  min-height: calc(100vh - var(--navbar-height));
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 150;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-guild-icon img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.sidebar-guild-icon-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
}

.sidebar-guild-name {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.sidebar-nav { padding: 0.5rem 0; }

.sidebar-category {
  padding: 0.75rem 1rem 0.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 1rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  border-left: 2px solid transparent;
  font-weight: 450;
  margin: 1px 0;
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: rgba(0, 180, 255, 0.03);
}

.sidebar-link.active {
  color: var(--accent);
  background: var(--accent-glow);
  border-left-color: var(--accent);
  font-weight: 600;
}

.sidebar-link-icon {
  width: 18px;
  text-align: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.sidebar-back {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}
.sidebar-back:hover { color: var(--text-primary); }

.page-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 1.75rem 2rem;
  max-width: 960px;
  width: 100%;
}

.page-content-full {
  flex: 1;
  padding: 1.75rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  margin-top: var(--navbar-height);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 140;
  backdrop-filter: blur(3px);
}

.footer {
  text-align: center;
  padding: 1.25rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-credit {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}
.footer-creator {
  color: #00b4ff;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0,180,255,0.4);
}

.hero {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 30px rgba(0, 180, 255, 0.3)) drop-shadow(0 0 60px rgba(0, 180, 255, 0.1));
  animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 180, 255, 0.3)) drop-shadow(0 0 60px rgba(0, 180, 255, 0.1)); }
  50% { filter: drop-shadow(0 0 40px rgba(0, 180, 255, 0.5)) drop-shadow(0 0 80px rgba(0, 180, 255, 0.2)); }
}

.hero-banner {
  max-width: 520px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 180, 255, 0.2));
}

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid rgba(0, 180, 255, 0.2);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #00b4ff 60%, #0088cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sentinel-icon-lg { color: var(--accent); margin-right: 8px; -webkit-text-fill-color: var(--accent); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 0.95rem;
}
.hero-credit {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}
.hero-creator {
  color: #00b4ff;
  font-weight: 800;
  font-size: 1.05rem;
  text-shadow: 0 0 12px rgba(0,180,255,0.5), 0 0 24px rgba(0,180,255,0.2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 3.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(0, 180, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 180, 255, 0.05);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 1px 4px rgba(0, 180, 255, 0.25);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 180, 255, 0.35);
}

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { opacity: 0.88; color: white; }

.btn-secondary { background: var(--border-light); color: var(--text-primary); }
.btn-secondary:hover { background: var(--border-focus); color: var(--text-primary); }

.btn-warning { background: var(--warning); color: #000; }
.btn-warning:hover { opacity: 0.88; }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { opacity: 0.88; color: white; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(237, 66, 69, 0.3);
  color: var(--danger);
}
.btn-danger-outline:hover {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.btn-lg { padding: 12px 28px; font-size: 0.95rem; }
.btn-sm { padding: 4px 10px; font-size: 0.76rem; }

.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.3px; }
.page-subtitle { color: var(--text-secondary); font-size: 0.88rem; }

.breadcrumb { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.4rem; }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-primary); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: border-color var(--transition);
}

.stat-card:hover { border-color: var(--border-light); }

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--mono);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  transition: border-color var(--transition);
}

.card:hover { border-color: var(--border-light); }

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section { margin-top: 1.5rem; }
.section-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; }

.guild-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.guild-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.guild-card:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.guild-card-active { border-color: rgba(59, 165, 92, 0.25); }
.guild-card-active:hover { border-color: var(--success); background: var(--success-bg); }

.guild-card-setup { opacity: 0.6; }
.guild-card-setup:hover { opacity: 1; border-color: var(--accent); background: var(--accent-glow); }

.guild-info { flex: 1; min-width: 0; }
.guild-name { font-weight: 600; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guild-status { font-size: 0.7rem; font-weight: 500; margin-top: 2px; }
.guild-status-active { color: var(--success); }
.guild-status-setup { color: var(--text-muted); }

.guild-icon img { width: 42px; height: 42px; border-radius: 50%; }
.guild-icon-dim { opacity: 0.5; }

.guild-icon-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
}
.guild-icon-placeholder-dim { background: var(--border-light) !important; color: var(--text-muted); }

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--border-light);
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 600;
  margin-left: 6px;
  vertical-align: middle;
}

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.data-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0, 180, 255, 0.015); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(237,66,69,0.18); }
.badge-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(240,167,50,0.18); }
.badge-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(59,165,92,0.18); }
.badge-secondary { background: var(--border); color: var(--text-secondary); border: 1px solid var(--border-light); }
.badge-muted { background: var(--bg-secondary); color: var(--text-muted); font-size: 0.7rem; padding: 3px 10px; border-radius: 12px; }

.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.84rem;
  font-weight: 500;
}

.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(59,165,92,0.2); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(237,66,69,0.2); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(240,167,50,0.2); }
.alert a { color: inherit; text-decoration: underline; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0.75rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-input:focus,
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder,
.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-input,
textarea.form-control {
  resize: vertical;
  min-height: 60px;
}

select.form-input,
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233e5068' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

select[multiple].form-input,
select[multiple].form-control {
  min-height: 70px;
  background-image: none;
  padding-right: 12px;
}

select.form-input optgroup,
select.form-control optgroup {
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
  font-size: 0.76rem;
}

select.form-input option,
select.form-control option {
  color: var(--text-primary);
  background: var(--bg-primary);
  padding: 4px 6px;
}

.form-hint { font-size: 0.73rem; color: var(--text-muted); }
.form-hint-inline { color: var(--text-muted); font-weight: 400; font-size: 0.76rem; }
.form-control.mono, .form-input.mono { font-family: var(--mono); font-size: 0.8rem; }

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.toggle-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.input-with-prefix { display: flex; align-items: center; }
.input-prefix {
  background: var(--border-light);
  color: var(--text-muted);
  padding: 9px 10px;
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--mono);
  font-size: 0.85rem;
}
.input-with-prefix .form-input { border-radius: 0 var(--radius) var(--radius) 0; }

.settings-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-section { padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { border-bottom: none; }
.form-section-title { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.5rem; }
.form-label { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.form-check label { font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }

.mono { font-family: var(--mono); font-size: 0.8rem; }
.small { font-size: 0.76rem; }
.empty-state { color: var(--text-muted); font-style: italic; padding: 0.75rem 0; font-size: 0.88rem; }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-status-list { display: flex; flex-direction: column; gap: 0.25rem; }
.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
}
.feature-row:last-child { border-bottom: none; }

.quick-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.commands-list { display: flex; flex-direction: column; gap: 0.3rem; }
.command-item { font-size: 0.84rem; padding: 3px 0; color: var(--text-secondary); }
.command-item code {
  background: var(--bg-primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.identity-list, .emoji-list { display: flex; flex-direction: column; gap: 6px; }

.identity-item, .emoji-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.identity-item:hover, .emoji-item:hover { border-color: var(--border-light); }

.identity-info, .emoji-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.emoji-display { font-size: 1.1rem; }

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: border-color var(--transition);
}

.event-card:hover { border-color: var(--border-light); }
.event-card-danger { border-left-color: var(--danger); }
.event-card-warning { border-left-color: var(--warning); }
.event-card-ok { border-left-color: var(--success); }

.event-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 6px;
}

.event-user { display: flex; flex-direction: column; gap: 3px; }
.event-id { color: var(--text-muted); font-size: 0.76rem; }
.event-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.event-label { color: var(--text-muted); font-size: 0.76rem; min-width: 70px; }
.event-body { display: flex; flex-direction: column; gap: 6px; }
.event-detail { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; }
.reason-list { list-style: none; }
.reason-list li::before { content: '- '; color: var(--text-muted); }

.risk-bar-container {
  width: 80px;
  height: 6px;
  background: var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
}

.risk-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.invite-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.invite-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.invite-text h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; }
.invite-text p { color: var(--text-secondary); font-size: 0.88rem; }

.invite-steps {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.invite-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.invite-step-num {
  background: var(--accent-glow);
  color: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.loading-text {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-style: italic;
}

.pagination {
  display: flex;
  gap: 0.35rem;
  margin-top: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.page-link {
  padding: 4px 10px;
  font-size: 0.78rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-link.active { background: var(--accent); color: white; border-color: var(--accent); }

.audit-stats-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
}

.audit-stat-item {
  background: var(--bg-primary);
  padding: 4px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.audit-stat-item strong { color: var(--accent); font-family: var(--mono); }

.audit-filters {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.audit-filter-btn {
  padding: 5px 12px;
  font-size: 0.78rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  text-decoration: none;
}

.audit-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.audit-filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

.audit-entry {
  display: flex;
  gap: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.audit-entry:last-child { border-bottom: none; }

.audit-entry-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border);
}

.audit-entry-content {
  flex: 1;
  min-width: 0;
}

.audit-entry-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2px;
}

.audit-entry-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-left: auto;
  white-space: nowrap;
}

.audit-entry-body {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.audit-target { font-size: 0.76rem; }
.audit-mod { font-size: 0.76rem; color: var(--text-muted); }

.audit-entry-details {
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.audit-entry-details strong { color: var(--text-secondary); }

@media (max-width: 860px) {
  .nav-hamburger { display: block; }
  .nav-user { display: none; }

  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    top: 0;
    padding-top: var(--navbar-height);
    z-index: 180;
  }

  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.show { display: block; z-index: 170; }

  .page-content {
    margin-left: 0;
    padding: 1.25rem;
    max-width: 100%;
  }

  .page-content-full { padding: 1.25rem; }

  .page-header h1 { font-size: 1.2rem; }
  .hero-title { font-size: 2rem; }
  .hero { padding: 2rem 1.25rem; }
  .hero-logo { width: 100px; height: 100px; }
  .hero-banner { max-width: 320px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .stat-card { padding: 0.75rem; }
  .stat-value { font-size: 1.2rem; }

  .form-row { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .invite-content { flex-direction: column; text-align: center; }
  .invite-steps { flex-direction: column; gap: 0.5rem; }

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

  .data-table { font-size: 0.76rem; }
  .data-table th, .data-table td { padding: 6px 8px; }

  .audit-stats-row { flex-wrap: wrap; }
  .audit-filters { gap: 0.35rem; }
  .audit-filter-btn { padding: 4px 10px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.7rem; }
  .hero-logo { width: 80px; height: 80px; }
  .hero-banner { max-width: 260px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 0.5rem; }
  .stat-value { font-size: 1rem; }
  .btn { padding: 7px 12px; font-size: 0.8rem; }
  .page-content, .page-content-full { padding: 1rem; }
  .card { padding: 1rem; }
  .sidebar-header { padding: 0.75rem; }
}

.landing-page {
  max-width: 100%;
  overflow-x: hidden;
  padding-top: var(--navbar-height);
}

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-particles canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,255,0.08);
  border: 1px solid rgba(0,180,255,0.2);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease;
}
.hero-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57F287;
  box-shadow: 0 0 8px rgba(87,242,135,0.6);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(87,242,135,0.6); }
  50% { box-shadow: 0 0 16px rgba(87,242,135,0.9); }
}
.hero-badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #fff;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-gradient {
  background: linear-gradient(135deg, #00b4ff 0%, #00e5ff 50%, #00b4ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn-hero-primary {
  background: linear-gradient(135deg, #00b4ff 0%, #0090cc 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,180,255,0.35), 0 0 40px rgba(0,180,255,0.1);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0,180,255,0.5), 0 0 60px rgba(0,180,255,0.15);
  color: #fff;
}
.btn-hero-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255,255,255,0.15);
}
.btn-hero-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,180,255,0.15);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1s both;
  z-index: 1;
}
.hero-scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stats-banner {
  background: linear-gradient(180deg, rgba(0,180,255,0.06) 0%, transparent 100%);
  border-top: 1px solid rgba(0,180,255,0.1);
  border-bottom: 1px solid rgba(0,180,255,0.1);
  padding: 2.5rem 2rem;
}
.stats-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,180,255,0.3);
}
.stat-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-weight: 600;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,180,255,0.15);
}

.landing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  background: rgba(0,180,255,0.08);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(0,180,255,0.15);
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.text-accent {
  color: var(--accent);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.showcase-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.showcase-card:hover {
  border-color: rgba(0,180,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px rgba(0,180,255,0.06);
}
.showcase-card:hover::after { opacity: 1; }
.showcase-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,180,255,0.04) 100%);
}
.showcase-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.showcase-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
}
.showcase-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.showcase-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.showcase-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.showcase-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(0,180,255,0.5);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-row-reverse {
  direction: rtl;
}
.feature-row-reverse > * {
  direction: ltr;
}
.feature-row-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.feature-row-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.feature-row-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.feature-row-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-embed {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
  display: flex;
}
.mock-embed-bar {
  width: 4px;
  background: var(--accent);
  flex-shrink: 0;
}
.mock-embed-content {
  padding: 1rem 1.25rem;
}
.mock-embed-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #fff;
}
.mock-embed-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}
.mock-embed-btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 6px 16px;
  background: var(--accent);
  color: #000;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.mock-terminal {
  background: #0a0e16;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  width: 100%;
  max-width: 420px;
  font-family: var(--mono);
  font-size: 0.78rem;
}
.mock-terminal-line {
  padding: 3px 0;
  color: var(--text-secondary);
  line-height: 1.7;
}
.t-cyan { color: var(--accent); }
.t-red { color: var(--danger); }
.t-green { color: var(--success); }

.dashboard-preview {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,180,255,0.05);
}
.dash-preview-bar {
  background: #0e1520;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dot-r { background: #ED4245; }
.dash-dot-y { background: #FEE75C; }
.dash-dot-g { background: #57F287; }
.dash-preview-url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--mono);
}
.dash-preview-grid {
  background: var(--bg-primary);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.5rem;
}
.dash-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.dash-preview-card span {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.dash-preview-card.active {
  border-color: var(--accent);
  background: rgba(0,180,255,0.06);
  color: var(--accent);
}

.cta-section {
  text-align: center;
  position: relative;
  padding: 5rem 2rem;
}
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,180,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}
.cta-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

.features-hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.features-full-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}
.features-category {
  margin-bottom: 4rem;
}
.features-cat-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.features-cat-icon {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,180,255,0.08);
  border: 1px solid rgba(0,180,255,0.15);
  border-radius: 14px;
  flex-shrink: 0;
}
.features-cat-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.features-cat-header p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.feature-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s ease;
}
.feature-detail-card:hover {
  border-color: rgba(0,180,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.feature-detail-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-detail-card p {
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.7;
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comparison-table th,
.comparison-table td {
  padding: 12px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--bg-card);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.5px;
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.comparison-table td {
  color: var(--text-secondary);
}
.comp-highlight {
  background: rgba(0,180,255,0.06) !important;
  color: var(--accent) !important;
  font-weight: 700 !important;
}
.comparison-table tbody tr:hover {
  background: rgba(0,180,255,0.03);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-large { grid-column: span 1; grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row-reverse { direction: ltr; }
  .hero-headline { font-size: 2.4rem; }
  .section-title { font-size: 1.8rem; }
  .dash-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-banner-inner { gap: 1.5rem; }
  .stat-number { font-size: 1.6rem; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 1.8rem; }
  .hero-tagline { font-size: 1rem; }
  .btn-hero { padding: 12px 24px; font-size: 0.9rem; }
  .features-detail-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 1.6rem; }
}
