/* ══════════════════════════════════════════════════════════════════════════
   Nexura V3 Component & Services Section Styles
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Service Cards Grid ─────────────────────────────────────────────── */
.v3-services-section {
  padding: 100px 0;
  background: var(--bg);
}
.v3-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Industry Cards Grid ── */
.v3-industries-section {
  padding: 80px 0;
  background: var(--bg);
}
.v3-ind-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.v3-ind-card {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all var(--t-fast);
  height: 100%;
}
.v3-ind-card:hover {
  border-color: var(--brand-blue-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.v3-ind-card-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
}

.v3-svc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.v3-svc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.v3-svc-icon {
  font-size: 32px;
  line-height: 1;
}
.v3-svc-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.v3-svc-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.v3-svc-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.v3-feat-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}
.v3-svc-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.v3-tech-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--brand-blue-light);
}
.v3-svc-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.v3-svc-link {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-blue-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
}
.v3-svc-link:hover {
  gap: 10px;
  color: #fff;
}

/* ── 2. Featured Service Card Layout ──────────────────────────────────── */
.v3-svc-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.12) 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
  position: relative;
}
.v3-featured-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* ── 3. Bottom Services Section CTA Banner ─────────────────────────────── */
.v3-services-cta-banner {
  margin-top: 72px;
  background: linear-gradient(135deg, #121A2E 0%, #182241 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.v3-services-cta-banner h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.v3-services-cta-banner p {
  font-size: 1.05rem;
  color: var(--ink-subtle);
  max-width: 600px;
  margin: 0 auto 28px;
}
.v3-cta-btns-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── 4. Industries Section & Filter Bar ───────────────────────────────── */
.v3-industries-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.v3-ind-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.v3-filter-btn {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--ink-subtle);
  cursor: pointer;
  transition: all var(--t-fast);
}
.v3-filter-btn:hover, .v3-filter-btn.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

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

.v3-ind-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.v3-ind-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.v3-ind-icon { font-size: 30px; line-height: 1; }
.v3-ind-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.v3-ind-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }

.v3-ind-block {
  margin-bottom: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.v3-ind-block-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.v3-ind-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.v3-ind-list li { font-size: 12px; color: var(--ink-subtle); display: flex; align-items: center; gap: 6px; }

.v3-ind-footer { padding-top: 14px; border-top: 1px solid var(--border); }
.v3-ind-link { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--brand-blue-light); }
.v3-ind-link:hover { color: #fff; }

/* Featured Industry Highlight Banner (Insurance) */
.v3-featured-industry-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.15) 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: var(--r-lg);
  padding: 40px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.v3-featured-ind-left h3 { font-size: 1.8rem; font-weight: 800; color: #fff; margin: 10px 0; }
.v3-featured-ind-left p { font-size: 1rem; color: var(--ink-subtle); margin-bottom: 20px; }

.v3-ind-cta-banner {
  margin-top: 64px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
}

/* ── 5. Development Process Section & Timeline ────────────────────────── */
.v3-process-section {
  padding: 100px 0;
  background: var(--bg);
}

.v3-process-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

/* Horizontal Animated Timeline Container */
.v3-timeline-wrapper {
  position: relative;
  margin-bottom: 64px;
  overflow-x: auto;
  padding-bottom: 20px;
}
.v3-timeline-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  min-width: 900px;
}
.v3-timeline-line {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.v3-timeline-line-active {
  position: absolute;
  top: 24px;
  left: 0;
  width: 75%;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #34D399);
  z-index: 1;
}

.v3-timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  text-align: center;
}
.v3-step-num-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #121A2E;
  border: 2px solid var(--brand-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  transition: all var(--t-fast);
}
.v3-timeline-step:hover .v3-step-num-badge {
  transform: scale(1.15);
  background: var(--brand-blue);
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.8);
}
.v3-step-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.v3-step-time { font-size: 11px; color: var(--brand-blue-light); font-weight: 600; }

/* 7 Process Phase Cards Grid */
.v3-process-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.v3-process-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v3-process-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow);
}
.v3-proc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.v3-proc-step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue-light);
  background: rgba(37, 99, 235, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Why Clients Love Process & Collaboration Tools */
.v3-love-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.v3-love-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: all var(--t-fast);
}
.v3-love-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-3px);
}
.v3-collab-tools-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

