/* ==========================================================================
   AGÊNCIA KIOSKDIGITAL - DESIGN SYSTEM & STYLESHEET (2026)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR TOKENS & DESIGN VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette (Dark Theme Default) */
  --bg-dark: #090d16;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-header: rgba(9, 13, 22, 0.85);
  --bg-input: rgba(15, 23, 42, 0.9);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-heading: #ffffff;

  /* Accent Colors */
  --color-cyan: #00f2fe;
  --color-teal: #4facfe;
  --color-purple: #7f00ff;
  --color-purple-light: #e100ff;
  --color-orange: #ff7e5f;
  --color-green: #10b981;
  --color-blue: #1877f2;
  --color-whatsapp: #25d366;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-teal) 100%);
  --gradient-purple: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-light) 100%);
  --gradient-text: linear-gradient(135deg, #00f2fe 0%, #4facfe 40%, #e100ff 75%, #ff5ec7 100%);

  /* UI Tokens */
  --border-color: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 242, 254, 0.4);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.2);
  --shadow-card: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text-heading);
  color: var(--bg-dark);
  transform: translateY(-160%);
  transition: transform var(--transition-fast);
}

.skip-link:focus { transform: translateY(0); }

body.menu-open { overflow: hidden; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }

.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   3. MATRIX CODE RAIN & VIDEO OVERLAY EFFECTS
   -------------------------------------------------------------------------- */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--color-cyan);
  top: -100px;
  right: -100px;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: var(--color-purple);
  top: 40%;
  left: -200px;
}

.bg-glow-3 {
  width: 450px;
  height: 450px;
  background: var(--color-teal);
  bottom: 10%;
  right: -100px;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
  content-visibility: auto;
  contain-intrinsic-size: 100vw 100vh;
  background: var(--bg-dark);
}

.matrix-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.25) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
}

.matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.75;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 13, 22, 0.92) 0%, rgba(9, 13, 22, 0.45) 38%, rgba(9, 13, 22, 0.55) 62%, rgba(9, 13, 22, 0.96) 100%),
    radial-gradient(130% 130% at 50% 45%, rgba(9, 13, 22, 0) 30%, rgba(9, 13, 22, 0.55) 75%, rgba(9, 13, 22, 0.92) 100%);
}

/* Premium Digital Network Video Background */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.9;
  filter: contrast(1.25) saturate(1.35) brightness(0.9);
}

.hero-top-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.matrix-control-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono, monospace);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  color: #00ff66;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
}

.matrix-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 10px #00ff66;
  animation: matrixPulse 1.5s infinite;
}

@keyframes matrixPulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.matrix-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.matrix-toggle-btn:hover {
  color: #00ff66;
  background: rgba(0, 255, 102, 0.15);
}

.dash-terminal-box {
  background: rgba(4, 7, 13, 0.9);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  margin: 0.75rem 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  color: #00ff66;
  box-shadow: inset 0 0 15px rgba(0, 255, 102, 0.05);
}

.dash-terminal-box .prompt {
  color: var(--color-cyan);
  font-weight: bold;
}

.dash-terminal-box .command-type {
  color: #00ff66;
}

