/* ============================================================
   BebrGPT — Shared Styles
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #fafaf9;
  --offwhite: #f2f1ed;
  --cream: #e8e6e0;
  --ink: #141413;
  --ink2: #2c2c29;
  --ink3: #5c5b56;
  --ink4: #8a8983;
  --ink5: #b5b4af;
  --accent: #1a7a5c;
  --accent-light: #e6f5ef;
  --accent-dark: #145e47;
  --radius: 10px;
  --nav-h: 56px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}

::selection {
  background: var(--accent-light);
  color: var(--accent-dark);
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Skip to content --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

/* --- Focus-visible --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream);
}

.logo {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.logo b {
  font-style: italic;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}

.nav-links > a,
.nav-drop > .nav-drop-trigger {
  font-size: 13px;
  color: var(--ink3);
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.nav-links > a:hover,
.nav-drop:hover > .nav-drop-trigger {
  color: var(--ink);
}

/* --- Nav dropdown --- */
.nav-drop {
  position: relative;
}

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-drop-trigger svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}

.nav-drop:hover .nav-drop-trigger svg {
  transform: rotate(180deg);
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  z-index: 10;
}

.nav-drop:hover .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  border-radius: 6px;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-drop-menu a:hover {
  background: var(--offwhite);
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right a,
.nav-right button {
  font-size: 13px;
  font-family: inherit;
}

.nav-tg {
  color: var(--ink3);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid var(--cream);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-tg:hover {
  border-color: var(--ink5);
  color: var(--ink);
}

.nav-tg svg {
  width: 13px;
  height: 13px;
}

.nav-login {
  color: var(--ink3);
  padding: 6px 12px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-login:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 7px 18px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 13px;
}

.nav-cta:hover {
  background: var(--ink2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--cream);
}

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

.btn-accent {
  background: #34d399;
  color: #000;
  border: none;
}

.btn-accent:hover {
  background: #4ade80;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 15px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: center;
}

.hero-content {
  padding-top: 0;
}

.hero-pills {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  padding: 0 14px;
  border-right: 1px solid var(--cream);
  line-height: 1;
  white-space: nowrap;
}

.hero-pill:last-child {
  border-right: none;
}

.hero-pill:first-child {
  padding-left: 0;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 i {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 17px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 32px;
}

.hero-note {
  font-size: 13px;
  color: var(--ink4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-note svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ============================================================
   CHAT DEMO MOCKUP
   ============================================================ */
.chat-mock {
  background: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
  min-width: 0;
}

.ch-top {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ch-dots {
  display: flex;
  gap: 6px;
}

.ch-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.ch-dots i:nth-child(1) { background: #ff5f57; }
.ch-dots i:nth-child(2) { background: #febc2e; }
.ch-dots i:nth-child(3) { background: #28c840; }

.ch-model {
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.ch-model i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.ch-tabs {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.ch-tab {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ch-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.ch-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 320px;
  overflow-y: auto;
  scrollbar-width: none;
}

.ch-body::-webkit-scrollbar {
  display: none;
}

.m {
  display: flex;
  gap: 10px;
  opacity: 0;
  animation: mIn 0.4s ease forwards;
}

@keyframes mIn { to { opacity: 1; } }

.m-av {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
}

.m-u { background: rgba(167, 139, 250, 0.2); color: #a78bfa; }
.m-a { background: rgba(52, 211, 153, 0.15); color: #34d399; }

.m-t {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.m-t strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.m-file {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 5px;
}

.m-file svg {
  width: 12px;
  height: 12px;
  color: #34d399;
}

.ch-input {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ch-tb {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-tb svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.25);
}

.ch-in {
  flex: 1;
  padding: 9px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-family: inherit;
}

.ch-send {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #34d399;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-send svg {
  width: 14px;
  height: 14px;
  color: #000;
}

/* Chat animation helpers */
.cursor {
  display: inline-block;
  width: 1.5px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
  vertical-align: middle;
  animation: blink 0.8s steps(2) infinite;
}

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

.ch-in .typed {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  font-size: 13px;
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 6px 0;
}

.thinking-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: block;
  animation: dotPulse 1.2s ease infinite;
}

.thinking-dots i:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(52, 211, 153, 0.8);
  padding: 4px 10px;
  border-radius: 5px;
  background: rgba(52, 211, 153, 0.08);
  margin-bottom: 8px;
  animation: fadeIn 0.3s ease;
}

.search-tag svg {
  width: 13px;
  height: 13px;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.stream-word {
  animation: fadeIn 0.15s ease both;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 12px;
  height: 60px;
}

.mini-bar {
  width: 36px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.6), rgba(52, 211, 153, 0.2));
  animation: barGrow 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
}

.mini-bar-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

@keyframes barGrow { from { height: 0; } to { height: var(--h); } }

/* ============================================================
   LOGOS STRIP
   ============================================================ */
.logos {
  padding: 48px 32px;
  border-bottom: 1px solid var(--cream);
  text-align: center;
}

.logos-label {
  font-size: 12px;
  color: var(--ink4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.l-item {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: -0.3px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.l-item:hover {
  opacity: 1;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding: 80px 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 48px;
  max-width: 400px;
}

.section-head h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.section-head p {
  font-size: 14px;
  color: var(--ink3);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 100px 32px;
  background: var(--offwhite);
  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.how-head {
  text-align: center;
  margin-bottom: 60px;
}

.how-head h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.how-head p {
  font-size: 17px;
  color: var(--ink3);
}

.how-steps {
  display: flex;
  justify-content: center;
  position: relative;
  gap: 0;
}

/* Dashed connector line behind circles */
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67%);
  right: calc(16.67%);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0, var(--accent) 8px,
    transparent 8px, transparent 16px
  );
  opacity: 0.35;
}

.how-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.how-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(26, 122, 92, 0.25);
  position: relative;
}

/* White ring around active number */
.how-step-num::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.2;
}

.how-step-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.how-step-body p {
  font-size: 14.5px;
  color: var(--ink3);
  line-height: 1.65;
  max-width: 240px;
  margin: 0 auto;
}

.how-badge {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink4);
  font-weight: 400;
  letter-spacing: 0.2px;
}

.how-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.7;
}

/* ============================================================
   TEAM CREDIBILITY
   ============================================================ */
.team {
  padding: 48px 32px;
  border-bottom: 1px solid var(--cream);
  text-align: center;
}

.team-inner {
  max-width: 760px;
  margin: 0 auto;
}

.team-text {
  font-size: 12px;
  color: var(--ink4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.team-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tl {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: -0.3px;
  opacity: 0.65;
}

.tl:hover {
  opacity: 1;
}

.team-unis {
  font-size: 13px;
  color: var(--ink4);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.td {
  color: var(--cream);
}

/* ============================================================
   FEATURES
   ============================================================ */
.feat-header {
  text-align: center;
  margin-bottom: 48px;
}

.feat-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.feat-header p {
  font-size: 15px;
  color: var(--ink3);
}

.feat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}

.feat-card {
  background: var(--offwhite);
  border: 1px solid var(--cream);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feat-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feat-card p {
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.55;
}

.feat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feat-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* Wide card (model switcher) */
.feat-card--wide {
  display: flex;
  align-items: center;
  gap: 32px;
}

.feat-card--wide .feat-card-text {
  flex: 1;
}

.feat-card-visual {
  flex-shrink: 0;
}

.feat-demo-models {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feat-model-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--cream);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  transition: all 0.2s;
}

.feat-model-pill.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--ink);
  font-weight: 600;
}

.fm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

/* Row 2: three equal cards */
.feat-grid > .feat-card:nth-child(3),
.feat-grid > .feat-card:nth-child(4),
.feat-grid > .feat-card:nth-child(5) {
  /* these form a 3-col row */
}

/* "Coming soon" cards */
.feat-card--soon {
  opacity: 0.7;
  background: var(--white);
}

.feat-card--soon:hover {
  opacity: 0.85;
}

.feat-soon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  letter-spacing: 0.3px;
}

/* Grid layout: row 1 = 2fr+1fr, row 2 = 1fr+1fr+1fr, row 3 = 1fr+1fr */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feat-grid > .feat-card:nth-child(1) { grid-column: 1 / 5; } /* wide */
.feat-grid > .feat-card:nth-child(2) { grid-column: 5 / 7; }
.feat-grid > .feat-card:nth-child(3) { grid-column: 1 / 3; }
.feat-grid > .feat-card:nth-child(4) { grid-column: 3 / 5; }
.feat-grid > .feat-card:nth-child(5) { grid-column: 5 / 7; }
.feat-grid > .feat-card:nth-child(6) { grid-column: 1 / 4; }
.feat-grid > .feat-card:nth-child(7) { grid-column: 4 / 7; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 80px 32px;
  background: var(--ink);
  color: var(--white);
}

.pricing-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.pricing-head {
  margin-bottom: 48px;
}

.pricing-head h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
}

.pricing-head p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
}

/* Pricing comparison table (desktop) */
.ptable {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: visible;
  margin-top: 16px;
}

.ptable-header {
  display: contents;
}

.ptable-header > div {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  text-align: center;
}

.ptable-header > div:first-child {
  text-align: left;
  border-radius: 12px 0 0 0;
}

.ptable-header > div:last-child {
  border-radius: 0 12px 0 0;
}

.pt-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.pt-price {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
}

.pt-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.pt-pop {
  position: relative;
  overflow: visible;
}

.pt-pop::before {
  content: 'Оптимальный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: #34d399;
  color: #000;
  z-index: 2;
}

.ptable-row {
  display: contents;
}

.ptable-row > div {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
}

.ptable-row > div:not(:first-child) {
  justify-content: center;
}

.ptable-row:last-child > div {
  border-bottom: none;
}

.ptable-row > div:first-child {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.ptable-check { color: #34d399; }
.ptable-x { color: rgba(255, 255, 255, 0.15); }
.ptable-text { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

.ptable-btns {
  display: contents;
}

.ptable-btns > div {
  padding: 20px;
  text-align: center;
  background: transparent;
}

.ptable-btns > div:first-child {
  border-radius: 0 0 0 12px;
}

.ptable-btns > div:last-child {
  border-radius: 0 0 12px 0;
}

.pt-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pt-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pt-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.pt-btn-accent {
  background: #34d399;
  color: #000;
  border: none;
}

.pt-btn-accent:hover {
  background: #4ade80;
}

.pricing-more {
  margin-top: 20px;
  text-align: center;
}

.pricing-more a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s;
}

.pricing-more a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.pt-pay {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pt-pay span {
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.35);
}

/* Mobile pricing cards */
.mob-price {
  display: none;
}

.mob-pc {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 10px;
}

.mob-pc.pop {
  border-color: rgba(52, 211, 153, 0.3);
}

.mob-pop-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 4px;
}

.mob-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
}

.mob-feat {
  margin-bottom: 16px;
}

.mob-feat li {
  font-size: 13px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mob-feat li.on {
  color: rgba(255, 255, 255, 0.6);
}

.mob-feat li.on::before {
  content: '\2713';
  color: #34d399;
  font-weight: 700;
  font-size: 12px;
}

.mob-feat li.off {
  color: rgba(255, 255, 255, 0.2);
}

.mob-feat li.off::before {
  content: '\2014';
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   TESTIMONIALS / REVIEWS
   ============================================================ */
.reviews {
  padding: 80px 32px;
  background: var(--offwhite);
  border-top: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

.reviews-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.reviews-head {
  text-align: center;
  margin-bottom: 48px;
}

.reviews-head h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.reviews-head p {
  font-size: 14px;
  color: var(--ink3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
}

.review-role {
  font-size: 12px;
  color: var(--ink4);
}

.review-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.review-text {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.6;
  flex: 1;
}

.review-text strong {
  color: var(--ink);
  font-weight: 600;
}

.review-date {
  font-size: 12px;
  color: var(--ink5);
}

.reviews-summary {
  text-align: center;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reviews-avg {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.reviews-avg-meta {
  text-align: left;
}

.reviews-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.reviews-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
  color: #f59e0b;
}

.reviews-count {
  font-size: 12px;
  color: var(--ink4);
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  border: 1px solid var(--cream);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--cream);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  padding: 18px 24px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  gap: 16px;
}

.faq-q:hover,
.faq-q:focus-visible {
  background: var(--offwhite);
}

.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq-q .plus {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.faq-q .plus svg {
  width: 10px;
  height: 10px;
  color: var(--ink4);
  transition: transform 0.3s;
}

.faq-item.open .faq-q .plus {
  background: var(--accent-light);
  border-color: var(--accent);
}

.faq-item.open .faq-q .plus svg {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.6;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 14px 24px 20px;
}

/* --- Content links (FAQ, detail cards, pricing) --- */
.faq-a a,
.detail-card a,
.pricing-detail > p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(26, 122, 92, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s;
}

.faq-a a:hover,
.detail-card a:hover,
.pricing-detail > p a:hover {
  text-decoration-color: var(--accent);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  padding: 80px 32px;
  text-align: center;
  border-top: 1px solid var(--cream);
}

.cta h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta h2 i {
  font-style: italic;
  color: var(--accent);
}

.cta-p {
  font-size: 15px;
  color: var(--ink3);
  margin-bottom: 28px;
}

.cta-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 32px 24px;
  border-top: 1px solid var(--cream);
  max-width: 1140px;
  margin: 0 auto;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.ft-brand p {
  font-size: 12px;
  color: var(--ink4);
  line-height: 1.5;
  margin-top: 8px;
  max-width: 200px;
}

.ft-col h5,
.ft-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink4);
  margin-bottom: 12px;
  font-weight: 600;
}

.ft-col a {
  display: block;
  font-size: 13px;
  color: var(--ink3);
  padding: 3px 0;
  transition: color 0.2s;
}

.ft-col a:hover {
  color: var(--ink);
}

.ft-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--cream);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink5);
  flex-wrap: wrap;
  gap: 8px;
}

.ft-bottom a {
  color: var(--ink4);
  transition: color 0.2s;
}

.ft-bottom a:hover {
  color: var(--ink);
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mob-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  padding: 10px 14px;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--cream);
  gap: 6px;
}

.mob-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 12px;
  font-size: 13px;
  border-radius: 8px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.v {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   LEGAL PAGES (Terms, Privacy)
   ============================================================ */
.legal-page {
  padding: calc(var(--nav-h) + 60px) 32px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.legal-page .legal-date {
  font-size: 13px;
  color: var(--ink4);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
}

.legal-page ol {
  list-style: decimal;
}

.legal-page li {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 4px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--accent-dark);
}

/* ============================================================
   EXTENDED PRICING PAGE
   ============================================================ */
.pricing-page-hero {
  padding: calc(var(--nav-h) + 60px) 32px 60px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-page-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.pricing-page-hero h1 i {
  font-style: italic;
  color: var(--accent);
}

.pricing-page-hero p {
  font-size: 16px;
  color: var(--ink3);
  line-height: 1.6;
}

/* Pricing cards grid for detail page */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px 60px;
}

.p-card {
  border: 1px solid var(--cream);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}

.p-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.p-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.p-card-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
}

.p-card-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.p-card-desc {
  font-size: 13px;
  color: var(--ink4);
  margin-bottom: 16px;
}

.p-card-price {
  font-family: 'Instrument Serif', serif;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 4px;
}

.p-card-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink4);
  font-weight: 400;
}

.p-card-period {
  font-size: 12px;
  color: var(--ink5);
  margin-bottom: 24px;
}

.p-card .btn {
  width: 100%;
  margin-bottom: 24px;
}

.p-card-features {
  list-style: none;
}

.p-card-features li {
  font-size: 13.5px;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink3);
}

.p-card-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.p-card-features li.disabled {
  color: var(--ink5);
}

.p-card-features li.disabled::before {
  content: '\2014';
  color: var(--ink5);
}

/* Detail sections on pricing page */
.pricing-detail {
  padding: 60px 32px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-detail h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.detail-card {
  border: 1px solid var(--cream);
  border-radius: 12px;
  padding: 24px;
}

.detail-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-card p {
  font-size: 13.5px;
  color: var(--ink3);
  line-height: 1.6;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.tier-table th,
.tier-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--cream);
}

.tier-table th {
  font-weight: 600;
  color: var(--ink);
  background: var(--offwhite);
}

.tier-table td {
  color: var(--ink3);
}

.tier-table tr:last-child td {
  border-bottom: none;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink3);
  white-space: nowrap;
}

