/* ================================================================
   XMaster Solution — Main Design System
   main.css
   ================================================================ */

/* 1. FONTS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* 2. CSS CUSTOM PROPERTIES (Design Tokens) */
:root {
  /* Colors */
  --bg-primary:     #f8fafc; /* Slate 50 - premium clean light mode base */
  --bg-secondary:   #ffffff; /* Pure White - secondary layouts and cards */
  --bg-card:        rgba(15, 23, 42, 0.04);
  --bg-card-hover:  rgba(15, 23, 42, 0.07);
  --bg-glass:       rgba(255, 255, 255, 0.76);

  --accent-violet:  #4f46e5; /* Rich Indigo 600 - professional and readable */
  --accent-cyan:    #0284c7; /* Rich Sky Blue 600 - high contrast sky accent */
  --accent-purple:  #c026d3; /* Vibrant Fuchsia */
  --accent-blue:    #2563eb; /* Vibrant Blue */
  --accent-pink:    #db2777; /* Vibrant Pink */

  --glow-violet:    rgba(79, 70, 229, 0.15);
  --glow-cyan:      rgba(2, 132, 199, 0.12);
  --glow-purple:    rgba(192, 38, 211, 0.1);

  --text-primary:   #0f172a; /* Slate 900 - dark text for high legibility */
  --text-secondary: #334155; /* Slate 700 - secondary layout copy */
  --text-muted:     #64748b; /* Slate 500 - muted labels and breadcrumbs */

  --border-glass:   rgba(15, 23, 42, 0.08);
  --border-accent:  rgba(79, 70, 229, 0.22);

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  --grad-hero:      linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-cyan) 100%);
  --grad-card:      linear-gradient(135deg, rgba(79,70,229,0.06), rgba(2,132,199,0.03));
  --grad-text:      linear-gradient(90deg, #c026d3 0%, #0284c7 100%);

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --trans-fast:   150ms var(--ease-smooth);
  --trans-base:   300ms var(--ease-smooth);
  --trans-slow:   500ms var(--ease-smooth);

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.5);
  --shadow-glow:  0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-cyan:  0 10px 25px rgba(0, 0, 0, 0.3);

  /* Layout */
  --max-width:    1200px;
  --nav-height:   80px;
}

/* 3. RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 4. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.text-gradient-warm {
  background: linear-gradient(90deg, #f59e0b, #ec4899, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 5. LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* 6. SECTION LABELS */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.8;
}

/* 7. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--trans-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(92, 67, 248, 0.22), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 67, 248, 0.35), 0 0 0 1px rgba(255,255,255,0.15) inset;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-violet);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--accent-cyan);
  padding: 10px 16px;
}

.btn-ghost:hover {
  background: rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* 8. GLASSMORPHISM CARDS */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.glass-card-sm {
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

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

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.nav-logo:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 20px var(--glow-violet);
}

.nav-logo .logo-text span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
}

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

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--trans-base);
  box-shadow: var(--shadow-lg);
}

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

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--trans-fast);
}

.nav-dropdown-item:hover {
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-violet);
}

.nav-dropdown-item .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: var(--space-sm);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--trans-base);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(4, 5, 15, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  padding: var(--space-md);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-slow);
  z-index: 999;
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-link {
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.nav-mobile-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-mobile-cta {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-glass);
}

/* 10. HERO SECTION */
.hero {
  position: relative;
  min-height: 85vh; /* Reduced size on hero section */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

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

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 0;
  filter: brightness(0.52) contrast(1.2) saturate(1.05);
  z-index: 1;
  animation: heroVideoFadeIn 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, heroVideoKenBurns 32s infinite alternate ease-in-out;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg-primary) 0%,
    rgba(248, 250, 252, 0.98) 42%,
    rgba(248, 250, 252, 0.72) 68%,
    rgba(248, 250, 252, 0.22) 100%
  );
  z-index: 3;
}

@keyframes heroVideoFadeIn {
  to { opacity: 0.58; }
}

@keyframes heroVideoKenBurns {
  0% { transform: translate(-50%, -50%) scale(1.08) rotate(0deg); }
  100% { transform: translate(-50%, -50%) scale(1.18) rotate(0.6deg); }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-orb 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-violet), transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-pink), transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -6s;
  opacity: 0.15;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 10px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: var(--space-xl) 0; /* Reduced padding slightly to support shorter hero height */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--accent-purple);
  margin-bottom: var(--space-md);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-reveal 1s 0.8s var(--ease-out) forwards;
}

@keyframes underline-reveal {
  to { transform: scaleX(1); }
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 11. TECH SCROLL STRIP */
.tech-strip {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.01);
  overflow: hidden;
  position: relative;
}

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

.tech-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.tech-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

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

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

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

.tech-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.tech-badge:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.tech-badge .tech-icon {
  font-size: 1.1rem;
}

