/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Root Variables */
:root {
  /* Colors */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 30%, 12%);
  --primary: hsl(215, 50%, 18%);
  --primary-foreground: hsl(210, 40%, 98%);
  --secondary: hsl(210, 25%, 93%);
  --accent: hsl(152, 60%, 42%);
  --accent-foreground: hsl(0, 0%, 100%);
  --muted-foreground: hsl(215, 15%, 45%);
  --border: hsl(214, 25%, 88%);

  /* Font Families */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-soft: 0 4px 24px -4px rgba(33, 60, 91, 0.08);
  --shadow-elevated: 0 12px 40px -8px rgba(33, 60, 91, 0.12);
  --shadow-glow: 0 0 40px rgba(52, 168, 121, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, hsl(168, 55%, 38%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.625rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-hero {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(52, 168, 121, 0.3);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background: hsl(152, 60%, 38%);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(52, 168, 121, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(52, 168, 121, 0.5);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scale-in 0.4s ease-out forwards;
  opacity: 0;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0 3rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: pulse 4s ease-in-out infinite;
}

.hero-orb-1 {
  top: 25%;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(52, 168, 121, 0.3);
}

.hero-orb-2 {
  bottom: 25%;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  background: rgba(52, 168, 121, 0.2);
  animation-delay: 1s;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(52, 168, 121, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.highlight-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   HERO VISUAL ANIMATION STYLES
   =================================== */

.hero-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Digital Hub - Central Element */
.digital-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.hub-core {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--accent) 0%, hsl(168, 55%, 38%) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(52, 168, 121, 0.6);
  animation: hub-pulse 3s ease-in-out infinite;
  position: relative;
}

.hub-core::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.3;
  animation: ring-expand 2s ease-out infinite;
}

.hub-core::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.2;
  animation: ring-expand 2s ease-out infinite 1s;
}

.hub-icon {
  width: 40px;
  height: 40px;
  color: white;
  margin-bottom: 4px;
}

.hub-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 1;
}

.connection-line {
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.3;
  stroke-dasharray: 5, 5;
  animation: dash-flow 2s linear infinite;
}

.connection-line.line-1 {
  animation-delay: 0s;
}

.connection-line.line-2 {
  animation-delay: 0.2s;
}

.connection-line.line-3 {
  animation-delay: 0.4s;
}

.connection-line.line-4 {
  animation-delay: 0.6s;
}

.connection-line.line-5 {
  animation-delay: 0.8s;
}

/* Product Nodes */
.product-node {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-node:hover {
  transform: scale(1.1);
  z-index: 20;
}

.node-inner {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(52, 168, 121, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.product-node:hover .node-inner {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 48px rgba(52, 168, 121, 0.4);
}

.node-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.product-node:hover .node-icon {
  color: white;
}

.node-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.product-node:hover .node-label {
  color: white;
}

.node-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.product-node:hover .node-pulse {
  animation-play-state: paused;
}

/* Node Positions */
.node-erp {
  top: 10%;
  left: 15%;
  animation: float-1 4s ease-in-out infinite;
}

.node-qms {
  top: 10%;
  right: 15%;
  animation: float-2 5s ease-in-out infinite;
}

.node-ehs {
  bottom: 15%;
  left: 15%;
  animation: float-3 4.5s ease-in-out infinite;
}

.node-esg {
  bottom: 15%;
  right: 15%;
  animation: float-4 5.5s ease-in-out infinite;
}

.node-iot {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation: float-5 4.2s ease-in-out infinite;
}

/* Floating Metrics */
.floating-metric {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 15;
}

.metric-icon {
  width: 40px;
  height: 40px;
  background: rgba(52, 168, 121, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.metric-content {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 2px;
}

.metric-1 {
  top: 35%;
  left: -5%;
  animation: float-metric-1 6s ease-in-out infinite;
}

.metric-2 {
  top: 30%;
  right: -5%;
  animation: float-metric-2 5s ease-in-out infinite;
}

.metric-3 {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: float-metric-3 5.5s ease-in-out infinite;
}

/* Data Particles */
.data-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
}

.particle-1 {
  top: 20%;
  left: 30%;
  animation: particle-move-1 8s ease-in-out infinite;
}

.particle-2 {
  top: 60%;
  left: 70%;
  animation: particle-move-2 10s ease-in-out infinite;
}

.particle-3 {
  top: 40%;
  left: 10%;
  animation: particle-move-3 9s ease-in-out infinite;
}

.particle-4 {
  top: 70%;
  left: 40%;
  animation: particle-move-4 7s ease-in-out infinite;
}

.particle-5 {
  top: 30%;
  left: 80%;
  animation: particle-move-5 11s ease-in-out infinite;
}

.particle-6 {
  top: 50%;
  left: 50%;
  animation: particle-move-6 8.5s ease-in-out infinite;
}

/* Animations */
@keyframes hub-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 60px rgba(52, 168, 121, 0.6);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(52, 168, 121, 0.8);
  }
}

@keyframes ring-expand {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -10;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes float-1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -15px);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-15px, 10px);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(15px, 10px);
  }
}

