/* ==========================================================================
   NIYA INFO PRIVATE LIMITED - Corporate Brand Stylesheet
   Theme Color System derived directly from Official Brand Identity:
   - Primary Deep Navy: #0A1C3E / #061124
   - Electric Royal Blue: #0066FF
   - Luminous Tech Cyan: #00C2FF / #00D8FF
   - Neutral Ice / Canvas: #F6F9FD / #FFFFFF
   ========================================================================== */

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

:root {
  /* Brand Core Colors */
  --brand-navy: #0A1C3E;
  --brand-navy-dark: #061124;
  --brand-navy-surface: #0E224A;
  --brand-blue: #0066FF;
  --brand-blue-hover: #0052D4;
  --brand-cyan: #00C2FF;
  --brand-cyan-light: #E0F5FE;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0056E0 0%, #0070F3 50%, #00C2FF 100%);
  --gradient-hover: linear-gradient(135deg, #0044B8 0%, #005CE6 50%, #00B4EB 100%);
  --gradient-dark: linear-gradient(145deg, #0A1C3E 0%, #061124 100%);
  --gradient-hero-art: radial-gradient(circle at 45% 40%, #0D3B75 0%, #0A1C3E 45%, #050E1B 85%);
  --gradient-text: linear-gradient(135deg, #0A1C3E 20%, #0066FF 65%, #00C2FF 100%);
  --gradient-text-light: linear-gradient(135deg, #FFFFFF 20%, #66B2FF 70%, #00E5FF 100%);
  
  /* Surface & Borders */
  --bg-page: #F6F9FD;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-subtle: #EEF2F6;
  --border-blue: rgba(0, 102, 255, 0.2);
  
  /* Typography */
  --text-main: #0B192C;
  --text-muted: #53647F;
  --text-light: #8E9DB5;
  --text-white: #FFFFFF;
  
  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(10, 28, 62, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 28, 62, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 28, 62, 0.12);
  --glow-blue: 0 10px 28px -4px rgba(0, 102, 255, 0.35);
  --glow-cyan: 0 0 25px rgba(0, 194, 255, 0.45);
  
  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --nav-height: 78px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* Header & Navigation */
.nav {
  height: var(--nav-height);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.02);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: #4A5870;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
}

nav a:hover {
  color: var(--brand-blue);
}

nav a.active {
  color: var(--brand-blue);
  background: rgba(0, 102, 255, 0.07);
}

.navcta {
  padding: 10px 22px !important;
  background: var(--gradient-primary);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
}

.navcta:hover {
  box-shadow: var(--glow-blue);
  transform: translateY(-1px);
}

.menu {
  display: none;
  border: 1px solid var(--border-light);
  background: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 22px;
  color: var(--brand-navy);
  line-height: 1;
}

/* Container */
.container {
  width: min(1140px, 90%);
  margin: 0 auto;
}

/* Typography & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(0, 102, 255, 0.18);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--brand-navy);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 em, h2 em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.3);
}

.btn.primary:hover {
  background: var(--gradient-hover);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.btn.ghost {
  background: #ffffff;
  color: var(--brand-navy);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn.ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 35px;
}

/* Hero Section */
.hero {
  min-height: calc(92vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0 80px;
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  margin: 16px 0 20px;
  line-height: 1.08;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* Trust Badges */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  margin-top: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item span.icon {
  color: var(--brand-blue);
  font-size: 15px;
}

/* Hero Visual Art (Radar & Connected IoT) */
.hero-art {
  background: var(--gradient-hero-art);
  min-height: 440px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(10, 28, 62, 0.22);
  border: 1px solid rgba(0, 194, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.hero-art::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border: 1px solid rgba(0, 194, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(0, 194, 255, 0.05),
              0 0 0 120px rgba(0, 194, 255, 0.03),
              0 0 0 180px rgba(0, 194, 255, 0.015);
}

.hero-art::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px 8px rgba(0, 194, 255, 0.8);
}

/* Pulsing radar signals */
.signal {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(0, 194, 255, 0.22), var(--glow-cyan);
  animation: radarPing 3s infinite ease-in-out;
}

.s1 { top: 28%; left: 24%; animation-delay: 0s; }
.s2 { top: 38%; left: 74%; animation-delay: 1s; }
.s3 { top: 58%; left: 40%; animation-delay: 2s; }

@keyframes radarPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.telemetry-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(6, 17, 36, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 194, 255, 0.3);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-badge .live-dot {
  width: 8px;
  height: 8px;
  background: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 8px #00E676;
}

.vehicle-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: white;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vehicle-card b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  display: block;
  letter-spacing: -0.01em;
}

.vehicle-card small {
  display: block;
  color: #B2D1F5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 4px 0 12px;
}

.vehicle-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
}

.vehicle-stats div strong {
  display: block;
  font-size: 14px;
  color: #FFFFFF;
}

.vehicle-stats div span {
  color: #9EC0E6;
}

/* Page Hero for Inner Pages */
.pagehero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg, #F0F6FF 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}

.pagehero h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  margin: 14px 0 16px;
}

.pagehero p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 650px;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 10px 0 16px;
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.3);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.num {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.card h3 {
  font-size: 22px;
  margin: 12px 0 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Product Cards */
.product-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.35);
}

.product-media {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 28, 62, 0.05);
  padding: 10px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

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

.product-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 28, 62, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 194, 255, 0.35);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  pointer-events: none;
}

.product-badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 6px var(--brand-cyan);
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.product-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.product-card ul li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 13px;
}

/* Use cases gallery on product page */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.usecase-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.usecase-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #F0F4F8;
}

