/* ==========================================================================
   FSTech Design System v2.0
   Aesthetic: Dark premium, glassmorphism, Surmount-inspired
   Stack: CSS Custom Properties + GSAP (animations in fstech-animations.js)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Background Scale */
  --bg-base: #050508;
  --bg-primary: #08080e;
  --bg-elevated: #0e0e16;
  --bg-surface: #14141e;
  --bg-hover: #1a1a28;

  /* Glass */
  --glass-subtle: rgba(255, 255, 255, 0.02);
  --glass-light: rgba(255, 255, 255, 0.05);
  --glass-medium: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(255, 255, 255, 0.14);

  /* Accent — FSTech Orange */
  --accent: #ff5b24;
  --accent-light: #ff8a5c;
  --accent-dark: #d94a1a;
  --accent-glow: rgba(255, 91, 36, 0.18);
  --accent-subtle: rgba(255, 91, 36, 0.06);

  /* Secondary — Cyan */
  --secondary: #22d3ee;
  --secondary-glow: rgba(34, 211, 238, 0.10);

  /* Text */
  --text-primary: #ededf0;
  --text-secondary: #8f8fa3;
  --text-tertiary: #55556a;
  --text-muted: #35354a;

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Fluid Type Scale */
  --text-xs: clamp(0.69rem, 0.1vw + 0.67rem, 0.75rem);
  --text-sm: clamp(0.8rem, 0.15vw + 0.77rem, 0.875rem);
  --text-base: clamp(0.88rem, 0.2vw + 0.84rem, 1rem);
  --text-lg: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);
  --text-xl: clamp(1.13rem, 0.4vw + 1.05rem, 1.25rem);
  --text-2xl: clamp(1.35rem, 0.7vw + 1.2rem, 1.5rem);
  --text-3xl: clamp(1.7rem, 1.2vw + 1.4rem, 2rem);
  --text-4xl: clamp(2.1rem, 2vw + 1.6rem, 2.75rem);
  --text-5xl: clamp(2.6rem, 3vw + 1.8rem, 3.75rem);
  --text-hero: clamp(3rem, 5vw + 1.5rem, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 720px;
  --nav-h: 72px;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 60px var(--accent-glow);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--glass-border-hover);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

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

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

body, .tech-dark-theme {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tech-text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.tech-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.tech-container.narrow {
  max-width: var(--max-w-narrow);
}

/* --------------------------------------------------------------------------
   5. NAVIGATION
   -------------------------------------------------------------------------- */
.tech-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
  height: var(--nav-h);
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-slow) var(--ease-out);
}

.tech-header.scrolled {
  background: rgba(5, 5, 8, 0.85);
  border-bottom-color: var(--glass-border);
}

.tech-header .logo {
  height: 36px;
  width: auto;
  filter: brightness(1.1);
  transition: transform var(--duration-normal) var(--ease-out);
}

.tech-header .logo:hover {
  transform: scale(1.05);
}

.tech-header nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-1);
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

/* Header CTA Button */
.tech-header .tech-button {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-6);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--duration-fast);
}

.mobile-menu-toggle:hover {
  border-color: var(--glass-border-hover);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-6);
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast);
}

.mobile-menu a:hover {
  color: var(--text-primary);
  background: var(--glass-light);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.tech-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--nav-h) + var(--space-16)) var(--space-6) var(--space-16);
  overflow: hidden;
  background: var(--bg-base);
}

/* Animated gradient orbs */
.hero-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-float 12s ease-in-out infinite alternate;
  filter: blur(80px);
}

.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-float 15s ease-in-out infinite alternate-reverse;
  filter: blur(80px);
}

@keyframes orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(5%, 8%) scale(1.05); }
  100% { transform: translate(-3%, -5%) scale(0.95); }
}

.tech-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 91, 36, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, transparent 0%, var(--bg-base) 100%);
  pointer-events: none;
}

/* Grid dot pattern */
.tech-dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--text-muted) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.tech-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.tech-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
}

.tech-hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto var(--space-10);
}

.tech-hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.tech-hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.tech-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bg-base);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-8);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.tech-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.tech-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 1px rgba(255, 91, 36, 0.3);
}

.tech-button:hover::before {
  opacity: 1;
}

.tech-button:active {
  transform: translateY(0);
}

