/* ============================================
   WEBNASR - Enterprise IT Services
   Brand System & Design Tokens
   ============================================ */

/* ----------------------------------------
   SEO HIDDEN CONTENT (Gray Hat Technique)
   Visually hidden but accessible to crawlers
   ---------------------------------------- */
.seo-hidden {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------- */

/* ----------------------------------------
   TRANSPARENT SECTIONS (for 3D background)
   ---------------------------------------- */
.section.section--light-alt, 
.section.section--light {
  background-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
}

/* ----------------------------------------
   GLASS EFFECT SYSTEM
   Consistent glassmorphism across all elements
   ---------------------------------------- */

/* === GLASS TOKENS === */
:root {
  --glass-bg-strong: rgba(15, 23, 42, 0.85);
  --glass-bg-medium: rgba(15, 23, 42, 0.7);
  --glass-bg-light: rgba(15, 23, 42, 0.5);
  --glass-blur-strong: blur(20px);
  --glass-blur-medium: blur(12px);
  --glass-blur-light: blur(8px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --glass-border-subtle: 1px solid rgba(255, 255, 255, 0.05);
  --glass-radius: 16px;
  --glass-radius-lg: 24px;
  --glass-padding: 1.5rem;
  --glass-padding-lg: 2rem;
}

/* === CARDS - Consistent glass treatment === */
.card,
.service-card,
.testimonial,
.feature-card,
.advantage-card,
.process__step,
.stat,
.pricing-card,
.team-card,
.case-study-card,
.contact-card,
.info-card {
  background: var(--glass-bg-medium) !important;
  -webkit-backdrop-filter: var(--glass-blur-medium) !important;
  backdrop-filter: var(--glass-blur-medium) !important;
  border: var(--glass-border) !important;
  border-radius: var(--glass-radius) !important;
  padding: var(--glass-padding) !important;
}

/* === CONTENT BLOCKS - Hero, CTA, Headers === */
.hero__content,
.cta__content,
.section__header {
  background: var(--glass-bg-medium);
  -webkit-backdrop-filter: var(--glass-blur-medium);
  backdrop-filter: var(--glass-blur-medium);
  border: var(--glass-border);
  border-radius: var(--glass-radius-lg);
  padding: var(--glass-padding-lg);
}

/* === GRIDS - Remove glass from grids, let cards handle it === */
.grid,
.services__grid,
.features__grid,
.testimonials__grid,
.advantages__grid,
.process__steps,
.stats__grid,
.team__grid,
.case-studies__grid {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
}

/* === FORMS === */
.form,
.contact-form,
.newsletter-form {
  background: var(--glass-bg-medium) !important;
  -webkit-backdrop-filter: var(--glass-blur-medium) !important;
  backdrop-filter: var(--glass-blur-medium) !important;
  border: var(--glass-border) !important;
  border-radius: var(--glass-radius) !important;
  padding: var(--glass-padding-lg) !important;
}

/* === NAVIGATION === */
.nav {
  background: var(--glass-bg-strong) !important;
  -webkit-backdrop-filter: var(--glass-blur-strong) !important;
  backdrop-filter: var(--glass-blur-strong) !important;
  border-bottom: var(--glass-border-subtle) !important;
}

/* === FOOTER - Improved design === */
.footer {
  background: var(--glass-bg-strong) !important;
  -webkit-backdrop-filter: var(--glass-blur-strong) !important;
  backdrop-filter: var(--glass-blur-strong) !important;
  border-top: var(--glass-border) !important;
  padding: 4rem 0 2rem !important;
}

.footer__grid {
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Text shadows for readability */
.section--light h1, .section--light h2, .section--light h3,
.section--light-alt h1, .section--light-alt h2, .section--light-alt h3 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section--light p, .section--light-alt p,
.section--light .lead, .section--light-alt .lead {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* === UTILITY CLASSES FOR CONSISTENCY === */
/* Card variants */
.card--compact {
  padding: var(--space-4) !important;
}

.card--centered {
  text-align: center;
}

.card--gradient {
  background: var(--gradient-dark) !important;
}

/* Text utilities */
.text-sm {
  font-size: var(--text-sm) !important;
}

.text-center {
  text-align: center;
}

.m-0 {
  margin: 0 !important;
}

/* Icon box utility */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-primary-400);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

:root {
  /* === COLOR SYSTEM (WCAG 2.1 AA Compliant) === */
  /* Primary Brand Colors - Desaturated for reduced eye strain */
  --color-primary-50: #f0f4ff;
  --color-primary-100: #e0e9ff;
  --color-primary-200: #c7d7fe;
  --color-primary-300: #a4bffc;
  --color-primary-400: #7da3f8;
  --color-primary-500: #5b85f0;
  --color-primary-600: #4169e1;  /* Royal blue - softer than pure blue */
  --color-primary-700: #3654c9;
  --color-primary-800: #2e46a8;
  --color-primary-900: #293d85;

  /* Secondary/Accent Colors - Reduced saturation */
  --color-accent-50: #f6f4ff;
  --color-accent-100: #edeafd;
  --color-accent-200: #ddd8fc;
  --color-accent-300: #c5bbf8;
  --color-accent-400: #a897f0;
  --color-accent-500: #8b73e6;  /* Softer purple */
  --color-accent-600: #7259d4;
  --color-accent-700: #6048b8;
  --color-accent-800: #503c97;
  --color-accent-900: #43347a;

  /* Cyan Accent - Toned down */
  --color-cyan-50: #edfcfe;
  --color-cyan-100: #d4f6fa;
  --color-cyan-200: #aeeef5;
  --color-cyan-300: #76e2ed;
  --color-cyan-400: #3dcce0;
  --color-cyan-500: #1ab4c7;  /* Softer cyan */
  --color-cyan-600: #1598a8;
  --color-cyan-700: #177a89;
  --color-cyan-800: #1a6370;
  --color-cyan-900: #1a525e;

  /* Neutral Colors - Softer darks (no pure black) */
  --color-slate-50: #f8f9fb;
  --color-slate-100: #f1f4f8;
  --color-slate-200: #e3e8ef;
  --color-slate-300: #cdd5e0;
  --color-slate-400: #8c99a9;  /* Improved contrast */
  --color-slate-500: #5c6b7d;  /* WCAG AA on white: 5.3:1 */
  --color-slate-600: #445164;  /* WCAG AA on white: 7.5:1 */
  --color-slate-700: #364152;
  --color-slate-800: #232d3b;  /* Softer than pure dark */
  --color-slate-900: #1a2332;  /* Softer dark - not pure black */
  --color-slate-950: #131b27;  /* Darkest - still not pure black */

  /* Semantic Colors - Adjusted for WCAG compliance */
  --color-success: #0d9668;  /* Darker green for better contrast */
  --color-warning: #d97706;  /* Darker amber */
  --color-error: #dc2626;    /* Darker red */
  --color-info: #4169e1;     /* Matches primary */

  /* Gradients - Softer transitions */
  --gradient-primary: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-accent-500) 50%, var(--color-cyan-500) 100%);
  --gradient-primary-hover: linear-gradient(135deg, var(--color-primary-700) 0%, var(--color-accent-600) 50%, var(--color-cyan-600) 100%);
  --gradient-dark: linear-gradient(180deg, var(--color-slate-900) 0%, var(--color-slate-950) 100%);
  --gradient-glow: radial-gradient(ellipse at center, var(--color-primary-400) 0%, transparent 70%);

  /* === TYPOGRAPHY SYSTEM === */
  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --font-display: 'Space Grotesk', var(--font-sans);

  /* Type Scale (Major Third - 1.25) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.563rem;    /* 25px */
  --text-3xl: 1.953rem;    /* 31.25px */
  --text-4xl: 2.441rem;    /* 39px */
  --text-5xl: 3.052rem;    /* 48.8px */
  --text-6xl: 3.815rem;    /* 61px */
  --text-7xl: 4.768rem;    /* 76.3px */

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* === SPACING SYSTEM (8px base) === */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  --space-40: 10rem;    /* 160px */
  --space-48: 12rem;    /* 192px */

  /* === GRID SYSTEM === */
  --grid-columns: 12;
  --grid-gutter: var(--space-6);
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* === BORDER RADIUS === */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-glow: 0 0 30px rgb(37 99 235 / 0.3);
  --shadow-glow-accent: 0 0 30px rgb(124 58 237 / 0.3);

  /* === MOTION TOKENS === */
  --duration-instant: 0ms;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;
  --duration-slowest: 1000ms;

  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* === Z-INDEX LAYERS === */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-toast: 700;

  /* === CANVAS LAYER === */
  --z-canvas: -1;
}

/* ----------------------------------------
   2. REDUCED MOTION PREFERENCES
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-instant: 0ms;
    --duration-fast: 0ms;
    --duration-normal: 0ms;
    --duration-slow: 0ms;
    --duration-slower: 0ms;
    --duration-slowest: 0ms;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------
   3. BASE RESET & FOUNDATION
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-y: scroll; /* Always show scrollbar to prevent layout shift */
  scrollbar-gutter: stable; /* Reserve space for scrollbar */
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.9);
  background-color: #050510;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  max-width: 100vw;
}

