/* ============================================================
   TECHNESTORS — Components
   ============================================================ */

/* ── Navigation ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: white;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-text span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Nav Links */
.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  position: relative;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: var(--space-4);
  right: var(--space-4);
  height: 1px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--color-surface);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-3));
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 220px;
  background: rgba(10, 15, 44, 0.95);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(24px);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: var(--color-surface);
  color: var(--text-primary);
}

.nav-dropdown-item-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Nav Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 900px) {
  .navbar-links,
  .navbar-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* ── Hero Section ─────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: var(--space-8) var(--space-6);
  padding-top: calc(var(--nav-height) + var(--space-16));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: var(--space-2) var(--space-5);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  animation: glowPulse 2s infinite;
}

.hero-title {
  margin-bottom: var(--space-6);
}

.hero-title .line {
  display: block;
}

.hero-title .gradient-line {
  display: block;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-12);
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-8) 0;
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  position: relative;
  padding: var(--space-6);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-border), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--space-2);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after { display: none; }
}

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

/* ── Services Section ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  padding: var(--space-8);
  cursor: default;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-6);
  position: relative;
  transition: transform var(--transition-spring);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  transition: color var(--transition-base);
}

.service-card:hover h3 {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-cyan);
  font-family: var(--font-body);
  transition: gap var(--transition-base);
}

.service-card-link:hover {
  gap: var(--space-3);
}

.service-card-link::after {
  content: '→';
  transition: transform var(--transition-base);
}

.service-card:hover .service-card-link::after {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── Products Section ─────────────────────────────────────── */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.product-showcase.reverse {
  direction: rtl;
}

.product-showcase.reverse > * {
  direction: ltr;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.product-name {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.product-info h2 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  line-height: 1.15;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.product-feature:hover {
  border-color: var(--color-border-glow);
  background: var(--color-surface-hover);
}

.product-feature-icon {
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.product-feature-text h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.product-feature-text p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.product-visual {
  position: relative;
}

.product-mockup {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-6);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.product-mockup:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 48px 100px rgba(0,0,0,0.6), var(--shadow-glow-cyan);
}

.product-mockup-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.product-mockup-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-bar {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  animation: loadingBar 2s ease-in-out infinite alternate;
}

.mock-badge {
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 60px;
  padding: var(--space-3);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.mock-bar-chart {
  flex: 1;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--gradient-brand);
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.mock-bar-chart:hover { opacity: 1; }

/* Float decorations */
.product-float-1,
.product-float-2 {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  backdrop-filter: blur(10px);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  white-space: nowrap;
  pointer-events: none;
}

.product-float-1 {
  top: -20px;
  right: -20px;
  animation: float 5s ease-in-out infinite;
  color: var(--color-green);
  border-color: rgba(16,185,129,0.2);
}

.product-float-2 {
  bottom: -20px;
  left: -20px;
  animation: float-reverse 6s ease-in-out infinite;
  color: var(--color-cyan);
  border-color: rgba(0,212,255,0.2);
}

@media (max-width: 900px) {
  .product-showcase,
  .product-showcase.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-10);
  }
}

/* ── Why Us Section ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.why-card {
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

.why-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
  animation: float-slow 4s ease-in-out infinite;
}

.why-card h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  padding: var(--space-8);
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  font-size: var(--text-lg);
}

.testimonial-text {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--color-surface);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

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

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.05) 0%, rgba(123,47,247,0.08) 50%, rgba(236,72,153,0.05) 100%);
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-20) var(--space-8);
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-4);
}

.cta-content p {
  margin-bottom: var(--space-8);
  font-size: var(--text-lg);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ── Tech Stack Marquee ───────────────────────────────────── */
.marquee-section {
  overflow: hidden;
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,0.01);
}

.marquee-track {
  display: flex;
  gap: var(--space-12);
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-muted);
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  white-space: nowrap;
  transition: color var(--transition-base);
}

.marquee-item:hover {
  color: var(--color-cyan);
}