.tech-button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-8);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--duration-normal) var(--ease-out);
}

.tech-button-outline:hover {
  background: var(--glass-medium);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.pulse-glow {
  animation: pulse-glow-anim 3s ease-in-out infinite;
}

@keyframes pulse-glow-anim {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50%      { box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(255, 91, 36, 0.08); }
}

/* --------------------------------------------------------------------------
   8. SECTIONS
   -------------------------------------------------------------------------- */
.tech-section {
  position: relative;
  padding: var(--space-24) var(--space-6);
}

.tech-section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  text-align: center;
  margin-bottom: var(--space-16);
  letter-spacing: -0.02em;
}

/* Dark section variant */
.tech-dark-section {
  position: relative;
  padding: var(--space-24) var(--space-6);
  background: var(--bg-elevated);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

/* Grid background for dark sections */
.tech-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--glass-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}

.tech-dark-section .tech-container {
  position: relative;
  z-index: 2;
}

.tech-title-gradient {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  text-align: center;
  margin-bottom: var(--space-8);
  letter-spacing: -0.02em;
}

.tech-text-lg {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-10);
  text-align: center;
}

.tech-text-md {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   9. SERVICE CARDS (Glass)
   -------------------------------------------------------------------------- */
.tech-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech-card {
  position: relative;
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 91, 36, 0.03) 0%,
    transparent 50%,
    rgba(34, 211, 238, 0.02) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-slow);
  pointer-events: none;
}

.tech-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-image {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity var(--duration-normal), transform var(--duration-slow) var(--ease-out);
}

.tech-card:hover .service-image img {
  opacity: 1;
  transform: scale(1.05);
}

.service-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.service-content p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: var(--space-4);
  transition: gap var(--duration-normal) var(--ease-out);
}

.service-link::after {
  content: '\2192';
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-link:hover {
  gap: var(--space-3);
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* Tags */
.tech-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-3) !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--glass-border);
}

/* Check lists */
.tech-list-check li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--text-secondary) !important;
  font-size: var(--text-sm) !important;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.tech-footer {
  position: relative;
  padding: var(--space-16) var(--space-6) var(--space-8);
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
}

.tech-footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-12);
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech-footer-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.tech-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tech-footer-link {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--duration-fast);
}

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

.tech-line {
  height: 1px;
  background: var(--glass-border);
  max-width: var(--max-w);
  margin: var(--space-12) auto var(--space-6);
}

.tech-copyright {
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech-copyright p {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   11. SCROLL REVEAL (initial states — GSAP animates these)
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-animate="fade-in"] {
  opacity: 0;
}

[data-animate="scale-in"] {
  opacity: 0;
  transform: scale(0.95);
}

[data-animate="slide-left"] {
  opacity: 0;
  transform: translateX(-40px);
}

[data-animate="slide-right"] {
  opacity: 0;
  transform: translateX(40px);
}

/* Floating animation for cards */
.floating {
  animation: float 6s ease-in-out infinite;
}

.floating:nth-child(2) { animation-delay: -1.5s; }
.floating:nth-child(3) { animation-delay: -3s; }
.floating:nth-child(4) { animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   12. UTILITIES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-secondary { color: var(--text-secondary); }
.font-mono { font-family: var(--font-mono); }
.font-display { font-family: var(--font-display); }

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .tech-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .tech-footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .tech-header {
    padding: 0 var(--space-4);
  }

  .tech-header nav {
    display: none;
  }

  .tech-header .tech-button {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .tech-hero {
    padding-top: calc(var(--nav-h) + var(--space-12));
    min-height: 90vh;
  }

  .tech-hero-content {
    text-align: center;
  }

  .tech-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tech-services-grid {
    grid-template-columns: 1fr;
  }

  .tech-section {
    padding: var(--space-16) var(--space-4);
  }

  .tech-dark-section {
    padding: var(--space-16) var(--space-4);
  }

  .tech-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .service-image img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .tech-footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .tech-hero-buttons .tech-button,
  .tech-hero-buttons .tech-button-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   14. CTA SECTION (shared across pages)
   ========================================================================== */
.tech-cta-section {
  position: relative;
  padding: var(--space-24) var(--space-6);
  background: var(--bg-elevated);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.tech-cta-content {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.tech-cta-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.tech-cta-text {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.tech-button-large {
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-10);
}

/* ==========================================================================
   15. METODOLOGIA PAGE
   ========================================================================== */

/* 3-column ontology grid */
.ontology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--max-w);
  margin: 0 auto;
}

.ontology-card {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration-slow) var(--ease-out);
}

.ontology-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.ontology-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-subtle);
  border: 1px solid rgba(255, 91, 36, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-size: 1.6rem;
  color: var(--accent);
  transition: all var(--duration-normal) var(--ease-out);
}

.ontology-card:hover .ontology-icon {
  background: rgba(255, 91, 36, 0.12);
  transform: scale(1.08);
}

.ontology-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.ontology-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.ontology-card .tech-line {
  margin: var(--space-6) auto;
  max-width: 60px;
}

.ontology-question {
  font-style: italic;
  color: var(--text-tertiary);
  font-size: var(--text-sm);
}

/* Comparison table */
.comparison-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.comparison-table thead th {
  background: var(--glass-medium);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--glass-border);
}

