/* ============================================
   ZOKYO v2 DESIGN SYSTEM
   Matching zokyo.io Original Branding
   Dark Mode | Lime Accent #dbfa7d | Instrument Sans
   ============================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Fragment Mono for monospace */
@import url('https://fonts.googleapis.com/css2?family=Fragment+Mono&display=swap');

/* --- CSS VARIABLES --- */
:root {
  /* Colors - Zokyo Brand */
  --bg-primary: #05070b;
  --bg-secondary: #121417;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-accent: rgba(219, 250, 125, 0.1);

  --text-primary: #ffffff;
  --text-secondary: #d8dbdf;
  --text-tertiary: #a9adb2;
  --text-on-accent: #05070b;

  --accent-primary: #dbfa7d;
  --accent-primary-hover: #e5fb9a;
  --accent-bright: #b3ee00;
  --accent-warning: #f59e0b;
  --accent-danger: #ef4444;
  --accent-success: #10b981;

  --border-color: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-faint: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(219, 250, 125, 0.3);

  /* Severity Colors - Zokyo branded gradient (warm -> lime) */
  --severity-critical: #e55a5a;
  --severity-high: #d9923b;
  --severity-medium: #c8e600;
  --severity-low: #dbfa7d;
  --severity-info: #6b7280;

  /* Typography */
  --font-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fragment Mono', 'Courier New', monospace;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width: 1320px;
  --section-padding: 6rem;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(219, 250, 125, 0.1);
  --shadow-glow-strong: 0 0 30px rgba(219, 250, 125, 0.2);

  /* Border Radius - Zokyo uses generous radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 25px;
  --radius-full: 9999px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-primary-hover); }

img { max-width: 100%; height: auto; display: block; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: var(--text-6xl); margin-bottom: var(--space-6); }
h2 { font-size: var(--text-4xl); margin-bottom: var(--space-5); }
h3 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
h4 { font-size: var(--text-xl); margin-bottom: var(--space-3); }

p { margin-bottom: var(--space-4); color: var(--text-secondary); max-width: 70ch; }
.text-center p { margin-left: auto; margin-right: auto; }

.text-accent { color: var(--accent-primary); }
.text-secondary { color: var(--text-secondary); }

.mono { font-family: var(--font-mono); }
.label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  padding: var(--section-padding) 0;
  background: rgba(255, 255, 255, 0.02);
}

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(5, 7, 11, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-faint);
  z-index: 10001;
  transition: background var(--transition-base);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.logo span { color: var(--accent-primary); }
.logo img {
  height: 32px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--text-primary); }
.nav a.active::after {
  content: none;
  border-radius: 1px;
}
/* Services dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(15, 18, 25, 0.97);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(4px);
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
/* Invisible bridge to prevent hover gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  color: var(--accent-primary);
  background: rgba(255,255,255,0.04);
}

.nav-actions { display: flex; align-items: center; gap: var(--space-4); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  border-color: var(--accent-primary);
}
.btn-primary:hover {
  background: var(--accent-primary-hover);
  color: var(--text-on-accent);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-4);
}
.btn-ghost:hover { color: var(--accent-primary); }

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* --- CARDS --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--bg-card-hover);
}

.card-compact {
  padding: var(--space-6);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  color: var(--accent-primary);
  font-size: var(--text-xl);
}

/* --- HERO --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--section-padding));
  padding-bottom: var(--section-padding);
  overflow: hidden;
  background-color: #05070b;
}

/* Full-viewport hero - homepage only */
.hero--full {
  min-height: 85vh;
}

.hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1000px;
  background: radial-gradient(ellipse at center top, rgba(219, 250, 125, 0.06) 0%, rgba(219, 250, 125, 0.02) 35%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-gradient-bridge {
  position: relative;
  z-index: 1;
  height: 120px;
  margin-top: -10px;
  margin-bottom: -120px;
  background: linear-gradient(to bottom, #05080b, transparent);
  pointer-events: none;
}

.hero + .hero-gradient-bridge + .section-alt {
  padding-top: calc(var(--section-padding) + 150px);
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: block;
  opacity: 1;
  visibility: visible;
}

.hero-video-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 11, 0.4) 0%,
    rgba(5, 7, 11, 0.4) 50%,
    rgba(5, 7, 11, 0.85) 80%,
    #05070b 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-video-wrap video {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  visibility: visible;
}

.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 { max-width: 900px; }
.hero p { font-size: var(--text-lg); max-width: 600px; color: var(--text-secondary); }

/* Removed: prefers-reduced-motion was hiding the video */

/* --- TRUST BAR / LOGO MARQUEE --- */
.trust-bar {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
  overflow: hidden;
}

.marquee {
  display: flex;
  animation: marquee 40s linear infinite;
  gap: var(--space-12);
}

.marquee-item {
  flex-shrink: 0;
  opacity: 0.5;
  transition: all var(--transition-base);
  white-space: nowrap;
  padding: var(--space-3) var(--space-6);
}

.marquee-item img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.marquee-item:hover img {
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee:hover { animation-play-state: paused; }

/* --- STATS --- */
.stats-section {
  padding: var(--space-20) 0;
  background: var(--bg-primary);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(219, 250, 125, 0.15), transparent);
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(219, 250, 125, 0.15), transparent);
}

