:root {
  --bg: #0a0a0b;
  --bg-alt: #111114;
  --surface: #18181c;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e4e4e8;
  --muted: #7a7a86;
  --accent: #d4a017; /* Gold */
  --accent-hot: #c93a2b; /* Red */
  --accent-soft: rgba(212, 160, 23, 0.1);
  --radius: 6px;
  --font: "Barlow", system-ui, sans-serif;
  --font-display: "Oswald", system-ui, sans-serif;
  --transition: 0.2s ease;
  --radius-lg: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  transition: background 0.3s, color 0.3s;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.street-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 700px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(212, 160, 23, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 30%, rgba(201, 58, 43, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container,
.wrap {
  width: min(1040px, 90vw);
  margin: 0 auto;
}

main {
  position: relative;
  z-index: 2;
}

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

a:hover {
  color: #f0c040;
}

/* Glassmorphism utility */
.glass {
  background: rgba(24, 24, 28, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.glass:hover {
  border-color: rgba(212, 160, 23, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  background: var(--accent);
  color: #0a0a0b;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-theme {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-theme:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-theme svg { width: 1rem; height: 1rem; }
.btn-theme .sun-icon { display: none; }
.btn-theme .moon-icon { display: block; }
.light-theme .btn-theme .sun-icon { display: block; }
.light-theme .btn-theme .moon-icon { display: none; }

.music-player {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sound-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 18px;
  height: 14px;
}

.wave-bar {
  display: block;
  width: 2px;
  height: 3px;
  background: var(--muted);
  border-radius: 1px;
}

.sound-wave.playing .wave-bar {
  background: var(--accent);
  animation: bounce 1s ease-in-out infinite alternate;
}

.sound-wave.playing .wave-bar:nth-child(1) { animation-delay: 0.1s; }
.sound-wave.playing .wave-bar:nth-child(2) { animation-delay: 0.3s; animation-duration: 0.8s; }
.sound-wave.playing .wave-bar:nth-child(3) { animation-delay: 0.5s; animation-duration: 1.2s; }
.sound-wave.playing .wave-bar:nth-child(4) { animation-delay: 0.2s; animation-duration: 0.9s; }

@keyframes bounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  font-family: var(--font-display);
}

.btn:hover { text-decoration: none; }

.btn-solid {
  background: var(--accent);
  color: #0a0a0b;
}

.btn-solid:hover {
  background: #f0c040;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-wide { width: 100%; }

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

.hero-desc {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.hero-build {
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--text);
}

.hero-panel {
  background: linear-gradient(145deg, rgba(24, 24, 28, 0.95) 0%, rgba(14, 14, 17, 0.98) 100%);
  border: 1px solid rgba(212, 160, 23, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 80px rgba(212, 160, 23, 0.06);
}

.hero-panel-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.85rem;
}

.panel-head-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5cd675;
  box-shadow: 0 0 8px rgba(92, 214, 117, 0.6);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

.panel-head-hint {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  font-size: 0.72rem;
}

/* Interactive AKMenu preview */
.akmenu-viewport {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 23, 0.2);
  background: #060608;
  min-height: 380px;
  outline: none;
  cursor: default;
  isolation: isolate;
}

.akmenu-viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--accent), 0 0 30px rgba(212, 160, 23, 0.15);
}

.akmenu-game-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 80%, rgba(212, 160, 23, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(80, 120, 180, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.65) 100%),
    linear-gradient(160deg, #1e2a3a 0%, #0c1018 35%, #18120e 70%, #0a0806 100%);
  pointer-events: none;
}

.akmenu-city-lights {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 75%, rgba(255, 200, 80, 0.15) 0%, transparent 8%),
    radial-gradient(circle at 35% 60%, rgba(255, 120, 60, 0.1) 0%, transparent 6%),
    radial-gradient(circle at 55% 70%, rgba(255, 220, 100, 0.12) 0%, transparent 7%),
    radial-gradient(circle at 75% 55%, rgba(100, 160, 255, 0.08) 0%, transparent 10%),
    radial-gradient(circle at 90% 80%, rgba(255, 180, 50, 0.1) 0%, transparent 6%);
  filter: blur(1px);
  opacity: 0.85;
}

.akmenu-game-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
}

.akmenu-hud {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
}

.akmenu-hud-right {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: ui-monospace, monospace;
  font-size: 0.58rem;
  color: rgba(92, 214, 117, 0.55);
  letter-spacing: 0.04em;
}

.akmenu-sim {
  position: absolute;
  top: 16px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: min(268px, 58%);
  background: rgba(6, 6, 8, 0.92);
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 6px;
  backdrop-filter: blur(14px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(212, 160, 23, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.akmenu-titlebar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(212, 160, 23, 0.1);
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0.03) 100%);
}

.akmenu-brand-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.akmenu-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1.1;
}

.akmenu-build {
  font-family: ui-monospace, monospace;
  font-size: 0.5rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.akmenu-insert-hint {
  flex-shrink: 0;
  font-size: 0.55rem;
  color: var(--muted);
}

.akmenu-insert-hint kbd {
  font-size: 0.52rem;
  padding: 0.08rem 0.28rem;
  border-color: rgba(212, 160, 23, 0.25);
  color: var(--accent);
}

.akmenu-crumb-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.2);
}