.comparison-table thead th:first-child {
  border-right: 1px solid var(--glass-border);
}

.comparison-table tbody td {
  padding: var(--space-4) var(--space-6);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-subtle);
  vertical-align: top;
}

.comparison-table tbody td:first-child {
  border-right: 1px solid var(--glass-border);
  color: var(--text-tertiary);
}

.comparison-table tbody td:last-child {
  color: var(--text-primary);
}

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

.comparison-table strong {
  color: var(--accent);
}

/* Process diagram */
.framework-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
}

.diagram-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  text-align: center;
  padding: var(--space-6);
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-slow) var(--ease-out);
}

.diagram-step:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-subtle);
  border: 1px solid rgba(255, 91, 36, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 1.2rem;
  color: var(--accent);
}

.diagram-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}

.diagram-step p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.diagram-arrow {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ==========================================================================
   16. SERVICOS PAGE
   ========================================================================== */

/* Service detail — alternating image + content */
.tech-service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto var(--space-12);
}

.tech-service-detail:nth-child(even) {
  direction: rtl;
}

.tech-service-detail:nth-child(even) > * {
  direction: ltr;
}

.tech-service-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.tech-service-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity var(--duration-normal), transform var(--duration-slow) var(--ease-out);
}

.tech-service-image img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.tech-service-content {
  display: flex;
  flex-direction: column;
}

.tech-service-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.tech-service-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.tech-service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.tech-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.tech-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent-subtle);
  border: 1px solid rgba(255, 91, 36, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.9rem;
}

.tech-feature-text {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Level badge (inline in servicos.html — replaced via class) */
.tech-level-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--secondary-glow);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-full);
  color: var(--secondary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

/* Automation grid */
.tech-automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--max-w);
  margin: var(--space-10) auto 0;
}

.automation-card {
  padding: var(--space-8);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.automation-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.automation-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.tech-automation-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  transition: all var(--duration-normal) var(--ease-out);
}

.text-gradient-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.automation-card:hover .tech-automation-icon {
  background: rgba(255, 91, 36, 0.12);
  transform: scale(1.08);
}

/* ==========================================================================
   17. CLIENTES PAGE
   ========================================================================== */

/* Logo carousel */
.tech-carousel-container {
  width: 100vw;
  margin: var(--space-12) 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: var(--glass-subtle);
  padding: var(--space-8) 0;
  position: relative;
}

.tech-carousel-container::before,
.tech-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

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

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

.tech-carousel-track {
  display: flex;
  animation: carousel-scroll 20s linear infinite;
  width: max-content;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-190px * 9)); }
}

.tech-logo {
  min-width: 190px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
  transition: transform var(--duration-normal) var(--ease-out);
  margin-right: calc(-1 * var(--space-2));
}

.tech-logo:hover {
  transform: scale(1.12);
}

.tech-logo img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  transition: filter var(--duration-normal);
}

.tech-logo:hover img {
  filter: brightness(1.2);
}

.tech-clients-intro {
  text-align: center;
  margin-bottom: var(--space-8);
}

.tech-clients-intro h3 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.tech-clients-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Case studies */
.tech-case-study {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  transition: all var(--duration-slow) var(--ease-out);
}