@keyframes float-4 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-10px, -12px);
  }
}

@keyframes float-5 {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-20px);
  }
}

@keyframes float-metric-1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes float-metric-2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(15px);
  }
}

@keyframes float-metric-3 {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -15px);
  }
}

@keyframes particle-move-1 {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  25% {
    opacity: 0.8;
    transform: translate(50px, -30px) scale(1);
  }

  50% {
    opacity: 0.5;
    transform: translate(100px, 20px) scale(0.8);
  }

  75% {
    opacity: 0.3;
    transform: translate(150px, -10px) scale(0.6);
  }
}

@keyframes particle-move-2 {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  25% {
    opacity: 0.7;
    transform: translate(-40px, 40px) scale(1);
  }

  50% {
    opacity: 0.4;
    transform: translate(-80px, -20px) scale(0.7);
  }

  75% {
    opacity: 0.2;
    transform: translate(-120px, 30px) scale(0.5);
  }
}

@keyframes particle-move-3 {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  33% {
    opacity: 0.6;
    transform: translate(60px, 50px) scale(1);
  }

  66% {
    opacity: 0.3;
    transform: translate(120px, -40px) scale(0.6);
  }
}

@keyframes particle-move-4 {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  40% {
    opacity: 0.8;
    transform: translate(-50px, -60px) scale(1);
  }

  80% {
    opacity: 0.2;
    transform: translate(-100px, 20px) scale(0.5);
  }
}

@keyframes particle-move-5 {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  30% {
    opacity: 0.7;
    transform: translate(-70px, 30px) scale(1);
  }

  60% {
    opacity: 0.4;
    transform: translate(40px, -50px) scale(0.7);
  }
}

@keyframes particle-move-6 {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  35% {
    opacity: 0.9;
    transform: translate(80px, -80px) scale(1.2);
  }

  70% {
    opacity: 0.3;
    transform: translate(-60px, 60px) scale(0.6);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-visual {
    height: 400px;
  }

  .hub-core {
    width: 100px;
    height: 100px;
  }

  .hub-icon {
    width: 32px;
    height: 32px;
  }

  .node-inner {
    width: 70px;
    height: 70px;
  }

  .node-icon {
    width: 24px;
    height: 24px;
  }

  .node-label {
    font-size: 0.65rem;
  }

  .floating-metric {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
  }

  .metric-value {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }
}

/* Section Common Styles */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(52, 168, 121, 0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-title-light {
  color: var(--primary-foreground);
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.section-description-light {
  color: rgba(255, 255, 255, 0.8);
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Ensure CTA is above any decorative overlays and is clickable */
.section-cta .btn {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

/* Products Section */
.products-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, var(--foreground) 1px, transparent 0);
  background-size: 40px 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(52, 168, 121, 0.3);
}

.product-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1);
}

.product-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.product-icon-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.product-icon-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
}

.product-icon-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.product-icon-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.product-icon-purple {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.product-icon-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.product-icon-indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.product-icon-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--accent);
}

