/* ============================================================
   features.css — Direction B v2 for /features/* pages
   Complements pillar.css with feature-specific classes.
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  padding: clamp(40px, 5vw, 60px) clamp(16px, 3vw, 48px) clamp(40px, 5vw, 56px);
  background: #fdf6e8;
  background-image: radial-gradient(rgba(232, 36, 44, 0.1) 1px, transparent 1.5px);
  background-size: 6px 6px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before { display: none; }
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #1a1208;
  color: #ffc83d;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #e8242c;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transform: rotate(-1deg);
  margin-bottom: 22px;
  border-radius: 0;
}
.hero h1 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #1a1208;
  max-width: 1100px;
  margin: 0 auto 20px;
  padding-top: 0;
}
.hero h1::before { display: none; }
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  color: #3d2f1a;
  max-width: 760px;
  margin: 0 auto 28px;
  line-height: 1.5;
  font-weight: 500;
}
.hero-sub strong { color: #1a1208; font-weight: 700; }
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── SECTIONS ───────────────────────────────────────────── */
.content-section {
  padding: clamp(48px, 6vw, 80px) clamp(16px, 3vw, 48px);
}
.content-section.alt {
  background: #f4ead0;
  background-image: radial-gradient(rgba(26, 18, 8, 0.05) 1px, transparent 1.5px);
  background-size: 6px 6px;
  border-top: 3px solid #1a1208;
  border-bottom: 3px solid #1a1208;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-inner.text-center { text-align: center; }
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #1a1208;
  margin-bottom: 14px;
  padding-top: 0;
  text-transform: none;
}
.section-title::before { display: none; }
.section-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: #3d2f1a;
  line-height: 1.6;
  max-width: 780px;
  font-weight: 500;
  margin-bottom: 24px;
}
.section-inner.text-center .section-desc { margin-left: auto; margin-right: auto; }