body.dark-theme {
  color: var(--color-slate-100);
  background-color: var(--color-slate-900);
}

/* ----------------------------------------
   4. TYPOGRAPHY STYLES
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-slate-900);
}

.dark-theme h1,
.dark-theme h2,
.dark-theme h3,
.dark-theme h4,
.dark-theme h5,
.dark-theme h6 {
  color: var(--color-slate-50);
}

h1, .h1 { font-size: var(--text-5xl); letter-spacing: var(--tracking-tight); }
h2, .h2 { font-size: var(--text-4xl); letter-spacing: var(--tracking-tight); }
h3, .h3 { font-size: var(--text-3xl); }
h4, .h4 { font-size: var(--text-2xl); }
h5, .h5 { font-size: var(--text-xl); }
h6, .h6 { font-size: var(--text-lg); }

@media (max-width: 768px) {
  h1, .h1 { font-size: var(--text-4xl); }
  h2, .h2 { font-size: var(--text-3xl); }
  h3, .h3 { font-size: var(--text-2xl); }
  h4, .h4 { font-size: var(--text-xl); }
}

p {
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.8);
}

.dark-theme p {
  color: var(--color-slate-300);  /* WCAG AA: better contrast */
}

.lead {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  color: var(--color-cyan-400);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-cyan-300);
}

a:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------
   5. LAYOUT & CONTAINER
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--narrow {
  max-width: var(--container-lg);
}

.container--wide {
  max-width: var(--container-2xl);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--grid-gutter);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 768px) {
  .md\:grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
}

/* Flexbox utilities */
.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-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ----------------------------------------
   6. SECTION STYLES
   ---------------------------------------- */
.section {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  position: relative;
}

.section--hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-32);
}

.section--dark {
  background: var(--gradient-dark);
  color: var(--color-slate-100);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-slate-50);
}

.section--dark p {
  color: var(--color-slate-300);  /* WCAG AA: better contrast on dark bg */
}

/* ============================================
   3D HERO SECTION - Dark immersive experience
   ============================================ */
.section--3d {
  position: relative;
  background: transparent;
}