.dash-terminal-box .cursor-blink {
  animation: cursorBlink 0.8s infinite;
  color: #ffffff;
  font-weight: bold;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.text-matrix {
  color: #00ff66 !important;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}

.matrix-status-pulse {
  border-color: rgba(0, 255, 102, 0.4) !important;
  color: #00ff66 !important;
  background: rgba(0, 255, 102, 0.1) !important;
}

/* --------------------------------------------------------------------------
   4. UI COMPONENTS (Buttons, Badges, Cards)
   -------------------------------------------------------------------------- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
  animation: pulse-dot 2s infinite;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-bounce);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #090d16;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
  color: #090d16;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-glow { animation: button-glow-pulse 3s infinite alternate; }

@keyframes button-glow-pulse {
  0% { box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3); }
  100% { box-shadow: 0 4px 30px rgba(0, 242, 254, 0.7); }
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #090d16;
  font-size: 1.1rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.logo-text { color: var(--text-heading); }
.logo-text span { color: var(--color-cyan); }
.logo-dot { color: var(--color-purple-light) !important; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 1.75rem; }

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.highlight-link { color: var(--color-cyan); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  color: var(--color-cyan);
}

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }
[data-theme="light"] .sun-icon { display: block; color: var(--color-orange); }
[data-theme="light"] .moon-icon { display: none; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn.is-active .hamburger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-btn.is-active .hamburger-bar:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-active .hamburger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Cookie consent */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 2500;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  background: rgba(9, 13, 22, 0.97);
  color: #f8fafc;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] { display: none; }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cookie-content h2 { color: #fff; font-size: 1.1rem; margin-bottom: 0.35rem; }
.cookie-content p { color: #cbd5e1; font-size: 0.9rem; max-width: 760px; }
.cookie-content a { color: var(--color-cyan); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex: 0 0 auto; }

.btn-secondary {
  background: transparent;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover { border-color: var(--color-cyan); color: var(--color-cyan); }

.footer-link-button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

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

/* Legal pages */
.legal-page { min-height: 100vh; padding: 8rem 0 5rem; }
.legal-shell { max-width: 860px; }
.legal-kicker { color: var(--color-cyan); font-weight: 700; margin-bottom: 0.75rem; }
.legal-title { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 0.75rem; }
.legal-updated { color: var(--text-muted); margin-bottom: 3rem; }
.legal-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.legal-card h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--text-muted); }
.legal-card p + p { margin-top: 0.75rem; }
.legal-card ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.legal-card a { color: var(--color-cyan); text-decoration: underline; }
.legal-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; color: var(--color-cyan); }

/* --------------------------------------------------------------------------
   6. HERO SECTION & DYNAMIC 3D SCROLL PERSPECTIVE
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 160px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  line-height: 1.06;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-countries-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-heading);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 254, 0.15);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(-8deg) rotateY(12deg) scale(0.98);
  transition: transform 0.15s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-color);
  transform: translateZ(15px);
}

.card-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
}

.card-body {
  padding: 1.5rem;
  transform-style: preserve-3d;
}

.vector-dashboard-mockup {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform-style: preserve-3d;
}

.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateZ(25px);
}

.dash-avatar-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.dash-status {
  font-size: 0.75rem;
  color: var(--color-green);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.dash-grid-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  transform: translateZ(35px);
}

.dash-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.dash-stat small { display: block; font-size: 0.75rem; color: var(--text-muted); }
.dash-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--text-heading); }
.dash-stat .trend { font-size: 0.75rem; font-weight: 600; }

.vector-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  gap: 10px;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  transform: translateZ(45px);
}

.v-bar {
  flex: 1;
  height: var(--h);
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.v-bar.active {
  background: var(--gradient-primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.whatsapp-meeting-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-heading);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  transform: translateZ(30px);
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: float 4s ease-in-out infinite;
  z-index: 10;
  transform-style: preserve-3d;
}

.floating-badge i { font-size: 1.5rem; }
.floating-badge strong { display: block; font-size: 0.85rem; color: var(--text-heading); }
.floating-badge small { font-size: 0.75rem; color: var(--text-muted); }

.badge-top-right { top: -20px; right: -20px; animation-delay: 0s; transform: translateZ(70px); }
.badge-bottom-left { bottom: -20px; left: -20px; animation-delay: 2s; transform: translateZ(65px); }

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

/* --------------------------------------------------------------------------
   7. STATS & TECH MARQUEE BANNER
   -------------------------------------------------------------------------- */
.stats-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-heading);
}

.stat-plus { font-size: 2.5rem; font-weight: 700; color: var(--color-cyan); }
.stat-label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }

