/* ============================================================
   BÓVEDA DIGITAL — Main Stylesheet
   bovedadigital.shop
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Colors */
  --bg-primary: #0A0A0F;
  --bg-secondary: #0F0F1A;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --accent-indigo: #6C63FF;
  --accent-indigo-light: #8B85FF;
  --accent-indigo-dark: #4A43CC;
  --accent-gold: #F5C842;
  --accent-gold-light: #F7D46A;
  --accent-gold-dark: #C9A028;
  --text-primary: #F0F0FF;
  --text-secondary: #A0A0C0;
  --text-muted: #606080;
  --border-subtle: rgba(108, 99, 255, 0.15);
  --border-glow: rgba(108, 99, 255, 0.4);
  --glass-bg: rgba(10, 10, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gold-glow: rgba(245, 200, 66, 0.2);
  --indigo-glow: rgba(108, 99, 255, 0.2);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-indigo: 0 8px 32px rgba(108, 99, 255, 0.3);
  --shadow-gold: 0 8px 32px rgba(245, 200, 66, 0.3);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::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-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--accent-indigo);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-indigo-light); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-secondary); margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-indigo-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-gold); }

ul, ol { list-style: none; }

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

/* ---- Custom Cursor ---- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(108, 99, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot {
  width: 12px; height: 12px;
  background: var(--accent-indigo-light);
}
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent-gold);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

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

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--sm {
  padding: var(--space-2xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-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); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-indigo-light) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  background: var(--indigo-glow);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-indigo-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--gold {
  background: var(--gold-glow);
  border-color: rgba(245, 200, 66, 0.3);
  color: var(--accent-gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-indigo-dark) 100%);
  color: white;
  box-shadow: var(--shadow-indigo);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.45);
  color: white;
}

.btn--gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 200, 66, 0.45);
  color: var(--bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--accent-indigo-light);
  border: 1.5px solid var(--border-glow);
}
.btn--outline:hover {
  background: var(--indigo-glow);
  color: var(--accent-indigo-light);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
  border-color: var(--border-subtle);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 48px; height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border), var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.nav__logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-gold) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-indigo);
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.nav__logo-text span { color: var(--accent-gold); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover, .nav__link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--accent-indigo);
  border-radius: var(--radius-full);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav__mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav__mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-lg) var(--space-xl);
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 999;
}

.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu .nav__link { width: 100%; }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(108, 99, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(245, 200, 66, 0.06) 0%, transparent 60%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-xl);
}

.hero__eyebrow {
  margin-bottom: var(--space-lg);
  animation: fadeInDown 0.8s ease both;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--glass-border);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.hero__stat-number span { color: var(--accent-gold); }

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Animated Vault Border ---- */
.vault-border {
  position: relative;
}

.vault-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    var(--angle, 0deg),
    var(--accent-indigo),
    var(--accent-gold),
    var(--accent-indigo)
  );
  animation: rotate-border 4s linear infinite;
  z-index: -1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotate-border {
  to { --angle: 360deg; }
}

/* ---- Glass Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-indigo), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--border-subtle);
}

.card:hover::before { opacity: 1; }

/* ---- Product Cards ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-subtle), var(--shadow-indigo);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-card__image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.08);
}

.product-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-lg);
}

.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-indigo-light);
  margin-bottom: var(--space-sm);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--glass-border);
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.product-card__price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: var(--space-xs);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--accent-gold);
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header__eyebrow {
  margin-bottom: var(--space-md);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* ---- Features / Value Props ---- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--indigo-glow);
  filter: blur(40px);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.feature-card:hover::after { opacity: 1; }

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-subtle);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--indigo-glow) 0%, rgba(108,99,255,0.08) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.feature-card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent-indigo);
  opacity: 0.15;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

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

.testimonial-card__stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-top: 2px;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: var(--space-lg) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

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

.faq-icon {
  width: 24px; height: 24px;
  border: 1.5px solid var(--border-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  font-size: 0.85rem;
  color: var(--accent-indigo-light);
}

.faq-item.open .faq-icon {
  background: var(--indigo-glow);
  border-color: var(--accent-indigo);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-base);
}

.faq-answer-inner {
  padding-bottom: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.blog-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__image img { transform: scale(1.05); }

.blog-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-card__category {
  color: var(--accent-indigo-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card__title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card__title { color: var(--accent-indigo-light); }

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-indigo-light);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}

.blog-card:hover .blog-card__read-more { gap: 8px; }

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--accent-indigo);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--indigo-glow);
}

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

select.form-control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C63FF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ---- Filter / Search Bar ---- */
.catalog-toolbar {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-box__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-box input {
  padding-left: 42px;
}

.filter-pills {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.filter-pill.active {
  background: var(--indigo-glow);
  border-color: var(--accent-indigo);
  color: var(--accent-indigo-light);
}

/* ---- Breadcrumbs ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-indigo-light); }
.breadcrumb__sep { color: var(--text-muted); opacity: 0.4; }
.breadcrumb__current { color: var(--text-secondary); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, rgba(108,99,255,0.15) 0%, rgba(245,200,66,0.08) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-4xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(108,99,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title { margin-bottom: var(--space-md); }
.cta-banner__desc { margin-bottom: var(--space-xl); color: var(--text-secondary); max-width: 500px; margin-left: auto; margin-right: auto; }

/* ---- Trust Badges ---- */
.trust-badges {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-badge__icon {
  font-size: 1.2rem;
  color: var(--accent-indigo-light);
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand { max-width: 320px; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer__desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--indigo-glow);
  border-color: var(--border-subtle);
  color: var(--accent-indigo-light);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.footer__copy span { color: var(--accent-indigo-light); }

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

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

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

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  text-align: center;
}

.page-hero__title { margin-bottom: var(--space-md); }
.page-hero__desc { max-width: 600px; margin: 0 auto; color: var(--text-secondary); }

/* ---- Dividers ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: var(--space-2xl) 0;
}

/* ---- Loading State ---- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- 404 Page ---- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.error-page__title { margin-bottom: var(--space-md); }
.error-page__desc { color: var(--text-secondary); margin-bottom: var(--space-2xl); }

/* ---- Toast / Notification ---- */
.toast {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 9990;
  transform: translateY(120%);
  transition: transform var(--transition-base);
  max-width: 360px;
}

.toast.show { transform: translateY(0); }

.toast__icon { font-size: 1.2rem; }
.toast__text { font-size: 0.875rem; color: var(--text-secondary); }

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

@media (max-width: 768px) {
  :root { --space-4xl: 4rem; }

  .nav__menu, .nav__actions .btn:not(.btn--primary) { display: none; }
  .nav__mobile-toggle { display: flex; }

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

  .hero__stats { gap: var(--space-lg); }
  .hero__stat-number { font-size: 1.5rem; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: 100%; }

  .cta-banner { padding: var(--space-2xl); }

  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: auto; }

  .container { padding: 0 var(--space-lg); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .trust-badges { gap: var(--space-md); }
}

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

.no-select { user-select: none; }
.pointer { cursor: pointer; }
.w-full { width: 100%; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }

/* Stars */
.stars { color: var(--accent-gold); letter-spacing: 2px; }

/* Highlight */
mark {
  background: var(--indigo-glow);
  color: var(--accent-indigo-light);
  padding: 0 4px;
  border-radius: 3px;
}

/* Progress bar */
.progress-bar {
  height: 4px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: var(--space-sm) 0;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-indigo) 0%, var(--accent-gold) 100%);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

/* Image placeholder */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(108,99,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  border: 1px solid var(--glass-border);
}