.marquee-item-icon {
  font-size: 1.25rem;
}

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

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.social-link:hover {
  border-color: var(--color-cyan);
  background: rgba(0,212,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.footer-col h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-link::before {
  content: '→';
  font-size: var(--text-xs);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-base);
}

.footer-link:hover {
  color: var(--color-cyan);
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-copy span {
  color: var(--color-cyan);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-link {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
  font-family: var(--font-mono);
}

.footer-bottom-link:hover {
  color: var(--color-cyan);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-20);
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.08), transparent);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.breadcrumb a {
  color: var(--color-cyan);
  text-decoration: none;
}

.breadcrumb-sep { color: var(--text-muted); }

/* ── Solutions Product Cards ──────────────────────────────── */
.solution-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.solution-card-banner {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.solution-card-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.solution-card-body {
  padding: var(--space-6);
}

.solution-card-body h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.solution-card-body p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.solution-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

/* ── Process Steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), var(--color-border), transparent);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-bg-2);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process-step:hover .process-number {
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: var(--shadow-glow-cyan);
}

.process-step h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps::before { display: none; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.contact-info-text p {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-cyan);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

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

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-select option {
  background: var(--color-bg-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

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

/* ── Globe Container ──────────────────────────────────────── */
#globe-canvas {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* ── Automation Workflow ───────────────────────────────────── */
.workflow-diagram {
  position: relative;
  padding: var(--space-16) 0;
}

.workflow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.workflow-node:hover {
  border-color: var(--color-border-glow);
  background: var(--color-surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
}

.workflow-node-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.workflow-node h4 {
  font-size: var(--text-sm);
  font-weight: 600;
}

.workflow-node p {
  font-size: var(--text-xs);
  line-height: 1.5;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: var(--text-2xl);
  animation: float 3s ease-in-out infinite;
}

/* ── Back to Top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  border: none;
  box-shadow: 0 0 20px rgba(0,212,255,0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(0,212,255,0.5);
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.4s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(0,212,255,0.2);
}

/* Track fill */
.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

[data-theme="light"] .theme-toggle::before {
  opacity: 1;
}

/* Slider knob */
.theme-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

[data-theme="light"] .theme-toggle-knob {
  transform: translateX(24px);
  background: #fff;
}

/* Icons inside knob */
.theme-toggle-knob::before {
  content: '🌙';
  font-size: 10px;
}

[data-theme="light"] .theme-toggle-knob::before {
  content: '☀️';
}

/* ============================================================
   LIGHT THEME — Component Overrides
   ============================================================ */

/* ── Navbar ───────────────────────────────────────────────── */
[data-theme="light"] .navbar.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(10, 20, 60, 0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

[data-theme="light"] .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 48px rgba(10, 20, 60, 0.15);
}

[data-theme="light"] .mobile-nav {
  background: rgba(240, 244, 255, 0.98);
}

/* ── Hero text override now in style.css ─────────────────── */
/* Hero stays dark even in light mode — no ::after overlay */

/* ── Glass Cards ──────────────────────────────────────────── */
[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(10, 20, 60, 0.07);
}

[data-theme="light"] .glass-card:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 48px rgba(10, 20, 60, 0.14), var(--shadow-glow-cyan);
}

/* ── Stats Bar ────────────────────────────────────────────── */
[data-theme="light"] .stats-bar {
  background: rgba(255, 255, 255, 0.60);
}

/* ── Product Mockups ──────────────────────────────────────── */
[data-theme="light"] .product-mockup {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 64px rgba(10, 20, 60, 0.15);
}

[data-theme="light"] .product-mockup:hover {
  box-shadow: 0 40px 80px rgba(10, 20, 60, 0.22), var(--shadow-glow-cyan);
}

[data-theme="light"] .mock-row {
  background: rgba(10, 20, 60, 0.03);
}

[data-theme="light"] .mock-bar {
  background: rgba(10, 20, 60, 0.08);
}

[data-theme="light"] .mock-chart {
  background: rgba(10, 20, 60, 0.02);
}

[data-theme="light"] .product-float-1,
[data-theme="light"] .product-float-2 {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(10, 20, 60, 0.12);
}

/* ── CTA Section ──────────────────────────────────────────── */
[data-theme="light"] .cta-bg {
  background: linear-gradient(135deg,
    rgba(0,153,204,0.06) 0%,
    rgba(107,33,212,0.08) 50%,
    rgba(219,39,119,0.06) 100%
  );
}

[data-theme="light"] .cta-bg::before {
  border-color: rgba(10, 20, 60, 0.10);
}

/* ── Marquee ──────────────────────────────────────────────── */
[data-theme="light"] .marquee-section {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(10, 20, 60, 0.08);
}

/* ── Footer ───────────────────────────────────────────────── */
[data-theme="light"] .footer {
  background: var(--color-bg-2);
  border-top-color: rgba(10, 20, 60, 0.10);
}

[data-theme="light"] .social-link {
  background: rgba(255, 255, 255, 0.80);
}

[data-theme="light"] .social-link:hover {
  background: rgba(0, 153, 204, 0.10);
}

/* ── Page Loader ──────────────────────────────────────────── */
[data-theme="light"] #page-loader {
  background: var(--color-bg);
}

/* ── Contact Form ─────────────────────────────────────────── */
[data-theme="light"] .contact-form {
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 8px 32px rgba(10, 20, 60, 0.10);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: rgba(255, 255, 255, 0.90);
  color: var(--text-primary);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus {
  background: #fff;
}

[data-theme="light"] .form-select option {
  background: #fff;
  color: #0d1117;
}

/* ── FAQ ──────────────────────────────────────────────────── */
[data-theme="light"] .faq-question {
  background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .faq-question:hover {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .faq-answer {
  background: rgba(240, 244, 255, 0.50);
}

/* ── Process Steps ────────────────────────────────────────── */
[data-theme="light"] .process-number {
  background: #fff;
  border-color: rgba(10, 20, 60, 0.12);
}

/* ── Map Placeholder ──────────────────────────────────────── */
[data-theme="light"] .map-placeholder {
  background: rgba(255, 255, 255, 0.80);
}

[data-theme="light"] .map-grid {
  background-image:
    linear-gradient(rgba(0,100,180,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,100,180,0.05) 1px, transparent 1px);
}

/* ── Hours Row ────────────────────────────────────────────── */
[data-theme="light"] .hours-row {
  background: rgba(255, 255, 255, 0.80);
}

/* ── Automation Code Block ────────────────────────────────── */
[data-theme="light"] .code-block {
  background: rgba(10, 20, 60, 0.05);
  border-color: rgba(10, 20, 60, 0.08);
  color: #1e3a5f;
}

[data-theme="light"] .code-keyword  { color: #6b21d4; }
[data-theme="light"] .code-string   { color: #0099cc; }
[data-theme="light"] .code-comment  { color: #9ca3af; }
[data-theme="light"] .code-function { color: #059669; }
[data-theme="light"] .code-var      { color: #d97706; }

[data-theme="light"] .automation-demo {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(10, 20, 60, 0.08);
}

/* ── Glow Orbs — reduce opacity in light ─────────────────── */
[data-theme="light"] .glow-orb-cyan {
  background: radial-gradient(circle, rgba(0, 153, 204, 0.10), transparent 70%);
}

[data-theme="light"] .glow-orb-violet {
  background: radial-gradient(circle, rgba(107, 33, 212, 0.10), transparent 70%);
}

/* ── Noise overlay — lighter in light mode ────────────────── */
[data-theme="light"] .noise-overlay {
  opacity: 0.15;
}

/* ── Scroll indicator ─────────────────────────────────────── */
[data-theme="light"] .scroll-indicator {
  opacity: 0.35;
}

/* ============================================================
   RESPONSIVENESS AND LAYOUT FIXES
   ============================================================ */

/* Button Groups Responsiveness */
.product-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero-actions,
  .cta-actions,
  .product-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .product-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Mockup KPI Grids */
.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mockup-kpi-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 480px) {
  .mockup-kpi-row,
  .mockup-kpi-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Float Decorations Boundaries to prevent horizontal overflow */
@media (max-width: 768px) {
  .product-float-1 {
    right: 10px;
    top: -10px;
  }

  .product-float-2 {
    left: 10px;
    bottom: -10px;
  }
}

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8) var(--space-4);
  text-align: center;
  cursor: default;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.industry-card:hover {
  border-color: var(--color-border-glow);
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.12);
}

.industry-card:hover .industry-icon {
  animation: industryIconPop 0.5s ease forwards;
}

.industry-icon {
  font-size: 2.5rem;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.3));
}

.industry-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.industry-desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}
@media (max-width: 768px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .industry-card { padding: var(--space-5) var(--space-3); }
  .industry-icon { font-size: 2rem; }
}

/* ============================================================
   CLIENT LOGOS / TRUST BAR
   ============================================================ */
.clients-bar {
  padding: var(--space-12) 0;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.clients-bar::before,
.clients-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.clients-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.clients-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.clients-track {
  display: flex;
  gap: var(--space-16);
  animation: marquee 40s linear infinite;
  width: max-content;
}

.clients-bar:hover .clients-track {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all var(--transition-base);
  text-decoration: none;
}

.client-logo:hover {
  border-color: var(--color-border-glow);
  color: var(--color-cyan);
  background: rgba(0,212,255,0.06);
}

.client-logo-icon {
  font-size: 1.25rem;
}

/* ============================================================
   HOLOGRAPHIC CARD EFFECT
   ============================================================ */
.holo-card {
  position: relative;
  overflow: hidden;
}

.holo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 20%,
    rgba(0,212,255,0.05) 30%,
    rgba(123,47,247,0.05) 50%,
    rgba(236,72,153,0.03) 70%,
    transparent 80%
  );
  background-size: 200% 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: holographicShimmer 3s ease infinite;
  pointer-events: none;
  border-radius: inherit;
}

.holo-card:hover::after {
  opacity: 1;
}

/* ============================================================
   ABOUT SECTION (BRIEF ON HOMEPAGE)
   ============================================================ */
.about-brief {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.about-brief-left .section-label {
  text-align: left;
}

.about-brief-left h2 {
  margin-bottom: var(--space-6);
}

.about-brief-left p {
  margin-bottom: var(--space-6);
  font-size: var(--text-lg);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about-value-item:hover {
  border-color: var(--color-border-glow);
  background: var(--color-surface-hover);
}

.about-value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-value-text h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.about-value-text p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

.about-brief-right {
  position: relative;
}

.about-visual-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  transition: all var(--transition-slow);
  animation: aboutImageFloat 8s ease-in-out infinite;
}

.about-visual-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: 0 48px 100px rgba(0,0,0,0.5), var(--shadow-glow-cyan);
}

.about-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.08), transparent);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.about-stat-item {
  padding: var(--space-5);
  background: var(--color-bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-base);
}

.about-stat-item:hover {
  border-color: var(--color-border-glow);
  transform: scale(1.02);
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-6);
  position: relative;
  z-index: 1;
}

