/* ═══════════════════════════════════════════════════════════
   SENSYTEC — Premium Redesign
   Concrete Intelligence Platform
   Design System: Apple / Salesforce / Procore tier
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand Colors */
  --primary: #1A8FC4;
  --primary-dark: #14729D;
  --primary-deeper: #0D5A7E;
  --primary-light: #E8F4FA;
  --primary-50: #F0F8FC;
  --primary-glow: rgba(26, 143, 196, 0.15);

  /* Gradient System */
  --gradient-primary: linear-gradient(135deg, #1A8FC4 0%, #14729D 100%);
  --gradient-hero: linear-gradient(160deg, #FFFFFF 0%, #F0F8FC 40%, #E8F4FA 100%);
  --gradient-subtle: linear-gradient(180deg, #FFFFFF 0%, #F7F9FB 100%);
  --gradient-section: linear-gradient(180deg, #F7F9FB 0%, #FFFFFF 100%);
  --gradient-radial: radial-gradient(ellipse at 50% 0%, rgba(26,143,196,0.06) 0%, transparent 70%);

  /* Neutrals */
  --dark: #0F1419;
  --charcoal: #1C2127;
  --slate: #3D4654;
  --gray-700: #4A5568;
  --gray-600: #5A6577;
  --gray-500: #718096;
  --gray-400: #A0AEC0;
  --gray-300: #CBD5E0;
  --gray-200: #E2E8F0;
  --gray-100: #EDF2F7;
  --gray-50: #F7FAFC;
  --white: #FFFFFF;
  --off-white: #FAFCFE;

  /* Accents */
  --success: #38A169;
  --warning: #D69E2E;
  --accent-teal: #319795;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 120px);
  --section-pad-sm: clamp(48px, 6vw, 72px);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.07), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(26,143,196,0.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.02);
  --shadow-card-hover: 0 12px 24px -4px rgba(0,0,0,0.08), 0 0 0 1px rgba(26,143,196,0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 100px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--slate);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(26,143,196,0.15); color: var(--dark); }

/* ─── CONTAINER ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); width: 100%; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); width: 100%; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); width: 100%; }

/* ─── SCROLL ANIMATIONS (progressive enhancement: only hide when JS is active) ─── */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.js .reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal-left.visible { opacity: 1; transform: translateX(0); }
.js .reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal-right.visible { opacity: 1; transform: translateX(0); }
.js .reveal-scale { opacity: 0; transform: scale(0.95); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.js .stagger-children > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js .stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; }
.js .stagger-children.visible > *:nth-child(2) { transition-delay: 80ms; }
.js .stagger-children.visible > *:nth-child(3) { transition-delay: 160ms; }
.js .stagger-children.visible > *:nth-child(4) { transition-delay: 240ms; }
.js .stagger-children.visible > *:nth-child(5) { transition-delay: 320ms; }
.js .stagger-children.visible > *:nth-child(6) { transition-delay: 400ms; }
.js .stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════
   NAVIGATION — Premium Glass Morphism
   ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
  transition: all var(--transition-base);
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  height: 64px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1440px; margin: 0 auto; }
.nav-left { display: flex; align-items: center; gap: 48px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 36px; width: auto; transition: height var(--transition-base); }
.nav.scrolled .nav-logo img { height: 32px; }

/* Nav Menu */
.nav-menu { display: flex; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--gray-600);
  padding: 8px 16px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 5px;
  transition: all var(--transition-fast);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { background: var(--gray-50); color: var(--dark); }
.nav-menu > li > a .arrow { font-size: 10px; opacity: 0.5; transition: transform 0.2s; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 8px; min-width: 260px;
  box-shadow: var(--shadow-xl);
  opacity: 0; visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: all 0.2s var(--ease-out);
  z-index: 100;
}
.nav-menu > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.nav-menu > li:hover > a .arrow { transform: rotate(180deg); }
.nav-dropdown a {
  display: block; font-size: 14px; font-weight: 500; color: var(--slate);
  padding: 12px 16px; border-radius: var(--radius-md);
  transition: all 0.15s; text-decoration: none;
}
.nav-dropdown a:hover { background: var(--primary-50); color: var(--primary); }
.nav-dropdown a small { display: block; font-size: 12px; font-weight: 400; color: var(--gray-400); margin-top: 2px; }

/* Nav Right */
.nav-right { display: flex; gap: 12px; align-items: center; }

/* Mobile Toggle */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; width: 36px; height: 36px; }
.mobile-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--dark); position: absolute; left: 8px;
  transition: all 0.3s var(--ease-out); border-radius: 1px;
}
.mobile-toggle span:nth-child(1) { top: 10px; }
.mobile-toggle span:nth-child(2) { top: 17px; }
.mobile-toggle span:nth-child(3) { top: 24px; }
.mobile-toggle.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* ════════════════════════════════════════════
   BUTTONS — Premium System
   ════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  border: none; cursor: pointer; text-decoration: none;
  border-radius: var(--radius-md); white-space: nowrap;
  transition: all var(--transition-base);
  letter-spacing: -0.01em;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--gradient-primary); color: white;
  padding: 14px 32px; font-size: 15px;
  box-shadow: 0 2px 8px rgba(26,143,196,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,143,196,0.3);
  color: white;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white); color: var(--dark);
  border: 1.5px solid var(--gray-200);
  padding: 13px 32px; font-size: 15px;
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(26,143,196,0.08);
  transform: translateY(-1px);
}

