﻿/* Homepage — rules that used to live in global.css */

/* Section subheadings — always center-aligned */
.hw-header p, .cs-header p, .blog-header p,
.section-header p, .eco-header-block p,
.support-inner > p, .final-cta p,
.hw-section-header p, .hw-section-desc,
.why-modern-desc, .blog-subheading,
.testimonials .section-sub, .tf-header p {
  text-align: center;
}
.header-logo-img {
  width: 210px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}
.footer-logo-img {
  width: 180px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

  /* DESIGN SYSTEM TOKENS */
:root {
/* Spacing — single source of truth (mirrors global.css, section wins due to cascade) */
--space-section:    96px;

/* Content rhythm */
--gap-eyebrow-heading: 16px;
--gap-heading-desc:    24px;
--gap-desc-content:    40px;
--gap-content-cta:     48px;
--gap-cta-section:     80px;

/* Card system */
--card-gap:        32px;
--card-gap-tablet: 24px;
--card-gap-mobile: 20px;
--card-padding:    32px;

/* Radius */
--radius-lg: 24px;
--radius-md: 16px;
--radius-sm: 12px;
--radius-pill: 999px;

/* Shadows */
--shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
--shadow-strong: 0 12px 36px rgba(0, 0, 0, 0.07);

/* Colors */
--clr-bg: #f4f6fb;
--clr-bg-tinted: #f8fafc;
--clr-border: #e4e8f2;
--clr-divider: rgba(0, 0, 0, 0.04);
--clr-text-soft: var(--fg-body);

/* Brand */

/* Surface tokens (used in dark sections) */
--surface-glass-bg: rgba(255, 255, 255, 0.07);
--surface-glass-border: rgba(255, 255, 255, 0.15);
--surface-glass-hover-bg: rgba(255, 255, 255, 0.10);
--surface-glass-hover-border: rgba(var(--accent-rgb), 0.45);
--surface-glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.12);

/* Eyebrow / pill (light section) */
--pill-light-bg: rgba(var(--accent-rgb), 0.1);
--pill-light-border: rgba(var(--accent-rgb), 0.3);

/* Gradients */
--grad-text: linear-gradient(135deg, var(--primary), var(--accent-deep));
--dark-section-bg:
  radial-gradient(circle at 20% 30%, var(--primary) 0%, transparent 40%),
  radial-gradient(circle at 80% 20%, var(--accent-deep) 0%, transparent 40%),
  linear-gradient(135deg, #020024 0%, var(--accent-deep) 100%);
--gradient-primary: var(--dark-section-bg);
--gradient-secondary:
  radial-gradient(circle at 15% 30%, var(--accent) 0%, transparent 40%),
  radial-gradient(circle at 85% 20%, #1e3a8a 0%, transparent 40%),
  linear-gradient(135deg, #020617 0%, #1e3a8a 100%);

/* Typography */
}

/* Homepage section rhythm — larger, uniform top/bottom padding than the */
@media (max-width: 992px) { :root { --space-section: 80px; } }
@media (max-width: 599px) { :root { --space-section: 64px; } }

/* BASE RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  overflow-x: hidden;
}
body {
font-family: var(--p-font);
background: var(--bg);
color: var(--clr-text);
-webkit-font-smoothing: antialiased;
}

[data-lucide] {
width: 1em;
height: 1em;
stroke-width: 1.75;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
}

/* SHARED UTILITIES */
.container { max-width: 1100px; margin: 0 auto; }

/* Dark-section eyebrow pill (white-glass) */
.eco-eyebrow,
.support-eyebrow,
.cs-eyebrow {
display: inline-block;
background: rgba(255, 255, 255, 0.12);
color: #a5f3fc;
border: 1px solid rgba(165, 243, 252, 0.3);
padding: 6px 18px;
border-radius: var(--radius-pill);
font-size: 12px;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
margin-bottom: 14px;
}

/* UNIVERSAL SECTION HEADING STYLE */

/* UNIVERSAL SECTION HEADING + PARAGRAPH */

/* All section header blocks — center aligned */
.hw-header, .cs-header, .blog-header, .eco-header-block,
.section-header, .support-inner, .final-cta,
.hw-section-header, .hw-section-title-block {
text-align: center;
align-items: center;
}

/* Shared base for ALL section h2 */
.hw-header h2, .cs-header h2, .testimonials .section-title,
h2.why-modern-title-block, .blog-header h2,
.eco-heading, .section-header h2, .support-inner h2,
.hw-section-title-block h2, .hw-section-header h2, .final-cta h2,
.cs-new-header h2, .intro-heading, .tf-header h2 {
font-family: var(--h-font);
font-size: var(--section-h2);
font-weight: var(--section-h2-weight);
line-height: 1.2;
letter-spacing: -0.5px;
margin: 0;
}

/* Light-background sections → dark text */
.hw-header h2, .cs-header h2, .testimonials .section-title,
h2.why-modern-title-block, .blog-header h2 {
color: var(--fg-primary);
}

/* Dark-background sections → white text */
.eco-heading, .section-header h2, .support-inner h2,
.hw-section-title-block h2, .hw-section-header h2, .final-cta h2,
.cs-new-header h2, .tf-header h2 {
color: #ffffff;
}

/* Shared base for ALL section description paragraphs */
.hw-header p, .cs-header p, .testimonials .section-sub,
.why-modern-desc, .blog-subheading,
.ecosystem .eco-subheading, .section-header p,
.hw-section-desc, .support-inner > p, .final-cta-desc,
.tf-header p, .cs-new-sub, .support-subheading {
font-size: var(--section-p);
font-weight: var(--section-p-weight);
line-height: 1.7;
margin: 0 auto;
max-width: 100%;
text-align: center;
}

/* Light sections → soft dark */
.hw-header p, .cs-header p, .testimonials .section-sub,
.why-modern-desc, .blog-subheading, .support-subheading {
color: var(--fg-secondary);
}

/* Dark sections → soft white */
.ecosystem .eco-subheading, .section-header p,
.hw-section-desc, .support-inner > p, .final-cta-desc, .cs-new-sub {
color: rgba(255, 255, 255, 0.82);
}

/* PERFORMANCE — content-visibility skips off-screen rendering */
.ecosystem,
.software-cards-section,
.hardware-section,
.hardware-cards-section,
.why-modern,
.case-studies-section,
.testimonials,
.customer-support,
.blog-section,
.final-cta {
  content-visibility: auto;
  contain-intrinsic-size: 0 700px;
}

/* DARK SECTION BASE */

.dark-particles { position: relative; overflow: hidden; }

/* All p inside any dark gradient section default to soft white */
.dark-particles p,
.hero p,
.final-cta p {
color: rgba(255, 255, 255, 0.75);
}
.dark-particles::after {
content: "";
position: absolute;
inset: 0;
background-image: radial-gradient(white 1px, transparent 1px);
background-size: 34px 34px;
opacity: 0.07;
pointer-events: none;
z-index: 1;
}
@media (max-width: 768px) {
.dark-particles::after { display: none; }
}

.hardware-cards-section .hw-cs-container,
.final-cta .final-cta-inner,
.customer-support .support-inner {
position: relative;
z-index: 2;
}

/* Dark-background secondary CTA (final CTA section) */

.badge {
display: inline-block;
padding: 6px 18px;
border-radius: var(--radius-pill);
border: 1px solid rgba(var(--accent-rgb), 0.4);
background: rgba(var(--accent-rgb), 0.1);
font-size: 12px;
margin-bottom: 25px;
letter-spacing: 0.5px;
}

/* Browser-style top bar */
.tf-brand-label {
position: absolute;
bottom: 8px;
left: 0;
right: 0;
display: flex;
justify-content: center;
font-family: 'Times New Roman', Times, serif;
font-size: 12px;
color: #ffffff;
letter-spacing: 1px;
}

/* Video screen — .tf-screen (base + video) now lives in global.css. */

/* Responsive */

/* CLIENT LOGOS */
.client-section {
  width: 100%;
  padding: 28px 0 var(--space-section);
  background: var(--bg);
  overflow: hidden;
}

.client-section-header {
  text-align: center;
  padding: 0 24px 30px;
}

/* Stats strip — styles live in global.css */

/* Carousel divider label */
.client-divider-label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 36px 24px 20px;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #e8eaf0;
}
.client-divider-label::before,
.client-divider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d1d5db;
}
.client-divider-label span {
  font-family: var(--p-font, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
}
@media (max-width: 599px) {
  .client-divider-label {
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 8px;
  }
  .client-divider-label::before,
  .client-divider-label::after { display: none; }
  .client-divider-label span {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
}

/* Full edge-to-edge carousel — no side padding, no container */
.client-carousel-full {
  position: relative;
  width: 100%;
  padding: 4px 0;
}

/* Remove side fade gradients so logos go true edge-to-edge */
.client-carousel-full::before,
.client-carousel-full::after { display: none; }
.client-carousel-block { position: relative; overflow: hidden; padding: 10px 0; }
.client-carousel-block::before,
.client-carousel-block::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: 60px;
z-index: 2;
pointer-events: none;
}
.client-carousel-block::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.client-carousel-block::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.logo-track-wrapper { display: flex; flex-direction: column; }
.logo-track {
display: flex;
gap: 40px;
width: max-content;
will-change: transform;
}
.logo-track.row-1 { animation: scrollLeft 18s linear infinite; }
@keyframes scrollLeft  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }

.logo-card {
position: relative;
flex-shrink: 0;
width: 132px;
height: 72px;
background: var(--plate);
border: none;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
padding: 8px 12px;
}
.logo-card img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.logo-card[data-tooltip]::after {
display: none;
z-index: 10;
}
.logo-track .logo-card {
opacity: 0;
animation: logoFadeIn 0.5s ease forwards;
}
.logo-track .logo-card:nth-child(1) { animation-delay: 0.05s; }
.logo-track .logo-card:nth-child(2) { animation-delay: 0.10s; }
.logo-track .logo-card:nth-child(3) { animation-delay: 0.15s; }
.logo-track .logo-card:nth-child(4) { animation-delay: 0.20s; }
.logo-track .logo-card:nth-child(5) { animation-delay: 0.25s; }
.logo-track .logo-card:nth-child(6) { animation-delay: 0.30s; }
.logo-track .logo-card:nth-child(n+7) { animation-delay: 0.35s; }
@keyframes logoFadeIn { to { opacity: 1; } }

/* ECOSYSTEM */
/* Ecosystem section shell */
.ecosystem {
position: relative;
overflow: hidden;
padding: var(--space-section) var(--site-pad-x);
/* Light band — background and text colours come from the #products rules below. */
}

/* Ecosystem section — light/white background */
#products {
  background: var(--surface-2);
  border-top: none;
  border-bottom: none;
  padding: var(--space-section) var(--site-pad-x);
}
#products .eco-header-block {
  margin-bottom: 40px;
}
#products .eco-heading {
  color: var(--clr-text);
  text-shadow: none;
}
/* Light cards inside ecosystem */
#products .dark-glass-card {
  background: var(--surface-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 8px 28px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
/* .card-img base + inset-frame recipe moved to global.css 2026-08-20 */
#products .dark-glass-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 12px 36px rgba(var(--accent-rgb), 0.07);
  border-color: rgba(var(--accent-rgb), 0.14);
}
#products .dark-glass-card .card-body h3 {
  color: var(--clr-text);
  font-weight: 700;
}
#products .dark-glass-card .card-body p {
  color: var(--clr-muted);
  text-align: left;
}
#products .dark-glass-card .card-body ul li {
  color: var(--clr-muted);
}
#products .dark-glass-card .card-body ul li [data-lucide] {
  stroke: var(--primary);
}

