/* ============================================================
   DigiCorp Technologies — Feature Pages Shared Styles
   ============================================================ */

/* ── FEATURE HERO ── */
.feature-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
}

.feature-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
}

.feature-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-gradient, linear-gradient(135deg, rgba(14,165,233,0.15) 0%, rgba(139,92,246,0.15) 100%));
}

.fh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.5) 0%, transparent 70%);
}

.fh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 8s ease-in-out infinite;
}

.fh-orb-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: 0;
  background: radial-gradient(circle, var(--hero-color-1, rgba(14,165,233,0.6)) 0%, transparent 70%);
}

.fh-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--hero-color-2, rgba(139,92,246,0.4)) 0%, transparent 70%);
  animation-delay: -4s;
}

.feature-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.fh-content {}

.fh-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.fh-breadcrumb a {
  color: var(--accent-blue);
  transition: var(--transition);
}

.fh-breadcrumb a:hover { opacity: 0.8; }
.fh-breadcrumb i { font-size: 0.7rem; }

.fh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fh-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.fh-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.fh-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Feature Hero Visual */
.fh-visual {
  position: relative;
}

.feature-mockup {
  background: rgba(13,27,53,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), var(--shadow-glow);
  animation: dashFloat 6s ease-in-out infinite;
}

.fm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
}

.fm-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.fm-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.fm-actions {
  display: flex;
  gap: 8px;
}

.fm-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fm-btn-primary {
  background: var(--gradient-main);
  color: #fff;
}

.fm-btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.fm-body {
  padding: 20px;
}

/* ── OVERVIEW SECTION ── */
.feature-overview {
  padding: 100px 24px;
}

.feature-overview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-overview-inner.reverse {
  direction: rtl;
}

.feature-overview-inner.reverse > * {
  direction: ltr;
}

.fo-content {}

.fo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.fo-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent-blue);
}

.fo-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.fo-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.fo-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fo-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fo-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fo-point-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.fo-point-text p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ── BENEFITS SECTION ── */
.feature-benefits {
  padding: 100px 24px;
  background: var(--bg-section);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  text-align: center;
}

.benefit-card:hover {
  border-color: rgba(14,165,233,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 24px;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.hiw-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  z-index: 0;
}

.hiw-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 24px;
  box-shadow: var(--glow-blue);
  transition: var(--transition);
}

.hiw-step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(14,165,233,0.5);
}

.step-icon {
  font-size: 1.4rem;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.hiw-step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.hiw-step p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── FEATURE CTA ── */
.feature-cta {
  padding: 100px 24px;
  background: var(--bg-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.06) 0%, transparent 70%);
}

.feature-cta-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
}

.feature-cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.feature-cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.65;
}

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

/* ── FEATURE SPECS TABLE ── */
.feature-specs {
  padding: 80px 24px;
}

.specs-table {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: rgba(255,255,255,0.03); }

