/* === AIxSafe Design System — Dark Theme === */

:root {
  --color-bg: #000000;
  --color-bg-alt: #0a0a0a;
  --color-bg-card: #111111;
  --color-bg-elevated: #1a1a1a;
  --color-text: #ffffff;
  --color-text-muted: #a1a1aa;
  --color-text-dim: #71717a;
  --color-primary: #1a56db;
  --color-primary-hover: #1443b0;
  --color-border: #222222;
  --color-border-light: #2a2a2a;
  --color-accent: #1a56db;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --radius: 8px;
}

/* === Reset === */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* === Typography === */

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  color: var(--color-text-muted);
}

.hero p {
  max-width: 640px;
}

.section-header p {
  max-width: 900px;
}

/* === Section Label (eyebrow) === */

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 12px;
}

/* === Layout === */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

section.alt {
  background: var(--color-bg-alt);
}

/* === Header === */

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text);
}

/* === Nav Dropdown === */

.nav-dropdown {
  position: relative;
}

.nav-dropdown>a {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 200;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
}

/* === Buttons === */

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
}

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

.btn-outline:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  text-decoration: none;
}

/* === Hero === */

.hero {
  padding: 120px 0 100px;
  text-align: center;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 24px;
}

.hero p {
  font-size: 1.15rem;
  margin: 0 auto 44px;
  max-width: 1400px;
  color: var(--color-text-muted);
}

/* === CTA Row === */

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Section Header === */

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header p {
  margin: 14px auto 0;
  font-size: 1.1rem;
}

/* === Grid === */

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

/* === Cards === */

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(26, 86, 219, 0.04),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Base cards are static. Interactive cards use .clickable-card or .guide-card */
.card:hover::before {
  opacity: 1;
}

