/* ===== BASE STYLES ===== */
:root {
  /* Container */
  --container-max-width: 1400px;
  --container-padding: clamp(1rem, 4vw, 2.75rem);
  
  /* Spacing */
  --section-padding: clamp(3rem, 8vw, 6rem);
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1.25rem);
  --space-md: clamp(1.25rem, 2.5vw, 2rem);
  --space-lg: clamp(1.75rem, 3.5vw, 3rem);
  --space-xl: clamp(2.5rem, 5vw, 4rem);
  
  /* Colors */
  --primary-bg: #fffef3;
  --primary-text: #242929;
  --accent-orange: #ffa163;
  --accent-teal: #02413f;
  --text-light: #fffef3;
  --text-muted: #716f60;
  --border-color: #d7d6cc;
  --dark-bg: #1a1a1a;
  --overlay-dark: rgba(0, 0, 0, 0.4);
  --card-bg: #fdfbea;
  
  /* Card dimensions */
  --card-width: 300px;
  --card-img-height: 120px;
  --card-padding: 1.5rem;
  
  /* Effects */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

/* Typography scale */
h1 { font-size: clamp(2rem, 6vw, 5.25rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

/* ===== UTILITY CLASSES ===== */
.universal-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-inline: var(--container-padding);
}

.site-main {
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HERO SECTION ===== */
.hero-section {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  max-height: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/images/homepage/hero background_4x.webp') no-repeat center center/cover;
  position: relative;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Dark overlay for better text readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  color: var(--text-light);
  padding: var(--container-padding);
}

.hero-content h1 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.5em 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-content h1 {
    white-space: normal;
  }
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin: clamp(1rem, 3vw, 2.5rem) 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#typed-text {
  color: var(--accent-orange);
}

#typed-text::after {
  content: "|";
  animation: blink 1s infinite;
  color: var(--accent-orange);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Gradient Button */
.gradient-btn-container {
  background: var(--dark-bg);
  padding: 6px 36px;
  border-radius: var(--radius-xl);
  display: inline-flex;
  margin: var(--space-lg) auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gradient-btn {
  background: linear-gradient(90deg, #2e9e96, #ffffff, #f7a36f);
  border: none;
  padding: 10px 28px;
  border-radius: 25px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.2;
}

.gradient-btn .arrow-icon {
  transition: transform 0.2s;
  fill: currentColor;
  vertical-align: middle;
  margin-left: 8px;
  width: 1.2em;
  height: 1.2em;
}

.gradient-btn:hover .arrow-icon {
  transform: translateX(6px) scale(1.1);
}

.gradient-btn:focus {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

/* ===== AURORA SECTION ===== */
.aurora-background-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 90px 0 70px;
  background: linear-gradient(135deg, #0a2e2b 0%, #1a3d3a 50%, #2d4f4c 100%);
  color: #e2e8f0;
  transition: background 0.3s ease;
  overflow: hidden;
}

/* Aurora Overlay Effect */
.aurora-background-section .aurora-overlay {
  position: absolute;
  inset: -10px;
  overflow: hidden;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, #ffcaa3 10%, #7bc8c4 15%, #5bb5b2 20%, #f8f0e5 25%, #4da5b0 30%);
  background-size: 300% 200%, 200% 100%;
  background-position: 50% 50%, 50% 50%;
  opacity: 0.5;
  filter: blur(10px) invert(1);
  will-change: transform;
  animation: aurora-animation 20s ease-in-out infinite;
  mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
  z-index: 0;
}

.aurora-background-section .aurora-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%),
    repeating-linear-gradient(100deg, #ffcaa3 10%, #7bc8c4 15%, #5bb5b2 20%, #f8f0e5 25%, #4da5b0 30%);
  background-size: 200% 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: aurora-animation-reverse 25s ease-in-out infinite;
}

/* Content Wrapper */
.aurora-background-section .aurora-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
  z-index: 10;
  opacity: 0;
  transform: translateY(40px);
  animation: fade-in-up 0.8s ease-out 0.3s forwards;
}

/* Typography */
.aurora-background-section .aurora-main-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 65px;
  font-weight: 550;
  line-height: 1.1;
  color: #fffef3;
  letter-spacing: -0.72px;
  background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.aurora-background-section .aurora-sub-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(18px, 3vw, 24px);
  color: #fffef3;
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
}

/* Animations */
@keyframes aurora-animation {
  0%, 100% {
    background-position: 50% 50%, 50% 50%;
    transform: rotate(0deg);
  }
  25% {
    background-position: 0% 100%, 100% 0%;
  }
  50% {
    background-position: 100% 50%, 0% 100%;
    transform: rotate(180deg);
  }
  75% {
    background-position: 0% 0%, 50% 50%;
  }
}

@keyframes aurora-animation-reverse {
  0%, 100% {
    background-position: 100% 0%, 0% 100%;
  }
  25% {
    background-position: 0% 100%, 100% 0%;
  }
  50% {
    background-position: 50% 50%, 50% 50%;
  }
  75% {
    background-position: 100% 100%, 0% 0%;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== STATS ===== */
.hero-stats {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.stat-box {
  text-align: center;
  flex: 1 1 auto;
  min-width: 120px;
}

.stat-box h3 {
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 8px;
  letter-spacing: 1px;
  color: var(--text-light);
  font-weight: 700;
  white-space: nowrap;
}

.stat-box p {
  font-size: clamp(11px, 2vw, 15px);
  letter-spacing: 1px;
  color: var(--text-light);
  white-space: nowrap;
}

/* ===== SECTION STYLES ===== */
.section-container {
  background-color: var(--primary-bg);
  padding: var(--section-padding) 0;
  width: 100%;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  letter-spacing: 2.6px;
  font-weight: 700;
}

/* ===== TAB SWITCHER ===== */
.tab-switcher {
  display: flex;
  border: 1px solid #f2f1e3;
  border-radius: var(--radius-lg);
  padding: 10px;
  background-color: var(--primary-bg);
  margin: 30px 0 20px;
  width: 100%;
}

.tab {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: clamp(14px, 1.8vw, 18px);
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
}

@media (max-width: 768px) {
  .tab {
    white-space: normal;
    padding: 10px 8px;
    font-size: 13px;
  }
}

.tab.active {
  background: linear-gradient(to right, #FFA163 0%, #F1EDD2 53%, #036B67 100%);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 161, 99, 0.3);
}

.tab:hover {
  transform: translateY(-2px);
  color: var(--primary-text);
}

/* ===== CARD STYLES ===== */
.card-group-main {
  width: 100%;
  transition: all 0.4s ease;
}

.card-group-main.inactive {
  display: none;
}

/* Animation for tab switching */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-group-main.active {
  animation: slideIn 0.4s ease forwards;
}

.card-group {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 1.875rem);
  padding: 2rem 0;
}

/* Desktop: grid layout — equal-height rows */
@media (min-width: 769px) {
  .card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: stretch;
  }
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
  .card-group {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .card-group::-webkit-scrollbar {
    height: 4px;
  }
  
  .card-group::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
  }
  
  .card-group::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 10px;
  }
  
  .card-group::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
  }
  
  .card {
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
  }
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 48px rgba(2, 65, 63, 0.14),
    0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(2, 65, 63, 0.22);
}

/* Image container — icon variant (default for solutions & KB cards) */
.card-img-container {
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  background: #e8e7da;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-img-container img {
  transform: scale(1.06);
}

/* Blog image containers — 16:9 landscape aspect ratio */
#learn-more #blogs .card-img-container {
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  background: #e8e7da;
  overflow: hidden;
}

