﻿@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #0B1220;
  --surface: #111827;
  --surface-soft: #1A2435;
  --surface-muted: #162034;
  --surface-strong: #0F1828;
  --divider: rgba(255,255,255,0.08);
  --text: #F3F4F6;
  --text-secondary: #94A3B8;
  --text-muted: #9CA3AF;
  --primary: #2B7574;
  --primary-soft: rgba(43,117,116,0.16);
  --primary-strong: #12484C;
  --danger: #861211;
  --shadow: 0 18px 40px rgba(0,0,0,0.22);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --appbar-height: clamp(60px, 8.5vw, 68px);
  --font-heading: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

body.light-mode {
  color-scheme: light;
  --bg: #F8F5EE;
  --surface: #FFFFFF;
  --surface-soft: #F2ECE1;
  --surface-muted: #E7E0D6;
  --surface-strong: #E2D7C9;
  --divider: rgba(0,0,0,0.08);
  --text: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --shadow: 0 18px 40px rgba(0,0,0,0.1);
  --card-border: rgba(17,24,39,0.12);
  --list-border: rgba(17,24,39,0.14);
}

body.light-mode .feature-card,
body.light-mode .app-card,
body.light-mode .rating-block,
body.light-mode .build-block,
body.light-mode .review-block,
body.light-mode .status-banner,
body.light-mode .dash-card,
body.light-mode .list-card,
body.light-mode .log-item,
body.light-mode .testimonial {
  border-color: var(--card-border);
}

body.light-mode .list-card .list-head {
  border-bottom-color: var(--list-border);
  text-align: center;
}

body.light-mode .list-row {
  border-bottom-color: var(--list-border);
}

body.light-mode .list-row .lbl,
body.light-mode .list-row .val {
  width: auto;
}

body.light-mode .timeline::before {
  background: rgba(17,24,39,0.16);
}

body.light-mode .log-item::before {
  background: rgba(17,24,39,0.08);
  border-color: rgba(17,24,39,0.16);
}

body.light-mode .log-item.latest::before {
  background: var(--primary);
  border-color: var(--primary);
  animation: logPulse 1.4s ease-in-out infinite;
}

@keyframes logPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(43,117,116,0.24);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 7px rgba(43,117,116,0.12);
  }
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 700;
}

p,
span,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button,
input,
textarea,
select {
  outline: none;
}

/* App shell */
.appbar {
  z-index: 70;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: var(--appbar-height);
  padding: calc(var(--safe-top) + 12px) 20px 12px;
  background: rgba(17,24,39,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.appbar .title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.theme-switch {
  margin-left: auto;
  min-width: 48px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-switch:hover {
  background: rgba(255,255,255,0.12);
}

body.light-mode .theme-switch {
  background: #F4E8D9;
  border-color: rgba(17,24,39,0.12);
  color: #111827;
}

body.light-mode .theme-switch:hover {
  background: #F8EEDE;
}

.theme-icon {
  display: block;
}

body.light-mode .brand-image,
body.light-mode .hero-brand {
  filter: invert(1) brightness(1.2) contrast(0.9);
}

body.light-mode .menu-btn {
  background: #F4E8D9;
  border-color: rgba(17,24,39,0.12);
  color: #111827;
}

body.light-mode .menu-btn:hover {
  background: #F8EEDE;
}

body.light-mode .app-actions .btn.small.ghost {
  color: #111827;
  background: transparent;
  border-color: rgba(43, 117, 116, 0.28);
}

body.light-mode .hero .cta .btn.ghost {
  color: #111827;
  background: transparent;
  border: 1px solid rgba(43, 117, 116, 0.28);
  box-shadow: none;
}

.brand-dot {
  display: none;
}

.brand-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: inline-block;
  margin-right: 8px;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(17,24,39,0.86);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  position: relative;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.menu-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
}

.menu-btn span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-btn span:nth-child(1) {
  top: 12px;
}

.menu-btn span:nth-child(2) {
  top: 21px;
}

.menu-btn span:nth-child(3) {
  top: 30px;
}

.menu-btn.open span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Navigation drawer */
.top-menu {
  position: fixed;
  top: calc(var(--appbar-height) + var(--safe-top));
  left: 0;
  right: 0;
  z-index: 65;
  max-height: min(calc(100vh - var(--appbar-height) - var(--safe-top) - 24px), 520px);
  width: 100%;
  overflow: auto;
  padding: 26px 20px 20px;
  background: rgba(17,24,39,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}

body.light-mode .appbar {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.08);
  color: var(--text);
}

body.light-mode .top-menu {
  background: rgba(255,255,255,0.98);
  border-color: rgba(0,0,0,0.08);
}

body.light-mode .top-menu nav a,
body.light-mode .top-menu .foot,
body.light-mode .drawer-head .logo,
body.light-mode .drawer-head .sub,
body.light-mode .appbar .title {
  color: var(--text);
}

body.light-mode .top-menu .foot {
  border-top-color: rgba(17,24,39,0.12);
}

body.light-mode .top-menu nav a:hover {
  background: rgba(17,24,39,0.05);
}

body.light-mode .theme-switch:hover {
  background: rgba(17,24,39,0.12);
}

.top-menu {
  position: fixed;
  top: calc(var(--appbar-height) + var(--safe-top));
  left: 0;
  right: 0;
  z-index: 65;
  max-height: min(calc(100vh - var(--appbar-height) - var(--safe-top) - 24px), 520px);
  width: 100%;
  overflow: auto;
  padding: 26px 20px 20px;
  background: rgba(17,24,39,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 50px rgba(0,0,0,0.22);
  transform: translate3d(0, -10px, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  transition: opacity 180ms ease, transform 180ms ease;
  border-radius: 0 0 20px 20px;
}

.top-menu.open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.drawer-head .logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.drawer-head .sub {
  font-size: 13px;
  color: var(--text-secondary);
}

.top-menu nav {
  display: grid;
  gap: 10px;
}

.top-menu nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text-secondary);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  position: relative;
}

.top-menu nav a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.top-menu nav a.active {
  background: rgba(43,117,116,0.16);
  color: var(--primary);
}

.top-menu nav a::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 4px;
  height: 0;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(-50%);
  transition: height 180ms ease;
}

.top-menu nav a.active::before,
.top-menu nav a:hover::before {
  height: 50%;
}

.top-menu nav a .ic {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: currentColor;
  font-size: 16px;
}

.top-menu .foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Content */
main {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: calc(var(--appbar-height) + 28px) 20px 40px;
  animation: fadeIn 260ms ease-out;
  outline: none;
}

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

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  box-shadow: 0 18px 40px rgba(12,22,35,0.22);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(12,22,35,0.28);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.btn.ghost:hover {
  background: rgba(255,255,255,0.08);
}

.btn.block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Hero */
.hero {
  position: relative;
  padding: 24px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43,117,116,0.16);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(43,117,116,0.22);
  animation: chipSoftPulse 2.2s ease-in-out infinite;
  margin-bottom: 12px;
}