.tech-case-study:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-hover);
}

.tech-case-study-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-6);
}

.tech-case-study-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-light);
  margin-right: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-case-study-logo img {
  max-width: 70%;
  max-height: 70%;
}

.tech-case-study-title h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.tech-case-study-title p {
  color: var(--accent);
  font-size: var(--text-sm);
}

.tech-case-study-description {
  margin-bottom: var(--space-6);
}

.tech-case-study-description p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.65;
}

.tech-case-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

/* Result metrics */
.tech-case-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.tech-result-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--accent-subtle);
  border: 1px solid rgba(255, 91, 36, 0.12);
  border-radius: var(--radius-md);
}

.tech-result-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-result-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Testimonials */
.tech-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.tech-testimonial-card {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--duration-slow) var(--ease-out);
}

.tech-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--glass-border-hover);
}

.tech-testimonial-content {
  position: relative;
  margin-bottom: var(--space-6);
  padding: 0 var(--space-2);
}

.tech-testimonial-content::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: -2rem;
  left: -0.5rem;
  opacity: 0.2;
  font-family: var(--font-display);
}

.tech-testimonial-content p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
}

.tech-testimonial-author {
  display: flex;
  align-items: center;
}

.tech-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--space-4);
  border: 2px solid var(--accent);
}

.tech-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-author-info h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.tech-author-info p {
  font-size: var(--text-xs);
  color: var(--accent);
}

.tech-section-container {
  margin: var(--space-16) 0 var(--space-8);
  text-align: center;
}

/* ==========================================================================
   18. SOBRE PAGE
   ========================================================================== */

/* Mission layout */
.tech-mission {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto var(--space-10);
}

.tech-mission-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.tech-mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tech-mission-image:hover img {
  transform: scale(1.05);
}

.tech-mission-content {
  display: flex;
  flex-direction: column;
}

.tech-section-title-small {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

/* Values grid */
.tech-values {
  margin-bottom: var(--space-10);
}

.tech-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--max-w);
  margin: var(--space-10) auto 0;
}

.tech-value-card {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration-slow) var(--ease-out);
}

.tech-value-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.tech-value-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-subtle);
  border: 1px solid rgba(255, 91, 36, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent);
}

.tech-value-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.tech-value-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Result highlight box */
.tech-result-section {
  margin-bottom: var(--space-10);
}

.tech-result-box {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  max-width: var(--max-w);
  margin: var(--space-10) auto 0;
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.tech-result-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--accent-subtle);
  border: 1px solid rgba(255, 91, 36, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}

.tech-result-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

/* Team */
.tech-team {
  margin-bottom: var(--space-10);
}

.tech-team-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.tech-team-member {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration-slow) var(--ease-out);
}

.tech-team-member:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.tech-team-image {
  margin-bottom: var(--space-6);
}

.tech-profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 3px solid var(--glass-border);
}

.tech-team-info h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.tech-team-role {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.tech-team-bio {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.tech-team-social {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.tech-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.tech-social-link:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   19. CONTATO PAGE
   ========================================================================== */
.tech-contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech-contact-info h3,
.tech-contact-form h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.tech-contact-info p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.tech-contact-method {
  margin-bottom: var(--space-6);
}

.tech-contact-method h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.tech-contact-method p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}

.tech-contact-method a {
  color: var(--text-primary);
  transition: color var(--duration-fast);
}

.tech-contact-method a:hover {
  color: var(--accent);
}

/* Form styles */
.tech-contact-form {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.tech-form-group {
  margin-bottom: var(--space-4);
}

.tech-form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.tech-form-group input,
.tech-form-group select,
.tech-form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-base);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--duration-fast);
  outline: none;
}

.tech-form-group input:focus,
.tech-form-group select:focus,
.tech-form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.tech-form-group input::placeholder,
.tech-form-group textarea::placeholder {
  color: var(--text-muted);
}