.tier-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-badge-0::before { background: var(--accent); }
.tier-badge-1::before { background: #3b82f6; }
.tier-badge-2::before { background: #f59e0b; }

/* ============================================================
   HAMBURGER MENU (mobile)
   ============================================================ */
.burger {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mob-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(250, 250, 249, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mob-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mob-menu-inner {
  padding: 16px 24px 100px;
  display: flex;
  flex-direction: column;
}

.mob-menu-inner a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink2);
  border-bottom: 1px solid var(--cream);
  transition: color 0.2s;
}

.mob-menu-inner a:last-child {
  border-bottom: none;
}

.mob-menu-inner a:active {
  color: var(--accent);
}

.mob-menu-divider {
  height: 0;
  margin: 4px 0;
}

.mob-drop {
  display: flex;
  flex-direction: column;
}

.mob-drop-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink2);
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.mob-drop-trigger svg {
  transition: transform 0.25s ease;
}

.mob-drop-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mob-drop-items {
  display: none;
  flex-direction: column;
  padding-left: 16px;
}

.mob-drop-items.open {
  display: flex;
}

.mob-drop-items a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink2);
  opacity: 0.75;
  border-bottom: 1px solid var(--cream);
}

.mob-drop-items a:last-child {
  border-bottom: none;
}