.akmenu-back {
  background: transparent;
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--accent);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.akmenu-back:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.akmenu-breadcrumb {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(228, 228, 232, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.akmenu-edition {
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.12rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  flex-shrink: 0;
}

.akmenu-panels {
  flex: 1;
  overflow: hidden;
  transition: opacity 0.18s ease, transform 0.2s ease;
}

.akmenu-panels.slide-out {
  opacity: 0;
  transform: translateX(12px);
}

.akmenu-panels.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.akmenu-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  max-height: none;
  height: 100%;
  overflow-y: auto;
}

.akmenu-list::-webkit-scrollbar { width: 3px; }
.akmenu-list::-webkit-scrollbar-thumb {
  background: rgba(212, 160, 23, 0.35);
  border-radius: 2px;
}

.akmenu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.48rem 0.7rem;
  font-size: 0.76rem;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  color: rgba(228, 228, 232, 0.8);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.akmenu-item:hover,
.akmenu-item.selected {
  background: rgba(212, 160, 23, 0.12);
  border-left-color: var(--accent);
  color: #fff;
}

.akmenu-item.premium .akmenu-label {
  color: rgba(228, 228, 232, 0.5);
}

.akmenu-item.premium.selected .akmenu-label,
.akmenu-item.premium:hover .akmenu-label {
  color: rgba(228, 228, 232, 0.75);
}

.akmenu-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.akmenu-meta {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--accent);
  opacity: 0.75;
}

.akmenu-chevron {
  font-size: 0.85rem;
  opacity: 0.6;
}

.akmenu-lock {
  font-size: 0.62rem;
  opacity: 0.75;
}

.akmenu-toggle {
  display: inline-block;
  width: 1.6rem;
  height: 0.8rem;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.akmenu-toggle::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 0.58rem;
  height: calc(100% - 2px);
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.2s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.2s ease;
}

.akmenu-toggle.on {
  background: rgba(212, 160, 23, 0.25);
  border-color: rgba(212, 160, 23, 0.5);
  box-shadow: 0 0 8px rgba(212, 160, 23, 0.2);
}

.akmenu-toggle.on::after {
  transform: translateX(0.75rem);
  background: var(--accent);
}

.akmenu-status {
  padding: 0.4rem 0.7rem;
  font-size: 0.6rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  min-height: 1.5rem;
  background: rgba(0,0,0,0.25);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.01em;
}

.akmenu-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(201, 58, 43, 0.92);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.akmenu-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.akmenu-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  color: var(--muted);
  justify-content: center;
}

.akmenu-legend kbd {
  font-size: 0.6rem;
  margin-right: 0.1rem;
}

/* Sections */
.section {
  padding: 4rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { margin-bottom: 2rem; }

.section-head h2,
.section-header h2,
.faq h2,
.contact h2,
.trial-layout h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.section-head p,
.section-lead {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

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

/* Compare */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare th,
.compare td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare th {
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.compare th:not(:first-child),
.compare td:not(:first-child) {
  text-align: center;
  width: 90px;
}

.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: #5cd675; font-weight: 700; }
.compare .no { color: var(--muted); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.fcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  transition: border-color var(--transition);
}

.fcard:hover { border-color: rgba(212, 160, 23, 0.3); }

.fcard-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-hot);
  margin-bottom: 0.4rem;
}

.fcard h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

.fcard p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Download */
.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.download-copy h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem;
}

.download-desc {
  color: var(--muted);
  margin: 0 0 0.65rem;
  max-width: 42ch;
}

.download-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.build-id {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.8rem;
  color: var(--accent);
  word-break: break-all;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: min(100%, 270px);
}

.btn-download {
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.9rem 1.4rem;
  text-align: center;
}

.btn-download-label { font-size: 1rem; }
.btn-download-sub {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
}

.download-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* Install */
.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 2px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.steps li strong { font-weight: 700; }

.steps li span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.tip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
}

.tip h4 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tip p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Reviews */
.section-header { margin-bottom: 1.75rem; }

.testimonials-container {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0.5rem 0;
}

.testimonials-slider {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(50% - 0.75rem);
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

@media (max-width: 992px) {
  .testimonial-card { flex: 0 0 100%; }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 160, 23, 0.2);
}

.user-meta h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.user-role {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
}

.edition-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
  margin-left: auto;
}

