:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8f7;
  --surface-border: #e7e9e8;
  --text: #0a0a0a;
  --text-dim: #737373;
  --text-dimmer: #a3a3a3;
  --lime: #a3e635;
  --green: #22c55e;
  --green-text: #15803d;
  --emerald: #34d399;
  --emerald-2: #10b981;
  --purple: #7c3aed;
  --card-shadow:
    0 1px 3px 0 rgba(10, 10, 10, 0.06), 0 1px 2px -1px rgba(10, 10, 10, 0.06);
  --card-shadow-hover: 0 10px 24px -8px rgba(10, 10, 10, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(
      48% 42% at 8% 0%,
      rgba(163, 230, 53, 0.1) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      42% 42% at 94% 100%,
      rgba(124, 58, 237, 0.07) 0%,
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(to right, rgba(10, 10, 10, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(10, 10, 10, 0.03) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    60px 60px,
    60px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(56px, 6vh, 68px);
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dimmer);
}

.lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.lang-switch a.active {
  color: var(--text);
  border-color: var(--surface-border);
  background: var(--surface-2);
}

.back-link {
  font-size: 14px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: clamp(28px, 4.5vh, 52px) 0 clamp(12px, 2vh, 20px);
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-text);
  background: rgba(163, 230, 53, 0.16);
  border: 1px solid rgba(163, 230, 53, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}

h1 .grad {
  background: linear-gradient(90deg, var(--green), var(--emerald-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

/* ---------- Aggregate rating ---------- */
.aggregate {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(18px, 2.6vh, 26px);
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--card-shadow);
}

.aggregate .score {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.aggregate .divider {
  width: 1px;
  height: 26px;
  background: var(--surface-border);
}

.aggregate .meta {
  font-size: 13.5px;
  color: var(--text-dimmer);
  text-align: left;
  line-height: 1.4;
}

.hero-cta {
  margin-top: clamp(20px, 2.8vh, 28px);
}

.sparks {
  display: inline-flex;
  gap: 4px;
}

.spark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.spark.filled {
  fill: url(#sparkGradient);
  filter: drop-shadow(0 0 3px rgba(163, 230, 53, 0.35));
}

.spark.empty {
  fill: none;
  stroke: rgba(10, 10, 10, 0.18);
  stroke-width: 1.2;
}

.spark.small {
  width: 15px;
  height: 15px;
}

/* ---------- Reviews carousel ---------- */
.reviews-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(10px, 1.6vh, 18px) 0;
}

.reviews-carousel {
  position: relative;
}

.reviews-track {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  padding: 4px 2px 6px;
  scroll-behavior: smooth;
}

.reviews-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 clamp(250px, 23vw, 330px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: clamp(18px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(163, 230, 53, 0.45);
}

.review-quote {
  font-size: clamp(14px, 1.1vw, 15.5px);
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.5em * 4);
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--emerald-2));
  color: #06150b;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer .name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.reviewer .src {
  font-size: 11.5px;
  color: var(--text-dimmer);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-hint {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-dimmer);
  margin-top: 8px;
}

.carousel-fade {
  position: absolute;
  top: 0;
  bottom: 14px;
  width: 56px;
  pointer-events: none;
  z-index: 2;
}

.carousel-fade.left {
  left: 0;
  background: linear-gradient(to right, var(--bg), rgba(255, 255, 255, 0));
}

.carousel-fade.right {
  right: 0;
  background: linear-gradient(to left, var(--bg), rgba(255, 255, 255, 0));
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  color: var(--text);
}

.carousel-btn:hover {
  border-color: rgba(163, 230, 53, 0.5);
}

.carousel-btn.prev {
  left: -14px;
}

.carousel-btn.next {
  right: -14px;
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Features / benefits ---------- */
.features-section {
  flex-shrink: 0;
  padding: clamp(20px, 3.4vh, 40px) 0 clamp(8px, 1.6vh, 16px);
  border-top: 1px solid var(--surface-border);
}

.features-intro {
  max-width: 820px;
  margin: 0 auto clamp(24px, 3.4vh, 36px);
  text-align: center;
}

.features-intro h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  font-weight: 700;
}

.features-intro p {
  color: var(--text-dim);
  font-size: clamp(14.5px, 1.1vw, 17px);
  line-height: 1.65;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: clamp(22px, 2.2vw, 28px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(163, 230, 53, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(163, 230, 53, 0.14);
  color: var(--green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

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

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: clamp(16px, 2.4vh, 24px) auto 0;
}

.keyword-strip span {
  font-size: 11.5px;
  color: var(--text-dimmer);
  background: var(--surface-2);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 4px 11px;
}

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

@media (max-width: 620px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer (mirrors aidentika.com's full-bleed dark footer) ---------- */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.9);
  margin-top: clamp(10px, 1.6vh, 18px);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(32px, 5vh, 48px) clamp(16px, 4vw, 48px);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spark-logo {
  width: 27px;
  height: 27px;
  color: var(--lime);
  flex-shrink: 0;
  animation: spark-spin 6s linear infinite;
}

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

.footer-brand-text .name {
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
}

.footer-brand-text .tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  max-width: 280px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 44px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 110px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-col a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--lime), var(--green));
  color: #06150b;
  font-weight: 650;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 22px -8px rgba(34, 197, 94, 0.5);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -6px rgba(34, 197, 94, 0.6);
}

/* GEO/SEO visible answer block, kept compact and non-intrusive (screen-reader / crawler accessible) */
.geo-answer {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .carousel-btn {
    display: none;
  }
}

@media (max-width: 620px) {
  .review-card {
    flex-basis: 78vw;
  }

  .aggregate {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    width: 100%;
    max-width: 360px;
  }

  .aggregate .divider {
    display: none;
  }

  .aggregate .meta {
    flex-basis: 100%;
    text-align: center;
  }
}