.mob-drop-items a:active {
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 420px;
    gap: 32px;
  }

  .hero-btns .btn {
    padding: 13px 20px;
    font-size: 13px;
  }
}

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

  .nav .nav-login,
  .nav .nav-tg {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mob-menu {
    display: block;
  }

  .mob-cta {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 120px 20px 60px;
  }

  .hero-btns {
    flex-wrap: nowrap;
  }

  .hero-btns .btn {
    flex: none;
  }

  .chat-mock {
    max-width: 100%;
    margin: 0 auto;
  }

  .ch-body {
    height: 260px;
  }

  .how-steps {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .how-steps::before {
    display: none;
  }

  .how-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 62px;
    bottom: -36px;
    width: 2px;
    background: repeating-linear-gradient(
      180deg,
      var(--accent) 0, var(--accent) 8px,
      transparent 8px, transparent 16px
    );
    opacity: 0.35;
  }

  .how-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    width: 100%;
    padding: 0 16px 0 0;
  }

  .how-step-num {
    width: 56px;
    min-width: 56px;
    margin: 0;
  }

  .how-step-body {
    flex: 1;
    min-width: 0;
  }

  .how-step-body p {
    max-width: none;
  }

  .feat-grid {
    grid-template-columns: 1fr !important;
  }

  .feat-grid > .feat-card {
    grid-column: 1 / -1 !important;
  }

  .feat-card--wide {
    flex-direction: column;
    gap: 20px;
  }

  .ptable {
    display: none !important;
  }

  .mob-price {
    display: block !important;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding-bottom: 90px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0 12px;
  }

  /* Hide CTA button on small mobile — sticky CTA + hamburger provide access */
  .nav .nav-cta {
    display: none;
  }

  .section,
  .how-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 100px 16px 40px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 52px);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-pills {
    gap: 0;
    margin-bottom: 20px;
  }

  .hero-pill {
    font-size: 11.5px;
    padding: 0 8px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-note {
    font-size: 12px;
  }

  /* Chat demo mobile tweaks */
  .ch-top {
    padding: 10px 12px;
  }

  .ch-model {
    font-size: 12px;
    padding: 3px 8px;
  }

  .ch-tab {
    font-size: 10px;
    padding: 2px 7px;
  }

  .ch-body {
    height: 220px;
    padding: 12px;
  }

  .ch-input {
    padding: 10px 12px;
  }

  /* Logos */
  .logos {
    padding: 32px 16px;
  }

  .logos-row {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .l-item {
    font-size: 14px;
  }

  /* How it works */
  .how {
    padding: 60px 16px;
  }

  .how-step-num {
    width: 48px;
    min-width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .how-step-num::after {
    inset: -4px;
  }

  .how-step::after {
    left: 24px;
    top: 54px;
  }

  /* Team */
  .team {
    padding: 36px 16px;
  }

  .team-logos {
    gap: 20px;
  }

  .tl {
    font-size: 16px;
  }

  /* Features */
  .feat-card {
    padding: 22px 18px;
  }

  .feat-card h3 {
    font-size: 15px;
  }

  /* Pricing */
  .pricing {
    padding: 60px 16px;
  }

  .mob-pc {
    padding: 20px 16px;
  }

  .pricing-more {
    margin-top: 16px;
  }

  .pt-pay {
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Reviews */
  .reviews {
    padding: 60px 16px;
  }

  .reviews-head {
    margin-bottom: 32px;
  }

  .review-card {
    padding: 20px 16px;
  }

  .reviews-summary {
    margin-top: 24px;
  }

  .reviews-avg {
    font-size: 40px;
  }

  /* FAQ */
  .faq-q {
    padding: 16px 16px;
    font-size: 14px;
  }

  .faq-a {
    padding: 0 16px;
  }

  .faq-item.open .faq-a {
    padding: 12px 16px 16px;
  }

  /* CTA */
  .cta {
    padding: 60px 16px;
  }

  .cta-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-btns .btn {
    width: 100% !important;
    display: flex;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding: 32px 16px 24px;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding-bottom: 90px;
  }

  /* Legal pages */
  .legal-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Extended pricing page */
  .pricing-page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pricing-cards {
    padding-left: 16px;
    padding-right: 16px;
  }

  .pricing-detail {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tier-table {
    font-size: 12px;
  }

  .tier-table th,
  .tier-table td {
    padding: 10px 10px;
  }
}
