/* ==========================================================================
   Crescira — Design System & Base Styles
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  /* Colors — Backgrounds */
  --bg-primary: #16151A;
  --bg-alt: #1E1D23;
  --bg-tertiary: #1A1920;
  --bg-footer: #111015;
  --bg-card: #201F26;
  --bg-input: #1E1D23;

  /* Colors — Accent */
  --purple: #B748FF;
  --purple-hover: #A030E8;
  --purple-light: #D490FF;
  --purple-glow: rgba(183, 72, 255, 0.3);
  --purple-subtle: rgba(183, 72, 255, 0.15);
  --gradient-purple: linear-gradient(135deg, #B748FF 0%, #8B1FCC 100%);
  --gradient-hero: linear-gradient(180deg, #16151A 0%, #1A1028 100%);

  /* Colors — Text */
  --text-white: #FFFFFF;
  --text-body: #B0AEB8;
  --text-muted: #6B6977;

  /* Colors — Borders & Surfaces */
  --border: #2A2930;
  --border-highlight: #B748FF;

  /* Colors — Status */
  --green: #34D399;
  --yellow: #FBBF24;

  /* Typography */
  --font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.5rem, 1.75rem + 3.75vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --fs-h4: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --fs-body: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-heading: 1.15;
  --lh-subheading: 1.3;
  --lh-body: 1.6;

  /* Spacing */
  --section-py: clamp(3rem, 2rem + 5vw, 5rem);
  --container-max: 1200px;
  --container-px: 1.5rem;
  --gap-sm: 0.5rem;
  --gap-md: 1rem;
  --gap-lg: 1.5rem;
  --gap-xl: 2rem;
  --gap-2xl: 3rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 40px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.2);
  --shadow-btn: 0 4px 15px rgba(183, 72, 255, 0.3);
  --shadow-btn-hover: 0 6px 25px rgba(183, 72, 255, 0.45);

  /* Transitions */
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--purple-light);
}

a.btn--primary,
a.btn--primary:hover {
  color: var(--text-white);
}

a.btn--ghost,
a.btn--ghost:hover {
  color: var(--text-white);
}

a.btn--white,
a.btn--white:hover {
  color: var(--bg-primary);
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font: inherit;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--purple);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: var(--lh-heading);
}

h1, .h1 { font-size: var(--fs-hero); }
h2, .h2 { font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-subheading); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: var(--lh-subheading); }
h4, .h4 { font-size: var(--fs-h4); font-weight: 600; }

p + p { margin-top: 1em; }

.text-purple { color: var(--purple); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }

.lead {
  font-size: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  line-height: 1.5;
  color: var(--text-body);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section--alt { background-color: var(--bg-alt); }
.section--tertiary { background-color: var(--bg-tertiary); }
.section--gradient { background: var(--gradient-purple); }
.section--hero { background: var(--gradient-hero); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--gap-2xl);
}

.section__header p {
  margin-top: var(--gap-md);
}

.grid {
  display: grid;
  gap: var(--gap-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

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

.flex {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.flex--center { justify-content: center; }
.flex--between { justify-content: space-between; }
.flex--wrap { flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-body);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-purple);
  color: var(--text-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  color: var(--text-white);
}

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.btn--small {
  padding: 0.625rem 1.5rem;
  font-size: var(--fs-small);
}

.btn--large {
  padding: 1.125rem 2.5rem;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
}

.btn--white {
  background: var(--text-white);
  color: var(--bg-primary);
}

.btn--white:hover {
  background: #F0F0F0;
  color: var(--bg-primary);
  transform: translateY(-2px);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-xl);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card--highlight {
  border: 2px solid var(--purple);
  position: relative;
}

.card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-purple);
  color: var(--text-white);
  padding: 0.375rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--purple-subtle);
  color: var(--purple);
  margin-bottom: var(--gap-lg);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--gap-sm);
}

/* --- Pricing Card --- */
.pricing-card {
  text-align: center;
  padding: var(--gap-2xl);
  display: flex;
  flex-direction: column;
}

.pricing-card__name {
  font-size: var(--fs-h4);
  color: var(--text-white);
  font-weight: 600;
}

.pricing-card__price {
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--text-white);
  margin: var(--gap-md) 0;
  line-height: 1;
}

.pricing-card__price span {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__features {
  text-align: left;
  margin: var(--gap-xl) 0;
}

.pricing-card__features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-body);
}

.pricing-card__features li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(22, 21, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
}

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

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

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--gap-xl);
}