#learn-more #blogs #KnowledgeBase .card-img-container img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transition: transform 0.45s ease;
}

#learn-more #blogs #KnowledgeBase.card:hover .card-img-container img {
  transform: scale(1.04);
}

/* Content area */
.card-content {
  padding: var(--card-padding);
  border-top: 1px solid var(--border-color);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card h3 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--primary-text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.card p {
  font-size: clamp(0.875rem, 1.4vw, 0.938rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.125rem;
  flex: 1;
  /* Lock descriptions to 3 visible lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  color: var(--accent-teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-color);
  letter-spacing: 0.01em;
  width: 100%;
}

.card-link:hover {
  color: var(--accent-orange);
  gap: 0.625rem;
  text-decoration: none;
}

/* ===== 3D CARD EFFECT & REVOLVING GRADIENT BORDER ===== */

/* Animatable CSS custom property for border rotation */
@property --card-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes card-border-spin {
  to { --card-border-angle: 360deg; }
}

/* Outer wrapper: revolving gradient border via padding + conic-gradient */
.card-3d-outer {
  position: relative;
  border-radius: calc(var(--radius-md) + 2px);
  padding: 2px;
  background: conic-gradient(
    from var(--card-border-angle),
    #FFA163 0%,
    #F1EDD2 33%,
    #036B67 66%,
    #FFA163 100%
  );
  animation: card-border-spin 4s linear infinite;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

/* Card inside 3D wrapper */
.card-3d-outer > .card {
  border: none;
  border-radius: var(--radius-md);
  flex: 1;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: none !important;
  height: 100%;
}

/* Disable default CSS hover — JS drives the 3D */
.card-3d-outer > .card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Smooth depth transitions for card content layers */
.card-3d-outer .card-img-container,
.card-3d-outer h3,
.card-3d-outer p,
.card-3d-outer .card-link {
  transition: transform 0.12s ease-out;
}

/* Glow on hover */
.card-3d-outer.is-hovering {
  box-shadow:
    0 24px 48px rgba(3, 107, 103, 0.28),
    0 8px 20px rgba(255, 161, 99, 0.22),
    0 0 30px rgba(241, 237, 210, 0.12);
}

/* Mobile — keep the spinning border, disable 3D tilt */
@media (max-width: 768px) {
  .card-3d-outer {
    flex: 0 0 284px;
    min-width: 284px;
    scroll-snap-align: start;
    transform: none !important;
  }

  .card-3d-outer > .card {
    flex: 1 !important;
    min-width: 0 !important;
    scroll-snap-align: none !important;
    transform: none !important;
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  overflow: hidden;
  background-color: var(--primary-bg);
  padding: var(--section-padding) 0;
  width: 100%;
}

.features-title {
  color: var(--text-muted);
  text-align: center;
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: 24px;
  letter-spacing: 2px;
  font-weight: 700;
}

.features-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.features-carousel {
  display: flex;
  position: relative;
  height: 150px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

@keyframes scroll {
  to { left: -150px; }
}

.feature-item {
  position: absolute;
  left: max(calc(150px * 6), 100%);
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: scroll 60s linear infinite;
}

.feature-item img {
  width: 70px;
  height: 70px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  transition: transform 0.3s ease;
}

.feature-item:hover img {
  transform: scale(1.1);
}

.feature-item p {
  font-weight: 500;
  color: var(--primary-text);
  text-align: center;
  font-size: 14px;
}

.feature-item.item-1 { animation-delay: calc(60s / 6 * (6 - 1) * -1); }
.feature-item.item-2 { animation-delay: calc(60s / 6 * (6 - 2) * -1); }
.feature-item.item-3 { animation-delay: calc(60s / 6 * (6 - 3) * -1); }
.feature-item.item-4 { animation-delay: calc(60s / 6 * (6 - 4) * -1); }
.feature-item.item-5 { animation-delay: calc(60s / 6 * (6 - 5) * -1); }
.feature-item.item-6 { animation-delay: calc(60s / 6 * (6 - 6) * -1); }

/* ===== AI ASSISTANT ===== */
.ai-assistant {
  background: var(--accent-teal);
  color: white;
  padding: var(--section-padding) 0;
  width: 100%;
}

.ai-assistant-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.ai-left {
  flex: 1 1 40%;
  min-width: 300px;
}

.ai-subtext {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.ai-heading {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}

.ai-right {
  flex: 1 1 40%;
  min-width: 300px;
}

.ai-search {
  display: flex;
  border: 1px solid var(--text-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%;
}

.ai-search input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: white;
  font-size: clamp(14px, 1.8vw, 16px);
  min-width: 200px;
}

.ai-search input::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

.ai-search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.send-button {
  padding: 0 20px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.send-button:hover {
  color: var(--accent-orange);
}

.ai-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ai-option {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid white;
  border-radius: var(--radius-md);
  color: white;
  font-size: clamp(13px, 1.8vw, 16px);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .ai-option {
    white-space: normal;
    text-overflow: clip;
  }
}

.ai-option:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

/* ===== GLOBAL MAP SECTION ===== */

/* ----- Keyframe animations ----- */
@keyframes map-scan-sweep {
  0%   { left: -5%;  opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

@keyframes pin-ring-expand {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.75; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

@keyframes dot-teal-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(0, 200, 200, 0.9); }
  50%       { box-shadow: 0 0 16px rgba(0, 200, 200, 1), 0 0 28px rgba(0, 200, 200, 0.45); }
}

@keyframes dot-orange-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(255, 140, 50, 0.9); }
  50%       { box-shadow: 0 0 16px rgba(255, 140, 50, 1), 0 0 28px rgba(255, 140, 50, 0.45); }
}

@keyframes glow-border-teal {
  0%, 100% { box-shadow: 0 0 28px rgba(0, 200, 200, 0.10), inset 0 1px 0 rgba(0, 200, 200, 0.15); }
  50%       { box-shadow: 0 0 42px rgba(0, 200, 200, 0.22), inset 0 1px 0 rgba(0, 200, 200, 0.22); }
}

@keyframes glow-border-orange {
  0%, 100% { box-shadow: 0 0 28px rgba(255, 140, 50, 0.10), inset 0 1px 0 rgba(255, 140, 50, 0.15); }
  50%       { box-shadow: 0 0 42px rgba(255, 140, 50, 0.22), inset 0 1px 0 rgba(255, 140, 50, 0.22); }
}

/* ----- Section shell ----- */
.global-map-section {
  background: #000000e0;
  padding: var(--section-padding) 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Dot-grid texture */
.global-map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient teal glow behind the map */
.global-map-section::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 180, 180, 0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.global-map-section .universal-container {
  position: relative;
  z-index: 1;
}

/* Heading */
.global-map-section .section-heading {
  color: var(--text-muted);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.6rem);
}

/* ----- Stats strip ----- */
.map-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  margin: 0 auto clamp(1.5rem, 3vw, 2.2rem);
  padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1.5rem, 4vw, 3rem);
  background: rgba(0, 200, 200, 0.04);
  border: 1px solid #00c8c8;
  border-radius: 50px;
  width: fit-content;
  max-width: 90%;
}

.map-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.map-stat-num {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  color:#00c8c8;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.map-stat-label {
  font-size: clamp(0.62rem, 1.1vw, 0.76rem);
  color: #fffef3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.map-stat-divider {
  width: 1px;
  height: 2.1rem;
  background: rgba(0, 200, 200, 0.2);
  flex-shrink: 0;
}

/* ----- Map Image wrapper ----- */
.map-image-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- Scan line ----- */
.map-scan-line {
  position: absolute;
  top: 0;
  left: -5%;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 200, 200, 0.05) 15%,
    rgba(0, 200, 200, 0.55) 45%,
    rgba(0, 200, 200, 0.55) 55%,
    rgba(0, 200, 200, 0.05) 85%,
    transparent 100%
  );
  z-index: 4;
  pointer-events: none;
  animation: map-scan-sweep 7s ease-in-out infinite;
}

/* ----- Location pins overlay ----- */
.map-pins-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  left: var(--px);
  top: var(--py);
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  pointer-events: auto;
  cursor: default;
}

.pin-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.map-pin-teal .pin-core {
  background: #00c8c8;
  box-shadow: 0 0 8px rgba(0, 200, 200, 0.95), 0 0 2px #fff;
}

.map-pin-orange .pin-core {
  background: #ff8c32;
  box-shadow: 0 0 8px rgba(255, 140, 50, 0.95), 0 0 2px #fff;
}

.pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pin-ring-expand 2.2s ease-out infinite;
}

.pin-ring-2 { animation-delay: 1.1s; }

.map-pin-teal   .pin-ring { border: 1.5px solid rgba(0,   200, 200, 0.75); }
.map-pin-orange .pin-ring { border: 1.5px solid rgba(255, 140,  50, 0.75); }

/* Staggered delays so every pin pulses at a different phase */
.map-pin:nth-child(1)  .pin-ring   { animation-delay: 0.0s; }
.map-pin:nth-child(1)  .pin-ring-2 { animation-delay: 1.1s; }
.map-pin:nth-child(2)  .pin-ring   { animation-delay: 0.3s; }
.map-pin:nth-child(2)  .pin-ring-2 { animation-delay: 1.4s; }
.map-pin:nth-child(3)  .pin-ring   { animation-delay: 0.6s; }
.map-pin:nth-child(3)  .pin-ring-2 { animation-delay: 1.7s; }
.map-pin:nth-child(4)  .pin-ring   { animation-delay: 0.9s; }
.map-pin:nth-child(4)  .pin-ring-2 { animation-delay: 2.0s; }
.map-pin:nth-child(5)  .pin-ring   { animation-delay: 1.2s; }
.map-pin:nth-child(5)  .pin-ring-2 { animation-delay: 2.3s; }
.map-pin:nth-child(6)  .pin-ring   { animation-delay: 1.5s; }
.map-pin:nth-child(6)  .pin-ring-2 { animation-delay: 2.6s; }
.map-pin:nth-child(7)  .pin-ring   { animation-delay: 0.2s; }
.map-pin:nth-child(7)  .pin-ring-2 { animation-delay: 1.3s; }
.map-pin:nth-child(8)  .pin-ring   { animation-delay: 0.5s; }
.map-pin:nth-child(8)  .pin-ring-2 { animation-delay: 1.6s; }
.map-pin:nth-child(9)  .pin-ring   { animation-delay: 0.8s; }
.map-pin:nth-child(9)  .pin-ring-2 { animation-delay: 1.9s; }
.map-pin:nth-child(10) .pin-ring   { animation-delay: 1.1s; }
.map-pin:nth-child(10) .pin-ring-2 { animation-delay: 2.2s; }

/* Tooltip label shown on hover */
.pin-label {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  letter-spacing: 0.04em;
  z-index: 5;
}

.map-pin-teal   .pin-label { color: #00c8c8; background: rgba(0,10,20,0.88); border: 1px solid rgba(0,200,200,0.35); }
.map-pin-orange .pin-label { color: #ff8c32; background: rgba(0,10,20,0.88); border: 1px solid rgba(255,140,50,0.35); }

.map-pin:hover .pin-label { opacity: 1; }

/* ----- Legend grid ----- */
.map-legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  max-width: 1100px;
  margin: clamp(0.75rem, 2vw, 1.5rem) auto 0;
}

/* Cards start hidden; JS adds .card-revealed to trigger the transition */
.map-legend-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: clamp(1rem, 2.5vw, 1.6rem) clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.map-legend-card.card-revealed {
  opacity: 1;
  transform: translateY(0);
}

.india-legend {
  border-color: rgba(0, 200, 200, 0.4);
  animation: glow-border-teal 4s ease-in-out infinite;
}

.onsite-legend {
  border-color: rgba(0, 200, 200, 0.22);
}

.expanding-legend {
  border-color: rgba(255, 140, 50, 0.4);
  animation: glow-border-orange 4s ease-in-out infinite;
}

/* Hover lift */
.map-legend-card:hover { transform: translateY(-5px) !important; }

.india-legend:hover,
.onsite-legend:hover {
  box-shadow: 0 14px 44px rgba(0, 200, 200, 0.2), inset 0 1px 0 rgba(0, 200, 200, 0.2);
  border-color: rgba(0, 200, 200, 0.55);
}

.expanding-legend:hover {
  box-shadow: 0 14px 44px rgba(255, 140, 50, 0.2), inset 0 1px 0 rgba(255, 140, 50, 0.2);
  border-color: rgba(255, 140, 50, 0.55);
}

/* Legend card title */
.map-legend-title {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 700;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

.map-legend-teal   { color: #00c8c8; }
.map-legend-orange { color: #ff8c32; }

/* Legend list */
.map-legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.45rem, 1vw, 0.65rem);
}

.map-legend-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #b8c4d8;
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  font-weight: 400;
  line-height: 1.4;
}

/* Dots */
.map-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.map-dot-lg {
  width: 14px;
  height: 14px;
}

.map-dot-teal {
  background: #00c8c8;
  animation: dot-teal-pulse 2.5s ease-in-out infinite;
}

.map-dot-orange {
  background: #ff8c32;
  animation: dot-orange-pulse 2.5s ease-in-out infinite 0.6s;
}

/* ----- Responsive: tablet ----- */
@media (max-width: 900px) {
  .map-legend-grid {
    grid-template-columns: 1fr 1fr;
  }
  .expanding-legend {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ----- Responsive: mobile ----- */
@media (max-width: 600px) {
  .map-stats-strip {
    gap: 1rem;
    padding: 0.7rem 1.2rem;
  }
  .map-legend-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .expanding-legend {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
  .map-pins-overlay {
    display: none;
  }
}

@media (max-width: 480px) {
  .map-legend-card {
    padding: 1rem;
  }
  .map-stats-strip {
    max-width: 100%;
    border-radius: 12px;
  }
}

/* ===== TESTIMONIALS ===== */
.client-testimonials {
  background-color: var(--primary-bg);
  padding: var(--section-padding) 0;
  overflow: hidden;
  width: 100%;
}

.client-testimonials-heading {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  letter-spacing: 2.6px;
  font-weight: 700;
}

.infinite-scroll-container {
  overflow: hidden;
  width: 100%;
}

.infinite-scroll-track {
  display: flex;
  gap: 30px;
  animation: scrollTestimonials 40s linear infinite;
  width: fit-content;
}

.infinite-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 350px;
  background: #f8f7ed;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 300px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 260px;
  }
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 48px;
  line-height: 1;
  color: var(--accent-teal);
  opacity: 0.3;
  font-family: serif;
  display: block;
}

.testimonial-card h3 {
  font-size: clamp(16px, 2vw, 18px);
  margin: 15px 0;
  color: var(--primary-text);
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: clamp(14px, 1.8vw, 15px);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.testimonial-author cite {
  display: block;
  font-weight: 600;
  font-style: normal;
  color: var(--primary-text);
  font-size: 15px;
}

.author-title {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-top: 5px;
}

/* ===== TRIAL SECTION ===== */
.trial-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
  width: 100%;
}

.trial-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.trial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4));
  z-index: 1;
}