/* Eco/SW shared content wrapper */
.eco-centered-wrap {
position: relative;
z-index: 5;
max-width: var(--site-max-w);
margin: 0 auto;
padding: 0 var(--site-pad-x);
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 36px;
}
.eco-header-block {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
margin-bottom: 64px;
}
.eco-heading {
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
margin: 0;
}

.eco-cards-grid {
display: grid;
grid-template-columns: 1fr auto 1fr auto 1fr;
gap: 10px;
align-items: stretch;
width: 100%;
margin-top: 8px;
}

/* Keyword-bearing deep link inside each ecosystem card (internal-linking pass 2026-07-12) */
.eco-card-link {
display: inline-flex;
align-items: center;
gap: 6px;
margin-top: auto;
font-family: var(--h-font);
font-weight: 600;
font-size: 0.92rem;
color: var(--primary);
text-decoration: none;
transition: gap 0.25s ease, color 0.25s ease;
}
.eco-card-link i,
.eco-card-link [data-lucide] {
width: 16px;
height: 16px;
transition: transform 0.25s ease;
}
.eco-card-link:hover {
color: var(--accent-cyan);
gap: 10px;
}
.eco-card-link:hover [data-lucide] { transform: translateX(2px); }

/* ECOSYSTEM — GLASS CARDS + SEQUENTIAL BORDER GLOW (JS-driven) */