.about-tech-item {
  padding: var(--space-2) var(--space-3);
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--color-cyan);
  letter-spacing: 0.05em;
  transition: all var(--transition-base);
}

.about-tech-item:hover {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.3);
}

.about-float-badge {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  backdrop-filter: blur(10px);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.about-float-badge-1 {
  top: -16px;
  right: 20px;
  color: var(--color-green);
  border-color: rgba(16,185,129,0.25);
  animation: float 6s ease-in-out infinite;
}

.about-float-badge-2 {
  bottom: -16px;
  left: 20px;
  color: var(--color-cyan);
  border-color: rgba(0,212,255,0.25);
  animation: float-reverse 7s ease-in-out infinite;
}

@media (max-width: 900px) {
  .about-brief {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}
@media (max-width: 600px) {
  .about-values { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SERVICE CARD ENHANCED — 3D HOVER
   ============================================================ */
.service-card-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.service-card-3d .service-card-icon {
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.service-card-3d:hover .service-card-icon {
  transform: scale(1.15) rotate(8deg) translateZ(10px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.25);
}

/* Service card glowing line on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* ============================================================
   WHY-CARD ENHANCED
   ============================================================ */
.why-card-v2 {
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.why-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--color-cyan));
}

.why-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-5);
}

.why-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  transition: all var(--transition-base);
}