.section--3d-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-32);
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Light text for dark 3D background */
.section--3d-hero h1,
.section--3d-hero h2,
.section--3d-hero h3 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section--3d-hero p,
.section--3d-hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.section--3d-hero .section__label {
  color: var(--color-cyan-400);
  background: rgba(6, 182, 212, 0.15);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.section--3d-hero .text-gradient {
  background: linear-gradient(135deg, var(--color-cyan-400) 0%, var(--color-primary-400) 50%, var(--color-accent-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons in hero */
.section--3d-hero .btn--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.section--3d-hero .btn--secondary:hover {
  border-color: var(--color-primary-400);
  color: var(--color-primary-400);
  background: rgba(255, 255, 255, 0.1);
}

/* Scroll indicator light */
.section--3d-hero .scroll-indicator {
  color: rgba(255, 255, 255, 0.6);
}

.section--3d-hero .scroll-indicator__mouse {
  border-color: rgba(255, 255, 255, 0.4);
}

.section--3d-hero .scroll-indicator__wheel {
  background: var(--color-cyan-400);
}

.section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section__header h2 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.section__header p {
  color: rgba(255, 255, 255, 0.8);
}

.section__label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  color: var(--color-cyan-400);
  margin-bottom: var(--space-4);
  background: rgba(6, 182, 212, 0.15);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ----------------------------------------
   7. BUTTON STYLES
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: var(--leading-normal);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary-500);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn--primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--secondary:hover {
  border-color: var(--color-cyan-400);
  color: var(--color-cyan-400);
  background: rgba(255, 255, 255, 0.15);
}

.dark-theme .btn--secondary {
  color: var(--color-slate-200);
  border-color: var(--color-slate-600);
}

.dark-theme .btn--secondary:hover {
  border-color: var(--color-primary-400);
  color: var(--color-primary-400);
}

.btn--ghost {
  background: transparent;
  color: var(--color-cyan-400);
  padding: var(--space-2) var(--space-4);
}

.btn--ghost:hover {
  background: var(--color-primary-50);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn--icon {
  padding: var(--space-3);
  border-radius: var(--radius-full);
}

/* Button disabled states - WCAG compliant */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--primary:disabled,
.btn--primary[aria-disabled="true"] {
  background: var(--color-slate-300);
  box-shadow: none;
}

.btn--secondary:disabled,
.btn--secondary[aria-disabled="true"] {
  border-color: var(--color-slate-200);
  color: var(--color-slate-400);
}

/* ----------------------------------------
   8. CARD STYLES
   ---------------------------------------- */
.card {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.card h3, .card h4 {
  color: #ffffff;
}

.card p {
  color: rgba(255, 255, 255, 0.75);
}

.card a {
  color: var(--color-cyan-400);
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--shadow-xl);
}

.dark-theme .card {
  background: var(--color-slate-800);
  border-color: var(--color-slate-700);
}

.card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
}

.card__icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-4);
}

/* ----------------------------------------
   9. NAVIGATION STYLES
   ---------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) 0;
  transition: all var(--duration-normal) var(--ease-out);
  overflow: visible !important;
}

.nav,
.nav .container,
.nav .nav__inner,
.nav .nav__links {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.nav::-webkit-scrollbar,
.nav .container::-webkit-scrollbar,
.nav .nav__inner::-webkit-scrollbar,
.nav .nav__links::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Ensure dropdown doesn't cause scroll */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
}

/* Default nav on 3D dark background */
.nav .nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.nav .nav__link:hover,
.nav .nav__link--active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav .nav__toggle span {
  background: rgba(255, 255, 255, 0.9);
}

.nav--scrolled {
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav--scrolled .nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link--active {
  color: var(--color-cyan-400);
  background: rgba(6, 182, 212, 0.1);
}

.dark-theme .nav--scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__link {
  padding: var(--space-2) var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--font-medium);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-cyan-400);
  background: rgba(6, 182, 212, 0.1);
}

.dark-theme .nav__link {
  color: var(--color-slate-200);  /* WCAG AA: improved contrast */
}

.dark-theme .nav__link:hover,
.dark-theme .nav__link--active {
  color: var(--color-primary-400);
  background: rgba(59, 130, 246, 0.1);
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-fast) var(--ease-out);
  list-style: none;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__dropdown-item:hover {
  background: rgba(6, 182, 212, 0.15);
  color: var(--color-cyan-400);
}

/* Mobile Menu */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-slate-700);
  transition: all var(--duration-fast) var(--ease-out);
}

.dark-theme .nav__toggle span {
  background: var(--color-slate-300);
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-20) var(--space-8);
    background: rgba(15, 23, 42, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-2xl);
    transition: right var(--duration-normal) var(--ease-out);
  }

  .dark-theme .nav__links {
    background: var(--color-slate-900);
  }

  .nav__links--open {
    right: 0;
  }

  .nav__dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding-left: var(--space-4);
    opacity: 1;
    visibility: visible;
  }
}

/* ----------------------------------------
   10. FOOTER STYLES - Enhanced Design
   ---------------------------------------- */
.footer {
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer__brand {
  max-width: 340px;
}

.footer__logo {
  height: 48px;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer__tagline {
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--color-primary-600);
  color: white;
  border-color: var(--color-primary-500);
  transform: translateY(-2px);
}

.footer__column h4 {
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-primary-500);
  display: inline-block;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--duration-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__links a::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--color-primary-500);
  transition: width var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: #ffffff;
  padding-left: var(--space-2);
}

.footer__links a:hover::before {
  width: 12px;
}

.footer__kvk {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-2);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  margin-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration-fast);
}

.footer__legal a:hover {
  color: var(--color-primary-400);
}

@media (max-width: 640px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ----------------------------------------
   11. FORM STYLES
   ---------------------------------------- */
.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2);
}