.btn-ghost { background: transparent; color: var(--primary); padding: 12px 20px; font-size: 14px; }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary-dark); }

.btn-dark { background: var(--dark); color: white; padding: 14px 32px; font-size: 15px; }
.btn-dark:hover { background: var(--charcoal); color: white; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-lg { padding: 18px 40px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-xl { padding: 20px 48px; font-size: 17px; border-radius: var(--radius-lg); }

.btn-icon { display: inline-flex; align-items: center; gap: 8px; }
.btn-icon svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-icon:hover svg { transform: translateX(3px); }

/* ════════════════════════════════════════════
   HERO SECTION — Premium Full-Width
   ════════════════════════════════════════════ */
.hero {
  margin-top: 72px;
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 100px);
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,143,196,0.05) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,143,196,0.03) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 6px 16px 6px 12px; border-radius: var(--radius-full);
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px;
  background: var(--primary); border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -2px; color: var(--dark);
  margin-bottom: 24px;
}
.hero h1 span { color: var(--primary); }
.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--gray-600); line-height: 1.7;
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

/* Hero Image */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-product-img {
  max-width: 100%; width: clamp(300px, 32vw, 520px);
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.12));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* Hero Stats */
.hero-stats {
  display: flex; gap: clamp(24px, 3vw, 48px);
  padding-top: 32px; border-top: 1px solid var(--gray-200);
}
.hero-stat { white-space: nowrap; }
.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800; color: var(--primary);
  letter-spacing: -1px; line-height: 1;
}
.hero-stat-label {
  font-size: 13px; color: var(--gray-500);
  font-weight: 500; margin-top: 4px;
}

/* Page Hero (inner pages) */
.page-hero {
  margin-top: 72px;
  padding: clamp(64px, 8vw, 100px) 0 clamp(48px, 6vw, 72px);
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,143,196,0.05) 0%, transparent 65%);
  border-radius: 50%;
}
.page-hero-center { text-align: center; }
.page-hero-center .hero-subtitle { margin-left: auto; margin-right: auto; }
.page-hero-center .hero-actions { justify-content: center; }

/* ════════════════════════════════════════════
   LOGO MARQUEE — Infinite Scroll
   ════════════════════════════════════════════ */