.why-card-v2:hover .why-icon-bg {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 0 30px rgba(0,212,255,0.15);
}

.why-icon-v2 {
  font-size: 2.25rem;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-spring);
}

.why-card-v2:hover .why-icon-v2 {
  transform: scale(1.15);
}

/* ============================================================
   TESTIMONIALS ENHANCED
   ============================================================ */
.testimonial-card-v2 {
  padding: var(--space-8);
  position: relative;
}

.testimonial-card-v2::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 5rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  color: var(--color-cyan);
  opacity: 0.15;
  pointer-events: none;
}

.testimonial-stars-v2 {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.star-icon {
  width: 16px;
  height: 16px;
  color: #f59e0b;
  fill: currentColor;
}

.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--color-green);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-full);
  padding: 2px var(--space-2);
  margin-bottom: var(--space-3);
}

/* ============================================================
   FEATURE HIGHLIGHT CARDS (Services detail)
   ============================================================ */
.feature-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.feature-highlight-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-highlight-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.feature-highlight-card:hover::after {
  transform: scaleX(1);
}

.feature-highlight-card:hover {
  border-color: var(--color-border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(0,212,255,0.08);
}

.feature-highlight-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  display: block;
}

.feature-highlight-card h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.feature-highlight-card p {
  font-size: var(--text-sm);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .feature-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-highlight-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin-top: var(--space-8);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--color-surface);
}

