/* ============================================================
   ESPX Bit - Landing Styles
   Replace placeholder values marked with CONFIG comments in HTML
   ============================================================ */

:root {
  --color-accent: #17ECCD;
  --color-bg: #1F1B27;
  --color-bg-elevated: #2a2535;
  --color-bg-card: #252030;
  --color-muted: #D9D9D9;
  --color-muted-dim: rgba(217, 217, 217, 0.55);
  --color-text: #f4f4f6;
  --color-accent-dim: rgba(23, 236, 205, 0.15);
  --color-accent-glow: rgba(23, 236, 205, 0.35);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --nav-height: 72px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

/* ---- Background texture ---- */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  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");
}

.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.bg-glow--top {
  top: -200px;
  right: -150px;
}

.bg-glow--bottom {
  bottom: -200px;
  left: -150px;
  opacity: 0.5;
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(31, 27, 39, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 217, 217, 0.08);
  transition: background var(--transition);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.site-nav__brand:hover {
  opacity: 1;
  color: var(--color-accent);
}

.site-nav__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
}

.site-nav__links a {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 500;
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
  color: var(--color-accent);
  opacity: 1;
}

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-muted);
}

.site-nav__toggle svg {
  width: 28px;
  height: 28px;
}

/* ---- Layout helpers ---- */
.page-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-muted-dim);
  max-width: 58ch;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 3rem) 0 var(--section-pad);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--color-accent-dim);
  border: 1px solid rgba(23, 236, 205, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero__desc {
  color: var(--color-muted-dim);
  font-size: 1.05rem;
  max-width: 48ch;
  margin-bottom: 2rem;
}

.hero__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero__keyword {
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(217, 217, 217, 0.15);
  color: var(--color-muted-dim);
  background: rgba(255, 255, 255, 0.03);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg);
  box-shadow: 0 4px 24px var(--color-accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px var(--color-accent-glow);
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: var(--color-muted);
  border: 1px solid rgba(217, 217, 217, 0.2);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  opacity: 1;
}

/* Hero visual — mood pulse rings */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.mood-pulse {
  position: relative;
  width: 320px;
  height: 320px;
}

.mood-pulse__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(23, 236, 205, 0.2);
  animation: ring-expand 4s ease-out infinite;
}

.mood-pulse__ring:nth-child(2) { animation-delay: 1.3s; }
.mood-pulse__ring:nth-child(3) { animation-delay: 2.6s; }

@keyframes ring-expand {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.mood-pulse__core {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: var(--color-bg-elevated);
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  box-shadow: 0 0 60px var(--color-accent-dim);
}

.mood-pulse__score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.mood-pulse__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted-dim);
}

.mood-pulse__orbit {
  position: absolute;
  inset: -20px;
  animation: orbit-spin 20s linear infinite;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.mood-pulse__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--color-accent);
}

/* Sentiment ticker */
.sentiment-ticker {
  overflow: hidden;
  border-block: 1px solid rgba(217, 217, 217, 0.08);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem 0;
}

.sentiment-ticker__track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.sentiment-ticker__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--color-muted-dim);
}

.sentiment-ticker__item strong {
  color: var(--color-muted);
  font-weight: 600;
}

.sentiment-ticker__arrow {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ---- Features ---- */
.features {
  padding: var(--section-pad) 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(217, 217, 217, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(23, 236, 205, 0.3);
  transform: translateY(-4px);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--color-muted-dim);
  line-height: 1.6;
}

/* ---- How it works ---- */
.how-it-works {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, transparent, rgba(23, 236, 205, 0.03), transparent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step__text {
  font-size: 0.85rem;
  color: var(--color-muted-dim);
}

/* ---- Screenshots ---- */
.screenshots {
  padding: var(--section-pad) 0;
}

.screenshot-gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0 1rem;
  margin-top: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}

.screenshot-gallery::-webkit-scrollbar {
  height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.phone-frame {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 220px;
  position: relative;
}

.phone-frame__shell {
  background: var(--color-bg-elevated);
  border-radius: 28px;
  padding: 10px;
  border: 2px solid rgba(217, 217, 217, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition);
}

.phone-frame:hover .phone-frame__shell {
  transform: translateY(-8px) rotate(-1deg);
}

.phone-frame:nth-child(even):hover .phone-frame__shell {
  transform: translateY(-8px) rotate(1deg);
}

.phone-frame__notch {
  width: 80px;
  height: 22px;
  background: var(--color-bg);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
}

.phone-frame__screen {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--color-bg-card);
}

.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    linear-gradient(160deg, var(--color-bg-elevated) 0%, var(--color-bg-card) 50%, rgba(23, 236, 205, 0.08) 100%);
}