.spec-key {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.spec-val {
  font-size: 0.875rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-val i { color: var(--accent-green); }

/* ── VISUAL MOCKUP COMPONENTS ── */
.data-table {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.data-table-header {
  display: grid;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.data-table-row {
  display: grid;
  padding: 10px 16px;
  font-size: 0.78rem;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.data-table-row:last-child { border-bottom: none; }
.data-table-row:hover { background: rgba(255,255,255,0.03); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}

.status-pill.green { background: rgba(16,185,129,0.15); color: #10b981; }
.status-pill.blue { background: rgba(14,165,233,0.15); color: #0ea5e9; }
.status-pill.yellow { background: rgba(245,158,11,0.15); color: #f59e0b; }
.status-pill.red { background: rgba(239,68,68,0.15); color: #ef4444; }
.status-pill.purple { background: rgba(139,92,246,0.15); color: #8b5cf6; }

.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.metric-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.metric-change {
  font-size: 0.7rem;
  margin-top: 4px;
}

.metric-change.up { color: var(--accent-green); }
.metric-change.down { color: var(--accent-red); }

/* Progress bar component */
.progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.progress-label { color: var(--text-secondary); }
.progress-pct { color: var(--text-primary); font-weight: 600; }

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  animation: fillBar 1.5s ease forwards;
}

/* ── RESPONSIVE FEATURE PAGES ── */

/* ── 1000px: Tablet ── */
@media (max-width: 1000px) {
  .feature-hero-container { grid-template-columns: 1fr; gap: 48px; }
  .feature-overview-inner { grid-template-columns: 1fr; gap: 48px; }
  .feature-overview-inner.reverse { direction: ltr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .hiw-steps::before { display: none; }
  .overview-container { grid-template-columns: 1fr; gap: 48px; }
  .spec-row { grid-template-columns: 1fr 2fr; }
}

/* ── 640px: Mobile ── */
@media (max-width: 640px) {
  /* Hero */
  .feature-hero { padding: calc(var(--nav-height) + 40px) 16px 60px; }
  .fh-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .fh-subtitle { font-size: 0.95rem; }
  .fh-ctas { flex-direction: column; align-items: stretch; }
  .fh-ctas .btn-primary,
  .fh-ctas .btn-secondary { width: 100%; justify-content: center; }
  .fh-highlights { gap: 10px; }
  .fh-visual { display: none; }

  /* Sections */
  .benefits-section { padding: 60px 16px; }
  .overview-section { padding: 60px 16px; }
  .hiw-section { padding: 60px 16px; }
  .specs-section { padding: 60px 16px; }
  .feature-cta-section { padding: 60px 16px; }
  .feature-overview { padding: 60px 16px; }
  .how-it-works { padding: 60px 16px; }
  .feature-benefits { padding: 60px 16px; }
  .feature-specs { padding: 60px 16px; }
  .feature-cta { padding: 60px 16px; }

  /* Section headers */
  .section-header { margin-bottom: 40px; padding: 0 4px; }

  /* Grids */
  .benefits-grid { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .overview-container { grid-template-columns: 1fr; gap: 36px; }
  .overview-stats { gap: 16px; }
  .ov-stat-num { font-size: 1.7rem; }

  /* Spec rows */
  .spec-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 16px;
  }
  .spec-key { color: var(--text-primary); font-size: 0.82rem; }
  .spec-val { font-size: 0.83rem; color: var(--text-secondary); }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn-primary,
  .cta-btns .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
  .cta-contact-bar { gap: 14px; font-size: 0.78rem; flex-direction: column; align-items: center; }

  /* Mockup actions */
  .fm-actions { display: none; }
}

/* ── 480px: Small phones ── */
@media (max-width: 480px) {
  /* Hero */
  .feature-hero { padding: calc(var(--nav-height) + 30px) 16px 48px; }
  .fh-title { font-size: 1.8rem; }
  .fh-badge { font-size: 0.7rem; padding: 5px 12px; }
  .fh-breadcrumb { font-size: 0.72rem; flex-wrap: wrap; gap: 4px; }
  .fh-highlights { flex-direction: column; gap: 8px; }
  .fh-highlight { font-size: 0.82rem; }

  /* Sections */
  .benefits-section,
  .overview-section,
  .hiw-section,
  .specs-section,
  .feature-cta-section,
  .feature-overview,
  .how-it-works,
  .feature-benefits,
  .feature-specs,
  .feature-cta { padding: 48px 16px; }

  /* Benefits */
  .benefit-card { padding: 20px; }
  .benefit-icon { width: 46px; height: 46px; font-size: 1rem; }
  .benefit-card h3 { font-size: 0.95rem; }

  /* How it works */
  .hiw-step { padding: 0 8px; }
  .hiw-step-num { width: 52px; height: 52px; font-size: 1rem; }
  .hiw-step-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Specs */
  .spec-row { padding: 12px 14px; }
  .specs-table { border-radius: var(--radius-md); }

  /* Overview */
  .ov-stat-num { font-size: 1.5rem; }
  .overview-stats { gap: 14px; }

  /* CTA */
  .cta-title { font-size: 1.7rem; }
  .cta-subtitle { font-size: 0.95rem; }
  .cta-contact-bar { gap: 10px; font-size: 0.75rem; }
  .cta-btns .btn-primary,
  .cta-btns .btn-secondary { max-width: 100%; }
}

/* ============================================================
   ADDITIONAL CLASSES USED BY FEATURE PAGES
   (label-printing, gst-reporting, barcode)
   ============================================================ */

/* ── SECTION BADGE (colored pill, per-page color via inline style) ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── FH HIGHLIGHTS (hero bullet row) ── */
.fh-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.fh-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── BENEFITS SECTION ── */
.benefits-section {
  padding: 100px 24px;
  background: var(--bg-section);
}

.benefits-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── OVERVIEW SECTION ── */
.overview-section {
  padding: 100px 24px;
}

.overview-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.overview-left {}
.overview-right {}

.overview-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.ov-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ov-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.ov-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── HOW IT WORKS SECTION ── */
.hiw-section {
  padding: 100px 24px;
  background: var(--bg-section);
}

.hiw-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Per-page colored step number circle */
.hiw-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.hiw-step:hover .hiw-step-num {
  transform: scale(1.1);
}

/* Per-page colored icon box */
.hiw-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

/* ── SPECS SECTION ── */
.specs-section {
  padding: 80px 24px;
}

.specs-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── FEATURE CTA SECTION ── */
.feature-cta-section {
  padding: 100px 24px;
  background: var(--bg-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-cta-container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta-contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.cta-contact-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.cta-contact-bar a:hover { color: var(--accent-blue); }
.cta-contact-bar span { display: flex; align-items: center; gap: 6px; }

/* (Responsive covered in main blocks above) */

/* ============================================================
   FEATURE PAGES — MOBILE COMPREHENSIVE OVERHAUL
   ============================================================ */

/* ─────────────────────────────────────────────
   FEATURE HERO
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .feature-hero {
    padding: calc(var(--nav-height) + 48px) 20px 72px;
  }

  .feature-hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .fh-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fh-ctas { justify-content: center; }

  .fh-highlights { justify-content: center; }

  .fh-visual { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .feature-hero {
    padding: calc(var(--nav-height) + 28px) 16px 56px;
    min-height: auto;
  }

  .fh-breadcrumb { justify-content: flex-start; font-size: 0.78rem; flex-wrap: wrap; }
  .fh-badge { font-size: 0.72rem; padding: 5px 14px; }
  .fh-title { font-size: clamp(1.75rem, 7.5vw, 2.6rem); }
  .fh-subtitle { font-size: 0.95rem; margin-bottom: 28px; }

  .fh-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 12px;
  }

  .fh-ctas .btn-primary,
  .fh-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
    font-size: 16px; /* prevent iOS zoom */
  }

  .fh-highlights { gap: 12px; margin-top: 20px; }
  .fh-highlight { font-size: 0.85rem; }

  /* Hide hero visual on small mobile for performance */
  .fh-visual { display: none; }
}

@media (max-width: 480px) {
  .feature-hero { padding: calc(var(--nav-height) + 20px) 16px 48px; }
  .fh-title { font-size: clamp(1.6rem, 8vw, 2.1rem); }
  .fh-badge { font-size: 0.68rem; }
  .fh-highlights { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ─────────────────────────────────────────────
   FEATURE OVERVIEW
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .feature-overview { padding: 72px 20px; }
  .feature-overview-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    direction: ltr !important;
  }

  .feature-overview-inner > * { direction: ltr !important; }
}

@media (max-width: 640px) {
  .feature-overview { padding: 56px 16px; }
  .fo-content h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .fo-content p { font-size: 0.9rem; margin-bottom: 24px; }
  .fo-points { gap: 12px; }
  .fo-point { gap: 12px; }
  .fo-point-icon { width: 32px; height: 32px; font-size: 0.85rem; }
  .fo-point-text h4 { font-size: 0.92rem; }
  .fo-point-text p { font-size: 0.82rem; }
}

/* ─────────────────────────────────────────────
   OVERVIEW SECTION (alternate layout)
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .overview-section { padding: 72px 20px; }
  .overview-container { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .overview-section { padding: 56px 16px; }
  .overview-container { gap: 36px; }
  .overview-stats { gap: 20px; flex-wrap: wrap; }
  .ov-stat-num { font-size: 1.8rem; }
  .ov-stat-label { font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .ov-stat-num { font-size: 1.5rem; }
  .overview-stats { gap: 16px; }
}

/* ─────────────────────────────────────────────
   BENEFITS SECTION
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .benefits-section { padding: 72px 20px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .feature-benefits { padding: 72px 20px; }
}

@media (max-width: 640px) {
  .benefits-section,
  .feature-benefits { padding: 56px 16px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 14px; }

  .benefit-card { padding: 24px 20px; }
  .benefit-card:hover { transform: none; }
  .benefit-icon { width: 50px; height: 50px; font-size: 1.1rem; margin-bottom: 14px; }
  .benefit-card h3 { font-size: 0.95rem; }
  .benefit-card p { font-size: 0.83rem; }
}

@media (max-width: 480px) {
  .benefit-card { padding: 20px 16px; }
  .benefit-icon { width: 44px; height: 44px; font-size: 1rem; }
}

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hiw-section { padding: 72px 20px; }
  .how-it-works { padding: 72px 20px; }
  .hiw-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hiw-steps::before { display: none; }
}

@media (max-width: 640px) {
  .hiw-section,
  .how-it-works { padding: 56px 16px; }
  .hiw-steps { grid-template-columns: 1fr; gap: 24px; }

  .hiw-step { padding: 0 8px; }
  .step-num { width: 56px; height: 56px; font-size: 1.1rem; margin-bottom: 18px; }
  .hiw-step h3 { font-size: 0.95rem; }
  .hiw-step p { font-size: 0.83rem; }

  /* Numbered connectors on mobile (vertical line) */
  .hiw-steps::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hiw-step-num { width: 52px; height: 52px; font-size: 1rem; }
  .hiw-step-icon { width: 46px; height: 46px; font-size: 1.1rem; }
}

/* ─────────────────────────────────────────────
   FEATURE SPECS TABLE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-specs { padding: 64px 20px; }
  .specs-section { padding: 64px 20px; }
}

@media (max-width: 640px) {
  .feature-specs,
  .specs-section { padding: 56px 16px; }

  .specs-table { border-radius: var(--radius-md); }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .spec-key {
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .spec-val {
    font-size: 0.83rem;
    color: var(--text-secondary);
  }
}

@media (max-width: 480px) {
  .spec-row { padding: 12px 14px; }
  .specs-table { border-radius: var(--radius-sm); }
}

/* ─────────────────────────────────────────────
   FEATURE CTA
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-cta,
  .feature-cta-section { padding: 72px 20px; }
}

@media (max-width: 640px) {
  .feature-cta,
  .feature-cta-section { padding: 56px 16px; }

  .feature-cta-content h2,
  .cta-title { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }

  .feature-cta-content p,
  .cta-subtitle { font-size: 0.95rem; margin-bottom: 28px; }

  .feature-cta-btns,
  .cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .feature-cta-btns .btn-primary,
  .feature-cta-btns .btn-secondary,
  .cta-btns .btn-primary,
  .cta-btns .btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .cta-contact-bar {
    flex-direction: column;
    gap: 14px;
    font-size: 0.82rem;
    padding-top: 20px;
  }

  .cta-contact-bar a { font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .feature-cta,
  .feature-cta-section { padding: 48px 16px; }
  .cta-title { font-size: 1.6rem; }
  .cta-subtitle { font-size: 0.92rem; }
}

/* ─────────────────────────────────────────────
   FEATURE MOCKUP — mobile scaling
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .feature-mockup { animation: none; }
  .fm-actions { display: none; }
  .fm-header { padding: 12px 16px; }
  .fm-body { padding: 14px 16px; }
}

/* ─────────────────────────────────────────────
   DATA TABLE — inside mockups
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .data-table-header,
  .data-table-row {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  .data-table-header { font-size: 0.64rem; }
}

/* ─────────────────────────────────────────────
   METRIC CARDS
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .metric-card { padding: 12px 14px; }
  .metric-value { font-size: 1.3rem; }
  .metric-label { font-size: 0.64rem; }
}

/* ─────────────────────────────────────────────
   SECTION TAGS AND LABELS
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .section-badge { font-size: 0.72rem; padding: 5px 14px; }
}

/* ─────────────────────────────────────────────
   FORM INPUTS — prevent iOS zoom (font-size: 16px)
───────────────────────────────────────────── */
@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}
