/* ============================================================
   LiftBot — contact.css
   Prefix: cnt-
   Restyled to match the Features page's light/airy design language.
   Class names unchanged — only visual values updated.
   ============================================================ */

main:has(.lb) {
  max-width: none;
  width: 100%;
  padding: 0;
}

:root {
  --brand:      #4b3aff;
  --signal:     #1fce7a;
  --pop:        #ff4d8d;
  --ink:        #15161b;
  --paper-dim:  #f3f2ee;
  --paper-line: #e7e5de;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,206,122,0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(31,206,122,0); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO — light background, matching feat-hero
   ============================================================ */
.cnt-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 100px;
  text-align: center;
  background: #f3f2ee;
}
.cnt-hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.cnt-hero__glow {
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 700px;
  pointer-events: none;
  background:
    radial-gradient(500px 400px at 70% 20%, rgba(75,58,255,0.12), transparent 70%),
    radial-gradient(400px 300px at 20% 10%, rgba(255,77,141,0.09), transparent 70%);
  filter: blur(14px);
}
.cnt-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cnt-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  background: #eeecff;
  border: 1px solid rgba(75,58,255,0.2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 28px;
}
.cnt-hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 2px rgba(31,206,122,0.3);
  animation: lb-pulse 1.8s ease-in-out infinite;
}
.cnt-hero__h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  margin: 0 0 22px;
  letter-spacing: -0.03em;
}
.cnt-hero__h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #4b3aff 0%, #ff4d8d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cnt-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #53555f;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   MAIN (integrated topics + form shell)
   ============================================================ */
.cnt-main {
  background: var(--paper-dim);
  padding: 90px 24px 110px;
  border-top: 1px solid var(--paper-line);
}
.cnt-main__inner {
  max-width: 980px;
  margin: 0 auto;
}

/* ── Shared shell: sidebar + form fused as ONE visual block ── */
.cnt-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px -18px rgba(21,22,27,0.16);
}

/* ── Sidebar (topics) ── */
.cnt-side {
  background: linear-gradient(165deg, #0B1220 0%, #1c1445 100%);
  color: #fff;
  padding: 40px 30px;
}
.cnt-side__eyebrow {
  background: rgba(255,255,255,0.1);
  color: #C4B5FD;
  border-color: rgba(255,255,255,0.15);
}
.cnt-side__h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 14px 0 28px;
  letter-spacing: -0.01em;
}

.cnt-topics {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cnt-topic {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 8px;
  border-radius: 12px;
  transition: background 0.15s;
}
.cnt-topic:hover {
  background: rgba(255,255,255,0.06);
}
.cnt-topic__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cnt-topic__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
}
.cnt-topic__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #A5A7B8;
  line-height: 1.5;
  margin: 0;
}

/* ── Form card — now sits inside .cnt-shell, no own border/shadow ── */
.cnt-form-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 44px 40px;
  box-shadow: none;
}
.cnt-form-card__h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 32px;
  letter-spacing: -0.01em;
}

.cnt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cnt-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cnt-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 560px) {
  .cnt-form__grid { grid-template-columns: 1fr; }
}
.cnt-form__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.cnt-form__input {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cnt-form__input:focus {
  border-color: var(--brand);
  background: #fff;
}
.cnt-form__textarea {
  resize: vertical;
  min-height: 110px;
  font-family: 'Inter', sans-serif;
}
.cnt-form__submit {
  align-self: flex-start;
  margin-top: 8px;
}

/* ── Success state ── */
.cnt-success {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 18px;
  padding: 60px 40px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 12px 36px -16px rgba(21,22,27,0.12);
}
.cnt-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(75,58,255,0.25);
}
.cnt-success__h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}
.cnt-success__sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: #53555f;
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .cnt-shell {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .cnt-side {
    padding: 32px 26px;
  }
  .cnt-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .cnt-form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .cnt-hero { padding: 96px 20px 72px; }
  .cnt-main { padding: 72px 20px 80px; }
}

@media (max-width: 480px) {
  .cnt-topics {
    grid-template-columns: 1fr;
  }
  .cnt-side {
    padding: 26px 20px;
  }
  .cnt-form-card {
    padding: 26px 18px;
  }
}