/* Quick Device Fix – DIY Repair Hub */
:root {
  --bg: #0a0c0f;
  --bg-elevated: #111418;
  --bg-card: #161b22;
  --bg-card-hover: #1c2330;
  --text: #e2e8f0;
  --text-muted: #7c8ba1;
  --text-faint: #3d4f63;
  --accent: #22d3ee;         /* cyan */
  --accent-hover: #67e8f9;
  --accent-warm: #f59e0b;    /* amber - for mail-in / CTA */
  --accent-warm-hover: #fbbf24;
  --green: #10b981;
  --red: #ef4444;
  --border: #1e2836;
  --border-bright: #2a3a4e;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-head: "Syne", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ───────────── HEADER ───────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--text); }

.logo-accent { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.15s;
}

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

.nav-cta {
  background: var(--accent-warm);
  color: #0a0c0f !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-cta:hover {
  background: var(--accent-warm-hover);
  color: #0a0c0f !important;
}

/* ───────────── BUTTONS ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0a0c0f;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0a0c0f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-bright);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-bright);
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-large { padding: 0.9rem 2rem; font-size: 1rem; }

.btn-full { width: 100%; }

/* ───────────── SECTION LABELS ───────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section { padding: 5rem 0; }

/* ───────────── HERO ───────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;

  min-height: calc(100vh - 82px);
  padding: 7rem 1.5rem 5rem;

  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.035em;
  max-width: 700px;
}

.hero-highlight {
  background: linear-gradient(90deg, #22d3ee, #60a5fa, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 0 2.2rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,211,238,0.08);
  transform: scale(0.95);
}

.hero::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,0.15), transparent 70%);
  filter: blur(80px);
  z-index: -1;
}

.device-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.device-card-chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fake-msg {
  padding: 0.6rem 0.875rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.fake-msg.bot {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 90%;
}

.fake-msg.user {
  background: var(--accent);
  color: #0a0c0f;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  max-width: 80%;
  font-weight: 500;
}

.fake-part-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  cursor: default;
}

.fake-part-icon { font-size: 0.9rem; }

/* ───────────── HOW IT WORKS ───────────── */
.how-it-works { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.how-it-works .section-title { text-align: center; margin-bottom: 3rem; }

.steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.step-card-featured {
  background: linear-gradient(135deg, rgba(34,211,238,0.06), rgba(34,211,238,0.02));
  border-color: rgba(34,211,238,0.3);
  transform: scale(1.03);
}

.step-connector {
  padding: 0 0.75rem;
  font-size: 1.5rem;
  color: var(--text-faint);
  align-self: center;
  flex-shrink: 0;
}

.step-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card-featured .step-number { opacity: 0.7; }

.step-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.step-badge {
  margin-top: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
}

/* ───────────── REPAIRS GRID ───────────── */
.repairs .section-title,
.repairs .section-sub { text-align: center; }

.repairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.repair-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.repair-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.repair-icon { font-size: 2rem; line-height: 1; }

.repair-info h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.2rem;
  color: var(--text);
}

.repair-info p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
}

.repair-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.difficulty {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

.difficulty-easy { background: rgba(16,185,129,0.15); color: var(--green); }
.difficulty-medium { background: rgba(245,158,11,0.15); color: var(--accent-warm); }
.difficulty-hard { background: rgba(239,68,68,0.12); color: var(--red); }

.repair-cost {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.repair-cta {
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.repair-cta:hover {
  background: rgba(34,211,238,0.08);
  border-color: var(--accent);
}

/* ───────────── AFFILIATE CALLOUT ───────────── */
.affiliate-callout {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.affiliate-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.affiliate-text h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.affiliate-text h2 em {
  color: var(--accent);
  font-style: normal;
}

.affiliate-text p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.affiliate-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.affiliate-logo {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
}

.affiliate-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  width: 260px;
  flex-shrink: 0;
}

.affiliate-cta-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 1rem;
}

.affiliate-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

/* ───────────── MAIL-IN ───────────── */
.mail-in-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mail-in-text h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.mail-in-text p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.mail-in-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mail-in-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Form */
.mail-in-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.mail-in-form h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.mail-in-form label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}

.mail-in-form label:first-of-type { margin-top: 0; }

.mail-in-form input,
.mail-in-form textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.mail-in-form input:focus,
.mail-in-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34,211,238,0.1);
}

.mail-in-form input::placeholder,
.mail-in-form textarea::placeholder { color: var(--text-faint); }