/* Simple positioning wrapper — no overflow clip, no padding trick */
.eco-glow-wrap {
position: relative;
border-radius: var(--radius-lg);
display: flex;
flex-direction: column;
/* Grid items default to min-width:auto, which can refuse to shrink below */
min-width: 0;
}

/* eco cards now use .dark-glass-card — stretch to fill glow-wrap height */
.eco-glow-wrap .dark-glass-card {
flex: 1;
}

@keyframes ecoFadeUp {
from { opacity: 0; transform: translateY(20px); }
to   { opacity: 1; transform: translateY(0); }
}
.eco-anim {
opacity: 0;
animation: ecoFadeUp 0.52s ease forwards;
animation-delay: var(--eco-delay, 0s);
}

/* HARDWARE / SOFTWARE — INTERACTIVE PANELS (light) */
/* Hardware/software sections: ID selectors (1-0-0) beat .light-panel class (0-1-0). */
#software, #hardware, #support { padding-left: 0 !important; padding-right: 0 !important; }  /* r=336, circ≈2111 */

/* Support section — premium Apple/Linear/Stripe-style dark showcase */
/* Owner request 2026-08-27: drop the section's own cyan/purple corner glows */
/* Background is the hero background (.hero-bg, hero.css) plus the hero particle web (hero-web.js) — the same as the
   homepage hero. The copy sits above the web and the tint (z-index 10, as .hero-content does). */