.content-text {
  font-family: 'Inter', sans-serif;
  color: #3d2f1a;
  line-height: 1.7;
  font-size: clamp(15px, 1.3vw, 16px);
  font-weight: 500;
}
.content-text p { margin-bottom: 14px; }
.content-text strong { color: #1a1208; font-weight: 700; }
.content-text a { color: #e8242c; font-weight: 600; text-decoration: underline; }

/* ── BENEFITS GRID ──────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.benefit-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 24px;
  position: relative;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.benefit-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
}
.benefit-icon {
  width: 52px;
  height: 52px;
  background: #e8242c;
  color: #fff;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  transform: rotate(-4deg);
}
.benefit-card h3 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #1a1208;
  margin: 0 0 10px;
}
.benefit-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: #3d2f1a;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 1023px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ── STEPS GRID ─────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.step-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 24px;
  position: relative;
}
.step-card .step-num {
  width: 48px;
  height: 48px;
  background: #1a1208;
  color: #fff;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #e8242c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  transform: rotate(-3deg);
}
.step-card:first-child .step-num { background: #e8242c; }
.step-card:last-child .step-num { background: #ffc83d; color: #1a1208; box-shadow: 3px 3px 0 #1a1208; }
.step-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1208;
  margin: 0 0 8px;
}
.step-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #3d2f1a;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 1023px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── LINKS GRID ─────────────────────────────────────────── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.link-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.link-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
  background: #f8e8a8;
}
.link-card h3,
.link-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1208;
  margin: 0 0 6px;
}
.link-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #3d2f1a;
  margin: 0;
  font-weight: 500;
}
@media (max-width: 1023px) { .links-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .links-grid { grid-template-columns: 1fr; } }

/* ── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  padding: clamp(48px, 6vw, 80px) clamp(16px, 3vw, 48px);
  background: #e8242c;
  color: #fff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.5px);
  background-size: 6px 6px;
  border-top: 3px solid #1a1208;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.4px;
  line-height: 1.05;
  text-shadow: 4px 4px 0 #1a1208;
  margin-bottom: 14px;
  padding-top: 0;
}
.cta-section h2::before { display: none; }
.cta-section p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.55;
  font-weight: 500;
}

/* ── SECONDARY BUTTON ───────────────────────────────────── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
  border-radius: 0;
  color: #1a1208;
  text-decoration: none;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  font-weight: 400;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
}
.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #1a1208;
  color: #e8242c;
}

/* ── MOCKUP PANELS (dashboard-style previews) ──────────── */
.mockup-section {
  padding: clamp(36px, 4vw, 56px) clamp(16px, 3vw, 40px);
  background: #f4ead0;
  background-image: radial-gradient(rgba(26, 18, 8, 0.05) 1px, transparent 1.5px);
  background-size: 6px 6px;
  border-top: 3px solid #1a1208;
  border-bottom: 3px solid #1a1208;
}
.mockup-bar {
  max-width: 900px;
  margin: 0 auto;
  background: #fff9e9;
  border: 3px solid #1a1208;
  box-shadow: 8px 8px 0 #1a1208;
  padding: 24px;
  position: relative;
}
.mockup-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6b5a42;
  margin-bottom: 14px;
  font-weight: 600;
}
.mock-dashboard,
.mock-panel {
  background: #fff;
  border: 2px solid #1a1208;
  padding: 18px;
  margin-bottom: 12px;
}
.mock-panel-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  color: #e8242c;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.mock-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #fff9e9;
  border: 1px solid #1a1208;
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1208;
}
.mock-stat-val {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 14px;
  color: #e8242c;
  letter-spacing: 0.5px;
}
.mock-progress-row { margin-bottom: 10px; }
.mock-progress-label {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1208;
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.mock-progress-pct {
  font-family: 'Bangers', Impact, sans-serif;
  color: #e8242c;
  letter-spacing: 0.5px;
}
.mock-progress-bar-wrap {
  height: 12px;
  background: #fff;
  border: 2px solid #1a1208;
  position: relative;
}
.mock-progress-bar {
  position: absolute;
  inset: 0;
  background: #e8242c;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  .hero h1 { font-size: clamp(28px, 6vw, 42px); }
}
@media (max-width: 640px) {
  .hero { padding: 32px 16px; }
  .content-section { padding: 40px 16px; }
  .cta-section { padding: 40px 16px; }
  .mockup-section { padding: 28px 12px; }
  .mockup-bar { padding: 18px; }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .benefit-icon, .step-card .step-num { transform: none !important; }
  * { transition: none !important; }
}

/* ============================================================
   HUB PAGES (/features/, /es/, /pt/, /it/, /{lang}/features/)
   Standalone hub pages with card grids
   ============================================================ */

.hero-features {
  padding: clamp(40px, 5vw, 64px) clamp(16px, 3vw, 48px);
  background: #fdf6e8;
  background-image: radial-gradient(rgba(232, 36, 44, 0.1) 1px, transparent 1.5px);
  background-size: 6px 6px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-features h1 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #1a1208;
  margin: 16px auto 16px;
  max-width: 900px;
}
.hero-features h1 span {
  display: inline-block;
  background: #e8242c;
  color: #fff;
  padding: 0 12px;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  transform: rotate(-2deg);
}
.hero-features p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: #3d2f1a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 48px) clamp(40px, 5vw, 64px);
}
@media (max-width: 1023px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
  background: #f8e8a8;
}
.card-icon {
  width: 52px;
  height: 52px;
  background: #e8242c;
  color: #fff;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  transform: rotate(-4deg);
}
.card h2 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #1a1208;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  line-height: 1.15;
  text-transform: uppercase;
  padding-top: 0;
}
.card h2::before { display: none; }
.card p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #3d2f1a;
  line-height: 1.55;
  margin: 0 0 14px;
  font-weight: 500;
}
.card-link {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  color: #e8242c;
  letter-spacing: 1.2px;
  font-weight: 400;
}

.cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(16px, 3vw, 48px);
  text-align: center;
}
.cta h2 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 400;
  color: #1a1208;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-top: 0;
}
.cta h2::before { display: none; }
.cta p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #3d2f1a;
  margin-bottom: 20px;
  font-weight: 500;
}