.usecase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.usecase-card:hover .usecase-img-wrap img {
  transform: scale(1.06);
}

.usecase-content {
  padding: 18px 20px;
}

.usecase-content h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.usecase-content p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

/* Steps (Weighbridge & White Label) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 28px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: var(--transition);
  position: relative;
}

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

.step b {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
  background: rgba(0, 102, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.step h3 {
  font-size: 19px;
  margin: 14px 0 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Blog Grid */
.bloggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blogcard {
  padding: 28px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blogcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.3);
}

.blogcard .tag {
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.blogcard h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 12px 0 10px;
}

.blogcard p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blogcard .read-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blogcard .read-link:hover {
  color: var(--brand-blue-hover);
  transform: translateX(3px);
}

/* Contact Grid */
.contactgrid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.contact-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.details {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(0, 102, 255, 0.08);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.detail-content strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-content a, .detail-content span {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-navy);
}

.detail-content a:hover {
  color: var(--brand-blue);
}

.form {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}

.form-title {
  font-size: 22px;
  margin-bottom: 4px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  display: grid;
  gap: 6px;
}

.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-main);
  background: #F9FBFE;
  transition: var(--transition);
}

.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

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

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  display: none;
}

.form-status.success {
  display: block;
  background: #E8F8F0;
  color: #0E7040;
  border: 1px solid #B8E8D0;
}

/* Metrics / Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-box strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  color: var(--brand-blue);
  line-height: 1;
}

.stat-box span {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--brand-navy-dark);
  color: #8C9FB5;
  padding: 60px 6% 35px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  border-top: 1px solid rgba(0, 102, 255, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer-tagline {
  color: #8C9FB5;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

footer b {
  display: block;
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.5px;
}

footer a {
  display: block;
  margin: 10px 0;
  font-size: 14px;
  color: #8C9FB5;
}

footer a:hover {
  color: #FFFFFF;
  padding-left: 3px;
}

.footer-contact-item {
  font-size: 13.5px;
  color: #8C9FB5;
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-contact-item a {
  display: inline;
  color: var(--brand-cyan);
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 10px;
  font-size: 13px;
  color: #6C7D93;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 60px;
  }
  .hero-art {
    min-height: 380px;
  }
  .grid2, .contactgrid {
    grid-template-columns: 1fr;
  }
  .bloggrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 20px 6%;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    gap: 12px;
  }
  nav.open {
    display: flex;
    animation: slideDown 0.25s ease-out;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  nav a {
    padding: 10px 14px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .product-card {
    grid-template-columns: 1fr;
  }
  .product-media {
    height: 240px;
  }
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 34px;
  }
  .pagehero h1 {
    font-size: 32px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .bloggrid {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Corporate Structure & Ecosystem Architecture Component
   ========================================================================== */
.ecosystem-container {
  margin-top: 36px;
  background: linear-gradient(145deg, #0A1C3E 0%, #061124 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: #FFFFFF;
  border: 1px solid rgba(0, 194, 255, 0.25);
  box-shadow: 0 16px 40px rgba(10, 28, 62, 0.16);
  position: relative;
  overflow: hidden;
}

.ecosystem-container::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 28px;
}

.ecosystem-parent-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 194, 255, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: #E0F5FE;
  letter-spacing: 0.5px;
}

.ecosystem-parent-badge .pulse-ring {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
}

.ecosystem-title {
  font-size: clamp(20px, 2.2vw, 26px);
  color: #FFFFFF;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.ecosystem-title em {
  font-style: normal;
  color: var(--brand-cyan);
}

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

.ecosystem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.ecosystem-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 194, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ecosystem-card-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 8px;
  display: block;
}

.ecosystem-card h4 {
  color: #FFFFFF;
  font-size: 19px;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.ecosystem-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #B2D1F5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.ecosystem-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
}

.ecosystem-card-link {
  color: var(--brand-cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.ecosystem-card-link:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.ecosystem-badge-mini {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #E2E8F0;
}

@media (max-width: 900px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