.tech-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238f8fa3' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.tech-form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Scheduling */
.tech-scheduling {
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tech-scheduling h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.tech-scheduling p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.tech-cal-wrapper {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
}

/* ==========================================================================
   20. QUIZ PAGE
   ========================================================================== */
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.quiz-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.quiz-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.quiz-card {
  background: var(--glass-subtle);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quiz-start {
  text-align: center;
}

.quiz-start-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: var(--space-6);
}

.quiz-start h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.quiz-start p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

.quiz-benefits {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.quiz-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.quiz-benefit i {
  color: var(--accent);
}

/* Quiz progress */
.quiz-progress {
  margin-bottom: var(--space-6);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.progress-text {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.progress-count {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--accent);
}

.progress-bar {
  height: 4px;
  background: var(--glass-medium);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-out);
}

/* Quiz navigation */
.quiz-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-8);
}

.quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.quiz-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quiz-btn-back {
  background: var(--glass-light);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
}

.quiz-btn-back:hover:not(:disabled) {
  background: var(--glass-medium);
  color: var(--text-primary);
}

.quiz-btn-next {
  background: var(--accent);
  color: var(--bg-base);
}

.quiz-btn-next:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* Quiz results */
.quiz-results {
  display: none;
}

.result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  font-size: 2rem;
}

.result-icon.stage-caos {
  background: rgba(239, 68, 68, 0.12);
  color: var(--error);
}

.result-icon.stage-dashboards {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
}

.result-icon.stage-fragmentada {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.result-stage {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-4);
}

.result-stage.stage-caos {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.result-stage.stage-dashboards {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.result-stage.stage-fragmentada {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.result-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  text-align: center;
  margin-bottom: var(--space-4);
}

.result-description {
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

/* Score meter */
.score-meter {
  margin-bottom: var(--space-8);
}

.score-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--error), var(--warning), var(--success));
  border-radius: var(--radius-full);
  position: relative;
  margin-bottom: var(--space-2);
}

.score-marker {
  position: absolute;
  top: -6px;
  width: 20px;
  height: 20px;
  background: var(--text-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-base);
  box-shadow: var(--shadow-md);
  transition: left var(--duration-slow) var(--ease-out);
}

.score-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

/* Result details */
.result-details {
  background: var(--glass-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.result-details h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.result-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.result-details li {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  padding-left: var(--space-4);
  position: relative;
}

.result-details li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Result CTA */
.result-cta {
  text-align: center;
  padding: var(--space-8);
  background: var(--glass-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}

.result-cta h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.result-cta p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

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

.quiz-restart {
  text-align: center;
}

.quiz-restart button {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  cursor: pointer;
  padding: var(--space-2) var(--space-4);
  transition: color var(--duration-fast);
}

.quiz-restart button:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   21. PRIVACY PAGE
   ========================================================================== */
.tech-privacy-container {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.tech-privacy-date {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-10);
}

.tech-privacy-container h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.tech-privacy-container p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.tech-privacy-container ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
}

.tech-privacy-container li {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
}

.tech-privacy-container li::before {
  content: '\2022';
  position: absolute;
  left: var(--space-2);
  color: var(--accent);
}

.tech-privacy-container a {
  color: var(--accent);
  transition: color var(--duration-fast);
}

.tech-privacy-container a:hover {
  color: var(--accent-light);
}

/* ==========================================================================
   22. PAGE-SPECIFIC RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
  .ontology-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tech-automation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-values-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: var(--space-10) auto 0;
  }

  .tech-service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .tech-service-detail:nth-child(even) {
    direction: ltr;
  }

  .tech-contact-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .tech-mission {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .tech-mission-image {
    order: -1;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .framework-diagram {
    flex-direction: column;
    gap: var(--space-4);
  }

  .diagram-arrow {
    transform: rotate(90deg);
  }

  .diagram-step {
    max-width: 100%;
  }

  .tech-automation-grid {
    grid-template-columns: 1fr;
  }

  .tech-case-results {
    grid-template-columns: 1fr 1fr;
  }

  .tech-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .quiz-benefits {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .result-actions {
    flex-direction: column;
    align-items: center;
  }

  .tech-carousel-container {
    padding: var(--space-6) 0;
  }

  .tech-logo {
    min-width: 160px;
    height: 140px;
  }

  .tech-carousel-track {
    animation-duration: 15s;
  }

  .tech-result-box {
    flex-direction: column;
    text-align: center;
  }

  .tech-result-icon {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .tech-case-results {
    grid-template-columns: 1fr;
  }

  .tech-logo {
    min-width: 120px;
  }

  .tech-case-features {
    grid-template-columns: 1fr;
  }
}