.edition-badge.free {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.edition-badge.premium {
  background: var(--accent-soft);
  color: var(--accent);
}

.stars {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.slider-arrow {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.slider-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slider-dots { display: flex; gap: 0.4rem; }

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 16px;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.price {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
}

.price-main {
  border-color: rgba(212, 160, 23, 0.35);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 55%);
}

.price-label {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.price h3 {
  font-family: var(--font-display);
  margin: 0 0 0.2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0.4rem 0;
}

.desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1.1rem;
  min-height: 3.2em;
}

/* Trial */
.trial-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.trial-desc {
  color: var(--muted);
  margin-bottom: 1rem;
}

.trial-list {
  color: var(--muted);
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.trial-list li { margin-bottom: 0.45rem; }

.trial-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.trial-cta p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-trigger::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--accent);
}

.faq-item.active .faq-trigger::after { content: "−"; }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding: 0 1.25rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.contact { text-align: center; }
.contact p { color: var(--muted); margin-bottom: 1.25rem; }

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

code, kbd {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  padding: 0.1rem 0.3rem;
}

kbd { border: 1px solid var(--border); }

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-reveal.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Light theme */
.light-theme {
  --bg: #ececea;
  --bg-alt: #e0e0dc;
  --surface: #f5f5f2;
  --border: rgba(0, 0, 0, 0.1);
  --text: #141416;
  --muted: #5a5a62;
}

.light-theme .header { background: rgba(236, 236, 234, 0.95); }
.light-theme .btn-solid { color: #141416; }
.light-theme .brand-icon { color: #141416; }

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  pointer-events: none;
}

.chat-toggle-btn {
  pointer-events: auto;
}

.chat-toggle-btn {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 4px;
  background: var(--accent);
  border: none;
  color: #0a0a0b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
}

.chat-toggle-btn:hover {
  background: #f0c040;
  transform: translateY(-2px);
}

.chat-toggle-btn svg { width: 1.3rem; height: 1.3rem; }
.chat-toggle-btn .close-icon { display: none; }

.chat-widget.open .chat-toggle-btn {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.chat-widget.open .chat-toggle-btn .chat-icon { display: none; }
.chat-widget.open .chat-toggle-btn .close-icon { display: block; }

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-hot);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.12rem 0.3rem;
  border-radius: 3px;
  font-family: var(--font-display);
}

.chat-window {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  height: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
}

.chat-widget.open {
  pointer-events: auto;
}

.chat-widget.open .chat-window {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-header {
  padding: 0.85rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-header-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  background: var(--accent);
  color: #0a0a0b;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-info h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.chat-status {
  font-size: 0.68rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5cd675;
}

.status-dot.pulsing {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat-body {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
}

.chat-msg { max-width: 88%; }
.chat-msg p {
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.chat-msg.bot { align-self: flex-start; }
.chat-msg.bot p {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.chat-msg.user { align-self: flex-end; }
.chat-msg.user p {
  background: var(--accent);
  color: #0a0a0b;
}

.chat-msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.chat-msg.bot a { color: var(--accent); }

.chat-quick-replies {
  display: flex;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

.quick-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.quick-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chat-footer {
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.35rem;
  background: var(--bg-alt);
}

.chat-footer input {
  flex-grow: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.45rem 0.65rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
  outline: none;
}

.chat-footer input:focus { border-color: var(--accent); }

.chat-send-btn {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 3px;
  background: var(--accent);
  border: none;
  color: #0a0a0b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send-btn svg { width: 0.85rem; height: 0.85rem; }

@media (max-width: 800px) {
  .nav { display: none; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-copy { order: 1; }
  .hero-panel { order: 0; }
  .feature-cards,
  .tips-grid,
  .pricing,
  .trial-layout,
  .download-card { grid-template-columns: 1fr; }
  .download-actions { min-width: 0; }
  .desc { min-height: auto; }
  .header-actions { gap: 0.4rem; }
  .header-actions .btn-solid { display: none; }
  .akmenu-viewport { min-height: 340px; }
  .akmenu-sim {
    width: min(280px, 88%);
    right: 50%;
    transform: translateX(50%);
    top: 20px;
    bottom: 20px;
  }
  .akmenu-legend { justify-content: center; }
}

@media (max-width: 480px) {
  .chat-window {
    width: calc(100vw - 44px);
    height: 380px;
  }
}

.light-theme .akmenu-viewport {
  border-color: rgba(212, 160, 23, 0.3);
}

.light-theme .akmenu-sim {
  background: rgba(20, 20, 22, 0.92);
}

.light-theme .akmenu-item {
  color: rgba(228, 228, 232, 0.9);
}

/* --- Trial form (legacy) --- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  box-sizing: border-box;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form input {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.15);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.light-theme .form input {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.15);
  color: #141416;
}
