/* src/client/styles.css */
:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: #262626;
  --text: #e5e5e5;
  --text-muted: #a3a3a3;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --accent-glow: #22c55e26;
  --red: #ef4444;
  --red-dim: #ef444426;
  --orange: #f59e0b;
  --blue: #3b82f6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-family: Inter, -apple-system, sans-serif;
  line-height: 1.6;
}

nav {
  position: fixed;
  z-index: 100;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  background: #0a0a0acc;
  width: 100%;
  padding: 0 2rem;
  top: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
}

.logo {
  display: flex;
  text-decoration: none;
  color: inherit;
  align-items:  center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  font-size: .9rem;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--accent);
  color: #000;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: .5rem 1.25rem;
  transition: all .2s;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dim);
}

.hero {
  display: flex;
  position: relative;
  overflow: hidden;
  align-items:  center;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
}

.hero:before {
  content: "";
  position: absolute;
  background: radial-gradient(circle at 30% 40%, var(--accent-glow) 0%, transparent 50%), radial-gradient(circle at 70% 60%, #3b82f614 0%, transparent 50%);
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items:  center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid #ef44444d;
  border-radius: 100px;
  align-items:  center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
}

.hero h1 {
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero h1 .strike {
  text-decoration: line-through;
  color: var(--text-muted);
  text-decoration-color: var(--red);
}

.hero-sub {
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  text-decoration: none;
  display: inline-flex;
  cursor: pointer;
  border: none;
  border-radius: 10px;
  align-items:  center;
  gap: .5rem;
  padding: .85rem 2rem;
  transition: all .2s;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  display: inline-flex;
  cursor: pointer;
  background: none;
  border-radius: 10px;
  align-items:  center;
  gap: .5rem;
  padding: .85rem 2rem;
  transition: all .2s;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

.hero-demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 25px 50px #00000080;
}

.demo-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  background: #1a1a1a;
  align-items:  center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-size: .8rem;
}

.demo-dot {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.demo-dot.r {
  background: #ef4444;
}

.demo-dot.y {
  background: #f59e0b;
}

.demo-dot.g {
  background: #22c55e;
}

.demo-chat {
  overflow-y: auto;
  max-height: 400px;
  padding: 1rem;
}

.demo-msg {
  animation: fadeIn .5s ease;
  border-radius: 12px;
  max-width: 85%;
  margin-bottom: .75rem;
  padding: .75rem 1rem;
  font-size: .85rem;
  line-height: 1.5;
}

.demo-msg.user {
  background: var(--accent);
  color: #000;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.demo-msg.bot {
  border: 1px solid var(--border);
  background: #1f1f1f;
  border-bottom-left-radius: 4px;
}

.demo-msg .warn {
  background: var(--red-dim);
  color: var(--red);
  display: inline-block;
  border-radius: 6px;
  margin-top: .5rem;
  padding: .4rem .6rem;
  font-size: .8rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comparison {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0d 100%);
  padding: 6rem 2rem;
}

.comparison-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .75rem;
  font-size: .8rem;
  font-weight: 700;
}

.section-title {
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  border-radius: 16px;
  padding: 2rem;
}

.compare-card.them {
  border-color: #ef44444d;
}

.compare-card.us {
  border-color: #22c55e4d;
}

.compare-card h3 {
  margin-bottom: .25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.compare-card .tag {
  display: inline-block;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  padding: .2rem .6rem;
  font-size: .75rem;
  font-weight: 600;
}

.compare-card.them .tag {
  background: var(--red-dim);
  color: var(--red);
}

.compare-card.us .tag {
  background: var(--accent-glow);
  color: var(--accent);
}

.compare-list {
  list-style: none;
}

.compare-list li {
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items:  start;
  gap: .75rem;
  padding: .6rem 0;
  font-size: .9rem;
}

.compare-list li:last-child {
  border: none;
}

.compare-list .icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}

.features {
  padding: 6rem 2rem;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all .3s;
}

.feature-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.feature-card h3 {
  margin-bottom: .5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.calculator {
  background: #0d0d0d;
  padding: 6rem 2rem;
}

.calc-inner {
  max-width: 800px;
  margin: 0 auto;
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.calc-input-group {
  margin-bottom: 1.5rem;
}

.calc-input-group label {
  display: block;
  margin-bottom: .5rem;
  font-size: .9rem;
  font-weight: 600;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: .75rem;
  font-size: .9rem;
  font-weight: 600;
}

.calc-slider-value {
  color: var(--accent);
  font-family: JetBrains Mono, monospace;
  font-size: 1.15rem;
  font-weight: 700;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  background: #262626;
  border-radius: 4px;
  width: 100%;
  height: 8px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #0a0a0a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  transition: box-shadow .2s;
  box-shadow: 0 0 10px #22c55e80;
}

.calc-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 18px #22c55eb3;
}

.calc-slider::-moz-range-thumb {
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #0a0a0a;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  box-shadow: 0 0 10px #22c55e80;
}

.calc-slider-ticks {
  display: flex;
  color: var(--text-muted);
  justify-content: space-between;
  margin-top: .35rem;
  font-size: .7rem;
}

.calc-input {
  border: 1px solid var(--border);
  color: var(--text);
  background: #1a1a1a;
  border-radius: 10px;
  width: 100%;
  padding: .85rem 1rem;
  font-family: JetBrains Mono, monospace;
  font-size: 1.1rem;
}

.calc-input:focus {
  outline: none;
  border-color: var(--accent);
}

.calc-result {
  opacity: 0;
  overflow: hidden;
  border-radius: 12px;
  max-height: 0;
  margin-top: 1.5rem;
  padding: 0;
  transition: opacity .4s, max-height .5s;
}

.calc-result.show {
  opacity: 1;
  max-height: 2000px;
}

.calc-bars {
  margin-bottom: 1.5rem;
}

.calc-bar-row {
  margin-bottom: .85rem;
}

.calc-bar-header {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  margin-bottom: .3rem;
}

.calc-bar-label {
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
}

.calc-bar-value {
  color: var(--text);
  font-family: JetBrains Mono, monospace;
  font-size: .85rem;
  font-weight: 500;
}

.calc-bar-track {
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 5px;
  width: 100%;
  height: 10px;
}

.calc-bar-fill {
  border-radius: 5px;
  width: 0%;
  height: 100%;
  transition: width .8s cubic-bezier(.25,.46,.45,.94);
}

.calc-comparison {
  border: 1px solid var(--border);
  background: #1a1a1a;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.calc-comparison-row {
  display: flex;
  justify-content: space-between;
  align-items:  center;
  padding: .5rem 0;
}

.calc-comparison-row + .calc-comparison-row {
  border-top: 1px solid var(--border);
}

.calc-comparison-label {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
}

.calc-comparison-advertised {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
  font-family: JetBrains Mono, monospace;
  font-size: 1rem;
}

.calc-comparison-real {
  color: var(--accent);
  font-family: JetBrains Mono, monospace;
  font-size: 1.15rem;
  font-weight: 700;
}

.calc-comparison-diff {
  background: var(--red-dim);
  border-top: 1px solid #ef44444d;
  border-radius: 0 0 12px 12px;
  margin: .5rem -1.5rem -1.25rem;
  padding: .75rem 1.5rem;
}

.calc-comparison-hidden {
  color: var(--red);
  font-family: JetBrains Mono, monospace;
  font-size: 1.1rem;
  font-weight: 700;
}

.calc-lockangebot {
  border: 2px solid var(--red);
  color: #fca5a5;
  animation: lockangebotPulse 2s ease-in-out infinite;
  background: linear-gradient(135deg, #ef444433 0%, #ef444414 100%);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  font-size: .95rem;
  line-height: 1.6;
}

.calc-lockangebot strong {
  display: block;
  color: var(--red);
  margin-bottom: .3rem;
  font-size: 1.1rem;
}

@keyframes lockangebotPulse {
  0%, 100% {
    box-shadow: 0 0 #ef44444d;
  }

  50% {
    box-shadow: 0 0 20px 4px #ef444426;
  }
}

.calc-pie-wrapper {
  display: flex;
  border: 1px solid var(--border);
  background: #1a1a1a;
  border-radius: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items:  center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.calc-pie-svg {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
}

.calc-pie-legend {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .35rem;
  min-width: 200px;
}

.calc-pie-legend-item {
  display: flex;
  align-items:  center;
  gap: .5rem;
  font-size: .8rem;
}

.calc-pie-legend-dot {
  border-radius: 3px;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.calc-pie-legend-label {
  color: var(--text-muted);
  flex: 1;
}

.calc-pie-legend-pct {
  color: var(--text);
  font-family: JetBrains Mono, monospace;
  font-size: .75rem;
  font-weight: 600;
}

.calc-warning {
  background: var(--red-dim);
  color: #fca5a5;
  border: 1px solid #ef44444d;
  border-radius: 10px;
  margin-top: 0;
  padding: 1rem;
  font-size: .85rem;
  line-height: 1.6;
}

.calc-warning strong {
  color: var(--red);
}

.cta {
  text-align: center;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  padding: 8rem 2rem;
}

.cta h2 {
  letter-spacing: -.03em;
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 900;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

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

.chat-widget {
  position: fixed;
  z-index: 1000;
  bottom: 2rem;
  right: 2rem;
}

.chat-toggle {
  background: var(--accent);
  cursor: pointer;
  display: flex;
  color: #000;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items:  center;
  width: 60px;
  height: 60px;
  transition: all .3s;
  box-shadow: 0 4px 20px #22c55e66;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px #22c55e80;
}

.chat-toggle.active {
  color: var(--text);
  background: #1a1a1a;
  box-shadow: 0 4px 20px #0006;
}

.chat-panel {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform-origin: bottom right;
  pointer-events: none;
  border-radius: 16px;
  flex-direction: column;
  width: 400px;
  height: 550px;
  transition: opacity .25s, transform .25s, visibility .25s;
  bottom: 70px;
  right: 0;
  transform: translateY(12px)scale(.96);
  box-shadow: 0 25px 50px #00000080;
}

.chat-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0)scale(1);
}

.chat-panel-header {
  border-bottom: 1px solid var(--border);
  display: flex;
  background: #1a1a1a;
  flex-shrink: 0;
  justify-content: space-between;
  align-items:  center;
  padding: .75rem 1rem;
}

.chat-header-left {
  display: flex;
  align-items:  center;
  gap: .6rem;
}

.chat-header-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.chat-panel-header h4 {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-header-subtitle {
  color: var(--text-muted);
  font-size: .7rem;
  line-height: 1.2;
}

.chat-header-right {
  display: flex;
  align-items:  center;
  gap: .6rem;
}

.chat-panel-header .badge {
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 100px;
  padding: .15rem .5rem;
  font-size: .65rem;
  font-weight: 600;
}

.chat-close {
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  padding: .2rem .4rem;
  transition: all .2s;
  font-size: 1.1rem;
  line-height: 1;
}

.chat-close:hover {
  color: var(--text);
  background: #ffffff14;
}

.chat-messages {
  overflow-y: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding: 1rem;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: none;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.chat-msg {
  animation: chatMsgIn .2s ease;
  margin-bottom: .75rem;
}

@keyframes chatMsgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg p {
  white-space: pre-wrap;
  border-radius: 12px;
  max-width: 85%;
  margin: 0;
  padding: .65rem .9rem;
  font-size: .85rem;
  line-height: 1.5;
}

.chat-msg.user p {
  background: var(--accent);
  color: #000;
  border-bottom-right-radius: 4px;
  margin-left: auto;
}

.chat-msg.bot p, .chat-msg.bot .chat-bot-content {
  border: 1px solid var(--border);
  background: #1f1f1f;
  border-radius: 12px;
  max-width: 85%;
  padding: .65rem .9rem;
  font-size: .85rem;
  line-height: 1.5;
}

.chat-bot-content .chat-paragraph {
  background: none;
  border: none;
  margin: 0 0 .35rem;
  padding: 0;
  font-size: .85rem;
  line-height: 1.5;
}

.chat-bot-content .chat-paragraph:last-child {
  margin-bottom: 0;
}

.chat-bot-content .chat-line-break {
  height: .3rem;
}

.chat-bot-content strong {
  color: var(--accent);
  font-weight: 600;
}

.chat-bot-content .chat-list {
  list-style: disc;
  margin: .25rem 0;
  padding-left: 1.1rem;
}

.chat-bot-content .chat-list li {
  margin-bottom: .15rem;
  font-size: .85rem;
  line-height: 1.5;
}

.chat-bot-content .chat-code-block {
  border: 1px solid var(--border);
  overflow-x: auto;
  background: #0d0d0d;
  border-radius: 8px;
  margin: .35rem 0;
  padding: .5rem .7rem;
  font-size: .78rem;
  line-height: 1.5;
}

.chat-bot-content .chat-code-block code {
  color: #e0e0e0;
  font-family: SF Mono, Fira Code, Consolas, monospace;
}

.chat-bot-content .chat-inline-code {
  background: #ffffff0f;
  border-radius: 4px;
  padding: .1rem .35rem;
  font-family: SF Mono, Fira Code, Consolas, monospace;
  font-size: .8rem;
}

.chat-typing-indicator {
  display: flex;
  border: 1px solid var(--border);
  background: #1f1f1f;
  border-radius: 12px 12px 12px 4px;
  align-items:  center;
  gap: 4px;
  max-width: 70px;
  padding: .75rem 1rem;
}

.chat-typing-indicator span {
  background: var(--accent);
  opacity: .4;
  animation: typingBounce 1.4s infinite ease-in-out;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.chat-typing-indicator span:first-child {
  animation-delay: 0s;
}

.chat-typing-indicator span:nth-child(2) {
  animation-delay: .2s;
}

.chat-typing-indicator span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: .4;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chat-input-area {
  border-top: 1px solid var(--border);
  display: flex;
  flex-shrink: 0;
  gap: .5rem;
  padding: .75rem;
}

.chat-input {
  border: 1px solid var(--border);
  color: var(--text);
  background: #1a1a1a;
  border-radius: 10px;
  flex: 1;
  padding: .7rem 1rem;
  transition: border-color .2s;
  font-family: Inter, sans-serif;
  font-size: .9rem;
}

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

.chat-input:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.chat-send {
  background: var(--accent);
  color: #000;
  cursor: pointer;
  display: flex;
  border: none;
  border-radius: 10px;
  justify-content: center;
  align-items:  center;
  padding: .7rem .9rem;
  transition: all .2s;
}

.chat-send:hover:not(:disabled) {
  background: var(--accent-dim);
}

.chat-send:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.calc-checkbox-label {
  display: flex;
  align-items:  center;
  gap: .5rem;
}

.builder-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.builder-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.builder-filters select:focus {
  outline: none;
  border-color: var(--accent);
}

.builder-filters select option {
  color: var(--text);
  background: #1a1a1a;
}

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

.builder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all .3s;
}

.builder-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stats-counter {
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d0d 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  color: var(--accent);
  letter-spacing: -.03em;
  font-family: JetBrains Mono, monospace;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.8rem;
}

.stat-label {
  color: var(--text-muted);
  margin-top: .5rem;
  font-size: .9rem;
  font-weight: 500;
}

.trust-signals {
  padding: 3rem 2rem;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items:  center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  transition: all .3s;
}

.trust-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.trust-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
}

.trust-label {
  font-size: .85rem;
  font-weight: 700;
}

.trust-desc {
  color: var(--text-muted);
  margin-top: .15rem;
  font-size: .75rem;
}

.testimonials {
  background: #0d0d0d;
  padding: 6rem 2rem;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  animation: fadeIn .5s ease both;
  border-radius: 16px;
  padding: 2rem;
  transition: all .3s;
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px #22c55e14;
}

.testimonial-quote {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: .95rem;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-footer {
  display: flex;
  align-items:  center;
  gap: .75rem;
}

.testimonial-avatar {
  background: var(--accent-glow);
  display: flex;
  color: var(--accent);
  border: 1px solid #22c55e4d;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items:  center;
  width: 40px;
  height: 40px;
  font-size: .75rem;
  font-weight: 700;
}

.testimonial-name {
  font-size: .85rem;
  font-weight: 700;
}

.testimonial-location {
  color: var(--text-muted);
  font-size: .75rem;
}

.testimonial-badge {
  background: var(--accent-glow);
  color: var(--accent);
  white-space: nowrap;
  border-radius: 100px;
  margin-left: auto;
  padding: .25rem .6rem;
  font-size: .7rem;
  font-weight: 600;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items:  center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  font-size: .85rem;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .builder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .compare-grid, .features-grid, .builder-grid {
    grid-template-columns: 1fr;
  }

  .builder-filters-row {
    flex-direction: column;
  }

  .chat-panel {
    width: calc(100vw - 2rem);
    height: 70vh;
    max-height: 550px;
    right: -1rem;
  }

  .nav-links {
    display: none;
  }

  .stats-inner, .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-inner {
    text-align: center;
    flex-direction: column;
  }
}