@keyframes chipSoftPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(43,117,116,0.10);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(43,117,116,0.06);
  }
}

.support-card {
  max-width: 520px;
  margin: 22px auto 0;
  padding: 24px 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.support-card img {
  width: 120px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  border-radius: 16px;
}

.support-card .support-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.support-card .support-copy {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

body.light-mode .support-card {
  background: #F7EFE3;
  border-color: rgba(43,117,116,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.96;
  max-width: 10ch;
  margin: 10px 0 16px;
  text-align: center;
}

.hero .hero-brand {
  display: block;
  width: 260px;
  height: 260px;
  object-fit: contain;
  margin: 12px auto 10px;
  animation: levitate 6s ease-in-out infinite;
}

@keyframes levitate {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero p.sub {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 auto 28px;
  text-align: center;
}

.hero .cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Feature cards */
.features {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.feature-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43,117,116,0.18);
}

.feature-card .ficon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: transparent;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  overflow: visible;
}

.feature-card .ficon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: levitate 6s ease-in-out infinite;
  transition: filter 180ms ease;
}

body:not(.light-mode) .feature-card .ficon img {
  filter: invert(1) brightness(1.1);
}

.feature-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

/* Section headings */
.section-head {
  margin: 36px 0 18px;
}

.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.section-head .kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: rgba(43,117,116,0.55);
}

.section-head h2 {
  margin-top: 12px;
  font-size: 2rem;
}

.section-head .desc {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  max-width: 720px;
}

/* App list */
.app-list {
  display: grid;
  gap: 16px;
}

.app-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform 180ms ease, border-color 180ms ease;
  justify-items: center;
  text-align: center;
}

.app-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43,117,116,0.18);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--primary);
  background: rgba(43,117,116,0.1);
  margin: 0 auto;
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-card h3 {
  margin: 0;
  font-size: 1rem;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 2px;
}

.app-meta .dot-sep::before {
  content: '·';
  margin: 0 6px;
  color: rgba(255,255,255,0.35);
}

.app-card p {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.app-actions {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.app-actions.single-button {
  grid-template-columns: 1fr;
}

.app-actions .btn {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.app-actions .btn.small {
  padding: 10px 12px;
  font-size: 12px;
}

.app-actions .btn.small.ghost {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.download-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  margin: 20px 0 28px;
  border-radius: 18px;
  background: rgba(43,117,116,0.12);
  border: 1px solid rgba(43,117,116,0.22);
}

.download-note p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.download-note strong {
  color: var(--text);
}

.blink-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FACC15;
  box-shadow: 0 0 0 0 rgba(250,204,21,0.5);
  animation: blinkPulse 1.2s ease-in-out infinite;
  margin-top: 4px;
}

@keyframes blinkPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(250,204,21,0.2);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(250,204,21,0.12);
  }
}

/* Rating block */
.rating-block,
.build-block,
.review-block,
.status-banner,
.dash-card,
.list-card,
.log-item,
.testimonial {
  background: var(--surface-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.10);
}