.comparison-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.comparison-table .check {
  color: var(--color-green);
  font-size: 1.1rem;
}

.comparison-table .cross {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.comparison-table tr:hover td {
  background: rgba(0,212,255,0.02);
}

/* ============================================================
   LIGHT THEME — New Section Overrides
   ============================================================ */
[data-theme="light"] .industry-card {
  background: rgba(255,255,255,0.85);
}
[data-theme="light"] .industry-card:hover {
  background: rgba(255,255,255,0.98);
}
[data-theme="light"] .client-logo {
  background: rgba(255,255,255,0.85);
}
[data-theme="light"] .about-visual-card {
  background: rgba(255,255,255,0.90);
  box-shadow: 0 24px 64px rgba(10,20,60,0.12);
}
[data-theme="light"] .about-stat-item {
  background: rgba(240,244,255,0.80);
}
[data-theme="light"] .about-float-badge {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 16px rgba(10,20,60,0.10);
}
[data-theme="light"] .about-value-item {
  background: rgba(255,255,255,0.80);
}
[data-theme="light"] .feature-highlight-card {
  background: rgba(255,255,255,0.80);
}
[data-theme="light"] .comparison-table th {
  background: rgba(255,255,255,0.70);
}

/* ============================================================
   GLOBAL RESPONSIVE FIXES
   ============================================================ */

/* ── Prevent horizontal overflow on all viewports ─────────── */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, canvas, svg { max-width: 100%; }

/* ── Hero section mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
    padding-top: calc(var(--nav-height) + var(--space-8));
  }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    width: 100%;
  }

  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-tags {
    gap: var(--space-2);
    justify-content: center;
  }

  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: var(--text-base); }
  .hero-eyebrow { font-size: 10px; }
}

/* ── Stats bar ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(even)::after { display: none; }
}

/* ── Product showcase ────────────────────────────────────── */
@media (max-width: 900px) {
  .product-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
  }

  .product-showcase.reverse {
    flex-direction: column;
  }

  .product-content,
  .product-visual {
    width: 100%;
    max-width: 100%;
  }
}

/* ── Industries grid ─────────────────────────────────────── */
@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* ── About brief ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-brief { grid-template-columns: 1fr; }
  .about-brief-right { display: none; }
}

/* ── Service cards ───────────────────────────────────────── */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ── Why/testimonial grid ────────────────────────────────── */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
}

/* ── Navbar responsive ────────────────────────────────────── */
@media (max-width: 480px) {
  .navbar-inner { padding: 0 var(--space-4); }
  .nav-logo-img { height: 46px !important; }
}

/* ── Section headings ────────────────────────────────────── */
@media (max-width: 600px) {
  .section-header { margin-bottom: var(--space-8); }
  .section-header h2 { font-size: var(--text-3xl); }
}

/* ── Buttons — full width on smallest screens ───────────── */
@media (max-width: 400px) {
  .btn-lg { padding: var(--space-3) var(--space-5); font-size: var(--text-sm); }
}

/* ── CTA section ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ── Recognition grid ─────────────────────────────────────── */
@media (max-width: 768px) {
  .recognition-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .recognition-grid { grid-template-columns: 1fr; }
}

/* ── Value pillars ────────────────────────────────────────── */
@media (max-width: 768px) {
  .value-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .value-pillars { grid-template-columns: 1fr; }
}