.nav__links a:not(.btn) {
  color: var(--text-body);
  font-weight: 500;
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

.nav__links a:not(.btn):hover,
.nav__links a:not(.btn).active {
  color: var(--text-white);
}

.nav__links .btn {
  color: var(--text-white);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg-alt);
    padding: 5rem 2rem 2rem;
    gap: var(--gap-lg);
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav__links.active {
    right: 0;
  }

  .nav__links .btn {
    width: 100%;
    text-align: center;
  }

  .nav__cta-desktop {
    display: none;
  }
}

/* --- Hero --- */
.hero {
  padding-top: 8rem;
  padding-bottom: var(--section-py);
  text-align: center;
  background: var(--gradient-hero);
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__subtitle {
  margin: var(--gap-lg) 0 var(--gap-xl);
}

.hero__ctas {
  display: flex;
  gap: var(--gap-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--gap-2xl);
}

.hero__trust {
  display: flex;
  gap: var(--gap-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.hero__trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
}

/* --- Social Proof Bar --- */
.proof-bar {
  background: var(--bg-alt);
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-2xl);
  flex-wrap: wrap;
}

.proof-bar__item {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.proof-bar__stars {
  display: flex;
  gap: 2px;
  color: var(--yellow);
}

.proof-bar__stars svg {
  width: 16px;
  height: 16px;
}

.proof-bar__number {
  font-weight: 700;
  color: var(--text-white);
  font-size: var(--fs-h4);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-xl);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple-subtle);
  color: var(--purple);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto var(--gap-md);
}

.step__title {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--gap-sm);
}

.step__desc {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

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

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

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-xl);
  text-align: center;
}

.stat__number {
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.stat__label {
  margin-top: var(--gap-sm);
  font-size: var(--fs-small);
  color: var(--text-body);
}

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

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-xl);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--yellow);
  margin-bottom: var(--gap-md);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card__text {
  font-style: italic;
  margin-bottom: var(--gap-lg);
  color: var(--text-body);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--text-white);
  font-size: var(--fs-small);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- FAQ Accordion --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--gap-md);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  color: var(--text-white);
  font-weight: 600;
  font-size: var(--fs-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: var(--bg-alt);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--purple);
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-body);
  line-height: var(--lh-body);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gradient-purple);
  border-radius: var(--radius-xl);
  padding: var(--gap-2xl) var(--gap-xl);
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: var(--gap-md);
}

.cta-banner p {
  margin-bottom: var(--gap-xl);
  color: rgba(255, 255, 255, 0.85);
}

/* --- Footer --- */
.footer {
  background: var(--bg-footer);
  padding: var(--section-py) 0 1.5rem;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--gap-2xl);
  margin-bottom: var(--gap-2xl);
}

.footer__brand p {
  margin-top: var(--gap-md);
  font-size: var(--fs-small);
}

.footer__title {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--gap-lg);
}

.footer__links li {
  margin-bottom: var(--gap-sm);
}

.footer__links a {
  color: var(--text-muted);
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-md);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple);
}

.footer__contact-item a {
  color: var(--text-muted);
}

.footer__contact-item a:hover {
  color: var(--text-white);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gap-md);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--gap-lg);
}

.footer__legal a {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

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

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

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

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

/* --- Forms --- */
.form-group {
  margin-bottom: var(--gap-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: var(--gap-sm);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: var(--fs-body);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-subtle);
}

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

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

/* --- Case Study Card --- */
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.case-card__header {
  background: var(--purple-subtle);
  padding: var(--gap-lg) var(--gap-xl);
}

.case-card__industry {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple);
}

.case-card__title {
  font-size: var(--fs-h4);
  margin-top: var(--gap-sm);
}

.case-card__body {
  padding: var(--gap-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-card__body .btn {
  margin-top: auto;
}

.case-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.case-card__stat-value {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--green);
}

.case-card__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  color: var(--text-white);
  font-weight: 600;
  background: var(--bg-card);
  position: sticky;
  top: 0;
}

.comparison-table tbody td {
  color: var(--text-body);
}

.comparison-table tbody tr:hover {
  background: var(--bg-alt);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--purple);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* --- Blog Card --- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.blog-card__body {
  padding: var(--gap-lg);
}

.blog-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--purple);
  margin-bottom: var(--gap-sm);
}

.blog-card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--gap-sm);
}

.blog-card__title a {
  color: var(--text-white);
}

.blog-card__title a:hover {
  color: var(--purple);
}

.blog-card__excerpt {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin-bottom: var(--gap-md);
}

.blog-card__meta {
  display: flex;
  gap: var(--gap-md);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--gap-sm); }
.mb-2 { margin-bottom: var(--gap-md); }
.mb-3 { margin-bottom: var(--gap-lg); }
.mb-4 { margin-bottom: var(--gap-xl); }
.mb-5 { margin-bottom: var(--gap-2xl); }
.mt-4 { margin-top: var(--gap-xl); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