.rating-block,
.status-banner {
  padding: 24px;
}

.rating-block {
  text-align: center;
}

.rating-block .num {
  margin-top: 12px;
  font-size: 2.5rem;
  font-weight: 700;
}

.rating-block .count {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.section-divider {
  margin: 36px 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.build-block,
.review-block {
  padding: 22px;
  margin-top: 18px;
}

.build-block {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.omega-actions {
  margin-top: 16px;
  width: 100%;
  max-width: 280px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.omega-actions .btn {
  width: 100%;
  margin-top: 0;
}

.build-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 14px;
  background: rgba(43,117,116,0.12);
  display: grid;
  place-items: center;
}

.build-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rating-block {
  margin-top: 24px;
}

.build-block h3,
.review-block h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.build-block p,
.review-block p {
  margin: 0;
  color: var(--text-secondary);
}

.build-block .btn {
  margin-top: 18px;
  width: 100%;
}

.stars {
  display: inline-flex;
  gap: 4px;
  color: #FACC15;
  font-size: 18px;
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.testimonial {
  padding: 22px;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(43,117,116,0.16);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.testimonial .name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial .role {
  color: var(--text-secondary);
  font-size: 13px;
}

.testimonial q {
  display: block;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.9;
}

/* Status and dashboard */
.status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-banner .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6), 0 0 0 0 rgba(43,117,116,0.45);
  animation: statusPulse 1.4s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.6), 0 0 0 0 rgba(43,117,116,0.45);
    transform: scale(1);
  }
  50% {
    background: var(--primary);
    box-shadow: 0 0 0 6px rgba(255,255,255,0.12), 0 0 0 10px rgba(43,117,116,0.18);
    transform: scale(1.08);
  }
}

.status-banner .txt .l1 {
  font-size: 14px;
  font-weight: 600;
}

.status-banner .txt .l2 {
  color: var(--text-secondary);
  font-size: 13px;
}

.dash-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.dash-card {
  padding: 22px;
}

.dash-card .k {
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dash-card .v {
  margin-top: 12px;
  font-size: 2rem;
  font-weight: 700;
}

.dash-card .v.small {
  font-size: 1.2rem;
}

.dash-card .bar {
  margin-top: 16px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.dash-card .bar > span {
  display: block;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  border-radius: 999px;
}

.list-card {
  margin-top: 18px;
  overflow: hidden;
}

.list-card .list-head {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.list-row:last-child {
  border-bottom: none;
}

.list-row .lbl {
  color: var(--text);
}

.list-row .val {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
}

.list-row .val .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.action-row {
  margin-top: 24px;
}

.timeline {
  position: relative;
  padding-left: 22px;
  margin-top: 18px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}

.log-item {
  position: relative;
  padding: 22px;
  margin-bottom: 18px;
}

.log-item::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.14);
}

.log-item.latest {
  border-color: rgba(43,117,116,0.2);
}

.log-item.latest::before {
  background: var(--primary);
  border-color: var(--primary);
  animation: logPulse 1.4s ease-in-out infinite;
}

.log-item .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.log-item .ver {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.log-item.latest .ver {
  color: var(--primary);
}

.log-item .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(43,117,116,0.12);
  font-size: 11px;
  font-weight: 700;
}

.log-item h3 {
  margin: 6px 0 14px;
  font-size: 1rem;
}

.log-item ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.log-item .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.tag.new {
  color: var(--primary);
  background: rgba(43,117,116,0.14);
}

.tag.high {
  color: #EAB308;
  background: rgba(234,179,8,0.12);
}

.tag.med {
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

.tag.old {
  color: var(--text-secondary);
  background: rgba(148,163,184,0.12);
}

/* Footer */
footer.site {
  margin-top: 42px;
  padding: 28px 20px 34px;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
  background: rgba(17,24,39,0.85);
  border-top: 1px solid rgba(255,255,255,0.06);
}

body.light-mode footer.site {
  background: #06090f;
  color: #F8E8D0;
  font-weight: 700;
  border-top-color: rgba(255,255,255,0.12);
}

/* Responsive */
@media (min-width: 480px) {
  .hero .cta {
    flex-direction: row;
  }

  .hero .cta .btn {
    flex: none;
  }

  .top-menu {
    left: 50%;
    right: auto;
    width: min(520px, calc(100vw - 32px));
    transform: translate(-50%, -10px);
    border-radius: 0 0 20px 20px;
  }

  .top-menu.open {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 720px) {
  .app-card {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 56px;
    height: 56px;
  }

  .app-actions {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .dash-grid,
  .features,
  .app-list,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .appbar {
    padding-inline: 14px;
  }

  .drawer-head,
  .top-menu {
    padding-inline: 16px;
  }
}

@media (min-width: 720px) {
  main {
    padding: calc(var(--appbar-height) + 28px) 24px 60px;
  }

  .features,
  .app-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

/* Minimal decorative layer */
.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
}

.scene-grid,
.orb,
.scanline,
.noise {
  display: none;
}