.mail-in-form textarea { resize: vertical; }

.mail-in-form .btn { margin-top: 1.25rem; }

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  text-align: center;
}

/* ───────────── BLOG PREVIEW ───────────── */
.blog-preview .section-title,
.blog-preview .section-sub { text-align: center; }

.blog-preview-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.blog-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}

.blog-preview-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.blog-preview-card a {
  display: block;
  padding: 1.5rem;
  color: inherit;
}

.blog-preview-meta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.blog-preview-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.35;
}

.blog-preview-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.blog-preview-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.blog-preview-card:hover .blog-preview-link { color: var(--accent); }

.blog-preview-cta {
  text-align: center;
  margin: 2rem 0 0;
}

/* ───────────── FAQ ───────────── */
.faq {
  max-width: 740px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.faq .section-label { text-align: center; }

.faq h2 {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-sans);
  text-align: left;
  gap: 1rem;
  transition: color 0.15s;
}

.faq-question:hover { color: var(--accent); }

.faq-answer {
  padding: 0.25rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-answer[hidden] { display: none; }

.faq .icon { transition: transform 0.2s; color: var(--text-muted); flex-shrink: 0; }

.faq-question[aria-expanded="true"] .icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* ───────────── FOOTER ───────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.footer-sub {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 0.5rem;
}

.footer-affiliate-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0 0 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}

.copyright a { color: var(--text-muted); }
.copyright a:hover { color: var(--accent); }

/* ───────────── CHATBOT ───────────── */
.chat-bot-root {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  font-family: var(--font-sans);
}

.chat-bot-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #0a0c0f;
  border: none;
  border-radius: 2rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(34, 211, 238, 0.35);
  transition: all 0.2s;
}

.chat-bot-toggle:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.chat-bot-toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(10,12,15,0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.chat-bot-panel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 390px;
  max-height: 85vh;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,211,238,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-bot-panel-open { animation: chat-bot-slide 0.22s ease-out; }

@keyframes chat-bot-slide {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.chat-bot-header h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.chat-bot-header-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin: 0.1rem 0 0;
}

.chat-bot-close {
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.15s;
}

.chat-bot-close:hover {
  color: var(--text);
  background: var(--border);
}

.chat-bot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
  max-height: 48vh;
}

.chat-bot-msg { display: flex; }
.chat-bot-msg-bot { justify-content: flex-start; }
.chat-bot-msg-user { justify-content: flex-end; }

.chat-bot-msg-bubble {
  max-width: 88%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bot-msg-bot .chat-bot-msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.chat-bot-msg-user .chat-bot-msg-bubble {
  background: var(--accent);
  color: #0a0c0f;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-bot-input-area {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.chat-bot-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chat-bot-choice {
  padding: 0.45rem 0.875rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.chat-bot-choice:hover {
  border-color: var(--accent);
  background: rgba(34,211,238,0.08);
  color: var(--accent);
}

.chat-bot-choice-secondary {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.chat-bot-cta-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.7rem 1rem;
  margin-bottom: 0.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s;
}

.chat-bot-cta-link:hover {
  border-color: var(--accent);
  background: rgba(34,211,238,0.06);
  color: var(--accent);
}

.chat-bot-cta-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0c0f;
}

.chat-bot-cta-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #0a0c0f;
}

.chat-bot-cta-secondary {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: #0a0c0f;
}

.chat-bot-cta-secondary:hover {
  background: var(--accent-warm-hover);
  border-color: var(--accent-warm-hover);
  color: #0a0c0f;
}

/* Parts link card in chat */
.chat-parts-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  background: rgba(34,211,238,0.05);
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.chat-parts-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.chat-parts-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.15s;
}

.chat-parts-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chat-difficulty-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}

/* Blog page */
.blog-page { padding-bottom: 4rem; }

