/* Hintlyx landing page — dark theme, magenta/dark-pink accent. */
:root {
  --bg: #0a0710;
  --bg-2: #130c1b;
  --panel: #16101f;
  --panel-2: #1c1427;
  --line: rgba(236, 72, 153, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f6f2f8;
  --muted: #a99fb5;
  --pink: #ec4899;
  --pink-hi: #f472b6;
  --pink-deep: #be185d;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Inter, system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Ambient pink glow behind the hero. */
.glow {
  position: fixed;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.28), rgba(190, 24, 93, 0.08) 55%, transparent 75%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.eyebrow {
  font-family: 'Cascadia Code', ui-monospace, 'Consolas', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink-hi);
  margin-bottom: 14px;
}

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

.grad {
  background: linear-gradient(120deg, var(--pink-hi), var(--pink) 50%, var(--pink-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 26px rgba(236, 72, 153, 0.33);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(236, 72, 153, 0.5);
  filter: brightness(1.05);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 16px;
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink) inset;
}

.btn.full {
  width: 100%;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 28px;
  background: rgba(10, 7, 16, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand .logo {
  border-radius: 7px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

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

/* ---------- hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 28px 60px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  font-weight: 700;
}

.sub {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
  max-width: 640px;
  margin: 0 auto;
}

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

.note {
  color: var(--muted);
  font-size: 14px;
}

.note a {
  color: var(--pink-hi);
  text-decoration: underline;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 54px;
}

.stat {
  flex: 1 1 150px;
  max-width: 200px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), transparent);
}

.stat strong {
  display: block;
  font-size: 24px;
  color: var(--pink-hi);
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- sections ---------- */

.section {
  position: relative;
  z-index: 1;
  padding: 84px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.section.alt {
  max-width: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
  font-weight: 700;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.num {
  font-family: 'Cascadia Code', ui-monospace, monospace;
  font-size: 14px;
  color: var(--pink);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.step h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.step p {
  color: var(--muted);
}

/* features grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  transition: border-color 0.15s, transform 0.15s;
}

.card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

/* use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.use {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--panel);
  border-left: 3px solid var(--pink);
}

.use h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.use p {
  color: var(--muted);
}

/* download */
.download {
  text-align: center;
}

.lead {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 17px;
}

.dl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 24px;
}

.dl-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
}

.dl-card.primary {
  border-color: var(--pink);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1), var(--panel));
}

.dl-card h3 {
  font-size: 20px;
  margin-bottom: 2px;
}

.dl-card .muted {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.dl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.fine {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

/* faq */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 4px 20px;
}

details[open] {
  border-color: var(--pink);
}

summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  color: var(--pink);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after {
  content: '−';
}

details p {
  color: var(--muted);
  padding: 0 0 18px;
}

/* cta band */
.cta-band {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 90px 28px;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.16), transparent 70%);
}

.cta-band h2 {
  margin-bottom: 26px;
}

/* footer */
footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer nav {
  display: flex;
  gap: 20px;
}

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

.copyright {
  font-size: 13px;
}

/* ---------- compatibility strip ---------- */
.compat {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.compat-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.compat-logos {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
}

.compat-logos li {
  color: var(--text);
  font-weight: 600;
  opacity: 0.72;
  font-size: 16px;
}

/* ---------- split (why / privacy) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

h2.left {
  text-align: left;
  margin-bottom: 0;
}

.split-body p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 17px;
}

/* ---------- spotlights ---------- */
.spotlights {
  display: grid;
  gap: 40px;
}

.spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 24px 0;
}

.spot.reverse .spot-text {
  order: 2;
}

.spot-text h3 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.spot-text p {
  color: var(--muted);
  font-size: 17px;
}

.spot-art {
  height: 210px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--bg));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.wave {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 90px;
}

.wave span {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(var(--pink-hi), var(--pink-deep));
  animation: bounce 1.2s ease-in-out infinite;
}

.wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wave span:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.wave span:nth-child(5) { height: 85%; animation-delay: 0.15s; }
.wave span:nth-child(6) { height: 40%; animation-delay: 0.25s; }
.wave span:nth-child(7) { height: 65%; animation-delay: 0.05s; }

@keyframes bounce {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.screen-card {
  width: 70%;
  padding: 22px;
  border-radius: 12px;
  background: #0b0712;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.screen-card .bar {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--pink), var(--pink-deep));
  opacity: 0.85;
}

.screen-card .bar.short { width: 70%; opacity: 0.5; }
.screen-card .bar.shorter { width: 45%; opacity: 0.35; }

.chat {
  width: 75%;
  display: grid;
  gap: 10px;
}

.msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.msg.q {
  justify-self: end;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
}

.msg.a {
  justify-self: start;
  width: 80%;
  background: #0b0712;
  border: 1px solid var(--line);
  display: grid;
  gap: 7px;
  padding: 14px;
}

.msg.a span {
  height: 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.18);
}

.msg.a span.short {
  width: 55%;
}

/* ---------- shortcuts ---------- */
.keys {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.key-row span {
  color: var(--text);
}

kbd {
  font-family: 'Cascadia Code', ui-monospace, monospace;
  font-size: 13px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid var(--line-soft);
  background: #0b0712;
  color: var(--pink-hi);
  margin-left: 6px;
}

/* ---------- ticks ---------- */
.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 16px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--pink);
  border-bottom: 2px solid var(--pink);
  transform: rotate(-45deg);
}

/* ---------- comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  max-width: 820px;
  margin: 0 auto;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.compare th,
.compare td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.compare thead th {
  color: var(--muted);
  font-weight: 600;
}

.compare th.hl,
.compare td.hl {
  color: var(--text);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1), transparent);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-weight: 600;
}

.compare thead th.hl {
  color: var(--pink-hi);
}

.compare td:first-child {
  color: var(--muted);
}

/* ---------- pricing ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 20px;
}

.price-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
}

.price-card.primary {
  border-color: var(--pink);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.1), var(--panel));
}

.price-card h3 {
  font-size: 20px;
}

.price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.price-card .ticks {
  margin: 18px 0 24px;
}

.price-card .btn {
  margin-top: auto;
}

/* ---------- footer (expanded) ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 50px 28px 30px;
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
}

.foot-brand .muted {
  color: var(--muted);
  margin-top: 12px;
  max-width: 320px;
  font-size: 15px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.foot-col a {
  color: var(--text);
  opacity: 0.82;
  font-size: 15px;
}

.foot-col a:hover {
  opacity: 1;
  color: var(--pink-hi);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .split,
  .spot,
  .spot.reverse .spot-text,
  .foot-top {
    grid-template-columns: 1fr;
  }
  .spot.reverse .spot-text {
    order: 0;
  }
  .foot-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
}
