/* ===================================================================
   ACUTRO TECHNOLOGIES — PREMIUM LIGHT THEME DESIGN SYSTEM
   Robotics, Industrial Automation & Customized Hardware R&D
   =================================================================== */

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

:root {
  /* Surface colors (Premium Light) */
  --bg-primary: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  /* Text colors */
  --text-main: #090D1A;
  --text-muted: #475569;
  --text-faint: #64748B;
  --text-light: #94A3B8;

  /* Accent & Brand Colors */
  --primary: #0284C7;        /* Precision Tech Cyan-Blue */
  --primary-hover: #0369A1;
  --primary-light: #E0F2FE;
  --primary-glow: rgba(2, 132, 199, 0.18);
  
  --secondary: #2563EB;      /* Deep Industrial Blue */
  --accent-gold: #F59E0B;    /* KalamSpark Gold / Amber */
  --accent-gold-light: #FEF3C7;
  --accent-emerald: #10B981; /* Agritech & Active Hardware Status */
  --accent-emerald-light: #D1FAE5;
  
  /* Borders */
  --border-subtle: #E2E8F0;
  --border-card: #E5E7EB;
  --border-focus: #38BDF8;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.15);
  --shadow-gold: 0 10px 30px -5px rgba(245, 158, 11, 0.25);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  --container-max: 1240px;
  --header-height: 72px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-surface);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Technical Grid Background */
.tech-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 56px 0;
}

.section-bg-white {
  background-color: var(--bg-primary);
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.68;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Badges & Micro Tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-gold {
  background-color: var(--accent-gold-light);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background-color: var(--accent-emerald-light);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header & Navigation Bar (Stable, Zero-Jitter Alignment) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-card);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  position: relative;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  line-height: 1;
  height: var(--header-height);
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
  height: var(--header-height);
  flex-shrink: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  height: var(--header-height);
  position: relative;
}

.nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0 4px;
  height: var(--header-height);
  line-height: var(--header-height);
  text-decoration: none;
  transition: color 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--primary);
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px 3px 0 0;
}

.nav-item a .badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  line-height: 1.2;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: var(--header-height);
}

.nav-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.22);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-actions .btn:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: none !important;
}

.nav-actions .btn:active,
.nav-actions .btn:focus {
  transform: none !important;
  background-color: #0369A1;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  transform: none !important;
}

.mobile-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--border-card);
}

.mobile-toggle:active {
  background: var(--border-subtle);
  transform: none !important;
}

/* Scroll padding and margin to prevent fixed header overlap */
html {
  scroll-padding-top: calc(var(--header-height) + 24px);
  scroll-behavior: smooth;
}

section, [id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--border-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(245, 158, 11, 0.4);
  color: #FFFFFF;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
              var(--bg-surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  margin-top: 18px;
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #090D1A 30%, #0284C7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

.tech-pill svg {
  color: var(--primary);
}

/* Hero Visual Showcase */
.hero-visual-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-visual-media {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #0F172A;
}

.hero-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-visual-card:hover .hero-visual-media img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Partner Trust Strip */
.trust-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 36px 0;
}

.trust-title {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.trust-logo-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.trust-logo-item img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.trust-logo-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Feature & Service Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-media {
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: -32px -32px 24px -32px;
  position: relative;
  background-color: var(--bg-subtle);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-icon-gold {
  background: var(--accent-gold-light);
  color: #B45309;
}

.card-title {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-bullets {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-bullets li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Flagship Product Showcase (KalamSpark Highlight) */
.product-showcase-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 48px;
}

.product-showcase-visual {
  background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.12) 0%, rgba(2, 132, 199, 0.05) 60%, #FFFFFF 100%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
}

.product-showcase-visual img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
  transition: transform 0.5s ease;
}

.product-showcase-box:hover .product-showcase-visual img {
  transform: translateY(-8px) scale(1.02);
}

.product-showcase-details {
  padding: 56px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.spec-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.spec-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.spec-lbl {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
}

/* Interactive Hardware Workflow / Pillars */
.workflow-step {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  transition: var(--transition);
}

.workflow-step:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.team-photo-wrap {
  height: 260px;
  overflow: hidden;
  background: var(--bg-subtle);
  position: relative;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo-wrap img {
  transform: scale(1.04);
}

.team-info {
  padding: 20px;
}

.team-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.5;
}

/* Stats Counter Row */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.stat-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Contact & RFQ Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 36px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-light);
}

/* KalamSpark Dedicated Styles */
.kalam-hero-banner {
  background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15) 0%, rgba(2, 132, 199, 0.08) 45%, #FFFFFF 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: var(--shadow-lg);
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.kalam-voice-demo {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.voice-bubble {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.voice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--primary-light);
}

.voice-text {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.voice-bubble.kalam .voice-text {
  background: var(--accent-gold-light);
  border-color: rgba(245, 158, 11, 0.3);
  color: #78350F;
}

/* Responsive Grid System & Utilities */
.grid-2-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kalam-stat-strip {
  display: flex;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  flex-wrap: wrap;
}

.kalam-stat-strip .stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--border-subtle);
}

.mobile-only-cta {
  display: none;
}

/* Base Responsive Safety */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    display: none;
    gap: 12px;
    height: auto;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    z-index: 1000;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-item {
    height: auto;
    width: 100%;
  }
  .nav-item a {
    height: auto;
    padding: 12px 0;
    width: 100%;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-subtle);
    line-height: 1.4;
  }
  .nav-item a.active::after {
    display: none;
  }
  .mobile-only-cta {
    display: block !important;
    width: 100%;
    padding-top: 10px;
    border-bottom: none !important;
  }
  .mobile-only-cta a {
    border-bottom: none !important;
    padding: 0 !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-showcase-box {
    grid-template-columns: 1fr !important;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .grid-2-split {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }
  .kalam-hero-banner {
    padding: 40px 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }
  .site-header {
    height: 66px;
  }
  .brand-logo {
    height: 34px;
  }
  .grid-2, .grid-3, .grid-4, .team-grid, .stats-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }
  .section {
    padding: 56px 0;
  }
  .section-sm {
    padding: 40px 0;
  }
  .hero-floating-badge {
    position: static !important;
    margin-top: 20px;
    width: 100%;
    left: auto;
    right: auto;
    bottom: auto;
  }
  .kalam-stat-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kalam-stat-strip .stat-divider {
    display: none;
  }
  .product-showcase-details {
    padding: 28px 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-actions .btn {
    display: none !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hero-floating-badge {
    padding: 12px 16px;
    gap: 12px;
  }
  .voice-bubble {
    gap: 10px;
  }
  .voice-avatar {
    width: 34px;
    height: 34px;
  }
  .voice-text {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem) !important;
  }
  h2 {
    font-size: clamp(1.5rem, 6vw, 1.95rem) !important;
  }
  .lead {
    font-size: 1rem !important;
  }
  .kalam-hero-banner {
    padding: 28px 16px;
    border-radius: var(--radius-lg);
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 24px 18px;
  }
  .card {
    padding: 22px 18px;
  }
}