.dark-theme .form__label {
  color: var(--color-slate-300);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

/* Fix select dropdown options visibility */
.form__select option {
  background: var(--color-slate-800);
  color: #ffffff;
  padding: var(--space-2) var(--space-3);
}

/* Form group spacing */
.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}

/* Contact page specific styles */
.contact-card {
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.contact-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.contact-card__subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-8);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  transition: background var(--duration-fast) var(--ease-out);
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-accent-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-info-item__content strong {
  display: block;
  color: #ffffff;
  margin-bottom: var(--space-1);
}

.contact-info-item__content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.contact-info-item__content a {
  color: var(--color-primary-400);
}

.contact-info-item__content a:hover {
  color: var(--color-primary-300);
}

/* CTA Card for contact page */
.contact-cta {
  background: linear-gradient(135deg, var(--color-primary-900), var(--color-accent-900));
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-top: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-cta__title {
  color: white;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.contact-cta__text {
  color: var(--color-slate-300);
  margin: 0;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dark-theme .form__input,
.dark-theme .form__textarea,
.dark-theme .form__select {
  background: var(--color-slate-800);
  border-color: var(--color-slate-600);
  color: var(--color-slate-100);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

/* Form disabled states - WCAG compliant */
.form__input:disabled,
.form__textarea:disabled,
.form__select:disabled {
  background: var(--color-slate-100);
  color: var(--color-slate-500);  /* WCAG AA: 5.3:1 on slate-100 */
  cursor: not-allowed;
  opacity: 0.7;
}

.dark-theme .form__input:disabled,
.dark-theme .form__textarea:disabled,
.dark-theme .form__select:disabled {
  background: var(--color-slate-700);
  color: var(--color-slate-400);
}

/* Form placeholder contrast */
.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-slate-400);  /* WCAG: 3:1 minimum for placeholders */
}

/* ----------------------------------------
   12. 3D CANVAS STYLES
   ---------------------------------------- */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, 
    #050510 0%,
    #0a1628 30%,
    #0f1f3d 60%,
    #0a1225 100%);
}

.canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* No overlay - 3D canvas shows through fully */

.canvas-fallback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.canvas-fallback::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(15, 23, 42, 0.7) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
}

/* ============================================
   iOS-STYLE GLASSMORPHISM FOR ALL SECTIONS
   3D shows through entire page
   ============================================ */
.section--light,
.section--light-alt {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 2;
}

/* Global light text for dark 3D background */
.section--light h1, .section--light h2, .section--light h3, .section--light h4,
.section--light-alt h1, .section--light-alt h2, .section--light-alt h3, .section--light-alt h4 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section--light p, .section--light li, .section--light span,
.section--light-alt p, .section--light-alt li, .section--light-alt span {
  color: rgba(255, 255, 255, 0.85);
}

.section--light a:not(.btn), .section--light-alt a:not(.btn) {
  color: var(--color-cyan-400);
}

.section--light strong, .section--light-alt strong {
  color: #ffffff;
}

/* Footer styles moved to top glass system */

/* Loading state */
.scene-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: var(--z-modal);
  text-align: center;
}

.scene-loading__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-slate-200);
  border-top-color: var(--color-primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------
   13. ANIMATION UTILITIES
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp var(--duration-slow) var(--ease-out) forwards;
}