/* ── 6. Featured Case Studies Section ──────────────────────────────────── */
.v3-casestudies-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.v3-cs-card-featured {
  margin-bottom: 28px;
  background: linear-gradient(135deg, #121A2E 0%, #182241 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  position: relative;
  padding: 36px;
}
.v3-cs-badge-top {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(90deg, #2563EB, #7C3AED);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

.v3-cs-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.v3-cs-meta-item { font-size: 12px; color: var(--muted); font-weight: 500; }
.v3-cs-prob-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  margin: 16px 0;
}

.v3-cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.v3-cs-m-box {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--r-sm);
  padding: 12px;
  text-align: center;
}
.v3-cs-m-val { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: #fff; display: block; }
.v3-cs-m-lbl { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }

.v3-cs-secondary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.v3-success-highlights-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 32px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-top: 48px;
}

/* ── 7. Why Choose Nexura Section & Comparison Table ───────────────────── */
.v3-whynexura-section {
  padding: 100px 0;
  background: var(--bg);
}

.v3-adv-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

.v3-adv-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.v3-adv-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all var(--t-base);
}
.v3-adv-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow);
}
.v3-adv-card-icon { font-size: 26px; margin-bottom: 10px; }
.v3-adv-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.v3-adv-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* Modern Feature Comparison Table */
.v3-comp-table-wrap {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 64px;
}
.v3-comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.v3-comp-table th, .v3-comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.v3-comp-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.v3-comp-table tr:hover {
  background: rgba(37, 99, 235, 0.04);
}
.v3-nexura-col {
  background: rgba(37, 99, 235, 0.08);
  font-weight: 700;
  color: #fff;
}
.v3-status-yes { color: #34D399; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.v3-status-partial { color: #F59E0B; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.v3-status-no { color: #EF4444; opacity: 0.7; display: inline-flex; align-items: center; gap: 4px; }

/* Quality Standards Badges */
.v3-quality-badges-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* ── 8. Client Testimonials & Success Stories Section ─────────────────── */
.v3-testimonials-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.v3-testi-card-featured {
  margin-bottom: 32px;
  background: linear-gradient(135deg, #121A2E 0%, #182241 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
}

.v3-testi-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.v3-testi-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Video Testimonial Placeholder Card */
.v3-video-testimonial-card {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.v3-video-thumb-box {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(124,58,237,0.25));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.v3-play-btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.8);
  transition: transform var(--t-fast);
  cursor: pointer;
}
.v3-video-thumb-box:hover .v3-play-btn-circle {
  transform: scale(1.15);
}

/* Review Sources Badges Strip */
.v3-review-sources-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 48px;
}
.v3-rev-source-item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── 9. Technology Stack & Engineering Section ────────────────────────── */
.v3-techstack-section {
  padding: 100px 0;
  background: var(--bg);
}

.v3-tech-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

/* Interactive Technology Ecosystem Map Visualization */
.v3-ecosystem-map-box {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.v3-eco-center-node {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.8);
  animation: v3-badgePulse 3s infinite;
}
.v3-eco-nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.v3-eco-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--t-fast);
}
.v3-eco-node:hover {
  border-color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

/* Expandable Tech Categories Grid */
.v3-tech-cat-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.v3-tech-cat-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: all var(--t-base);
}
.v3-tech-cat-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow);
}
.v3-tech-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.v3-tech-cat-head h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: 0; display: flex; align-items: center; gap: 8px; }
.v3-benefit-box {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: #34D399;
  font-weight: 600;
  margin-top: 10px;
}

/* ── 10. Product Showcase & Live Demos Section ────────────────────────── */
.v3-productshowcase-section {
  padding: 100px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.v3-prod-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.v3-prod-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 64px;
}