.product-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features {
  list-style: none;
  margin-bottom: 1rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.feature-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.product-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-link {
  opacity: 1;
}

/* Why ASD Section */
.why-asd-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(52, 168, 121, 0.05) 0%, transparent 50%, rgba(33, 60, 91, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.why-asd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.why-asd-left {
  max-width: 36rem;
}

.why-asd-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-box {
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: var(--secondary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent);
}

.stat-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.why-asd-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(52, 168, 121, 0.3);
  box-shadow: var(--shadow-elevated);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(52, 168, 121, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  transform: scale(1.1);
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-icon svg {
  color: var(--accent-foreground);
}

.feature-card h3 {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Tech Stack Section */
.tech-stack-section {
  padding: 6rem 0;
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.tech-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.tech-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.tech-orb-1 {
  top: 0;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(52, 168, 121, 0.2);
}

.tech-orb-2 {
  bottom: 0;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: rgba(52, 168, 121, 0.1);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.tech-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 168, 121, 0.3);
}

.tech-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tech-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(52, 168, 121, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
  background: var(--accent);
  transform: scale(1.1);
}

.tech-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  transition: color 0.3s ease;
}

.tech-card:hover .tech-icon svg {
  color: var(--accent-foreground);
}

.tech-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.tech-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Industries Section */
.industries-section {
  padding: 6rem 0;
  background: rgba(210, 225, 237, 0.5);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(52, 168, 121, 0.3);
}

.industry-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(33, 60, 91, 0.1), rgba(52, 168, 121, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
}

.industry-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.industry-card:hover .industry-icon svg {
  color: var(--accent);
}

.industry-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.industry-card:hover h3 {
  color: var(--accent);
}

.industry-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================
   CUSTOMERS LOGO SECTION
   =================================== */

.customers-section {
  padding: 6rem 0 4rem;
  background: var(--background);
  overflow: hidden;
  position: relative;
}

.customers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(circle at 2px 2px, var(--foreground) 1px, transparent 0);
  background-size: 40px 40px;
}

.logos-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
  display: flex;
  gap: 4rem;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.logo-item {
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(52, 168, 121, 0.3);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  /* keep image color as-is; optional subtle scale on hover */
  transform: scale(1.02);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(52, 168, 121, 0.03) 0%, transparent 50%, rgba(33, 60, 91, 0.03) 100%);
  overflow: hidden;
  position: relative;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  animation: scroll-testimonials 40s linear infinite;
  width: max-content;
}

.testimonial-card {
  flex-shrink: 0;
  width: 420px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(52, 168, 121, 0.3);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(52, 168, 121, 0.1);
  line-height: 1;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@keyframes scroll-testimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-420px * 3 - 6rem));
  }
}

/* Pause animation on hover */
.testimonials-slider:hover .testimonials-track {
  animation-play-state: paused;
}

/* ===================================
   SITE VISITS GALLERY SECTION
   =================================== */

.site-visits-section {
  padding: 6rem 0;
  background: var(--background);
  overflow: hidden;
  position: relative;
}

.site-visits-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(to right, rgba(52, 168, 121, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(52, 168, 121, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  animation: scroll-gallery 50s linear infinite;
  width: max-content;
}

.gallery-item {
  flex-shrink: 0;
  width: 380px;
  height: 280px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-elevated);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.gallery-info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gallery-info p::before {
  content: '📍';
  font-size: 0.75rem;
}

@keyframes scroll-gallery {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-380px * 6 - 9rem));
  }
}

/* Pause animation on hover */
.gallery-slider:hover .gallery-track {
  animation-play-state: paused;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {

  .customers-section,
  .testimonials-section,
  .site-visits-section {
    padding: 4rem 0;
  }

  .logos-track {
    gap: 2rem;
    animation-duration: 20s;
  }

  .logo-item {
    width: 120px;
    height: 60px;
  }

  .testimonials-track {
    gap: 1.5rem;
    animation-duration: 30s;
  }

  .testimonial-card {
    width: 320px;
    padding: 1.5rem;
  }

  .gallery-track {
    gap: 1rem;
    animation-duration: 35s;
  }

  .gallery-item {
    width: 280px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .logo-item {
    width: 100px;
    height: 50px;
  }

  .testimonial-card {
    width: 280px;
  }

  .gallery-item {
    width: 240px;
    height: 180px;
  }
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52, 168, 121, 0.05), transparent, rgba(33, 60, 91, 0.05));
}

.cta-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.trust-indicators {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.trust-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.trust-companies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0.5;
}

.trust-companies span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Responsive Design */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .hero-text {
    text-align: left;
  }

  .hero-description {
    margin-left: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-highlights {
    margin-left: 0;
  }

  .hero-visual {
    display: block;
  }

  .why-asd-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 6rem 0 3rem;
  }

  .products-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-companies {
    gap: 1rem;
  }

  .trust-companies span {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
  }
}