.blog-header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.blog-header h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.blog-header-sub {
  color: var(--text-muted);
  margin: 0;
  max-width: 500px;
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-list-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

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

.blog-list-date {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.blog-list-item h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-list-item h2 a { color: var(--text); }
.blog-list-item h2 a:hover { color: var(--accent); }

.blog-list-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Post page */
.post-page { padding: 2rem 0 4rem; }
.post-article { max-width: 680px; }
.post-back { display: inline-block; font-size: 0.875rem; margin-bottom: 1rem; }
.post-date { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.post-header { margin-bottom: 2rem; }

.post-header h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.post-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

.post-body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.post-body p { margin: 0 0 1rem; color: var(--text); }

.post-body a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem 2.5rem;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-proof { align-items: center; }
  .hero-visual { display: none; }

  .steps-grid { flex-direction: column; }
  .step-connector { display: none; }
  .step-card-featured { transform: none; }

  .affiliate-inner { grid-template-columns: 1fr; }
  .affiliate-cta-box { width: 100%; }

  .mail-in-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }

  .chat-bot-root {
    bottom: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
  }

  .chat-bot-panel {
    max-width: none;
    max-height: 90vh;
  }

  .chat-bot-toggle-label { display: none; }

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

  .repair-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .repair-cta { grid-column: 1 / -1; }
}
/* ─────────────────────────────────────────────────────────────
   Modern modular refresh — keeps repair guide/card system intact
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #070a0f;
  --bg-elevated: #0d121a;
  --bg-card: rgba(17, 24, 34, 0.78);
  --bg-card-hover: rgba(26, 36, 51, 0.92);
  --text: #f4f7fb;
  --text-muted: #9aa8ba;
  --text-faint: #5f6f83;
  --accent: #36d6ff;
  --accent-hover: #79e6ff;
  --accent-warm: #ffb020;
  --accent-warm-hover: #ffd166;
  --border: rgba(148, 163, 184, 0.15);
  --border-bright: rgba(148, 163, 184, 0.28);
  --shadow-soft: 0 24px 90px rgba(0, 0, 0, 0.36);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.24);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(54, 214, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 18%, rgba(255, 176, 32, 0.12), transparent 28rem),
    linear-gradient(180deg, #070a0f 0%, #0a0f16 42%, #070a0f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.container, .header-inner, .hero, .footer-inner { max-width: 1180px; }

.site-header {
  top: 0.75rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.header-inner { padding: 0.72rem 1rem 0.72rem 1.25rem; }
.logo { font-size: 1rem; }
.nav { gap: 0.45rem; }
.nav a { padding: 0.5rem 0.72rem; border-radius: 999px; }
.nav a:hover { background: rgba(255,255,255,0.06); }
.nav-cta { padding: 0.55rem 0.95rem !important; box-shadow: 0 10px 26px rgba(255,176,32,0.22); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.62rem;
  background: rgba(54, 214, 255, 0.09);
  border: 1px solid rgba(54, 214, 255, 0.18);
  border-radius: 999px;
  color: var(--accent-hover);
}
.section-title { max-width: 780px; letter-spacing: -0.045em; }
.section-sub { font-size: 1rem; }

.hero {
  min-height: calc(100vh - 6rem);
  padding: clamp(5.5rem, 9vw, 8rem) 1.5rem clamp(4rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.hero-bg-grid { opacity: 0; }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  width: fit-content;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(54,214,255,0.22);
  background: rgba(54,214,255,0.08);
  border-radius: 999px;
  color: var(--accent-hover);
}
.hero-eyebrow::before { width: 7px; height: 7px; border-radius: 999px; box-shadow: 0 0 0 5px rgba(54,214,255,0.12); }
.hero h1 {
  font-size: clamp(3.4rem, 8vw, 6.55rem);
  line-height: 0.93;
  max-width: 760px;
  margin-bottom: 1.35rem;
}
.hero-highlight {
  color: transparent;
  background: linear-gradient(90deg, #ffffff, #82eaff 42%, #ffc55d 92%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-sub { max-width: 640px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #b7c2d0; }
.hero-ctas { gap: 0.9rem; }
.btn { border-radius: 999px; min-height: 2.9rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #8df0ff); box-shadow: 0 14px 36px rgba(54,214,255,0.22); }
.btn-ghost { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.13); color: #dbe6f3; }
.hero-proof {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 760px;
}
.proof-item {
  align-items: flex-start;
  padding: 0.9rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  color: #c6d1df;
  line-height: 1.35;
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% -8% -8% 12%;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(54,214,255,0.24), rgba(255,176,32,0.12));
  filter: blur(34px);
}
.hero-device-card {
  max-width: 430px;
  padding: 1rem;
  border-radius: 32px;
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(20,29,42,0.86), rgba(10,14,21,0.92));
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.hero-device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(54,214,255,0.18), transparent 38%);
  pointer-events: none;
}
.device-card-label {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: var(--text);
  font-size: 0.78rem;
}
.device-card-label::after { content: "Live recommendation"; color: var(--accent-hover); font-weight: 700; text-transform: none; letter-spacing: 0; }
.fake-msg, .fake-part-link { position: relative; border-radius: 18px; }
.fake-msg.bot { background: rgba(255,255,255,0.055); }
.fake-msg.user { background: linear-gradient(135deg, var(--accent), #9af2ff); }
.fake-part-link { padding: 0.75rem 0.9rem; background: rgba(54,214,255,0.1); }

.how-it-works, .affiliate-callout {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border-block: 1px solid rgba(255,255,255,0.08);
}
.how-it-works .section-title, .repairs .section-title, .repairs .section-sub, .blog-preview .section-title, .blog-preview .section-sub { margin-left: auto; margin-right: auto; text-align: center; }
.how-it-works .section-label, .repairs .section-label, .blog-preview .section-label { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.step-connector { display: none; }
.step-card {
  min-height: 260px;
  padding: 1.4rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18,26,37,0.82), rgba(12,17,25,0.88));
  border-color: rgba(255,255,255,0.11);
  box-shadow: var(--shadow-card);
}
.step-card-featured { transform: none; border-color: rgba(54,214,255,0.34); }
.step-number { font-size: 4.5rem; margin-bottom: 1.2rem; opacity: 0.18; }
.step-card h3 { font-size: 1.25rem; }
.step-card p { font-size: 0.95rem; }
.step-badge { background: rgba(54,214,255,0.1); }

.repairs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.repair-card {
  grid-template-columns: 1fr;
  align-items: start;
  min-height: 260px;
  padding: 1.35rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18,26,37,0.74), rgba(10,15,23,0.88));
  border-color: rgba(255,255,255,0.11);
  box-shadow: 0 14px 44px rgba(0,0,0,0.2);
}
.repair-card:hover { border-color: rgba(54,214,255,0.35); box-shadow: 0 22px 60px rgba(0,0,0,0.28); }
.repair-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.repair-info h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.repair-info p { font-size: 0.92rem; }
.repair-cta { width: 100%; border-radius: 999px; padding: 0.72rem 1rem; }

.affiliate-inner, .mail-in-inner { gap: clamp(2rem, 6vw, 5rem); }
.affiliate-callout { padding: clamp(4rem, 7vw, 6rem) 0; }
.affiliate-text h2, .mail-in-text h2 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 0.98; letter-spacing: -0.045em; }
.affiliate-logo {
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #d7e1ef;
}
.affiliate-cta-box, .mail-in-form-wrap {
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(18,26,37,0.84), rgba(9,14,21,0.92));
  border-color: rgba(255,255,255,0.13);
  box-shadow: var(--shadow-card);
}
.mail-in-list li {
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
}
.mail-in-form input, .mail-in-form textarea { border-radius: 16px; background: rgba(255,255,255,0.045); }

.blog-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-preview-card {
  min-height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18,26,37,0.74), rgba(10,15,23,0.88));
  border-color: rgba(255,255,255,0.11);
  overflow: hidden;
}
.blog-preview-card a { padding: 1.55rem; }
.blog-preview-card h3 { font-size: 1.2rem; }

.faq {
  max-width: 900px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  background: rgba(255,255,255,0.035);
  margin-block: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.faq .container { padding: 0; }
.faq-item:last-child { border-bottom: 0; }

.site-footer {
  background: rgba(0,0,0,0.18);
  border-top-color: rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .site-header { width: calc(100% - 1rem); top: 0.5rem; border-radius: 24px; }
  .header-inner { align-items: flex-start; gap: 0.8rem; flex-direction: column; }
  .nav { flex-wrap: wrap; }
  .hero { min-height: auto; grid-template-columns: 1fr; text-align: left; }
  .hero-eyebrow, .hero-ctas { justify-content: flex-start; }
  .hero-sub { margin-left: 0; margin-right: 0; }
  .hero-proof, .steps-grid, .repairs-grid, .blog-preview-grid { grid-template-columns: 1fr; }
  .hero-visual { display: flex; justify-content: flex-start; }
  .step-card, .repair-card { min-height: auto; }
}

@media (max-width: 640px) {
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .hero-proof { gap: 0.55rem; }
  .proof-item { padding: 0.75rem; }
  .nav a:not(.nav-cta) { display: inline-flex; }
  .nav { gap: 0.25rem; }
  .nav a { font-size: 0.78rem; padding: 0.42rem 0.55rem; }
}

/* Blog conversion upgrades — add to bottom of styles.css */
.post-conversion-page .post-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(34,211,238,0.13), transparent 34%),
    radial-gradient(circle at 80% 10%, rgba(245,158,11,0.10), transparent 32%),
    var(--bg);
}