.logo-section {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.logo-section-label {
  text-align: center; margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--gray-400);
}
.logo-marquee {
  display: flex; gap: 56px; align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.logo-marquee img {
  height: 32px; opacity: 1;
  filter: none;
  transition: all 0.4s var(--ease-out);
  object-fit: contain; flex-shrink: 0;
}
.logo-marquee img:hover { opacity: 1; filter: none; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Static logo strip (fallback) */
.logo-strip {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(24px, 4vw, 48px); flex-wrap: wrap;
}
.logo-strip img {
  height: clamp(24px, 2.5vw, 36px);
  opacity: 1; filter: none;
  transition: all 0.4s var(--ease-out);
  object-fit: contain;
}
.logo-strip img:hover { opacity: 1; filter: none; }

/* ════════════════════════════════════════════
   SECTIONS — Premium Layout
   ════════════════════════════════════════════ */
.section { padding: var(--section-pad) 0; position: relative; }
.section-sm { padding: var(--section-pad-sm) 0; }
.section-alt { background: var(--gray-50); }
.section-gradient { background: var(--gradient-subtle); }

.section-header { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-label {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--primary); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.section-label::before,
.section-label::after {
  content: ''; width: 24px; height: 1px;
  background: var(--primary); opacity: 0.3;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; color: var(--dark);
  letter-spacing: -1px; margin-bottom: 16px;
  line-height: 1.15;
}
.section-desc {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--gray-500); max-width: 640px;
  margin: 0 auto; line-height: 1.7;
}

/* ════════════════════════════════════════════
   STATS BAR — Animated Counters
   ════════════════════════════════════════════ */
.stats-bar {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.stats-grid {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(32px, 5vw, 72px); flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 800; color: var(--primary);
  letter-spacing: -1px; line-height: 1;
}
.stat-label {
  font-size: 13px; color: var(--gray-500);
  font-weight: 500; margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════
   CARDS — Premium System
   ════════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.card:hover {
  border-color: rgba(26,143,196,0.15);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}
.card:hover .card-icon {
  background: var(--primary-light);
  transform: scale(1.05);
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--primary); }
.card h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.card p {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.65;
}

/* Feature Card (larger) */
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: clamp(32px, 4vw, 48px);
  transition: all 0.4s var(--ease-out);
}
.feature-card:hover {
  border-color: rgba(26,143,196,0.12);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* ════════════════════════════════════════════
   PRODUCT CARDS — Premium Showcase
   ════════════════════════════════════════════ */
.product-card-link {
  display: block; text-decoration: none; color: inherit;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.product-card-link::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary);
  opacity: 0; transition: opacity 0.3s;
}
.product-card-link:hover::before { opacity: 1; }
.product-card-link:hover {
  border-color: rgba(26,143,196,0.12);
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  color: inherit;
}
.product-card-img {
  width: 100%; height: 240px;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow: hidden;
}
.product-card-img img {
  max-height: 190px; object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}
.product-card-link:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: 28px; }
.product-card-type {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); margin-bottom: 6px;
}
.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.product-card-body p {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.6; margin-bottom: 16px;
}

/* ════════════════════════════════════════════
   INDUSTRY CARDS — Large Image
   ════════════════════════════════════════════ */
.industry-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius-2xl); overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
  background: var(--white);
}
.industry-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  color: inherit;
}
.industry-card-img {
  width: 100%; height: 220px; overflow: hidden;
}
.industry-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.industry-card:hover .industry-card-img img { transform: scale(1.08); }
.industry-card-body { padding: 24px; }
.industry-card-body h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
}
.industry-card-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ════════════════════════════════════════════
   TESTIMONIALS — Premium Carousel
   ════════════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}
.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 64px; color: var(--primary);
  opacity: 0.12; line-height: 0.8;
  position: absolute; top: 20px; left: 28px;
}
.testimonial-text {
  font-size: 16px; color: var(--dark);
  line-height: 1.7; font-style: italic;
  margin-bottom: 20px; position: relative;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--primary-50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  color: var(--primary);
}
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px;
  color: var(--dark);
}
.testimonial-role { font-size: 13px; color: var(--gray-500); }

/* ════════════════════════════════════════════
   CTA SECTION — Premium
   ════════════════════════════════════════════ */