#support .support-inner { z-index: 10; }

/* Eyebrow pill — glass + faint cyan glow */
#support .support-eyebrow {
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,198,255,0.35);
  color: var(--accent);
  box-shadow: 0 0 24px rgba(0,198,255,0.14);
}

/* Heading now uses the shared universal section-h2 size/weight (see */

/* Description — centered, capped width, secondary text color */
#support .hw-header p {
  max-width: 850px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: #B7C0D4;
}

/* Trust badges strip (CMMI Level 5 / Make in India / GeM) — sits */
.trust-badges-section {
  background: var(--bg);
  padding: 12px 0;
}
.trust-badges-row {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--site-pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 72px;
}
.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.trust-badge-item .footer-badge-label {
  font-size: 15px;
}
.trust-badge-item video { height: 84px; width: 150px; object-fit: cover; background: var(--plate); padding: 10px 16px; border-radius: 10px; }
@media (max-width: 768px) {
  .trust-badges-row { gap: 40px; }
}
@media (max-width: 599px) {
  .trust-badge-item video { height: 64px; width: 114px; padding: 8px 12px; }
}
@media (max-width: 480px) {
  .trust-badges-row { gap: 28px; }
  .trust-badge-item .footer-badge-label { font-size: 13px; }
}

/* Scoped override — .hw-header's shared 56px margin-bottom (used sitewide) */
#support .hw-header { margin-bottom: 24px; }

#support .support-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
  width: 100%;
  max-width: 1180px;
  margin: 24px auto 0;
}

.support-stat-frame {
  width: 100%;
}

#support .support-stat-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  height: 100%;
}
/* Stat cards — the number is the visual focus, no icons anywhere. */
#support .support-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 32px 28px;
  background: rgba(18, 24, 45, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#support .support-stat:hover {
  border-color: rgba(0, 198, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32), 0 0 32px rgba(0, 198, 255, 0.14);
}

/* GlareHover (react bits) ported to plain CSS — diagonal light sweep */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  #support .support-stat {
    position: relative;
    overflow: hidden;
  }
  #support .support-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      -30deg,
      hsla(0, 0%, 0%, 0) 60%,
      rgba(255, 255, 255, 0.3) 70%,
      hsla(0, 0%, 0%, 0),
      hsla(0, 0%, 0%, 0) 100%
    );
    background-size: 300% 300%, 100% 100%;
    background-repeat: no-repeat;
    background-position: -100% -100%, 0 0;
    transition: background-position 800ms ease !important;
    pointer-events: none;
  }
  #support .support-stat:hover::before {
    background-position: 100% 100%, 0 0;
  }
}

/* GlareHover sweep formerly reused here on .cs-story-card (Customer Case */

#support .support-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.05;
}
#support .support-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #B7C0D4;
}