/* ── Timeline (about page) ────────────────────────────────── */
@media (max-width: 768px) {
  .timeline { gap: var(--space-6); }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-year { text-align: left; }
  .timeline-card { margin-left: 0; }
}

/* ── Process steps ────────────────────────────────────────── */
@media (max-width: 768px) {
  .process-steps { flex-direction: column; align-items: center; }
  .process-step { max-width: 340px; width: 100%; }
  .process-step::after { display: none; }
}

/* ── Prevent tilt card transforms breaking layout on mobile ─ */
@media (max-width: 768px) {
  .tilt-card { transform: none !important; }
  .tilt-card .tilt-glare { display: none; }
}

/* ── Custom cursor hidden on touch devices ───────────────── */
@media (hover: none) {
  #cursor-outer, #cursor-inner { display: none !important; }
  body { cursor: auto !important; }
  a, button, [role="button"] { cursor: pointer !important; }
}

/* ── Smooth font rendering ─────────────────────────────────── */
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Focus styles for accessibility ──────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   LOGO RENDERING — Transparent background PNG (RGBA)
   Blue gradient globe + TECHNESTORS text on clear bg.
   Uses drop-shadow filter so glow hugs the actual artwork.
   Dark mode: adds cyan glow to keep blue text readable.
   ============================================================ */

/* ── Shared reset ─────────────────────────────────────────────── */
.navbar-logo img,
.nav-logo-img,
.loader-logo img,
.footer-brand img {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

/* ── Navbar logo ─────────────────────────────────────────────── */
.navbar-logo img,
.nav-logo-img {
  display: block !important;
  height: 60px !important;
  width: auto !important;
  filter:
    drop-shadow(0 2px 8px rgba(0, 100, 255, 0.25))
    drop-shadow(0 1px 3px rgba(0, 60, 200, 0.15)) !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}

.navbar-logo:hover img,
a:hover > .nav-logo-img {
  filter:
    drop-shadow(0 3px 14px rgba(0, 150, 255, 0.45))
    drop-shadow(0 1px 4px rgba(0, 100, 220, 0.28)) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

[data-theme="dark"] .navbar-logo img,
[data-theme="dark"] .nav-logo-img {
  filter:
    drop-shadow(0 2px 10px rgba(0, 180, 255, 0.55))
    drop-shadow(0 0 18px rgba(0, 140, 255, 0.30)) !important;
}

[data-theme="dark"] .navbar-logo:hover img,
[data-theme="dark"] a:hover > .nav-logo-img {
  filter:
    drop-shadow(0 3px 16px rgba(0, 200, 255, 0.70))
    drop-shadow(0 0 28px rgba(0, 160, 255, 0.40)) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

/* ── Loader logo ─────────────────────────────────────────────── */
.loader-logo img {
  display: block !important;
  height: 100px !important;
  width: auto !important;
  animation: logoPulse 2.6s ease-in-out infinite !important;
}

@keyframes logoPulse {
  0%, 100% {
    filter:
      drop-shadow(0 4px 16px rgba(0, 120, 255, 0.35))
      drop-shadow(0 0 32px rgba(0, 160, 255, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 4px 24px rgba(0, 160, 255, 0.55))
      drop-shadow(0 0 52px rgba(0, 200, 255, 0.38));
  }
}

/* ── Footer logo ─────────────────────────────────────────────── */
.footer-brand img {
  display: block !important;
  height: 90px !important;
  width: auto !important;
  margin-bottom: 1.25rem !important;
  filter:
    drop-shadow(0 2px 8px rgba(0, 100, 255, 0.22)) !important;
  transition: filter 0.3s ease, transform 0.3s ease !important;
}

.footer-brand img:hover {
  filter:
    drop-shadow(0 3px 14px rgba(0, 150, 255, 0.40)) !important;
  transform: translateY(-1px) !important;
}

[data-theme="dark"] .footer-brand img {
  filter:
    drop-shadow(0 2px 12px rgba(0, 180, 255, 0.45))
    drop-shadow(0 0 22px rgba(0, 140, 255, 0.22)) !important;
}

[data-theme="dark"] .footer-brand img:hover {
  filter:
    drop-shadow(0 3px 18px rgba(0, 200, 255, 0.60))
    drop-shadow(0 0 32px rgba(0, 160, 255, 0.32)) !important;
}