.cta-section { padding: var(--section-pad) 0; }
.cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-card::after {
  content: ''; position: absolute;
  bottom: -200px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; color: var(--white);
  margin-bottom: 16px; position: relative; z-index: 2;
  letter-spacing: -1px;
}
.cta-card p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  margin-bottom: 32px; position: relative; z-index: 2;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-actions { display: flex; justify-content: center; gap: 16px; position: relative; z-index: 2; flex-wrap: wrap; }
.cta-card .btn-primary {
  background: var(--white); color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--primary-dark);
}
.cta-card .btn-secondary {
  background: transparent; border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.cta-card .btn-secondary:hover {
  border-color: var(--white); background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ════════════════════════════════════════════
   GRIDS
   ════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

/* ════════════════════════════════════════════
   FEATURE LIST
   ════════════════════════════════════════════ */
.feature-list { list-style: none; }
.feature-list li {
  font-size: 15px; color: var(--slate);
  padding: 10px 0; display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.6;
}
.feature-list .check {
  color: var(--primary); font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}

/* ════════════════════════════════════════════
   COMPARISON TABLE
   ════════════════════════════════════════════ */
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  text-align: left; padding: 18px 24px;
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  color: var(--dark);
}
.compare-table thead th.highlight { background: var(--primary-50); color: var(--primary); }
.compare-table td {
  font-size: 14px; color: var(--gray-600);
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.compare-table td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--dark); }
.compare-table td.highlight { background: var(--primary-50); font-weight: 600; color: var(--dark); }
.compare-table .check { color: var(--primary); font-weight: 700; }
.compare-table .x { color: var(--gray-400); }

/* ════════════════════════════════════════════
   SPECS TABLE
   ════════════════════════════════════════════ */
.specs-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; background: var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--gray-200);
}
.spec-row {
  display: grid; grid-template-columns: 220px 1fr;
  background: var(--white);
}
.spec-row:nth-child(even) { background: var(--gray-50); }
.spec-label {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: var(--dark);
  padding: 16px 24px; border-right: 1px solid var(--gray-200);
}
.spec-value { font-size: 14px; color: var(--gray-600); padding: 16px 24px; }

/* ════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; color: var(--dark);
  padding: 20px 28px;
  cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  transition: background 0.2s; user-select: none;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .arrow { font-size: 20px; color: var(--gray-400); transition: transform 0.3s var(--ease-out); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); }
.faq-answer-inner { padding: 0 28px 24px; font-size: 15px; color: var(--gray-600); line-height: 1.7; }

/* ════════════════════════════════════════════
   FORMS — Premium Style
   ════════════════════════════════════════════ */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--font-display);
  font-size: 14px; font-weight: 600; color: var(--dark);
  margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; font-family: var(--font-body);
  font-size: 15px; color: var(--dark);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 18px; background: var(--white);
  transition: all var(--transition-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26,143,196,0.08);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ════════════════════════════════════════════
   VIDEO EMBED
   ════════════════════════════════════════════ */
.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ════════════════════════════════════════════
   SENSOR GALLERY
   ════════════════════════════════════════════ */
.sensor-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sensor-gallery-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px;
  text-align: center; transition: all 0.3s var(--ease-out);
}
.sensor-gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sensor-gallery-item img { height: 80px; object-fit: contain; margin: 0 auto 16px; }
.sensor-gallery-item h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.sensor-gallery-item p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ════════════════════════════════════════════
   CASE STUDY CARDS
   ════════════════════════════════════════════ */
.case-study-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius-2xl); overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
  background: var(--white);
}
.case-study-card:hover {
  box-shadow: var(--shadow-xl); transform: translateY(-4px); color: inherit;
}
.case-study-card-img {
  width: 100%; height: 200px; overflow: hidden;
}
.case-study-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.case-study-card:hover .case-study-card-img img { transform: scale(1.05); }
.case-study-card-body { padding: 24px; }
.case-study-card-tag {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); margin-bottom: 8px;
}
.case-study-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
  line-height: 1.3;
}
.case-study-card-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ════════════════════════════════════════════
   FOOTER — Premium
   ════════════════════════════════════════════ */
