:root {
  --bg:        #0a0a0c;
  --bg-2:      #101014;
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --surface-3: rgba(255,255,255,0.09);
  --border:    rgba(255,255,255,0.09);
  --border-2:  rgba(255,255,255,0.15);
  --text:      #f4f4f6;
  --text-2:    #a6a6ae;
  --muted:     #6e6e78;
  --coral:     #f0616b;
  --coral-2:   #ff8a63;
  --coral-weak:rgba(240,97,107,0.14);
  --emerald:   #34d399;
  --emerald-weak: rgba(52,211,153,0.14);
  --success:   #34d399;
  --danger:    #f0616b;
  --radius:    16px;
  --radius-sm: 10px;
  --radius-pill:999px;
  --ring:      0 0 0 3px rgba(240,97,107,0.28);
  --shadow:    0 8px 40px rgba(0,0,0,0.45);
  --glow:      0 8px 30px rgba(240,97,107,0.35);
  --maxw:      1200px;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

body {
  margin: 0; padding: 0;
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(240,97,107,0.10), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(120,120,255,0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
.muted { color: var(--muted); }
.inline { display: inline; margin: 0; }
.text-center { text-align: center; }
.text-emerald { color: var(--emerald) !important; }
.text-coral { color: var(--coral) !important; }

/* Typography */
h1 { font-size: 32px; font-weight: 700; margin: 0 0 16px; letter-spacing: -.02em; }
h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
h3 { font-size: 19px; font-weight: 650; margin: 0 0 8px; }
h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }

.eyebrow {
  text-transform: uppercase; font-size: 11px; letter-spacing: .12em;
  color: var(--coral); margin-bottom: 6px; display: block; font-weight: 700;
}

/* Nav */
.nav {
  position: sticky; top: 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10,10,12,.75); border-bottom: 1px solid var(--border);
  z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; max-width: var(--maxw); margin: 0 auto; width: 100%;
}
.logo { font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 4px; }
.logo::after { content: '●'; font-size: 11px; color: var(--coral); }
.nav-center { display: flex; gap: 24px; align-items: center; }
.nav-center a { color: var(--text-2); transition: color .15s ease; font-weight: 500; font-size: 14px; }
.nav-center a:hover { color: #fff; }
.nav-right { display: flex; gap: 14px; align-items: center; }
.nav-right a { color: var(--text-2); transition: color .15s ease; font-weight: 500; font-size: 14px; }
.nav-right a:hover { color: #fff; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-2));
  color: #fff !important; font-weight: 600; padding: 11px 22px;
  border-radius: var(--radius-pill); border: none;
  box-shadow: var(--glow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none; font-size: 14px; font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); color: #fff; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; border: none; color: var(--text-2);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: color .15s ease; font-size: 15px; font-weight: 500; text-decoration: none;
  padding: 12px 16px;
}
.btn-ghost:hover { color: #fff; }
.btn-ghost .chevron { transition: transform .15s ease; margin-left: 4px; }
.btn-ghost:hover .chevron { transform: translateX(3px); }

.pill {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); padding: 8px 16px; border-radius: var(--radius-pill);
  cursor: pointer; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
  transition: all .15s ease; font-family: inherit;
}
.pill:hover { border-color: var(--border-2); background: var(--surface-2); color: var(--text); }
.pill.danger { color: var(--danger); border-color: rgba(240,97,107,.35); }
.pill.danger:hover { background: var(--coral-weak); border-color: var(--coral); color: #fff; }

/* Hero */
.hero { text-align: center; padding: 100px 20px 64px; position: relative; max-width: 900px; margin: 0 auto; }
.hero::before {
  content: ''; position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%);
  width: 400px; height: 400px; background: radial-gradient(circle, rgba(240,97,107,0.12) 0%, transparent 70%);
  z-index: -1; pointer-events: none; filter: blur(40px);
}
.hero-title {
  font-size: clamp(48px, 8vw, 96px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em;
  margin: 0 0 20px; background: linear-gradient(180deg, #ffffff 0%, #8a8a92 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 30px rgba(255,255,255,.06));
}
.hero-sub { font-size: 19px; color: var(--text-2); max-width: 640px; margin: 0 auto 32px; line-height: 1.5; }
.hero-actions { display: flex; gap: 14px; justify-content: center; align-items: center; }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  padding: 6px 16px; border-radius: var(--radius-pill); font-size: 13px;
  color: var(--text-2); margin-bottom: 20px;
}

.ver-badge {
  margin: 32px auto 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral-weak); border: 1px solid rgba(240,97,107,.35); color: var(--text-2);
  padding: 6px 16px; border-radius: var(--radius-pill); font-size: 13px;
}
.ver-badge .dot { color: var(--coral); font-size: 10px; line-height: 1; }
.ver-badge b { color: var(--coral); font-weight: 600; }
.ver-badge .ver { color: var(--muted); }

/* Trust Grid (Hero) */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; max-width: 860px; margin: 56px auto 0;
}
.trust-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; text-align: left;
}
.trust-val { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.trust-desc { font-size: 12px; color: var(--text-2); line-height: 1.35; }

/* Common Section Styles */
.section-head { margin-bottom: 32px; }
.section-head.text-center { text-align: center; }
.section-sub { color: var(--text-2); font-size: 15px; margin: 0 auto; max-width: 580px; }
.products-section, .features-section, .steps-section, .launcher-section, .faq-section, .details-section, .specs-section, .product-media-section {
  max-width: 1100px; margin: 0 auto; padding: 60px 24px;
}

/* Products Catalog */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-4px); border-color: var(--border-2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.card-cover-box {
  width: 100%; height: 180px; background: #070709; border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative;
}
.card-cover-box img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease;
}
.product-card:hover .card-cover-box img { transform: scale(1.04); }
.card-cover-placeholder {
  width: 100%; height: 140px; background: linear-gradient(135deg, rgba(240,97,107,0.12), rgba(20,20,30,0.6));
  border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
}
.ph-icon { font-size: 36px; color: var(--coral); }
.product-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.badge-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--coral); letter-spacing: .06em; }
.ver-tag { font-size: 12px; color: var(--muted); font-weight: 500; }
.product-card-title { color: #fff; margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.product-card-title .arrow { transition: transform .15s ease; display: inline-block; color: var(--coral); font-size: 14px; }
.product-card:hover .product-card-title .arrow { transform: translateX(4px); }
.product-card-tagline { color: var(--text-2); font-size: 13.5px; line-height: 1.45; margin: 0 0 18px; flex: 1; }
.product-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.more-link { font-size: 13px; font-weight: 600; color: var(--text-2); }
.product-card:hover .more-link { color: #fff; }

/* Bento Grid */
.bento-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.bento-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.bento-wide { grid-column: span 2; }
.bento-icon { font-size: 28px; margin-bottom: 6px; }
.bento-card h3 { color: #fff; margin: 0; font-size: 18px; }
.bento-card p { color: var(--text-2); margin: 0; font-size: 14px; line-height: 1.55; }

/* Steps Grid */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.step-badge {
  font-size: 20px; font-weight: 800; color: var(--coral);
  background: var(--coral-weak); border: 1px solid rgba(240,97,107,0.3);
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.step-card h4 { margin: 0; color: #fff; font-size: 17px; }
.step-card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* Launcher Showcase Box */
.launcher-box {
  background: linear-gradient(135deg, rgba(240,97,107,0.08) 0%, rgba(20,20,28,0.7) 100%);
  border: 1px solid rgba(240,97,107,0.25); border-radius: var(--radius);
  padding: 48px 40px; position: relative; overflow: hidden;
}
.launcher-content { max-width: 640px; }
.launcher-content h2 { font-size: 28px; margin: 0 0 12px; }
.launcher-content p { color: var(--text-2); font-size: 15px; margin: 0 0 20px; }
.launcher-features-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 8px; }
.launcher-features-list li { color: #fff; font-size: 14px; font-weight: 500; }
.launcher-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.faq-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.faq-card h4 { margin: 0; color: #fff; font-size: 16px; }
.faq-card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }

/* Product Details Page Styles */
.product-media-section { padding-top: 0; }
.product-media-frame {
  background: #000; border: 1px solid var(--border-2); border-radius: var(--radius);
  overflow: hidden; max-height: 480px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.product-showcase-img { width: 100%; height: auto; max-height: 480px; object-fit: contain; }

.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.spec-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; display: flex; flex-direction: column; gap: 4px;
}
.spec-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.spec-val { font-size: 16px; font-weight: 700; color: #fff; }

.desc-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-bottom: 32px;
}
.desc-text {
  white-space: pre-wrap; font-family: inherit; margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.65;
}

.launch-guide-box { margin-bottom: 36px; }

.product-bottom-cta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.cta-text h3 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.cta-text p { margin: 0; font-size: 14px; }
.cta-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); margin-top: 80px; padding: 40px 24px;
  background: rgba(10,10,12,0.8);
}
.footer-inner {
  max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-desc { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.footer-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.status-indicator { font-size: 13px; font-weight: 600; color: var(--emerald); display: flex; align-items: center; gap: 6px; }
.footer-copy { color: var(--muted); font-size: 12px; }
/* Forms & Auth */
.auth { max-width: 420px; margin: 60px auto; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.form { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; text-align: left; }
.form-label { font-size: 11px; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .08em; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px; color: var(--text);
  font-size: 14px; width: 100%; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--coral); box-shadow: var(--ring); outline: none; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); }
.form textarea { min-height: 100px; resize: vertical; }
.chk { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; cursor: pointer; }
.chk input[type="checkbox"] { width: auto; margin: 0; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid2 .span2 { grid-column: 1 / -1; }
.err { color: var(--danger); font-size: 14px; background: var(--coral-weak); padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(240,97,107,.3); text-align: left; }

/* --------------------------------------------------------------------------
   DASHBOARD & USER CABINET / ADMIN (SaaS Layout)
   -------------------------------------------------------------------------- */
.dashboard-wrap { max-width: var(--maxw); margin: 0 auto; padding: 40px 32px 80px; }

.dash-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 32px;
  flex-wrap: wrap; gap: 20px;
}
.dash-user-info { display: flex; align-items: center; gap: 18px; }
.user-avatar-badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(240,97,107,0.25), rgba(255,138,99,0.15));
  border: 1px solid rgba(240,97,107,0.4); color: var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; text-transform: uppercase;
}
.user-email-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash-title { font-size: 24px; font-weight: 700; margin: 0; color: #fff; }
.dash-sub { margin: 4px 0 0; font-size: 14px; }
.dash-header-actions { display: flex; gap: 12px; align-items: center; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 6px;
}
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.stat-value { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; }

/* Dash Sections */
.dash-section { margin-bottom: 48px; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.section-title-row h2 { margin: 0; }

/* Subscription Cards (Cabinet) */
.sub-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 24px; }
.sub-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.sub-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sub-product-title { display: flex; align-items: center; gap: 12px; }
.sub-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--coral-weak); color: var(--coral);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.sub-product-title h3 { margin: 0; color: #fff; font-size: 18px; }
.sub-slug { font-size: 13px; }

/* Device Panel in Sub Card */
.device-panel {
  background: rgba(0,0,0,0.3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
}
.device-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.device-label { font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.device-count { font-size: 12px; font-weight: 600; color: var(--text-2); }

.device-empty { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 8px 0; }
.dot-dim { color: var(--muted); font-size: 14px; }
.dot-green { color: var(--emerald); font-size: 12px; }

.device-list { display: flex; flex-direction: column; gap: 8px; }
.device-row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; padding: 10px 12px; flex-wrap: wrap; gap: 8px;
}
.device-hwid-box { display: flex; align-items: center; gap: 8px; font-family: monospace; font-size: 13px; }
.hwid-code { color: #fff; word-break: break-all; }
.hwid-tag { color: var(--muted); font-weight: 600; }
.device-meta { font-size: 12px; }

.device-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; }
.hint-text { font-size: 12px; }

/* Guide Section */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 16px; }
.guide-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--coral-weak); border: 1px solid rgba(240,97,107,0.4); color: var(--coral);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.guide-step h4 { margin: 0; color: #fff; }
.guide-step p { margin: 0; font-size: 13px; }
.guide-step code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; font-size: 12px; color: var(--coral-2); }

/* Empty Card */
.empty-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-icon { font-size: 42px; line-height: 1; }
.empty-card h3 { margin: 0; color: #fff; }
.empty-card p { margin: 0 0 12px; max-width: 480px; }

/* Admin Panels & Cards */
.admin-panel-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-bottom: 24px;
}
.admin-products-list { display: flex; flex-direction: column; gap: 20px; }
.admin-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.admin-card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px;
  flex-wrap: wrap; gap: 12px;
}
.admin-card-title-group { display: flex; align-items: center; gap: 12px; }
.admin-card-title-group h3 { margin: 0 0 2px; color: #fff; }
.admin-card-actions { display: flex; gap: 8px; align-items: center; }
.sub-heading { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 700; }

.upload-build-box {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border);
}
.inline-upload { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-upload input[type="file"] { flex: 1; min-width: 220px; }
.inline-upload button { width: auto; }

/* Tables */
.table-container { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.tbl { width: 100%; border-collapse: collapse; text-align: left; }
.tbl th { text-transform: uppercase; font-size: 11px; color: var(--muted); font-weight: 700; padding: 14px 18px; border-bottom: 1px solid var(--border); letter-spacing: .08em; background: rgba(0,0,0,0.2); }
.tbl td { padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 14px; transition: background .15s ease; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: rgba(255,255,255,.02); }
.table-actions-row { display: flex; gap: 8px; align-items: center; }
.sub-pill { background: rgba(255,255,255,0.06); padding: 4px 10px; border-radius: 6px; font-weight: 600; font-size: 13px; color: #fff; }

/* Chips */
.chip { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 12px; font-weight: 600; color: var(--text-2); align-items: center; justify-content: center; }
.chip.success { color: var(--emerald); border-color: rgba(52,211,153,.35); background: var(--emerald-weak); }
.chip.danger { color: var(--danger); border-color: rgba(240,97,107,.35); background: var(--coral-weak); }

/* Accessibility & Responsive */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 18px; }
  .nav-center { display: none; }
  .hero-title { font-size: 40px; }
  .grid, .sub-cards-grid, .grid2 { grid-template-columns: 1fr; }
  .grid2 .span2 { grid-column: auto; }
  .dashboard-wrap { padding: 24px 16px 60px; }
  .dash-header { flex-direction: column; align-items: flex-start; }
}
