/* ===================================================================
   VEJAS.ONLINE — STYLE SHEET
   Theme: dark "server console" aesthetic, grass/XP-green accent
   =================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Color */
  --bg-void:        #0b0f0d;   /* page background */
  --bg-panel:        #11241a;   /* card / panel surfaces */
  --bg-panel-raised: #16291f;   /* slightly lighter panel */
  --line:            #1f3a2c;   /* hairline borders */
  --accent:          #3ddc84;   /* primary green */
  --accent-bright:   #9bffc4;   /* hover / highlight green */
  --text-main:        #e8f5ec;
  --text-muted:        #8aa398;
  --text-dim:           #5a7568;

  /* Requirements grid accents (color-coded by required vs optional) */
  --accent-gold:        #e0a546;  /* required inputs */
  --accent-gold-dim:     rgba(224, 165, 70, 0.12);
  --accent-cyan:          #45c9e0;  /* optional inputs */
  --accent-cyan-dim:       rgba(69, 201, 224, 0.12);

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body:    "Inter", -apple-system, sans-serif;
  --font-pixel:   "Press Start 2P", monospace;

  /* Layout */
  --container-w: 1140px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

/* ---------- 2. Reset & base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-void);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle ambient texture: faint grid like chunk borders */
body {
  background-image:
    linear-gradient(rgba(61, 220, 132, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 220, 132, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}

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

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

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

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

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 48px;
  font-size: 1rem;
}

.section-sub-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #06140d;
  /* faux UI bevel: light top, dark bottom edge — nod to the source material */
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: var(--accent-bright);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text-main);
}

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

.btn-small {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 5. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 13, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

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

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.nav-cta { display: none; }

@media (min-width: 720px) {
  .nav-cta { display: inline-flex; }
}

/* ---------- 6. Hero ---------- */
.hero {
  padding: 96px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-copy {
  min-width: 0; /* allow text to wrap properly inside the grid track */
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Signature element: server connection panel */
.server-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

.server-panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-panel-raised);
  border-bottom: 1px solid var(--line);
}

.server-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.server-dot:nth-child(1) { background: #5a4040; }
.server-dot:nth-child(2) { background: #5a5440; }
.server-dot:nth-child(3) { background: var(--accent); }

.server-panel-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-pixel);
}

.server-panel-body {
  padding: 28px 24px;
  font-family: "Inter", monospace;
}

.server-line {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: monospace;
}

.server-line .ok {
  color: var(--accent);
  font-weight: 600;
}

.server-line-final {
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--text-main);
}

.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

/* ---------- 7. Video grid (used on gallery pages) ---------- */
.gallery-hero {
  padding: 140px 0 48px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--accent);
}

.gallery-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.gallery-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1rem;
}

.gallery-cta {
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
}

.gallery-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.gallery-cta-inner h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.gallery-section {
  padding: 64px 0 96px;
}

/* ---------- 7c. Legal / Terms of Service page ---------- */
.legal-hero {
  padding: 140px 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  max-width: 640px;
}

.legal-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: monospace;
  margin-bottom: 20px;
}

.legal-intro {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 0.98rem;
}

.legal-body {
  padding: 64px 0 96px;
}

.legal-container {
  max-width: 720px;
}

.legal-section {
  margin-bottom: 44px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.legal-section p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(61, 220, 132, 0.3);
}

.legal-section a:hover {
  color: var(--accent-bright);
}

.legal-footer-note {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-footer-note p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-agreement {
  font-weight: 600;
  color: var(--text-main);
}

/* ---------- 7d. Price calculator page ---------- */
.calc-hero {
  padding: 140px 0 48px;
  border-bottom: 1px solid var(--line);
}

.calc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  max-width: 600px;
}

.calc-sub {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.98rem;
}

.calc-section {
  padding: 56px 0 40px;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 940px) {
  .calc-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.calc-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.calc-step {
  min-width: 0;
}

.calc-step-label {
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-step-hint {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dim);
}

/* Per-service question blocks (shown/hidden based on multi-select) */
.calc-service-block {
  flex-direction: column;
  gap: 26px;
  padding: 24px 22px;
  background: var(--bg-panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.calc-service-block:not([hidden]) {
  display: flex;
}

.calc-service-block.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.calc-block-title {
  font-family: var(--font-pixel);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.calc-block-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -10px;
}

/* Branding checklist */
.calc-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text-main);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.calc-check-item:hover {
  border-color: var(--accent);
}

.calc-check-item.is-active {
  background: rgba(61, 220, 132, 0.12);
  border-color: var(--accent);
}

.calc-check-box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-void);
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.calc-check-item.is-active .calc-check-box {
  background: var(--accent);
  border-color: var(--accent);
}

.calc-check-item.is-active .calc-check-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #06140d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc-check-label {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-check-price {
  font-family: monospace;
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.calc-popular-tag {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  padding: 3px 8px;
  border-radius: 100px;
}

/* Info tooltip (rush delivery explainer) */
.calc-info {
  position: relative;
  display: inline-flex;
}

.calc-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--text-dim);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.62rem;
  cursor: help;
}

.calc-info-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  transform: none;
  width: 220px;
  max-width: calc(100vw - 64px);
  background: var(--bg-panel-raised);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-main);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.calc-info-tooltip a {
  color: var(--accent);
  text-decoration: underline;
}