.footer {
  padding: 64px 0 32px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 32px; }
.footer-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; max-width: 300px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--dark); margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--gray-600); padding: 4px 0;
  transition: color 0.2s; text-decoration: none;
}
.footer-col a:hover { color: var(--primary); }
.footer-socials { display: flex; gap: 16px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px;
  background: var(--gray-100); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-socials a:hover { background: var(--primary-50); }
.footer-socials a svg { width: 18px; height: 18px; fill: var(--gray-600); }
.footer-socials a:hover svg { fill: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--gray-400); }
.footer-bottom a { color: var(--gray-400); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }
.footer-badge { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.footer-badge img { height: 32px; opacity: 0.4; }

/* ════════════════════════════════════════════
   HUBSPOT FORM OVERRIDES
   ════════════════════════════════════════════ */
.hs-form { font-family: var(--font-body) !important; }
.hs-form .hs-input { border: 1.5px solid var(--gray-200) !important; border-radius: var(--radius-md) !important; padding: 14px 18px !important; font-family: var(--font-body) !important; font-size: 15px !important; }
.hs-form .hs-input:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 4px rgba(26,143,196,0.08) !important; }
.hs-form .hs-button { background: var(--gradient-primary) !important; border: none !important; border-radius: var(--radius-md) !important; font-family: var(--font-display) !important; font-weight: 600 !important; font-size: 15px !important; padding: 16px 36px !important; cursor: pointer !important; transition: all 0.2s !important; }
.hs-form .hs-button:hover { opacity: 0.9 !important; }
.hs-form label { font-family: var(--font-display) !important; font-size: 14px !important; font-weight: 600 !important; color: var(--dark) !important; }

/* ════════════════════════════════════════════
   UTILITY CLASSES
   ════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray-500); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ════════════════════════════════════════════
   HOW IT WORKS — Process Steps
   ════════════════════════════════════════════ */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.process-step { text-align: center; position: relative; counter-increment: step; }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 52px; font-weight: 800;
  color: var(--primary); opacity: 0.1;
  display: block; margin-bottom: 16px;
  line-height: 1;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.process-step p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ════════════════════════════════════════════
   RESPONSIVE — Mobile First Breakpoints
   ════════════════════════════════════════════ */

/* Ultra-wide */
@media (min-width: 1600px) {
  .container { max-width: 1400px; }
  .container-wide { max-width: 1560px; }
}

/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sensor-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-grid .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid .reveal-left, .split-grid .reveal-right { text-align: center; }
  .process-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* Mobile phones */
@media (max-width: 768px) {
  .nav { padding: 0 20px; height: 64px; }
  .nav.scrolled { height: 60px; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px; box-shadow: var(--shadow-xl);
    z-index: 999;
  }
  .nav-menu.open .nav-dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none; padding-left: 16px;
  }

  .hero { margin-top: 64px; padding: 48px 0; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 16px; }
  .page-hero { margin-top: 64px; padding: 48px 0 40px; }

  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sensor-gallery { grid-template-columns: 1fr 1fr; }

  .cta-card { padding: 40px 24px; border-radius: var(--radius-xl); }
  .cta-card h2 { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero-product-img { width: 260px; animation-duration: 8s; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }

  .stats-grid { gap: 24px; }
  .stat-number { font-size: 28px; }

  .logo-strip { gap: 20px; }
  .logo-strip img { height: 22px; }

  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px 14px; }

  .spec-row { grid-template-columns: 150px 1fr; }

  .btn-lg { padding: 14px 28px; font-size: 15px; }
  .btn-xl { padding: 16px 32px; font-size: 15px; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero { padding: 36px 0; }
  .section { padding: 44px 0; }
  .card { padding: 20px; }
  .hero-product-img { width: 220px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-label { border-right: none; border-bottom: 1px solid var(--gray-200); }
}