.card>* {
  position: relative;
  z-index: 1;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.card .card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(79, 70, 229, 0.15);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.card .card-icon svg {
  width: 22px;
  height: 22px;
}

/* === Compliance Banner === */

.compliance-banner {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.compliance-banner h3 {
  margin-bottom: 14px;
}

.compliance-banner ul {
  list-style: none;
  padding: 0;
}

.compliance-banner li {
  padding: 6px 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compliance-banner li::before {
  content: "—";
  color: var(--color-accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* === CTA Section === */

.cta-section {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 88px 0;
}

.cta-section h2 {
  color: var(--color-text);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-text-muted);
  margin: 0 auto 32px;
}

/* === Forms === */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  background: var(--color-bg-card);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-dim);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .required {
  color: #ef4444;
}

.form-message {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* === Footer === */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.footer-note {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  max-width: 480px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

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

/* === Page Header === */

.page-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin-bottom: 14px;
  font-size: 2.75rem;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* === Content Sections === */

.content-block {
  margin-bottom: 48px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.content-block h3 {
  margin-bottom: 10px;
}

.content-block p {
  margin-bottom: 12px;
}

.content-block ul {
  list-style: none;
  padding: 0;
}

.content-block li {
  padding: 6px 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.content-block li::before {
  content: "—";
  color: var(--color-accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* === Lifecycle Steps === */

.lifecycle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.lifecycle-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

.lifecycle-step:last-child {
  border-bottom: none;
}

.lifecycle-step .step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.lifecycle-step h3 {
  margin-bottom: 6px;
}

/* === Disclosure List === */

.disclosure-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.disclosure-item h3 {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclosure-item h3 .icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.disclosure-item p {
  color: var(--color-text-muted);
}

/* === Contact Layout === */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 12px;
  margin-top: 28px;
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info p {
  font-size: 0.95rem;
}

/* === Responsive === */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    padding: 72px 0 56px;
  }

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

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }

  nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }
}

/* === Navigation Dropdown === */

.nav-dropdown {
  position: relative;
}

.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown>a::after {
  content: "";
  border: solid var(--color-text-muted);
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(45deg);
  margin-top: -2px;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-width: 200px;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.dropdown-content a:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* === TLDR Box === */

.tldr-box {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  padding: 20px 24px;
  margin: 24px 0 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tldr-box strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tldr-box p {
  margin: 0;
  color: var(--color-text-muted);
}

/* === FAQ Section === */

.faq-section {
  margin-top: 48px;
}

.faq-section h2 {
  margin-bottom: 24px;
}

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

.faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.faq-answer {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === Guide Cards === */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.guide-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
}

.guide-card h3 {
  margin-bottom: 8px;
}

.guide-card h3 a {
  color: var(--color-text);
}

.guide-card h3 a:hover {
  color: var(--color-primary);
}

.guide-card .guide-meta {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 12px;
}

.guide-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.guide-card .guide-tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-text-dim);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Footer Columns === */

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--color-text-dim);
  font-size: 0.85rem;
  padding: 4px 0;
}

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

/* === Guide Article Layout === */

.guide-content {
  max-width: 720px;
  margin: 0 auto;
}

.guide-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.guide-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.guide-content ul,
.guide-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.guide-content li {
  padding: 4px 0;
  color: var(--color-text-muted);
}

.guide-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.guide-related h3 {
  margin-bottom: 16px;
}

.guide-related ul {
  list-style: none;
  padding: 0;
}

.guide-related li {
  padding: 8px 0;
}

.guide-related a {
  color: var(--color-accent);
}

/* === Bullet Lists with Check === */

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 600;
}

/* === Pain Points / Outcomes === */

.pain-points li::before,
.outcomes li::before {
  content: none;
}

.pain-points li {
  padding-left: 28px;
}

.pain-points li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: 600;
}

.outcomes li::before {
  content: "✓";
  color: #28a745;
}

/* === Proof Banner === */

.proof-banner {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}

.proof-banner p {
  margin: 0;
  font-size: 0.95rem;
}

/* === Responsive for new components === */

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .dropdown-content {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    padding-left: 16px;
  }

  nav.open .dropdown-content {
    display: block;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* === FAQ Accordion === */
.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}

.faq-section h2 {
  margin-bottom: 32px;
  font-size: 1.6rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--color-bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--color-border-light);
}

.faq-item[open] {
  border-color: var(--color-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-dim);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0;
}

/* === Page Header === */
.page-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  max-width: none;
}

.page-header p {
  max-width: none;
}

/* === Guide Content === */


.guide-content {
  width: 100%;
  max-width: none;
  line-height: 1.8;
  font-size: 1.05rem;
}

.guide-content p,
.guide-content li {
  color: var(--color-text-muted);
  max-width: none;
}

.guide-content h2,
.guide-content h3 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.guide-content h2 {
  font-size: 1.75rem;
}

.guide-content ol,
.guide-content ul {
  padding-left: 24px;
  margin: 16px 0;
}

.guide-content li {
  margin-bottom: 8px;
}

.guide-content strong {
  color: var(--color-text);
}

/* === Guide Grid (Index Page) === */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

@media (max-width: 768px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  position: relative;
  cursor: pointer;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.08);
}

.guide-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.guide-card h3 a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.guide-card h3 a:hover {
  color: var(--color-accent);
}

/* === Guide Category Filter === */
.guide-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.guide-filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.guide-filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.guide-filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.guide-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.guide-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 8px 0 16px;
  flex-grow: 1;
}

.guide-meta {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-bottom: 8px;
}

.guide-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--color-bg-elevated);
  color: var(--color-text-dim);
  border: 1px solid var(--color-border);
}

/* === Guide Individual Page Components === */
.guide-category-bar {
  padding: 48px 0 24px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 48px;
}

.guide-category-bar h3 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: var(--color-text);
}

.recommended-heading {
  margin: 64px 0 32px;
  font-size: 1.75rem;
}

/* === Clickable Cards === */
.clickable-card,
.guide-card {
  cursor: pointer !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  border-bottom: 2px solid transparent !important;
}

.clickable-card:hover,
.guide-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(26, 86, 219, 0.12) !important;
  border-color: var(--color-accent) !important;
  border-bottom-color: var(--color-accent) !important;
}

.clickable-card h3 a,
.guide-card h3 a {
  text-decoration: none;
  color: inherit;
}

.clickable-card h3 a::after,
.guide-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  transition: gap 0.2s ease;
}

.clickable-card:hover .learn-more-link,
.guide-card:hover .learn-more-link {
  gap: 10px;
}