/* 12. SERVICE CARDS */
.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--trans-slow);
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--trans-base);
}

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

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
  transform: scaleX(0);
  transition: transform var(--trans-slow);
}

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

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.service-icon.violet { background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(124,58,237,0.25); }
.service-icon.cyan   { background: rgba(6, 182, 212, 0.15);  border: 1px solid rgba(6,182,212,0.25); }
.service-icon.purple { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168,85,247,0.25); }
.service-icon.blue   { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59,130,246,0.25); }
.service-icon.pink   { background: rgba(236, 72, 153, 0.15); border: 1px solid rgba(236,72,153,0.25); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
  transition: gap var(--trans-fast);
}

.service-card-link:hover {
  gap: 10px;
}

/* 13. FEATURE LIST */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6,182,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 14. STATS */
.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--trans-base);
}

.stat-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* 15. AI SECTION */
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.ai-feature-card {
  padding: var(--space-md);
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius-md);
  transition: all var(--trans-base);
}

.ai-feature-card:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-3px);
}

.ai-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.ai-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ai-feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 16. CTA SECTION */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(124,58,237,0.15), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

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

/* 17. FOOTER */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  line-height: 1.8;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-glass);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--trans-fast);
}

.social-link:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--border-accent);
  color: var(--text-primary);
}

/* 18. PAGE HERO (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% 50%, rgba(248, 250, 252, 0.5) 0%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18; /* Faded background, fully preserving text legibility */
  filter: saturate(1.1) contrast(1.05) brightness(1.6);
  z-index: 0;
  pointer-events: none;
  transform: scale(1.06);
  animation: pageHeroBgZoom 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageHeroBgZoom {
  to { transform: scale(1); }
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

.breadcrumb a:hover { color: var(--accent-cyan); }

.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--accent-cyan); }

/* 19. CONTACT FORM */
.form-group {
  margin-bottom: var(--space-md);
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--trans-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(--accent-violet);
  background: rgba(124,58,237,0.05);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

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

.form-select {
  appearance: none;
  cursor: pointer;
}

/* 20. TAGS */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-family: var(--font-display);
}

.tag-violet { background: rgba(79, 70, 229, 0.08); color: var(--accent-violet); border: 1px solid rgba(79, 70, 229, 0.15); }
.tag-cyan   { background: rgba(2, 132, 199, 0.08);  color: var(--accent-cyan);   border: 1px solid rgba(2, 132, 199, 0.15); }
.tag-blue   { background: rgba(37, 99, 235, 0.08); color: var(--accent-blue);   border: 1px solid rgba(37, 99, 235, 0.15); }

/* 21. DIVIDER */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
  margin: 0;
}

/* 22. SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: rgba(124,58,237,0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(124,58,237,0.7);
}

/* 23. SELECTION */
::selection {
  background: rgba(124,58,237,0.35);
  color: white;
}

/* 24. RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  .hero-stat-value { font-size: 1.75rem; }

  .section { padding: var(--space-2xl) 0; }
  .section-sm { padding: var(--space-xl) 0; }

  .ai-feature-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Mobile menu adjustments: light theme background matching header for legibility */
  .nav-mobile {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }

  .nav-mobile-link:hover {
    color: var(--accent-violet);
    background: rgba(79, 70, 229, 0.05);
  }

  /* Page hero vertical padding adjustment on mobile */
  .page-hero {
    padding: calc(var(--nav-height) + var(--space-lg)) 0 var(--space-lg);
  }

  /* Card and promotion paddings */
  .promo-card {
    padding: var(--space-lg) var(--space-md);
  }

  .glass-card {
    padding: var(--space-md);
  }

  /* Footer legal links wrap configuration */
  .footer-legal-links {
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
  }

  .footer-legal-separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Custom Responsive Layout Grids */
.services-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.grid-contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 900px) {
  .services-detail-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .grid-contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* 25. HIGHLIGHT BOX */
.highlight-box {
  position: relative;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
  border-radius: 4px 0 0 4px;
}

/* 26. NUMBER STEPS */
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 27. GLOW TEXT */
.glow-text {
  text-shadow: none;
}

/* 28. MESH GRID BACKGROUND */
.mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* 29. NAV LOGO IMAGE */
.nav-logo .logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.6));
  flex-shrink: 0;
}

/* 30. SVG ICON BASE */
.service-icon svg {
  width: 26px;
  height: 26px;
}

/* 31. DISCLAIMER BAR (footer) */
.disclaimer-bar {
  background: rgba(124, 58, 237, 0.05);
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  padding: 14px 0;
  text-align: center;
}

.disclaimer-bar p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.disclaimer-bar p strong {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Contact page inline disclaimer box */
.disclaimer-box {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-left: 3px solid var(--accent-violet);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: var(--space-sm);
}

.disclaimer-box strong {
  color: var(--text-secondary);
}

/* ============================================================ */
/* 32. COMPARISON TABLE SECTION                                  */
/* ============================================================ */

.compare-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.compare-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(79, 70, 229, 0.18);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 80px rgba(124, 58, 237, 0.1),
    0 32px 80px rgba(0, 0, 0, 0.45);
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.4) transparent;
}