.calc-info:hover .calc-info-tooltip,
.calc-info:focus .calc-info-tooltip,
.calc-info:focus-within .calc-info-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#service-options {
  scroll-margin-top: 96px;
}

.calc-options-wide .calc-option {
  flex: 1 1 220px;
}

.calc-option {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.calc-option:hover {
  border-color: var(--accent);
  color: var(--text-main);
}

.calc-option.is-active {
  background: rgba(61, 220, 132, 0.12);
  border-color: var(--accent);
  color: var(--accent-bright);
}

.calc-addon-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  margin-left: 4px;
}

.calc-quantity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

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

.qty-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

/* Result panel */
.calc-result {
  position: sticky;
  top: 96px;
}

.calc-result-body {
  display: flex;
  flex-direction: column;
}

.calc-breakdown {
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.calc-deposit-block {
  background: var(--bg-panel-raised);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.calc-deposit-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-deposit-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.calc-remainder {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.calc-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.calc-cta {
  margin-top: 4px;
}

.calc-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 16px;
}

.calc-footnote a {
  color: var(--accent);
}

.project-row {
  margin-bottom: 56px;
}

.project-row:last-child {
  margin-bottom: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 720px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Horizontal row: wider cards, max 2 per row since 16:9 needs more width */
.video-grid-wide {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .video-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .video-grid-wide { grid-template-columns: repeat(2, 1fr); }
}

.video-slot {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-slot:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* 9:16 frame to match Shorts/TikTok aspect ratio.
   PASTE YOUR <iframe> INSIDE .video-frame — it will fill this box. */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #06100b;
}

/* 16:9 frame variant for horizontal/widescreen projects */
.video-frame-wide {
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.video-frame embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  border: 1px dashed var(--line);
  margin: 10px;
  border-radius: var(--radius-sm);
}

.slot-number {
  font-family: var(--font-pixel);
  font-size: 1.4rem;
  color: var(--line);
}

.video-placeholder p {
  font-size: 0.85rem;
}

.video-caption {
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Image placeholder variant for thumbnail/branding galleries (non-video) */
.image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #06100b;
}

.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 7b. Services / "What can we do for you" tabs ---------- */
.services {
  padding: 64px 0 96px;
  border-top: 1px solid var(--line);
}

.services-bracket-wrap {
  position: relative;
  padding: 0 28px;
}

@media (max-width: 719px) {
  .services-bracket-wrap {
    padding: 0;
  }
}

.services-brace {
  display: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 24px;
  color: var(--line);
}

@media (min-width: 720px) {
  .services-brace {
    display: block;
  }
}

.services-brace-left {
  left: -4px;
}

.services-brace-right {
  right: -4px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-tag {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 18px;
}

.service-price {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.services-loading {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 40px 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  transition: gap 0.15s ease;
}

.service-card:hover .service-link {
  color: var(--accent-bright);
  gap: 10px;
}

/* ---------- 8c. Client reviews ---------- */
.reviews {
  padding: 80px 0 96px;
  border-top: 1px solid var(--line);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 720px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1040px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Glass-morphic terminal review cards */
.review-card {
  position: relative;
  background: rgba(17, 36, 26, 0.55);
  border: 1px solid rgba(61, 220, 132, 0.18);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 40px -16px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 220, 132, 0.45);
}

.review-stars {
  font-size: 1.3rem;
  letter-spacing: 3px;
  color: var(--accent-bright);
  margin-bottom: 18px;
  text-shadow:
    0 0 8px rgba(61, 220, 132, 0.85),
    0 0 18px rgba(61, 220, 132, 0.5);
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 22px;
  flex-grow: 1;
}

.review-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-server {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--accent);
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
}

/* ---------- 9. Contact ---------- */
.contact {
  padding: 32px 0 110px;
}

.contact-panel {
  max-width: 560px;
  margin: 0 auto;
}

.contact-panel-body {
  text-align: center;
  padding: 44px 32px 38px;
}

.contact-panel-body .eyebrow {
  text-align: center;
  margin-bottom: 18px;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.35;
  max-width: 440px;
  margin: 0 auto 16px;
}

.contact-sub {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- 9b. Contact method modal (shared with price.html) ---------- */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 8, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.modal-overlay:not([hidden]) {
  display: flex;
}

.modal-overlay.is-visible {
  background: rgba(6, 10, 8, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-panel {
  width: 100%;
  max-width: 460px;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-overlay.is-visible .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-close {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: var(--accent-bright);
}

.modal-body {
  padding: 32px 28px 30px;
  text-align: center;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.modal-choice-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.modal-or {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  color: var(--text-dim);
}

.modal-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 22px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-agree input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.modal-agree a {
  color: var(--accent);
  text-decoration: underline;
}

.btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- 9c. Stats ---------- */
.stats {
  padding: 24px 0 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
  align-items: center;
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: 1fr 1.3fr 1fr;
  }
}

.stat-card {
  padding: 12px;
}

.stat-card-highlight {
  padding: 4px 12px;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--text-main);
  margin-bottom: 8px;
}

.stat-number-highlight {
  color: var(--accent);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  text-shadow: 0 0 24px rgba(61, 220, 132, 0.4);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-row {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}

@media (min-width: 760px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 32px;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
}

.footer-domain {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 6px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}