/* Product showcase — no bezel, just a clipped rounded-corner frame with a */
#support .support-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
#support .support-video-wrap video {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

/* Custom mute toggle — iOS Safari's native <video controls> has no */
.support-video-mute {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background 0.25s ease;
}
.support-video-mute.is-visible { opacity: 1; pointer-events: auto; }
.support-video-mute:hover { background: rgba(15, 23, 42, 0.75); }
.support-video-mute [data-lucide] { width: 18px; height: 18px; stroke: #ffffff; }
.support-video-mute .support-mute-icon-off { display: none; }
.support-video-mute.is-muted .support-mute-icon-on { display: none; }
.support-video-mute.is-muted .support-mute-icon-off { display: block; }

@media (max-width: 900px) {
  #support .support-content-row { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .support-stat-frame { width: 100%; }
  /* Video first, stat cards after — reads top-to-bottom once stacked. */
  #support .support-video-wrap { min-height: 0; height: auto; aspect-ratio: 16 / 9; order: -1; }

  /* Compact 2x2 grid — smaller cards than desktop, not full-width rows */
  #support .support-stat-band { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #support .support-stat {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    padding: 14px 16px;
  }
  #support .support-stat-num { font-size: 22px; }
  #support .support-stat-label { font-size: 12px; }
}

.hw-header {
text-align: center;
margin-bottom: 56px;
}
.hw-header h2 {
color: var(--fg-primary);
letter-spacing: -0.3px;
}
/* h2 em gradient now global — see global.css */
.hw-header p {
color: var(--fg-secondary);
margin-top: 12px;
}

/* CUSTOMER SUPPORT */
/* .customer-support base — inner .support-inner handles horizontal padding. */
.customer-support { text-align: center; padding: var(--space-section) 0; }

/* Animated mesh-grid backdrop — thin cyan gridlines drifting diagonally, */
.mesh-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(180, 220, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 220, 255, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 0%, transparent 78%);
  animation: mesh-grid-drift 22s linear infinite;
}
@keyframes mesh-grid-drift {
  to { background-position: 46px 46px, 46px 46px; }
}
@media (max-width: 768px) { .mesh-grid-bg { background-size: 34px 34px; } }

.support-inner {
max-width: 1440px;
margin: 0 auto;
padding: 0 var(--site-pad-x);
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
}
/* support is now a dark section (see #support background rule above) */
.support-inner h2 {
color: #ffffff;
line-height: 1.2;
margin: 0;
text-shadow: none;
}
#support .hw-header p { color: rgba(255, 255, 255, 0.82); }
.support-inner > p { margin-bottom: 8px; }

/* RESPONSIVE */
@media (max-width: 899px) {
.hw-header { margin-bottom: 48px; }
}

/* StudynLearn Smart Class (#ecosystem): 3 cards stack one below the */
@media (max-width: 900px) {
.eco-cards-grid { grid-template-columns: 1fr; gap: 10px; }
#products .dark-glass-card .card-body p { min-height: 0; }

}

@media (max-width: 480px) {

.badge { font-size: 11px; padding: 5px 14px; margin-bottom: 18px; } /* hidden on mobile via ≤900px rule */
.logo-card { width: 118px; height: 72px; }
}

/* Hero h1 min-height — responsive per breakpoint to prevent layout jump */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.8rem, 6.5vw, 2.6rem);
    min-height: 3.3em; /* always reserves 3 lines (3 × line-height 1.1) — prevents layout shift on phrase swap */
  }
}

/* Mobile — card body text matches section subheading size */
@media (max-width: 599px) {
  .card-body p,
  .hw-card-text p,
  .why-card-light .why-card-text p,
  .why-card-dark p,
  .why-card-img p,
  .support-card p,
  .blog-card-excerpt,
  .cs-body-new p,
  .eco-subheading {
    font-size: 13px;
    line-height: 1.65;
  }
}