.stat {
  text-align: center;
  padding: var(--space-6);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- TESTIMONIALS --- */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent-primary);
  opacity: 0.3;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  padding-top: var(--space-6);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--text-sm);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* --- PROCESS / TIMELINE --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-4);
  border: 1px solid var(--border-accent);
}

.process-step h4 { font-size: var(--text-sm); margin-bottom: var(--space-2); }
.process-step p { font-size: var(--text-xs); color: var(--text-tertiary); margin: 0 auto; }

/* --- BADGE / TAG --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg-accent);
  color: var(--accent-primary);
  border: 1px solid var(--border-accent);
}

.badge-cert {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
  border-color: rgba(16, 185, 129, 0.3);
}

/* --- FORM --- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(219, 250, 125, 0.1);
}

.form-textarea { min-height: 120px; resize: vertical; }

/* --- FOOTER --- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-faint);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-4);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-faint);
}

.footer-bottom p { font-size: var(--text-xs); color: var(--text-tertiary); margin: 0; }

.social-links { display: flex; gap: var(--space-4); }
.social-links a {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.social-links a:hover { color: var(--accent-primary); }

/* --- UTILITIES --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.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-header { padding-top: var(--header-height); }

/* --- CTA SECTION --- */
.cta-section {
  padding: var(--space-24) 0;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(219, 250, 125, 0.03) 0%, transparent 100%);
  border-top: 2px solid rgba(219, 250, 125, 0.15);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(219, 250, 125, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: var(--space-4);
  font-size: var(--text-4xl);
}
.cta-section p { margin: 0 auto var(--space-8); }

/* --- 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; gap: var(--space-8); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  :root { --section-padding: 4rem; }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .container { padding: 0 var(--space-4); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4) var(--space-6);
    gap: 0;
    z-index: 10000;
  }
  .nav.active { display: flex; }
  .header.nav-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-primary);
  }
  .nav-dropdown-menu { display: none !important; }
  .nav a {
    font-size: var(--text-base);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-faint);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-toggle { display: block; }
  .nav-actions { display: none; }

  :root { --section-padding: 3rem; }

  .hero--full { min-height: 60vh; }
  .hero p { font-size: var(--text-base); }
  .hero .label { font-size: var(--text-xs) !important; }

  .stat-value { font-size: var(--text-4xl); }

  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }

  .mobile-cta { display: none; }
  .card { padding: var(--space-6); }
  .card-compact { padding: var(--space-4); }
  .testimonial { padding: var(--space-6); }
}

@media (max-width: 480px) {
  h1 { font-size: var(--text-2xl); }
  .hero--full { min-height: auto; }
  .stat-value { font-size: var(--text-3xl); }
  .btn-lg { padding: var(--space-3) var(--space-6); font-size: var(--text-sm); }
}

.mobile-cta { display: none !important; }

/* --- ANIMATIONS --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SKIP TO CONTENT --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--accent-primary);
  color: var(--text-on-accent);
  border-radius: var(--radius-md);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { top: var(--space-4); }

/* --- SERVICE SPECIFIC --- */
.service-list {
  list-style: none;
  margin-top: var(--space-4);
}

.service-list li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.service-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

/* --- FILTER BAR --- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background: var(--bg-accent);
}

/* --- BLOG CARDS --- */
article.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

article.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--bg-card-hover);
}

.blog-card-body {
  padding: var(--space-6);
}

.blog-card-meta {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.blog-card h3 a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}
.blog-card h3 a:hover { color: var(--accent-primary); }

/* --- POLICY PAGE --- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + var(--space-12));
}

.policy-content h1 { margin-bottom: var(--space-8); }
.policy-content h2 { margin-top: var(--space-12); font-size: var(--text-2xl); }
.policy-content h3 { margin-top: var(--space-8); font-size: var(--text-xl); }
.policy-content p, .policy-content li { color: var(--text-secondary); line-height: 1.8; }
.policy-content ul, .policy-content ol { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.policy-content li { margin-bottom: var(--space-2); }

/* --- TRUSTED BY GRID --- */
.trusted-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.trusted-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  min-height: 80px;
}

.trusted-item img {
  max-height: 40px;
  width: auto;
  max-width: 140px;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.trusted-item:hover img {
  opacity: 1;
}

.trusted-hidden {
  display: none;
}

.trusted-hidden.trusted-show {
  display: flex;
}

.trusted-show-more {
  background: none;
  border: none;
  color: var(--accent-primary);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  padding: var(--space-2) var(--space-4);
  transition: opacity var(--transition-fast);
}
.trusted-show-more:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .trusted-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (max-width: 480px) {
  .trusted-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .trusted-item { padding: var(--space-4) var(--space-2); min-height: 60px; }
  .trusted-item img { max-height: 30px; max-width: 100px; }
}

/* --- EXPERTISE SECTION (Networks & Languages) --- */
.expertise-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.expertise-icons img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.expertise-icons img:hover {
  opacity: 1;
}

/* --- NEWS SECTION --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.news-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--bg-card-hover);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-card-body {
  padding: var(--space-6);
}

.news-card-source {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

/* --- LIME ACCENT SECTION (like zokyo.io green panel) --- */
.section-accent {
  background: var(--accent-primary);
  color: var(--text-on-accent);
  padding: var(--section-padding) 0;
}

.section-accent h2,
.section-accent h3,
.section-accent p {
  color: var(--text-on-accent);
}

.section-accent .btn-primary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--bg-primary);
}

.section-accent .btn-primary:hover {
  background: var(--bg-secondary);
}