/* Left Navigator Product List */
.v3-prod-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v3-prod-nav-item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: all var(--t-base);
  text-align: left;
}
.v3-prod-nav-item:hover, .v3-prod-nav-item.active {
  border-color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: var(--shadow-glow);
}
.v3-prod-nav-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.v3-prod-nav-item p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* Right Live Product Preview Mockup Window */
.v3-live-preview-box {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.v3-app-top-bar {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.v3-app-window-dots {
  display: flex;
  gap: 6px;
}
.v3-app-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.v3-app-body-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 380px;
}
.v3-app-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.v3-app-side-item {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.v3-app-side-item.active, .v3-app-side-item:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #fff;
  font-weight: 600;
}

.v3-app-main-content {
  padding: 24px;
}
.v3-app-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.v3-app-kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.v3-app-kpi-val { font-size: 1.4rem; font-weight: 800; color: #fff; margin-top: 4px; }

@media (max-width: 1024px) {
  .v3-services-grid { grid-template-columns: repeat(2, 1fr); }
  .v3-ind-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .v3-prod-split-grid { grid-template-columns: 1fr; }
  .v3-app-body-grid { grid-template-columns: 1fr; }
  .v3-app-sidebar { display: none; }
}

@media (max-width: 640px) {
  .v3-services-grid { grid-template-columns: 1fr; }
  .v3-ind-cards-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE BREAKPOINT SYSTEM (320px - 1920px)
   ══════════════════════════════════════════════════════════════════════════ */

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Touch targets for mobile */
button, input, select, a {
  min-height: 38px;
}
@media (max-width: 768px) {
  button, input, select, .btn {
    min-height: 44px;
  }
}

/* Data Table Responsive Wrapper */
.v3-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.v3-table-responsive table {
  width: 100%;
  min-width: 600px;
  white-space: nowrap;
}

/* ── Global Layout Grids ─────────────────────────────────────────────── */
.v3-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.v3-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
}

.v3-layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}

.v3-layout-portal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* 1024px Breakpoint (Tablet Landscape & Small Laptops) */
@media (max-width: 1024px) {
  .container { padding-inline: 24px; }
  .v3-services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .v3-ind-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .v3-cs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .v3-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .v3-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .v3-prod-split-grid { grid-template-columns: 1fr; gap: 30px; }
  
  /* Homepage Section Grids for Tablet */
  .v3-cs-secondary-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .v3-adv-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .v3-process-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .v3-testimonials-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  /* Sidebar & Portal Layout Collapse */
  .v3-layout-sidebar { grid-template-columns: 1fr !important; gap: 32px !important; }
  .v3-layout-portal { grid-template-columns: 1fr !important; gap: 24px !important; }
  .v3-hero-split { grid-template-columns: 1fr !important; gap: 32px !important; }
  
  /* Force inline 2-column sidebar grids to collapse */
  div[style*="grid-template-columns: 1fr 340px"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 260px 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 1.2fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns: 280px 1fr"] { grid-template-columns: 1fr !important; }
}

/* 768px - 834px Breakpoint (Tablets Portrait & Mobile Screens) */
@media (max-width: 768px) {
  .container { padding-inline: 20px; }
  .v3-services-grid { grid-template-columns: 1fr; }
  .v3-ind-cards-grid { grid-template-columns: 1fr; }
  .v3-cs-grid { grid-template-columns: 1fr; }
  .v3-pricing-grid { grid-template-columns: 1fr; }
  .v3-hero-title { font-size: 2.2rem !important; }
  .v3-section-title { font-size: 1.8rem !important; }
  .v3-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .v3-app-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Homepage Section Grids Collapse for Mobile */
  .v3-cs-secondary-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .v3-adv-split-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .v3-adv-cards-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .v3-process-cards-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .v3-testimonials-preview-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* PARALLEL COMPACT FOOTER ON MOBILE (2 Columns Parallel) */
  .v3-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }
  .v3-footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
    margin-bottom: 8px;
  }
  .v3-footer-grid strong {
    font-size: 11.5px !important;
    margin-bottom: 10px !important;
  }
  .v3-footer-grid div[style*="flex-direction: column"] {
    gap: 7px !important;
  }
  .v3-footer-grid div[style*="flex-direction: column"] a {
    font-size: 12px !important;
  }
  
  /* Force all inline sub-grids to collapse on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* 480px - 576px Breakpoint (Mobile Phones) */
@media (max-width: 576px) {
  .container { padding-inline: 16px; }
  .v3-footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .v3-hero-title { font-size: 1.8rem !important; }
  .v3-hero-buttons { flex-direction: column; width: 100%; }
  .v3-hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
  .v3-kpi-grid { grid-template-columns: 1fr; }
  .v3-app-kpi-grid { grid-template-columns: 1fr; }
  .v3-filter-bar { overflow-x: auto; padding-bottom: 8px; justify-content: flex-start; }
  .v3-filter-btn { flex-shrink: 0; }
  
  /* PARALLEL FOOTER FOR SMALL PHONES */
  .v3-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 12px !important;
  }
  .v3-footer-grid strong {
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
  }
  .v3-footer-grid div[style*="flex-direction: column"] a {
    font-size: 11.5px !important;
  }
}

/* 320px - 390px Breakpoint (Small iPhones & Foldables) */
@media (max-width: 390px) {
  .container { padding-inline: 12px; }
  .v3-hero-title { font-size: 1.6rem !important; }
  .v3-section-title { font-size: 1.5rem !important; }
  .v3-card-padding { padding: 16px !important; }
}