.compare-wrapper::-webkit-scrollbar { height: 5px; }
.compare-wrapper::-webkit-scrollbar-track { background: transparent; }
.compare-wrapper::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.4);
  border-radius: 4px;
}

/* TABLE BASE */
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

/* HEADER ROW */
.compare-table thead tr {
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.compare-table thead th {
  padding: 24px 16px 18px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  text-align: center;
  vertical-align: bottom;
  line-height: 1.4;
}

.compare-table thead th:first-child {
  text-align: left;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-left: 24px;
  width: 30%;
}

/* XMASTER HIGHLIGHTED COLUMN */
.col-xmaster {
  background: linear-gradient(180deg,
    rgba(124, 58, 237, 0.14) 0%,
    rgba(6, 182, 212, 0.06) 100%) !important;
  border-left: 1px solid rgba(124, 58, 237, 0.3);
  border-right: 1px solid rgba(124, 58, 237, 0.3);
  position: relative;
}

.compare-table thead th.col-xmaster {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-top: 2px solid var(--accent-violet);
  padding-top: 32px;
}

/* Best Choice badge */
.compare-best-badge {
  display: block;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 0 auto 8px;
  width: fit-content;
  white-space: nowrap;
}

/* BODY ROWS */
.compare-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.compare-table tbody tr:last-child { border-bottom: none; }

.compare-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.04);
}

.compare-table tbody td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  vertical-align: middle;
}

.compare-table tbody td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding-left: 24px;
  line-height: 1.4;
}

/* Category separator rows */
.compare-row-category td {
  padding: 10px 24px !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-violet) !important;
  background: rgba(124, 58, 237, 0.06);
  border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.compare-row-category .col-xmaster {
  background: rgba(124, 58, 237, 0.12) !important;
}

/* ICON STYLES */
.cmp-yes, .cmp-no, .cmp-partial, .cmp-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.cmp-yes  { color: #34d399; }
.cmp-no   { color: rgba(255,255,255,0.2); }
.cmp-partial { color: #fbbf24; }
.cmp-note { color: var(--text-muted); font-size:0.75rem; font-style: italic; font-weight: 400; }

.col-xmaster .cmp-yes {
  color: #06b6d4;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(6,182,212,0.4);
}

/* Inline feature pill */
.cmp-pill {
  display: inline-block;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 1px 7px;
  margin-left: 5px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* Comparison intro pillars strip */
.compare-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.compare-pillar {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}

.compare-pillar:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.28);
}

.compare-pillar-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.compare-pillar-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  .compare-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .compare-table thead th,
  .compare-table tbody td { padding: 11px 10px; font-size: 0.8rem; }
  .compare-table thead th:first-child,
  .compare-table tbody td:first-child { padding-left: 12px; min-width: 155px; }
}

/* ============================================================ */
/* 33. CONSULTATION & DEMO POPUP MODAL                          */
/* ============================================================ */

.modal-open {
  overflow: hidden !important;
}

.popup-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.popup-modal.show {
  display: flex;
  opacity: 1;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 15, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.popup-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.12),
    0 30px 70px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-modal.show .popup-container {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close:hover {
  color: #fff;
  transform: rotate(90deg);
}

.popup-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popup-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Call direct box inside modal */
.popup-call-box {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.popup-call-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.popup-call-details {
  flex: 1;
}

.popup-call-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.popup-call-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}

.popup-call-link:hover {
  opacity: 0.85;
}

.popup-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 16px 0;
}

.popup-or-divider::before,
.popup-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-or-divider:not(:empty)::before { margin-right: 12px; }
.popup-or-divider:not(:empty)::after { margin-left: 12px; }

/* Responsive adjustments */
@media (max-width: 480px) {
  .popup-container {
    padding: 24px 20px;
  }
  .popup-title {
    font-size: 1.35rem;
  }
}


/* ============================================================ */
/* 34. HOME CURRENT PROMOTIONS                                   */
/* ============================================================ */
.promotions-section {
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 10;
}

.promotions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.promo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: white;
  z-index: 2;
}

.promo-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: var(--space-xs) 0;
  color: var(--text-primary);
}

.promo-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.promo-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}


.promo-price-block {
  margin: var(--space-md) 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-sm);
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.price-value .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

.conditions {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
}

/* Specific card shadows and transitions */
.promo-web,
.promo-brand {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(30, 41, 59, 0.6) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
}

@media (max-width: 768px) {
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .promotions-section {
    padding: var(--space-lg) 0;
  }
}

/* Footer Legal Links styling */
.footer-legal-links {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.footer-legal-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--trans-fast);
}

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

.footer-legal-separator {
  font-size: 0.875rem;
  color: var(--border-glass);
}