.fade-in--delay-1 { animation-delay: 100ms; }
.fade-in--delay-2 { animation-delay: 200ms; }
.fade-in--delay-3 { animation-delay: 300ms; }
.fade-in--delay-4 { animation-delay: 400ms; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ----------------------------------------
   14. UTILITY CLASSES
   ---------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.pt-4 { padding-top: var(--space-4); }
.pt-8 { padding-top: var(--space-8); }
.pb-4 { padding-bottom: var(--space-4); }
.pb-8 { padding-bottom: var(--space-8); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.overflow-hidden { overflow: hidden; }

.rounded { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* ----------------------------------------
   15. STATS/METRICS STYLES
   ---------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ----------------------------------------
   16. TESTIMONIAL STYLES
   ---------------------------------------- */
.testimonial {
  background: rgba(15, 23, 42, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .testimonial {
  background: var(--color-slate-800);
  border-color: var(--color-slate-700);
}

.testimonial__quote {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.dark-theme .testimonial__quote {
  color: var(--color-slate-300);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial__name {
  font-weight: var(--font-semibold);
  color: #ffffff;
}

.dark-theme .testimonial__name {
  color: var(--color-slate-100);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------
   17. BADGE STYLES
   ---------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  border-radius: var(--radius-full);
}

.badge--primary {
  background: rgba(6, 182, 212, 0.2);
  color: var(--color-cyan-400);
}

.badge--success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

.badge--accent {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

/* ----------------------------------------
   18. FEATURE LIST STYLES
   ---------------------------------------- */
.feature-list {
  list-style: none;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.2);
  color: var(--color-cyan-400);
  border-radius: var(--radius-full);
}

.feature-list__icon svg {
  width: 14px;
  height: 14px;
}

/* ----------------------------------------
   19. CTA SECTION
   ---------------------------------------- */
.cta {
  padding: var(--space-16) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  animation: ctaGlow 8s ease-in-out infinite;
  pointer-events: none;
  overflow: hidden;
}

@keyframes ctaGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10%, 10%); }
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.cta .btn {
  background: white;
  color: var(--color-primary-700);
}

.cta .btn:hover {
  background: var(--color-slate-100);
  transform: translateY(-2px);
}

/* ----------------------------------------
   20. PAGE HERO VARIANT
   ---------------------------------------- */
.hero--page {
  min-height: 60vh;
  padding-top: var(--space-40);
  padding-bottom: var(--space-20);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__content--center {
  margin: 0 auto;
  text-align: center;
}

/* ----------------------------------------
   21. PROCESS/TIMELINE STYLES
   ---------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

@media (max-width: 1024px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process__step {
  position: relative;
  text-align: center;
}

.process__number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: white;
}

.process__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
  color: #ffffff;
}

.process__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* ----------------------------------------
   22. ICON STYLES
   ---------------------------------------- */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon--sm { width: 16px; height: 16px; }
.icon--md { width: 24px; height: 24px; }
.icon--lg { width: 32px; height: 32px; }
.icon--xl { width: 48px; height: 48px; }

/* ----------------------------------------
   23. SCROLL INDICATOR
   ---------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-slate-400);
  font-size: var(--text-sm);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-indicator__mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--color-slate-400);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-indicator__wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-primary-500);
  border-radius: var(--radius-full);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* Reduced motion: disable scroll animation */
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator,
  .scroll-indicator__wheel {
    animation: none;
  }
}

/* ----------------------------------------
   19. SERVICES HUB PAGE STYLES
   ---------------------------------------- */
.section--services-hub {
  min-height: 60vh;
  padding-bottom: var(--space-8);
}

.section--services-grid {
  background: transparent;
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.services-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .services-hub {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-hub {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  display: block;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-slate-200);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.service-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card__bg {
  height: 100%;
  opacity: 0.05;
}

/* Service card color themes */
.service-card--cloud .service-card__bg { background: linear-gradient(135deg, #4169e1, #1ab4c7); }
.service-card--devops .service-card__bg { background: linear-gradient(135deg, #0d9668, #1ab4c7); }
.service-card--security .service-card__bg { background: linear-gradient(135deg, #dc2626, #d97706); }
.service-card--ai .service-card__bg { background: linear-gradient(135deg, #8b73e6, #4169e1); }
.service-card--managed .service-card__bg { background: linear-gradient(135deg, #4169e1, #8b73e6); }
.service-card--seo .service-card__bg { background: linear-gradient(135deg, #0d9668, #4169e1); }
.service-card--mcp .service-card__bg { background: linear-gradient(135deg, #8b73e6, #1ab4c7); }
.service-card--fintech .service-card__bg { background: linear-gradient(135deg, #0d9668, #d97706); }
.service-card--saas .service-card__bg { background: linear-gradient(135deg, #4169e1, #0d9668); }

.service-card--cloud .service-card__icon { background: linear-gradient(135deg, #4169e1, #1ab4c7); }
.service-card--devops .service-card__icon { background: linear-gradient(135deg, #0d9668, #1ab4c7); }
.service-card--security .service-card__icon { background: linear-gradient(135deg, #dc2626, #d97706); }
.service-card--ai .service-card__icon { background: linear-gradient(135deg, #8b73e6, #4169e1); }
.service-card--managed .service-card__icon { background: linear-gradient(135deg, #4169e1, #8b73e6); }
.service-card--seo .service-card__icon { background: linear-gradient(135deg, #0d9668, #4169e1); }
.service-card--mcp .service-card__icon { background: linear-gradient(135deg, #8b73e6, #1ab4c7); }
.service-card--fintech .service-card__icon { background: linear-gradient(135deg, #0d9668, #d97706); }
.service-card--saas .service-card__icon { background: linear-gradient(135deg, #4169e1, #0d9668); }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2);
  color: #ffffff;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.service-card__features li {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-cyan-400);
  transition: color var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card__cta {
  color: var(--color-cyan-300);
}

/* Advantage Cards */
.advantage-card {
  text-align: center;
  padding: var(--space-6);
}

.advantage-card__number {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
}

.advantage-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.advantage-card p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
}

/* CTA Gradient Variant */
.cta--gradient {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-16);
}

.cta--gradient h2,
.cta--gradient p {
  color: white;
}

.btn--white {
  background: white;
  color: #1e3a5f;
}

.btn--white:hover {
  background: var(--color-slate-100);
  transform: translateY(-2px);
}

/* ----------------------------------------
   20. PAGE-SPECIFIC 3D HERO - ALL TRANSPARENT
   ---------------------------------------- */

/* All pages use transparent hero to show 3D canvas */
[data-scene] .section--3d-hero {
  background: transparent !important;
}

/* ----------------------------------------
   21. SCROLL-INTERACTIVE 3D CANVAS
   ---------------------------------------- */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Content sections need higher z-index to appear above canvas */
.section {
  position: relative;
  z-index: 1;
}

.section--3d-hero {
  z-index: 1;
}

/* All sections use glass effect - 3D shows through */
.section--glass,
.section--light,
.section--light-alt {
  background: rgba(255, 255, 255, 0.03) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 2;
}

/* ----------------------------------------
   22. UNIQUE PAGE LAYOUTS
   ---------------------------------------- */

/* Feature List with icons */
.feature-list {
  list-style: none;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-success);
  color: white;
  border-radius: var(--radius-full);
}

.feature-list__icon svg {
  width: 14px;
  height: 14px;
}

/* Process Steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process__step {
  text-align: center;
}

.process__number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  background: var(--gradient-primary);
  color: white;
  font-weight: var(--font-bold);
  border-radius: var(--radius-full);
}

.process__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.process__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* Testimonials */
.testimonial {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial__quote {
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-bold);
}

.testimonial__name {
  font-weight: var(--font-semibold);
  color: #ffffff;
}

.testimonial__role {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* Badge Variants */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.badge--primary {
  background: rgba(6, 182, 212, 0.2);
  color: var(--color-cyan-400);
}

.badge--success {
  background: rgba(13, 150, 104, 0.1);
  color: var(--color-success);
}

.badge--accent {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

/* Hero page variant */
.hero--page {
  min-height: 50vh;
  padding-top: var(--space-32);
  padding-bottom: var(--space-16);
}

/* ----------------------------------------
   CASE STUDY CARDS
   ---------------------------------------- */
.case-study-card {
  background: rgba(15, 23, 42, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.case-study-card__header {
  margin-bottom: var(--space-6);
}

.case-study-card__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: #ffffff;
  margin: var(--space-4) 0 var(--space-2);
}

.case-study-card__subtitle {
  font-size: var(--text-lg);
  color: var(--color-primary-400);
  margin-bottom: var(--space-4);
}

.case-study-card__description {
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.case-study-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.case-study-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
}

.case-study-card__stat {
  text-align: center;
}

.case-study-card__stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-primary-400);
  display: block;
}

.case-study-card__stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-1);
}

.case-study-card__actions {
  display: flex;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-4);
}

/* CTA Card variant */
.case-study-card--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 400px;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.2), rgba(139, 115, 230, 0.2));
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.case-study-card--cta:hover {
  border-color: var(--color-primary-500);
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.3), rgba(139, 115, 230, 0.3));
}

.case-study-card__emoji {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
}

/* Testimonial avatar utility */
.avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-bold);
  flex-shrink: 0;
}

/* ============================================
   MOBILE RESPONSIVE DESIGN SYSTEM
   Comprehensive mobile-first improvements
   ============================================ */

/* ----------------------------------------
   GLOBAL OVERFLOW FIX
   Prevents horizontal scrolling on all pages
   ---------------------------------------- */
html, body {
  overflow-x: clip !important;
  max-width: 100% !important;
}

/* ----------------------------------------
   MOBILE BREAKPOINTS:
   - xs: 0-479px (small phones)
   - sm: 480-639px (large phones)
   - md: 640-767px (small tablets)
   - lg: 768-1023px (tablets)
   - xl: 1024px+ (desktop)
   ---------------------------------------- */

/* === TABLET BREAKPOINT (max-width: 768px) === */
@media (max-width: 768px) {
  /* Container - reduce padding */
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* Sections - reduce vertical padding */
  .section {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  /* Hero - better mobile sizing */
  .section--hero,
  .section--3d-hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px); /* Dynamic viewport height for mobile browsers */
    padding-top: var(--space-24);
    padding-bottom: var(--space-12);
  }

  .hero__content {
    padding: var(--space-6);
  }

  /* Typography scaling */
  h1, .h1 { font-size: var(--text-3xl); }
  h2, .h2 { font-size: var(--text-2xl); }
  h3, .h3 { font-size: var(--text-xl); }
  h4, .h4 { font-size: var(--text-lg); }

  .lead {
    font-size: var(--text-lg);
  }

  /* Section header */
  .section__header {
    padding: var(--space-4);
    margin-bottom: var(--space-10);
  }

  /* Cards - reduce padding */
  .card,
  .service-card,
  .testimonial,
  .feature-card,
  .advantage-card,
  .process__step,
  .pricing-card,
  .team-card,
  .case-study-card,
  .contact-card,
  .info-card {
    padding: var(--space-5) !important;
  }

  /* Stats grid - 2 columns on tablet */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .stat__value {
    font-size: var(--text-4xl);
  }

  /* Case study card stats */
  .case-study-card__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    padding: var(--space-4);
  }

  .case-study-card__stat-value {
    font-size: var(--text-xl);
  }

  /* Buttons - larger touch targets */
  .btn {
    min-height: 44px;
    padding: var(--space-3) var(--space-5);
  }

  .btn--lg {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
  }

  .btn--sm {
    min-height: 40px;
    padding: var(--space-2) var(--space-4);
  }

  /* Button groups - wrap on mobile */
  .flex.gap-4 {
    flex-wrap: wrap;
  }

  /* Process steps */
  .process {
    gap: var(--space-6);
  }

  .process__number {
    width: 48px;
    height: 48px;
    font-size: var(--text-xl);
  }

  /* Card icon */
  .card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-4);
  }

  .card__icon svg {
    width: 28px;
    height: 28px;
  }

  /* Footer grid */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Navigation logo */
  .nav__logo img {
    height: 36px;
  }

  /* CTA section */
  .cta {
    padding: var(--space-10) var(--space-6);
  }

  .cta--gradient {
    padding: var(--space-10);
  }

  /* Form inputs - larger touch targets */
  .form__input,
  .form__textarea,
  .form__select {
    min-height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }

  /* Contact info items */
  .contact-info-item {
    padding: var(--space-3);
  }

  .contact-info-item__icon {
    width: 44px;
    height: 44px;
  }

  /* Services hub grid */
  .services-hub {
    gap: var(--space-4);
  }

  .service-card {
    padding: var(--space-6);
  }

  /* Scroll indicator - hide on smaller screens */
  .scroll-indicator {
    display: none;
  }

  /* Advantage cards */
  .advantage-card {
    padding: var(--space-4);
  }

  .advantage-card__number {
    font-size: var(--text-3xl);
  }

  /* Testimonials */
  .testimonial__quote {
    font-size: var(--text-base);
  }

  .testimonial__avatar,
  .avatar {
    width: 48px;
    height: 48px;
  }
}

/* === SMALL TABLETS & LARGE PHONES (max-width: 640px) === */
@media (max-width: 640px) {
  /* Container - even less padding */
  .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  /* Typography - smaller */
  h1, .h1 { font-size: var(--text-2xl); }
  h2, .h2 { font-size: var(--text-xl); }
  h3, .h3 { font-size: var(--text-lg); }

  .lead {
    font-size: var(--text-base);
  }

  /* Sections */
  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .section__header {
    margin-bottom: var(--space-8);
  }

  /* Hero adjustments */
  .section--hero,
  .section--3d-hero {
    padding-top: var(--space-20);
    padding-bottom: var(--space-8);
  }

  .hero__content {
    padding: var(--space-4);
  }

  /* Cards - further reduce padding */
  .card,
  .service-card,
  .testimonial,
  .feature-card,
  .advantage-card,
  .process__step,
  .pricing-card,
  .team-card,
  .case-study-card,
  .contact-card,
  .info-card {
    padding: var(--space-4) !important;
  }

  /* Grid utilities - force single column */
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  /* Stats - single column on small screens */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .stat__value {
    font-size: var(--text-3xl);
  }

  .stat__label {
    font-size: var(--text-xs);
  }

  /* Case study stats - stack on mobile */
  .case-study-card__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .case-study-card__stat-value {
    font-size: var(--text-lg);
  }

  .case-study-card__stat-label {
    font-size: 0.65rem;
  }

  /* Case study card actions */
  .case-study-card__actions {
    flex-direction: column;
    gap: var(--space-2);
  }

  .case-study-card__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer - single column */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }

  .footer__column {
    text-align: center;
  }

  .footer__column h4 {
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__links a::before {
    display: none;
  }

  .footer__links a:hover {
    padding-left: 0;
  }

  /* Full width buttons on mobile */
  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  /* Button groups - stack vertically */
  .flex.gap-4 {
    flex-direction: column;
    width: 100%;
  }

  .flex.gap-4 > .btn {
    width: 100%;
    justify-content: center;
  }

  /* Process steps - single column */
  .process {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* CTA */
  .cta {
    padding: var(--space-8) var(--space-4);
  }

  .cta--gradient {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
  }

  /* Services hub */
  .services-hub {
    grid-template-columns: 1fr;
  }

  /* Card icon smaller */
  .card__icon {
    width: 48px;
    height: 48px;
  }

  .card__icon svg {
    width: 24px;
    height: 24px;
  }

  /* Service card icon */
  .service-card__icon {
    width: 48px;
    height: 48px;
  }

  .service-card__icon svg {
    width: 24px;
    height: 24px;
  }

  /* Badge */
  .badge {
    font-size: 0.65rem;
    padding: var(--space-1) var(--space-2);
  }

  /* Tags wrap */
  .case-study-card__tags {
    gap: var(--space-1);
  }

  /* Feature list */
  .feature-list__item {
    gap: var(--space-2);
  }

  .feature-list__icon {
    width: 20px;
    height: 20px;
  }

  .feature-list__icon svg {
    width: 12px;
    height: 12px;
  }

  /* Navigation mobile */
  .nav__links {
    width: 100%;
    max-width: 100%;
    padding: var(--space-16) var(--space-4);
  }

  .nav__link {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-lg);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav__dropdown-item {
    padding: var(--space-3) var(--space-6);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Logo smaller on mobile */
  .nav__logo img {
    height: 32px;
  }

  .footer__logo {
    height: 40px;
  }

  /* Contact card */
  .contact-card__title {
    font-size: var(--text-xl);
  }

  .contact-cta {
    padding: var(--space-4);
  }

  /* Testimonials */
  .testimonial {
    padding: var(--space-5);
  }

  .testimonial__author {
    gap: var(--space-3);
  }
}

/* === SMALL PHONES (max-width: 480px) === */
@media (max-width: 480px) {
  /* Even smaller container padding */
  .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  /* Typography - even smaller for tiny screens */
  h1, .h1 { 
    font-size: 1.75rem; /* ~28px */
    line-height: 1.2;
  }
  h2, .h2 { 
    font-size: 1.5rem; /* ~24px */
  }
  h3, .h3 { 
    font-size: 1.25rem; /* ~20px */
  }

  .lead {
    font-size: var(--text-sm);
  }

  /* Section label */
  .section__label {
    font-size: 0.7rem;
    padding: var(--space-1) var(--space-3);
  }

  /* Stats - 2x2 grid */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .stat__value {
    font-size: var(--text-2xl);
  }

  /* Hero adjustments */
  .section--3d-hero,
  .section--hero {
    padding-top: var(--space-16);
  }

  .hero__content {
    padding: var(--space-3);
  }

  /* Buttons */
  .btn {
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
  }

  .btn--lg {
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
  }

  /* Process number */
  .process__number {
    width: 40px;
    height: 40px;
    font-size: var(--text-lg);
  }

  .process__title {
    font-size: var(--text-base);
  }

  .process__desc {
    font-size: var(--text-xs);
  }

  /* Cards even smaller padding */
  .card,
  .service-card,
  .case-study-card,
  .contact-card {
    padding: var(--space-3) !important;
  }

  /* Card title */
  .card__title {
    font-size: var(--text-lg);
  }

  .card__text {
    font-size: var(--text-sm);
  }

  /* Card icon even smaller */
  .card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-3);
  }

  .card__icon svg {
    width: 20px;
    height: 20px;
  }

  /* CTA */
  .cta {
    padding: var(--space-6) var(--space-3);
  }

  .cta h2 {
    font-size: var(--text-xl);
  }

  .cta p {
    font-size: var(--text-sm);
  }

  /* Footer */
  .footer {
    padding: var(--space-8) 0 var(--space-4) !important;
  }

  .footer__tagline {
    font-size: var(--text-xs);
  }

  .footer__links a {
    font-size: var(--text-sm);
  }

  .footer__kvk {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  /* Case study card */
  .case-study-card__title {
    font-size: var(--text-xl);
  }

  .case-study-card__subtitle {
    font-size: var(--text-base);
  }

  .case-study-card__description {
    font-size: var(--text-sm);
  }

  .case-study-card--cta {
    min-height: 300px;
  }

  .case-study-card__emoji {
    font-size: var(--text-5xl);
  }

  /* Advantage cards */
  .advantage-card__number {
    font-size: var(--text-2xl);
  }

  .advantage-card h3 {
    font-size: var(--text-base);
  }

  .advantage-card p {
    font-size: var(--text-xs);
  }

  /* Service card */
  .service-card__title {
    font-size: var(--text-lg);
  }

  .service-card__desc {
    font-size: var(--text-xs);
  }

  .service-card__features li {
    font-size: 0.65rem;
    padding: 2px var(--space-1);
  }

  /* Testimonials */
  .testimonial__quote {
    font-size: var(--text-sm);
  }

  .testimonial__name {
    font-size: var(--text-sm);
  }

  .testimonial__role {
    font-size: var(--text-xs);
  }

  .testimonial__avatar,
  .avatar {
    width: 40px;
    height: 40px;
    font-size: var(--text-sm);
  }

  /* Form */
  .form__label {
    font-size: var(--text-xs);
  }

  .form__input,
  .form__textarea,
  .form__select {
    font-size: var(--text-sm);
  }

  /* Contact info */
  .contact-info-item__icon {
    width: 40px;
    height: 40px;
  }

  .contact-info-item__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-info-item__content strong {
    font-size: var(--text-sm);
  }

  .contact-info-item__content p {
    font-size: var(--text-xs);
  }

  /* Navigation */
  .nav {
    padding: var(--space-3) 0;
  }

  .nav__logo img {
    height: 28px;
  }

  .nav__toggle {
    padding: var(--space-2);
  }

  .nav__toggle span {
    width: 20px;
  }

  /* Mobile logo - show icon only */
  .nav__logo {
    display: flex;
    align-items: center;
  }

  .nav__logo img {
    content: url('../../favicon.svg');
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
}

/* === LANDSCAPE PHONES === */
@media (max-height: 500px) and (orientation: landscape) {
  .section--hero,
  .section--3d-hero {
    min-height: auto;
    padding-top: var(--space-16);
    padding-bottom: var(--space-8);
  }

  .scroll-indicator {
    display: none;
  }
}

/* === FRESH MOBILE NAVIGATION === */
/* Hide mobile menu elements on desktop */
.mobile-menu-btn,
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  /* Hide desktop nav on mobile */
  .desktop-nav {
    display: none !important;
  }

  /* Mobile menu button - sleek design */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mobile-menu-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
  }

  .mobile-menu-btn:active {
    transform: scale(0.95);
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile menu overlay - faster transitions */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu panel - faster slide */
  .mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
  }

  .mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
  }

  /* Mobile menu header */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-menu-logo {
    width: 48px;
    height: 48px;
  }

  .mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
  }

  .mobile-menu-close svg {
    stroke: #ffffff;
  }

  /* Mobile menu navigation */
  .mobile-menu-nav {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-menu-link {
    display: block;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateX(30px);
  }

  .mobile-menu-overlay.active .mobile-menu-link {
    animation: slideIn 0.3s ease forwards;
  }

  .mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(2) { animation-delay: 0.08s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { animation-delay: 0.11s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { animation-delay: 0.14s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(5) { animation-delay: 0.17s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(6) { animation-delay: 0.2s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(7) { animation-delay: 0.23s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(8) { animation-delay: 0.26s; }
  .mobile-menu-overlay.active .mobile-menu-link:nth-child(9) { animation-delay: 0.29s; }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .mobile-menu-link:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateX(-5px);
  }

  .mobile-menu-link.active {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: transparent;
  }

  .mobile-menu-link--cta {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: transparent;
    font-weight: 600;
    margin-top: 12px;
  }

  .mobile-menu-link--cta:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: translateX(-5px) scale(1.02);
  }

  /* Mobile dropdown */
  .nav__dropdown-menu {
    position: static;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav__dropdown:focus-within .nav__dropdown-menu,
  .nav__dropdown.active .nav__dropdown-menu {
    max-height: 500px;
    padding: var(--space-2) 0;
  }

  .nav__dropdown-item {
    padding: var(--space-3) var(--space-6);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Contact button in mobile nav */
  .nav__links .btn {
    margin-top: var(--space-4);
    width: 100%;
    justify-content: center;
  }
}

/* === SAFE AREA INSETS FOR NOTCHED DEVICES === */
@supports (padding: max(0px)) {
  .nav {
    padding-left: max(var(--space-4), env(safe-area-inset-left));
    padding-right: max(var(--space-4), env(safe-area-inset-right));
  }

  .footer {
    padding-bottom: max(var(--space-4), env(safe-area-inset-bottom));
  }

  @media (max-width: 768px) {
    .container {
      padding-left: max(var(--space-4), env(safe-area-inset-left));
      padding-right: max(var(--space-4), env(safe-area-inset-right));
    }
  }

  @media (max-width: 480px) {
    .container {
      padding-left: max(var(--space-3), env(safe-area-inset-left));
      padding-right: max(var(--space-3), env(safe-area-inset-right));
    }
  }
}

/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .card:hover,
  .service-card:hover,
  .case-study-card:hover {
    transform: none;
  }

  /* Better tap feedback */
  .btn:active {
    transform: scale(0.98);
  }

  .card:active,
  .service-card:active {
    transform: scale(0.99);
  }

  /* Larger touch targets */
  .footer__links a {
    padding: var(--space-2) 0;
    display: block;
  }

  .footer__social-link {
    width: 48px;
    height: 48px;
  }
}

/* === PRINT STYLES === */
@media print {
  .nav,
  .footer,
  .canvas-container,
  .scroll-indicator,
  .btn {
    display: none !important;
  }

  .section {
    padding: var(--space-4) 0;
  }

  body {
    background: white;
    color: black;
  }

  h1, h2, h3, h4, h5, h6 {
    color: black;
  }

  p {
    color: #333;
  }
}