.tech-marquee {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
}
.tech-marquee::-webkit-scrollbar { display: none; }

.marquee-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-tags { display: flex; gap: 1rem; flex-wrap: nowrap; }

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-heading);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. GLOBAL PRESENCE & WHATSAPP SECTION (5 Countries)
   -------------------------------------------------------------------------- */
.global-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto 3rem auto;
  gap: 1.5rem;
}

.global-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: all var(--transition-fast);
}

.global-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
}

.country-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.country-flag { font-size: 1.8rem; }
.country-header h3 { font-size: 1.15rem; }
.global-card p { font-size: 0.85rem; color: var(--text-muted); }

.whatsapp-workflow-box {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.workflow-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.workflow-content { flex: 1; }
.workflow-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.workflow-content p { font-size: 0.95rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   9. SERVICES SECTION
   -------------------------------------------------------------------------- */
.section-header { max-width: 680px; margin: 0 auto 4rem auto; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.section-description { font-size: 1.1rem; color: var(--text-muted); }

/* Services parallax background (title zone only) */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-header-wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1rem 0 5rem;
}

.section-parallax-bg {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 180%;
  background-image: url('../assets/glowing-glass-line.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
  z-index: 0;
  opacity: 0.95;
  transform: translate3d(0, 0, 0);
}

.section-parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(9, 13, 22, 0.55) 30%, rgba(9, 13, 22, 0.35) 60%, rgba(9, 13, 22, 0.6) 85%, var(--bg-dark) 100%);
}

.services-header-wrap .section-header {
  position: relative;
  z-index: 2;
}

.services-header-wrap .section-title {
  text-shadow: 0 2px 18px rgba(9, 13, 22, 0.9), 0 0 40px rgba(9, 13, 22, 0.6);
}

.services-header-wrap .section-description {
  text-shadow: 0 1px 8px rgba(9, 13, 22, 0.85);
}

.services-header-wrap .badge {
  box-shadow: 0 2px 16px rgba(9, 13, 22, 0.55);
}

.services-section > .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section-parallax-bg { opacity: 0.75; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 242, 254, 0.15);
}

.service-card.featured {
  border-color: rgba(127, 0, 255, 0.5);
  background: linear-gradient(180deg, rgba(127, 0, 255, 0.15) 0%, var(--bg-card) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient-purple);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(127, 0, 255, 0.4);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.icon-cyan { background: rgba(0, 242, 254, 0.15); color: var(--color-cyan); }
.icon-purple { background: rgba(127, 0, 255, 0.15); color: var(--color-purple-light); }
.icon-teal { background: rgba(79, 172, 254, 0.15); color: var(--color-teal); }
.icon-orange { background: rgba(255, 126, 95, 0.15); color: var(--color-orange); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--color-blue); }
.icon-green { background: rgba(16, 185, 129, 0.15); color: var(--color-green); }

.service-title { font-size: 1.4rem; margin-bottom: 0.75rem; }
.service-text { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; flex: 1; }

.service-features { margin-bottom: 1.75rem; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-cyan);
}

.service-link:hover { gap: 0.8rem; }

.text-cyan { color: var(--color-cyan) !important; }
.text-purple { color: var(--color-purple-light) !important; }
.text-teal { color: var(--color-teal) !important; }
.text-orange { color: var(--color-orange) !important; }
.text-green { color: var(--color-green) !important; }
.text-blue { color: var(--color-blue) !important; }
.text-whatsapp { color: var(--color-whatsapp) !important; }
.text-success { color: var(--color-green) !important; }

/* --------------------------------------------------------------------------
   10. ADVANTAGES / COMPARISON SECTION
   -------------------------------------------------------------------------- */
.advantages-section { background: rgba(0, 0, 0, 0.2); }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.comparison-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
}