.phone-frame__caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-muted-dim);
}

/* ---- Chat section ---- */
.chat-section {
  padding: var(--section-pad) 0;
}

.chat-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.chat-mock {
  background: var(--color-bg-card);
  border: 1px solid rgba(217, 217, 217, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-mock__bubble {
  max-width: 85%;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-mock__bubble--user {
  align-self: flex-end;
  background: var(--color-accent-dim);
  border: 1px solid rgba(23, 236, 205, 0.2);
  color: var(--color-text);
}

.chat-mock__bubble--ai {
  align-self: flex-start;
  background: rgba(217, 217, 217, 0.06);
  border: 1px solid rgba(217, 217, 217, 0.1);
  color: var(--color-muted);
}

.chat-mock__typing {
  display: flex;
  gap: 4px;
  padding: 0.5rem 0;
}

.chat-mock__typing span {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.chat-mock__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-mock__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.chat-section__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-section__points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.chat-section__points svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  margin-top: 2px;
}

/* ---- Stats band ---- */
.stats-band {
  padding: 3rem 0;
  border-block: 1px solid rgba(217, 217, 217, 0.08);
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-muted-dim);
}

/* ---- CTA ---- */
.cta-section {
  padding: var(--section-pad) 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-card));
  border: 1px solid rgba(23, 236, 205, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--color-accent-dim), transparent 60%);
  pointer-events: none;
}

.cta-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-card__text {
  color: var(--color-muted-dim);
  max-width: 50ch;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-card .btn {
  position: relative;
}

/* CONFIG: Replace # with your App Store URL when available */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: #000;
  border: 1px solid rgba(217, 217, 217, 0.2);
  border-radius: 12px;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: border-color var(--transition), transform var(--transition);
}

.app-store-badge:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  opacity: 1;
}

.app-store-badge svg {
  width: 28px;
  height: 28px;
}

.app-store-badge__small {
  display: block;
  font-size: 0.65rem;
  color: var(--color-muted-dim);
}

.app-store-badge__large {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

/* ---- Footer ---- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(217, 217, 217, 0.08);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.site-footer__tagline {
  font-size: 0.9rem;
  color: var(--color-muted-dim);
  max-width: 32ch;
}

.site-footer__heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.site-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer__links a {
  color: var(--color-muted-dim);
  font-size: 0.9rem;
}

.site-footer__links a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(217, 217, 217, 0.06);
  font-size: 0.8rem;
  color: var(--color-muted-dim);
}

/* ---- Legal / inner pages ---- */
.page-hero {
  padding: calc(var(--nav-height) + 3rem) 0 2.5rem;
  border-bottom: 1px solid rgba(217, 217, 217, 0.08);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.page-hero__meta {
  font-size: 0.9rem;
  color: var(--color-muted-dim);
}

.legal-content {
  padding: 3rem 0 var(--section-pad);
}

.legal-content .container {
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--color-text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-muted-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content strong {
  color: var(--color-muted);
}

.legal-highlight {
  background: var(--color-accent-dim);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.legal-highlight p {
  margin-bottom: 0;
  color: var(--color-muted);
}

/* ---- Contacts page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0 var(--section-pad);
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(217, 217, 217, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-detail__icon svg {
  width: 22px;
  height: 22px;
}

.contact-detail__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted-dim);
  margin-bottom: 0.2rem;
}

.contact-detail__value {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-detail__value a {
  color: var(--color-text);
}

.contact-detail__value a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* Feedback form */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg);
  border: 1px solid rgba(217, 217, 217, 0.15);
  border-radius: 10px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-muted-dim);
}

/* ---- Reveal animations ---- */
/* Visible by default; animated only when JS is enabled */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero__grid,
  .chat-section__layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 300px;
    order: -1;
  }

  .mood-pulse {
    width: 260px;
    height: 260px;
  }

  .mood-pulse__core {
    width: 140px;
    height: 140px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .steps::before {
    display: none;
  }

  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-nav__toggle {
    display: block;
  }

  .site-nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(31, 27, 39, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(217, 217, 217, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .site-nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .stats-band__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    justify-content: center;
  }
}