.post-quick-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.guide-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  margin: 2rem 0 1.25rem;
}

.repair-cta-box {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}

.repair-cta-box h2,
.repair-cta-box p { margin-top: 0; }

.repair-cta-box-featured {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,0.10), rgba(245,158,11,0.06));
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.cta-kicker {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.post-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.post-body h2 {
  margin-top: 2.2rem;
  font-size: 1.35rem;
}

.post-body h3 { margin-top: 0; }

.post-body p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
}

.post-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(34,211,238,.35);
}

.guide-checklist-card {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.18);
  border-radius: var(--radius-lg);
}

.guide-checklist-card ul {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.guide-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.decision-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(16,185,129,.22);
  border-radius: var(--radius-lg);
}

.decision-card-warn {
  border-color: rgba(245,158,11,.28);
}

.repair-cta-box-final {
  margin-top: 2.5rem;
  border-color: rgba(34,211,238,.35);
}

/* ───────────── CHATBOT FINAL FIX (CLEAN) ───────────── */

.chat-bot-root {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99999;
  font-family: var(--font-sans);
}

.chat-bot-panel {
  width: 360px;
  max-width: calc(100vw - 2rem);
  max-height: 78vh;
  background: rgba(13, 18, 26, 0.96);
  border: 1px solid rgba(54, 214, 255, 0.25);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 32px rgba(54,214,255,.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-bot-header {
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(25,35,50,.96), rgba(14,20,30,.96));
}

.chat-bot-messages {
  flex: 1;
  overflow-y: auto;
  max-height: 34vh;
  min-height: 120px;
  padding: 1rem;
}

.chat-bot-msg-bubble {
  font-size: .82rem;
  line-height: 1.45;
}

.chat-bot-input-area {
  padding: .9rem;
  background: rgba(8,12,18,.98);
}

.chat-parts-card {
  max-height: 260px;
  overflow-y: auto;
  padding: .75rem;
  border-radius: 16px;
}

.chat-parts-link {
  display: block;
  padding: .7rem;
  margin-bottom: .5rem;
  border-radius: 12px;
}

.chat-bot-cta-link {
  margin-top: .5rem;
  border-radius: 999px;
}

.chat-bot-choice {
  width: 100%;
  justify-content: center;
}

/* Mobile Fix */
@media (max-width: 640px) {
  .chat-bot-root {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
  }

  .chat-bot-panel {
    width: 100%;
    max-height: 72vh;
  }

  .chat-bot-messages {
    max-height: 30vh;
  }

  .chat-parts-card {
    max-height: 220px;
  }
  
  /* Blog index card polish */
.blog-list-item {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.035);
  transition: .2s ease;
}

.blog-list-item:hover {
  border-color: rgba(54,214,255,.35);
  transform: translateY(-2px);
}

.blog-list-item h2 {
  margin-top: .25rem;
}

.blog-list-item .blog-preview-link {
  display: inline-block;
  margin-top: .65rem;
  color: var(--accent);
  font-weight: 700;
}

/* ===== CHATBOT OPEN / CLOSE STATE FIX ===== */

.chat-bot-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: all 0.25s ease;
}

.chat-bot-panel.chat-bot-panel-open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hidden attribute fallback */
.chat-bot-panel[hidden] {
  display: none !important;
}

/* Final chatbot conversion polish */
.chat-bot-panel[hidden] {
  display: none !important;
}

.chat-bot-panel {
  display: none;
  opacity: 0;
  transform: translateY(18px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.chat-bot-panel.chat-bot-panel-open {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-parts-card-featured {
  border-color: rgba(255, 176, 32, .45);
  background: linear-gradient(135deg, rgba(255,176,32,.12), rgba(54,214,255,.08));
}

.chat-parts-link-primary {
  border: 1px solid rgba(54,214,255,.65) !important;
  background: linear-gradient(135deg, rgba(54,214,255,.18), rgba(255,176,32,.08)) !important;
  box-shadow: 0 10px 28px rgba(54,214,255,.12);
}

.chat-parts-link strong {
  color: var(--text);
}

.chat-parts-link-primary strong {
  color: var(--accent-hover);
}

}