.comparison-card.disadvantage { border-top: 4px solid #ef4444; }
.comparison-card.advantage { border-top: 4px solid var(--color-green); box-shadow: 0 0 30px rgba(16, 185, 129, 0.1); }

.card-status-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.text-danger { color: #ef4444; }

.comparison-list { display: flex; flex-direction: column; gap: 1.5rem; }
.comparison-list li { display: flex; align-items: flex-start; gap: 1rem; }
.icon-bad { color: #ef4444; font-size: 1.2rem; margin-top: 0.2rem; }
.icon-good { color: var(--color-green); font-size: 1.2rem; margin-top: 0.2rem; }

.comparison-list strong { display: block; font-size: 1.05rem; color: var(--text-heading); }
.comparison-list p { font-size: 0.9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   11. INTERACTIVE QUOTE ESTIMATOR (SIMULATOR)
   -------------------------------------------------------------------------- */
.simulator-section { position: relative; }

.simulator-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.simulator-info .section-title { margin-bottom: 1rem; }

.simulator-guarantees {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.simulator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.sim-step { margin-bottom: 2rem; }

.sim-label {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.sim-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sim-option-card input { display: none; }

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.card-inner i { font-size: 1.5rem; color: var(--color-cyan); margin-bottom: 0.5rem; }
.card-inner span { font-weight: 700; font-size: 0.95rem; color: var(--text-heading); }
.card-inner small { font-size: 0.75rem; color: var(--text-muted); }

.sim-option-card input:checked + .card-inner {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.sim-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.checkbox-card input { margin-right: 0.5rem; accent-color: var(--color-cyan); }

.checkbox-card {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-heading);
  cursor: pointer;
}

.checkbox-card:hover { border-color: var(--border-glow); }

.sim-result-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.result-text { display: flex; align-items: center; justify-content: space-between; }
.result-text span { font-weight: 600; color: var(--text-muted); }

.price-display {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-cyan);
}

.price-display small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 400; }

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   12. CLEAN VECTOR PORTFOLIO SECTION
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-primary);
  color: #090d16;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.portfolio-vector-thumb {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.bg-gradient-purple { background: linear-gradient(135deg, rgba(127, 0, 255, 0.3) 0%, rgba(225, 0, 255, 0.1) 100%); }
.bg-gradient-cyan { background: linear-gradient(135deg, rgba(0, 242, 254, 0.3) 0%, rgba(79, 172, 254, 0.1) 100%); }
.bg-gradient-orange { background: linear-gradient(135deg, rgba(255, 126, 95, 0.3) 0%, rgba(254, 180, 123, 0.1) 100%); }
.bg-gradient-blue { background: linear-gradient(135deg, rgba(24, 119, 242, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%); }

.vector-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-heading);
}

.vector-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.portfolio-info { padding: 1.5rem; }
.portfolio-info h4 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.portfolio-info p { font-size: 0.9rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active { border-color: var(--color-cyan); }

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}

.faq-icon { color: var(--color-cyan); transition: transform var(--transition-normal); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.active .faq-body {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-body p { font-size: 0.95rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   14. CONTACT & FOOTER SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

.contact-lead-text { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.contact-methods { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-method-card.highlighted-whatsapp {
  border-color: rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, var(--bg-card) 100%);
}

.contact-method-card:hover { border-color: var(--border-glow); transform: translateX(6px); }

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.icon-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.icon-email { background: rgba(0, 242, 254, 0.15); color: var(--color-cyan); }
.icon-globe { background: rgba(127, 0, 255, 0.15); color: var(--color-purple-light); }

.method-details strong { display: block; font-size: 1rem; color: var(--text-heading); }
.method-details span { display: block; font-size: 0.9rem; color: var(--text-main); }
.method-details small { font-size: 0.75rem; color: var(--text-muted); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-title { font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-subtitle { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* Data Processing Consent Checkbox */
.form-consent-group {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}

.consent-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-cyan);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.consent-checkbox-label strong {
  color: var(--text-heading);
}

.consent-link {
  color: var(--color-cyan);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.consent-link:hover {
  color: var(--color-purple-light);
}

/* Simulation summary badge in contact form */
.sim-form-summary-badge {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
}

.sim-form-summary-badge i {
  font-size: 1.4rem;
}

.sim-form-summary-badge strong {
  display: block;
  color: var(--text-heading);
}

.sim-form-summary-badge small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Temporarily Hide Portfolio Section */
#portfolio,
.nav-link[href="#portfolio"] {
  display: none !important;
}

.site-footer {
  background: #05080e;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.25rem 0;
  max-width: 320px;
}

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-links a:hover {
  background: var(--gradient-primary);
  color: #090d16;
  border-color: transparent;
}

.footer-heading { font-size: 1.1rem; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--color-cyan); }

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.footer-bottom { border-top: 1px solid var(--border-color); padding: 1.5rem 0; }

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal { display: flex; gap: 1rem; }

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform var(--transition-fast);
}

.whatsapp-float:hover { transform: scale(1.1); }

.float-tooltip {
  position: absolute;
  right: 70px;
  background: #090d16;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  border: 1px solid var(--border-color);
}

.whatsapp-float:hover .float-tooltip { opacity: 1; }

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .global-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero-container,
  .simulator-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .global-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .brand-logo { font-size: 1.2rem; gap: 0.6rem; }
  .logo-icon { width: 36px; height: 36px; font-size: 1rem; }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .main-nav.mobile-active { clip-path: circle(140% at 100% 0); }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-title { font-size: 2.3rem; }

  /* Remove the 3D tilt from the hero glass card on small screens so it displays flat */
  .hero-glass-card { transform: none; }
  .hero-glass-card .card-header,
  .hero-glass-card .card-body,
  .hero-glass-card .vector-dashboard-mockup,
  .hero-glass-card .dash-top-bar,
  .hero-glass-card .dash-grid-stats,
  .hero-glass-card .vector-chart-bars,
  .hero-glass-card .whatsapp-meeting-bar { transform: none; }

  /* Keep the floating badges inside the hero card so they don't spill off-screen */
  .hero-visual { padding: 1.5rem 0.5rem; }
  .floating-badge { position: static; margin-top: 1rem; width: 100%; }
  .badge-top-right, .badge-bottom-left { animation: none; }

  .global-grid,
  .services-grid,
  .portfolio-grid,
  .comparison-grid,
  .sim-options-grid,
  .sim-checkbox-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .whatsapp-workflow-box {
    flex-direction: column;
    text-align: center;
  }

  .result-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-content { align-items: stretch; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Small phones (very narrow screens) */
@media (max-width: 480px) {
  /* Hide the "Pedir Orçamento" header CTA so logo, theme toggle and hamburger fit */
  .header-cta { display: none; }

  .header-container { height: 64px; }
  .brand-logo { font-size: 1.05rem; }
  .logo-icon { width: 32px; height: 32px; }

  .main-nav { top: 64px; padding: 1.5rem; }

  .hero-section { padding-top: 120px; padding-bottom: 60px; }
  .hero-title { font-size: 1.9rem; letter-spacing: -1px; }
  .hero-subtitle { font-size: 1rem; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-countries-pills { gap: 0.5rem; }
  .country-pill { font-size: 0.75rem; padding: 0.3rem 0.7rem; }

  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 1.8rem; }
  .section-description { font-size: 1rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2.2rem; }

  .simulator-box, .form-card { padding: 1.5rem; }
  .experience-badge,
  .comparison-card { padding: 1.75rem; }

  .footer-bottom-content { gap: 0.75rem; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.6rem; bottom: 20px; right: 20px; }

  .cookie-banner { inset: auto 0.5rem 0.5rem 0.5rem; padding: 1rem; }
  .cookie-actions { flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .parallax-layer { transform: none !important; }
}