.trial-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  padding: var(--space-lg) 0;
}

.trial-left {
  flex: 1 1 60%;
  min-width: 300px;
}

.trial-heading {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 726px;
}

.trial-description {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
  max-width: 726px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.trial-btn {
  display: inline-block;
  background-color: var(--accent-orange);
  color: var(--dark-bg);
  padding: 14px 42px;
  font-size: clamp(16px, 2vw, 18px);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.trial-btn:hover {
  background-color: var(--accent-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* ===== INVEST SECTION ===== */
.invest-section {
  background-color: var(--accent-teal);
  padding: var(--section-padding) 0;
  color: var(--text-light);
  width: 100%;
}

.invest-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.invest-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  margin-bottom: 20px;
}

.invest-content p {
  font-size: clamp(16px, 2vw, 18px);
  max-width: 500px;
  opacity: 0.9;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-bg);
  color: var(--accent-teal);
  padding: 14px 42px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-orange);
  color: var(--primary-text);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1200px) {
  .trial-heading { font-size: 42px; }
  .invest-content h2 { font-size: 40px; }
  .ai-heading { font-size: 40px; }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 100vh;
    height: auto;
    padding: 80px 0;
  }
  
  .hero-content h1 { 
    font-size: 42px; 
    margin: 20px 0; 
  }
  
  .hero-content p { font-size: 16px; }
  
  .stat-box h3 { font-size: 28px; }
  .stat-box p { font-size: 13px; }
  
  .aurora-background-section .aurora-content-wrapper {
    padding: 2.5rem 1rem;
    gap: 1.2rem;
    text-align: center;
  }

  .aurora-background-section .aurora-main-heading {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .aurora-background-section .aurora-sub-heading {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }
  
  .tab-switcher { flex-wrap: wrap; }
  
  .ai-assistant-inner { flex-direction: column; }
  .ai-left, .ai-right { width: 100%; }
  
  .trial-content { flex-direction: column; text-align: center; }
  .trial-right { width: 100%; text-align: center; }
  .trial-btn { margin: 0; }
  
  .invest-content { flex-direction: column; text-align: center; }
  .invest-buttons { margin-top: 20px; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(2rem, 6vw, 3rem);
  }
  
  .hero-content h1 { 
    font-size: 36px; 
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .stat-box {
    min-width: 100px;
  }
  
  .stat-box h3 { 
    font-size: 24px; 
  }
  
  .stat-box p { 
    font-size: 11px; 
  }
  
  .section-heading { font-size: 16px; }
  
  .tab { 
    font-size: 13px; 
    padding: 8px 6px;
  }
  
  .ai-heading { font-size: 32px; }
  .ai-option { font-size: 13px; }
  
  .trial-heading { font-size: 32px; }
  .trial-description { font-size: 15px; }
  
  .invest-content h2 { font-size: 32px; }
  .invest-content p { font-size: 15px; }
  .btn-primary { font-size: 15px; padding: 12px 30px; }
  
  .infinite-scroll-track { animation-duration: 30s; }
  
  .aurora-background-section .aurora-content-wrapper {
    padding: 3rem 1rem;
    gap: 1.5rem;
  }
  
  .aurora-background-section .aurora-main-heading {
    margin-bottom: 1.5rem;
  }
  
  .aurora-background-section .aurora-sub-heading {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 770px) {
  .aurora-background-section .aurora-content-wrapper {
    padding: 2.5rem 1rem;
    gap: 1.2rem;
    text-align: center;
  }

  .aurora-background-section .aurora-main-heading {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .aurora-background-section .aurora-sub-heading {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .aurora-background-section .aurora-content-wrapper {
    padding: 2.5rem 1rem;
    gap: 1.2rem;
    text-align: center;
  }

  .aurora-background-section .aurora-main-heading {
    font-size: 42px;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .aurora-background-section .aurora-sub-heading {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 100vh;
    height: auto;
    padding: 60px 0;
  }
  
  .hero-content h1 { 
    font-size: 28px; 
    line-height: 1.2;
    margin: 20px 0;
  }
  
  .hero-content p { 
    font-size: 14px; 
    margin: 15px 0;
  }
  
  .gradient-btn-container { 
    padding: 4px 20px; 
    margin: 20px auto;
    width: 90%;
  }
  
  .gradient-btn, .cta-button { 
    font-size: 15px;
    padding: 9px 16px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  
  .stat-box {
    min-width: 80px;
  }
  
  .stat-box h3 { 
    font-size: 20px; 
    margin-bottom: 4px;
  }
  
  .stat-box p { 
    font-size: 9px; 
    letter-spacing: 0.5px;
  }
  
  .aurora-background-section .aurora-content-wrapper {
    padding: 30px 5%;
    gap: 1.2rem;
    text-align: center;
  }

  .aurora-background-section .aurora-main-heading {
    font-size: 25px;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .aurora-background-section .aurora-sub-heading {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }
  
  .section-heading { font-size: 14px; }
  
  .tab-switcher {
    padding: 8px;
  }
  
  .tab { 
    font-size: 11px; 
    padding: 6px 4px;
  }
  
  .ai-heading { font-size: 28px; }
  .ai-subtext { font-size: 14px; }
  .ai-search input { font-size: 14px; padding: 12px; }
  
  .trial-section { min-height: 350px; }
  .trial-heading { font-size: 24px; }
  .trial-description { font-size: 14px; }
  .trial-btn { font-size: 14px; padding: 10px 24px; }
  
  .invest-content h2 { font-size: 28px; }
  .invest-content p { font-size: 14px; }
  .btn-primary { font-size: 14px; padding: 10px 24px; }
  
  .feature-item { width: 120px; }
  .feature-item img { width: 60px; height: 60px; }
  .feature-item p { font-size: 12px; }
}

@media (max-width: 375px) {
  .gradient-btn, .cta-button { 
    font-size: 14px;
    padding: 8px 14px;
    max-width: 240px;
  }
  
  .hero-content h1 { 
    font-size: 24px; 
  }
  
  .stat-box h3 { 
    font-size: 18px; 
  }
  
  .stat-box p { 
    font-size: 8px; 
  }
  
  .tab { 
    font-size: 10px; 
    padding: 5px 3px;
  }
  
  .testimonial-card { flex: 0 0 240px; }
  .testimonial-card h3 { font-size: 15px; }
  .testimonial-card p { font-size: 13px; }
  
  .feature-item { width: 100px; }
  .feature-item img { width: 50px; height: 50px; }
  .feature-item p { font-size: 11px; }
  
  .aurora-background-section .aurora-content-wrapper {
    padding: 30px 5%;
  }

  .aurora-background-section .aurora-main-heading {
    font-size: 24px;
    line-height: 1.5;
  }

  .aurora-background-section .aurora-sub-heading {
    font-size: 14px;
  }
}

/* Landscape mode adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    min-height: 120vh;
    height: auto;
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 32px;
    margin: 15px 0;
  }
  
  .hero-content p {
    font-size: 14px;
    margin: 10px 0;
  }
  
  .gradient-btn-container {
    margin: 15px auto;
  }
}

/* ===== ACCESSIBILITY & REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .aurora-overlay,
  .aurora-overlay::after,
  .infinite-scroll-track,
  .feature-item,
  .card-group-main.active {
    animation: none !important;
  }
  
  .aurora-background-section .aurora-overlay {
    animation: none !important;
  }
  
  .aurora-background-section .aurora-content-wrapper {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .features-carousel {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    gap: 20px;
  }
  
  .feature-item {
    position: static;
    display: inline-flex;
    width: auto;
    margin: 10px;
    animation: none;
  }
  
  .card:hover,
  .testimonial-card:hover,
  .btn-primary:hover,
  .trial-btn:hover {
    transform: none;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .aurora-background-section .aurora-overlay {
    background-image: 
      repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
      repeating-linear-gradient(100deg, #ffcaa3 10%, #7bc8c4 15%, #5bb5b2 20%, #f8f0e5 25%, #4da5b0 30%);
    filter: blur(10px);
  }
  
  .aurora-background-section .aurora-overlay::after {
    background-image: 
      repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%),
      repeating-linear-gradient(100deg, #ffcaa3 10%, #7bc8c4 15%, #5bb5b2 20%, #f8f0e5 25%, #4da5b0 30%);
  }
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 3px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-teal);
  color: white;
  padding: 10px 15px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 5px 0;
}

.skip-link:focus {
  top: 0;
}

/* Selection style */
::selection {
  background-color: var(--accent-orange);
  color: var(--primary-text);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hide header placeholder */
#header {
  min-height: 70px;
}

/* Footer spacing */
#footer {
  margin-top: auto;
}