/* MOBILE-ONLY FIXES — padding, gaps, performance */
@media (max-width: 599px) {

  /* Ecosystem padding now comes entirely from the shared var(--space-section)/ */
  #products .eco-header-block { margin-bottom: 20px; }
  .eco-cards-grid { gap: 12px; }
  .eco-header-block { gap: 10px; }

  /* General section padding normalise */

  /* One full card at a time — no neighbour peeking/cut off on phones */
  
  .testimonials { padding: var(--space-section) 0; }
  
  .customer-support { padding: var(--space-section) 0; }
  .client-section { padding: 6px 0 24px; }
  .client-section-header { padding: 0 16px 8px; }

  /* Remove expensive effects on mobile for performance */
  .eco-neural-canvas,
  .section-blur-overlay,
  .eco-grain,
  .eco-ambient { display: none; }

  /* Suppress heavy blur glows on mobile (GPU cost) */

  /* Reduce backdrop-filter cost */
  .eco-card,
  .sw-card-white,
  .support-card,
  .blog-card,
  .cs-card-new {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Card/grid tightening */
  .eco-cards-grid { grid-template-columns: 1fr; }

  /* hw-layout collapses to single column */

  /* Remove content-visibility on mobile (can cause scroll jumps) */
  .ecosystem,
  .software-cards-section,
  .hardware-section,
  .hardware-cards-section,
  .why-modern,
  .case-studies-section,
  .testimonials,
  .customer-support,
  .blog-section,
  .final-cta {
    content-visibility: visible;
    contain-intrinsic-size: unset;
  }

  /* Section headers tighten up */
  .hw-header { margin-bottom: 28px; }

  .eco-header-block { margin-bottom: 36px; }
}

/* ACCESSIBILITY — prefers-reduced-motion (index-specific rules) */
@media (prefers-reduced-motion: reduce) {

  /* Logo scroll — static */
  .logo-track { animation: none; }

  /* Section entry fade-ups — appear immediately */
  .eco-anim { animation: none; opacity: 1; transform: none; }

  .cta-btn [data-lucide] { animation: none; }
}

/* MOBILE ANIMATION BUDGET  (< 768 px) */
@media (max-width: 767px) {

  /* 3. Icon animations — fire on every CTA simultaneously */
  .cta-btn [data-lucide] { animation: none; }

  /* 4. Logo track — reduce GPU cost, don't kill scroll */
  .logo-track { animation-duration: 40s; }

  /* 9. backdrop-filter on every card — GPU compositing cost, imperceptible on mobile. */
  .dark-glass-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* 10. will-change: none on mobile — no hover events, no value in promoting layers */
  .hw-item, .dark-glass-card, .hw-card, .blog-card,
  .eco-glow-wrap,
  .cta-btn {
    will-change: auto;
  }

  /* 11. Disable box-shadow animations — use static shadow instead */
  .dark-glass-card { transition: none; }
}

/* GEO: footer address */
/* .footer-address styling moved to global.css (shared footer, all pages) */

/* SNL homepage: products grid */
.eco-cards-grid.snl-products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.snl-products-grid > .eco-glow-wrap { flex: 0 1 calc((100% - 56px) / 3); }
.snl-products-grid .card-img {
  background: #ffffff;
}
.snl-products-grid .card-img img {
  object-fit: contain;
  padding: 12px;
}
@media (max-width: 1024px) {
  .snl-products-grid > .eco-glow-wrap { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 640px) {
  .snl-products-grid > .eco-glow-wrap { flex-basis: 100%; }
}
/* Tap targets — 44 px controls on touch screens */
@media (max-width: 767px), (pointer: coarse) {
  .support-video-mute { min-width: 44px; min-height: 44px; }
  .eco-card-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Homepage hero: taller than the shared tall hero (680-750px) on tablets and phones only; desktop keeps the shared 128vh. */
@media (max-width: 899px) { .hero.home-hero { min-height: 860px; } }
@media (max-width: 767px) { .hero.home-hero { min-height: 930px; } }
@media (max-width: 599px) { .hero.home-hero { min-height: 900px; } }
@media (max-width: 480px) { .hero.home-hero { min-height: 920px; } }

/* Homepage hero copy: heading, paragraph and button evenly spaced (24px each; the shared 40px above the button and the phone h1 min-height (3 reserved lines) made it uneven). */
.hero.home-hero h1 { min-height: 0; }
.hero.home-hero .hero-btn-group { margin-top: 24px; }

/* Phones: the product cards sat inside two 14px paddings (section + wrapper), so they were 28px from the screen edge
   while every other section is 14px, and each photo had ~60px of empty white above and below it. */
@media (max-width: 599px) {
  #products { padding-left: 0; padding-right: 0; }
  .snl-products-grid .card-img img { height: 180px; padding: 8px; }
}
