/* ============================================
   AlmiCode — Design System & Styles
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Palette */
  --bg-primary: #0a0b10;
  --bg-secondary: #0f1018;
  --bg-card: rgba(16, 18, 30, 0.65);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.06);

  --accent-cyan: #00e5ff;
  --accent-violet: #8b5cf6;
  --accent-pink: #d946ef;
  --accent-blue: #3b82f6;

  --text-primary: #eaedf3;
  --text-secondary: #8a8fa8;
  --text-muted: #4e5268;

  --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  --gradient-alt: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
  --gradient-hero: linear-gradient(180deg, rgba(10,11,16,0) 0%, var(--bg-primary) 100%);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-out-expo);
  --transition-base: 400ms var(--ease-out-expo);
  --transition-slow: 700ms var(--ease-out-expo);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Slim & Elegant Scrollbars (Horizontal & Vertical) */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 229, 255, 0.35) rgba(255, 255, 255, 0.02);
}

*::-webkit-scrollbar {
  width: 6px;
  height: 5px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 9999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.35), rgba(139, 92, 246, 0.35));
  border-radius: 9999px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  transition: all 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.75), rgba(139, 92, 246, 0.75));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  cursor: none;
}

/* ---------- Accessibility Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 100000;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
  transition: top 0.25s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 20px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-pink));
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-violet) var(--bg-primary);
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

::selection {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

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

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

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Noise Overlay ---------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-glass);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-fast);
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  color: var(--bg-primary) !important;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.25);
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(120px, 16vh, 165px);
  padding-bottom: clamp(60px, 8vh, 100px);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Animated orb decorations */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 8s ease-in-out infinite alternate;
  z-index: 0;
  will-change: transform;
}

.hero-orb--1 {
  width: 420px;
  height: 420px;
  background: var(--accent-cyan);
  top: -10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 350px;
  height: 350px;
  background: var(--accent-violet);
  bottom: 5%;
  left: 5%;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: var(--accent-pink);
  top: 40%;
  right: 30%;
  animation-delay: -5s;
  opacity: 0.2;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 229, 255, 0.08);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero floating stats */
.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
}

.hero-stats .stat {
  display: flex;
  flex-direction: column;
}

.hero-stats .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-stats .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: var(--space-md);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.service-card {
  position: relative;
  padding: clamp(26px, 2.5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all var(--transition-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  border-color: rgba(0, 229, 255, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 229, 255, 0.05);
}

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

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--space-md);
}

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

.service-icon--web {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
}

.service-icon--api {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-violet);
}

.service-icon--auto {
  background: rgba(217, 70, 239, 0.1);
  color: var(--accent-pink);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(0, 229, 255, 0.03));
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #38bdf8;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.service-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: badgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.service-badge--violet {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0.03));
  border-color: rgba(139, 92, 246, 0.32);
  color: #c084fc;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-badge--violet .service-badge-dot {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7;
}

.service-badge--pink {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.14), rgba(217, 70, 239, 0.03));
  border-color: rgba(217, 70, 239, 0.32);
  color: #f472b6;
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-badge--pink .service-badge-dot {
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-target-tag {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  padding: 9px 14px 11px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.service-target-tag .target-label {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-target-tag .target-label::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.service-target-tag .target-text {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.45;
  width: 100%;
  display: block;
}

/* Card Themes */
.service-target-tag--cyan {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-color: rgba(0, 229, 255, 0.18);
}
.service-target-tag--cyan .target-label {
  color: var(--accent-cyan);
}
.service-target-tag--cyan:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-target-tag--violet {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-color: rgba(139, 92, 246, 0.18);
}
.service-target-tag--violet .target-label {
  color: #c084fc;
}
.service-target-tag--violet:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-target-tag--pink {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border-color: rgba(217, 70, 239, 0.18);
}
.service-target-tag--pink .target-label {
  color: #f472b6;
}
.service-target-tag--pink:hover {
  border-color: rgba(217, 70, 239, 0.35);
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card .service-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.service-benefits {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.service-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.service-benefit-item .check-icon {
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.service-card-action:hover {
  background: var(--gradient-main);
  color: var(--bg-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.22);
}

/* ---------- Target Niches Showcase ---------- */
.niches-showcase {
  position: relative;
  padding: var(--space-2xl) 0;
  z-index: 2;
}

.niches-frame {
  position: relative;
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(16, 18, 30, 0.85) 0%, rgba(10, 11, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 229, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.niches-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
}

.niches-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.niches-header p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.niches-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.niche-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.niche-card:hover {
  background: rgba(0, 229, 255, 0.04);
  border-color: rgba(0, 229, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.niche-card-icon {
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.niche-card-content h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.niche-card-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Mid-Page CTA Banner ---------- */
.mid-cta-section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.mid-cta-card {
  position: relative;
  padding: 40px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(16, 18, 30, 0.95), rgba(15, 20, 38, 0.85));
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 229, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  overflow: hidden;
}

.mid-cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent-cyan);
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}

.mid-cta-text {
  max-width: 640px;
}

.mid-cta-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.mid-cta-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.mid-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #0a0b10 !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
  flex-shrink: 0;
}

.mid-cta-btn:hover {
  transform: translateY(-3px);
  background: #22c55e;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
  color: #0a0b10 !important;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  position: relative;
  background: var(--bg-secondary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: process-step;
}

.process-step {
  position: relative;
  padding: var(--space-xl);
  counter-increment: process-step;
}

.process-step::before {
  content: '0' counter(process-step);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-md);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Connector line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 52px;
  right: -10px;
  width: calc(var(--space-lg) + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent);
  opacity: 0.2;
}

/* ============================================
   TRUST / ABOUT SECTION
   ============================================ */
.trust {
  background: var(--bg-secondary);
}

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

.trust-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.trust-left p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  line-height: 1.75;
}

.trust-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.trust-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.trust-feature .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  margin-top: 2px;
}

.trust-feature span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.trust-feature-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-feature-text span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.trust-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Metric cards (replacing testimonials) */
.metric-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.metric-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon--violet {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-violet);
}

.metric-icon--pink {
  background: rgba(217, 70, 239, 0.1);
  color: var(--accent-pink);
}

.metric-info strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.metric-info span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: block;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  position: relative;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-glass);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-glass);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  text-align: left;
  color: var(--text-primary);
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: color var(--transition-fast);
  min-height: 48px;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
  padding: 0 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 0 var(--space-xl) 0;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  padding-right: var(--space-2xl);
}

/* ============================================
   SIMULADOR DE ESCOPO RÁPIDO (3 CLIQUES)
   ============================================ */
.simulator {
  position: relative;
  background: var(--bg-secondary);
}

.simulator-container {
  max-width: 820px;
  margin: 0 auto;
}

.simulator-box {
  position: relative;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 229, 255, 0.04);
  overflow: hidden;
}

.simulator-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  position: relative;
}

.progress-track {
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  z-index: 1;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  transition: width 0.35s ease;
}

.progress-step {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.progress-step.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.progress-step.completed {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
}

.step-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.step-content.active {
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-align: center;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: var(--space-lg);
}

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

.opt-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 16, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-align: left;
}

.opt-btn:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.opt-btn.selected {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.opt-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.simulator-result {
  text-align: center;
  padding: var(--space-md) 0 0;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.result-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.result-summary-card {
  margin: var(--space-lg) auto;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  max-width: 500px;
}

.result-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.result-item span {
  color: var(--accent-cyan);
  font-weight: 600;
}

.result-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.btn-restart {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 0.82rem;
  margin-top: var(--space-md);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  position: relative;
}

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

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item-text strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.contact-form-card {
  position: relative;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
  border-radius: 999px;
}

/* Form Groups & Fields */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.input-wrapper,
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper .input-icon,
.select-wrapper .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
  z-index: 2;
}

.input-wrapper--textarea .textarea-icon {
  top: 14px;
}

.input-wrapper input,
.select-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: var(--radius-md);
  background: rgba(14, 16, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 15px;
  transition: all var(--transition-fast);
  min-height: 46px;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
  color: rgba(138, 143, 168, 0.45);
}

/* Custom Select */
.select-wrapper select {
  padding-right: 38px;
  appearance: none;
  -webkit-appearance: none;
}

.select-wrapper select option {
  background: #10121c;
  color: var(--text-primary);
  padding: 10px;
}

.select-wrapper select option:disabled {
  color: var(--text-muted);
}

.select-chevron {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
}

/* Focus States */
.input-wrapper input:focus,
.select-wrapper select:focus,
.input-wrapper textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(16, 20, 36, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.input-wrapper:focus-within .input-icon,
.select-wrapper:focus-within .input-icon,
.select-wrapper:focus-within .select-chevron {
  color: var(--accent-cyan);
}

.input-wrapper textarea {
  min-height: 95px;
  resize: vertical;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-send-icon {
  transition: transform var(--transition-fast);
}

.btn-submit:hover .btn-send-icon {
  transform: translateX(3px) translateY(-1px);
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(10, 11, 16, 0.3);
  border-top-color: var(--bg-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .spinner {
  display: block;
}

/* Privacy Note */
.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.form-privacy svg {
  color: var(--accent-cyan);
  opacity: 0.7;
}

/* Form feedback */
.form-feedback {
  margin-top: var(--space-sm);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
}

.form-feedback.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(37, 211, 102, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow:
    0 6px 30px rgba(37, 211, 102, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.3);
  animation: none;
}

.whatsapp-float:active {
  transform: scale(0.95);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.55), 0 2px 8px rgba(0, 0, 0, 0.2); }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #1a1b24;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-glass);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #1a1b24;
  border-right: 1px solid var(--border-glass);
  border-top: 1px solid var(--border-glass);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================
   MODAL DE FERRAMENTAS (TOOLS MODAL)
   ============================================ */
.tools-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  visibility: hidden;
}

.tools-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.tools-modal-card {
  background: #0f111a;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  max-width: 660px;
  width: 100%;
  max-height: 88vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tools-modal-overlay.active .tools-modal-card {
  transform: scale(1) translateY(0);
}

.tools-modal-header {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 26, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  flex-shrink: 0;
}

.tools-modal-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  width: 100%;
}

.tools-modal-header-text .section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tools-modal-header-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.15rem 0 0.25rem;
  color: #eaedf3;
  line-height: 1.2;
}

.tools-modal-subtitle {
  font-size: 0.82rem;
  color: #9aa1b9;
  line-height: 1.4;
  margin: 0;
}

.tools-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9aa1b9;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tools-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #eaedf3;
  transform: rotate(90deg);
}

/* Modal Search Box */
.tools-search-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tools-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tools-search-icon {
  position: absolute;
  left: 0.85rem;
  color: #9aa1b9;
  pointer-events: none;
  transition: color 0.2s;
}

.tools-search-box input,
.tools-search-box input[type="text"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.65rem 2.4rem 0.65rem 2.6rem;
  color: #eaedf3;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}

.tools-search-box input:focus,
.tools-search-box input[type="text"]:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00e5ff;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18);
}

.tools-search-box input:focus ~ .tools-search-icon,
.tools-search-box input[type="text"]:focus ~ .tools-search-icon {
  color: #00e5ff;
}

.tools-search-clear {
  position: absolute;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #9aa1b9;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  transition: all 0.15s;
}

.tools-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.tools-search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: #5e6482;
  padding: 0 0.25rem;
}

/* Modal Scrollable Body */
.tools-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tools-modal-body::-webkit-scrollbar {
  width: 6px;
}

.tools-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.tools-modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.2);
  border-radius: 9999px;
}

.tools-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, 0.4);
}

/* Tool Cards inside Modal (Compact with Collapsible Details) */
.tool-modal-item {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem 1.15rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  color: inherit;
  display: block;
}

.tool-modal-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(135deg, #00e5ff, #8b5cf6);
  opacity: 0.75;
  transition: width 0.2s ease, opacity 0.2s ease;
}

.tool-modal-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.tool-modal-item:hover::before {
  opacity: 1;
  width: 5px;
}

/* Main visible row: Icon + Title + Actions */
.tool-modal-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.tool-modal-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.tool-modal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: #00e5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.tool-icon-profit {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.tool-icon-correios {
  background: rgba(255, 204, 0, 0.12);
  border-color: rgba(255, 204, 0, 0.3);
  color: #ffcc00;
}

.tool-modal-item-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #eaedf3;
  margin: 0;
  line-height: 1.3;
}

.tool-modal-item-title a {
  color: #eaedf3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tool-modal-item-title a:hover {
  color: #00e5ff;
}

.tool-modal-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Detalhes toggle button */
.btn-tool-details-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9aa1b9;
  padding: 0.38rem 0.72rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.btn-tool-details-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #eaedf3;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-tool-details-toggle.active {
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.35);
}

.btn-tool-details-toggle .chevron-icon {
  transition: transform 0.25s ease;
}

.btn-tool-details-toggle.active .chevron-icon {
  transform: rotate(180deg);
}

/* Direct Access Button */
.btn-tool-open-now {
  background: linear-gradient(135deg, #00e5ff, #8b5cf6);
  color: #07090e !important;
  border: none;
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2);
  white-space: nowrap;
}

.btn-tool-open-now:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 229, 255, 0.4);
}

/* Collapsible Details Drawer */
.tool-modal-details {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  animation: detailsSlideDown 0.22s ease;
}

@keyframes detailsSlideDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-modal-details-content p {
  color: #9aa1b9;
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 0.65rem 0;
}

.tool-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.tool-modal-tag {
  font-size: 0.73rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.18rem 0.52rem;
  border-radius: 6px;
  color: #9aa1b9;
}

/* Empty Search State */
.tool-modal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #9aa1b9;
  gap: 0.75rem;
}

.tool-modal-empty svg {
  color: #5e6482;
}

.tool-modal-empty h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #eaedf3;
  margin: 0;
}

.tool-modal-empty p {
  font-size: 0.85rem;
  max-width: 380px;
  margin: 0;
  line-height: 1.45;
}

.btn-clear-search-filter {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #00e5ff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.btn-clear-search-filter:hover {
  background: rgba(0, 229, 255, 0.2);
}

.tools-modal-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #5e6482;
  text-align: center;
  background: rgba(10, 11, 16, 0.4);
  flex-shrink: 0;
}

.tools-modal-footer a {
  color: #00e5ff;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 640px) {
  .tools-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .tools-modal-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 90vh;
    transform: translateY(100%);
  }

  .tools-modal-overlay.active .tools-modal-card {
    transform: translateY(0);
  }

  .tools-modal-header {
    padding: 1.15rem 1.15rem 0.85rem;
  }

  .tools-modal-body {
    padding: 1rem 1.15rem;
  }
}

@media (max-width: 520px) {
  .tool-modal-item {
    padding: 0.85rem 0.95rem;
  }
  
  .tool-modal-item-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .tool-modal-item-info {
    width: 100%;
  }

  .tool-modal-item-title {
    font-size: 0.96rem;
  }

  .tool-modal-item-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem;
  }
}

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

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

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

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

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

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

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
}

.footer-socials a:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
}

/* ============================================
   RESPONSIVE — NAV BREAKPOINT (max-width: 1140px)
   ============================================ */
@media (max-width: 1140px) {
  /* Nav Switch to Hamburger before breaking */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 11, 16, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
    gap: 0;
    border-bottom: 1px solid var(--border-glass);
    animation: slideDown 0.35s var(--ease-out-expo);
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links.active li {
    border-bottom: 1px solid var(--border-glass);
  }

  .nav-links.active li:last-child {
    border-bottom: none;
    padding-top: var(--space-md);
  }

  .nav-links.active a {
    display: flex;
    align-items: center;
    padding: var(--space-md) 0;
    font-size: 1rem;
    min-height: 48px;
  }

  .nav-links.active .nav-cta {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
  }
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .process-step:nth-child(2)::after {
    display: none;
  }

  .simulator-box {
    padding: 30px 28px;
  }

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

  .trust-content {
    gap: var(--space-2xl);
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 950px)
   ============================================ */
@media (max-width: 950px) {
  /* Spacing scale reduction for mobile */
  :root {
    --space-3xl: 3.5rem;
    --space-4xl: 4.5rem;
  }

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

  /* Hero */
  .hero {
    padding-top: clamp(105px, 14vh, 135px);
    min-height: auto;
    padding-bottom: var(--space-3xl);
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7.5vw, 2.6rem);
    line-height: 1.12;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 5px 12px;
    margin-bottom: var(--space-lg);
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-lg) var(--space-2xl);
    margin-top: var(--space-2xl);
  }

  .hero-stats .stat-number {
    font-size: 1.6rem;
  }

  .hero-stats .stat-label {
    font-size: 0.72rem;
  }

  /* Orbs smaller on mobile */
  .hero-orb--1 { width: 200px; height: 200px; }
  .hero-orb--2 { width: 160px; height: 160px; }
  .hero-orb--3 { width: 100px; height: 100px; }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .service-card {
    padding: var(--space-xl);
  }

  .service-card h3 {
    font-size: 1.15rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .process-step {
    padding: var(--space-lg);
  }

  .process-step::before {
    font-size: 2.5rem;
  }

  .process-step::after {
    display: none !important;
  }

  .process-step h3 {
    font-size: 1.05rem;
  }

  /* Trust */
  .trust-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .trust-left p {
    font-size: 0.95rem;
  }

  .metric-card {
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  /* FAQ */
  .faq-question {
    padding: var(--space-lg) 0;
    font-size: 0.95rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
    padding-right: 0;
  }

  /* Simulator */
  .simulator-box {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .simulator-progress {
    margin-bottom: var(--space-lg);
  }

  .progress-step {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .step-title {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .step-desc {
    font-size: 0.82rem;
    margin-bottom: var(--space-md);
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .opt-btn {
    padding: 13px 14px;
    min-height: 48px;
    font-size: 0.88rem;
  }

  .result-title {
    font-size: 1.25rem;
  }

  .result-summary-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    text-align: left;
  }

  .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
  }

  .result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .result-item strong {
    margin-bottom: 0;
  }

  .result-actions {
    flex-direction: column;
    gap: 10px;
  }

  .result-actions .btn-primary,
  .result-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Contact */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-info h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .contact-info p {
    font-size: 0.92rem;
    margin-bottom: var(--space-lg);
  }

  .contact-form-card {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 0.78rem;
    margin-bottom: 4px;
  }

  .input-wrapper input,
  .select-wrapper select,
  .input-wrapper textarea {
    min-height: 42px;
    padding: 9px 12px 9px 34px;
    font-size: 14px;
  }

  .input-wrapper .input-icon,
  .select-wrapper .input-icon {
    left: 11px;
    width: 14px;
    height: 14px;
  }

  .select-chevron {
    right: 12px;
    width: 14px;
    height: 14px;
  }

  .input-wrapper textarea {
    min-height: 75px;
  }

  .btn-submit {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .form-privacy {
    font-size: 0.7rem;
    margin-top: 8px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: var(--space-2xl);
  }

  .section-header h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* WhatsApp */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 400px)
   ============================================ */
@media (max-width: 400px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero-stats {
    gap: var(--space-md) var(--space-xl);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.45rem;
  }

  .contact-form-card {
    padding: var(--space-lg);
  }

  .simulator-box {
    padding: 20px 12px;
  }

  .progress-track {
    left: 20px;
    right: 20px;
  }
}

/* ============================================
   ACCESSIBILITY — FOCUS STYLES
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* ============================================
   WHATSAPP CTA BANNER (Contact section)
   ============================================ */
.whatsapp-cta {
  display: block;
  position: relative;
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.15);
  overflow: hidden;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.whatsapp-cta:hover {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.15);
}

.whatsapp-cta-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.08);
  filter: blur(40px);
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-cta:hover .whatsapp-cta-glow {
  opacity: 1.5;
}

.whatsapp-cta-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.whatsapp-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: whatsappCtaPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

.whatsapp-cta-text {
  flex: 1;
}

.whatsapp-cta-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #25d366;
  margin-bottom: 2px;
}

.whatsapp-cta-text span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.whatsapp-cta-arrow {
  color: #25d366;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.whatsapp-cta:hover .whatsapp-cta-arrow {
  transform: translateX(4px);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
  opacity: 0;
}

.cursor.visible {
  opacity: 1;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease, opacity 0.2s ease;
  opacity: 0;
}

.cursor-follower.visible {
  opacity: 1;
}

/* Cursor hover states */
.cursor.hovering {
  width: 14px;
  height: 14px;
  background: var(--accent-violet);
}

.cursor-follower.hovering {
  width: 50px;
  height: 50px;
  border-color: rgba(139, 92, 246, 0.3);
}

/* Re-enable default cursor for all interactive elements */
a, button, input, textarea, select, label, [role="button"] {
  cursor: none;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 768px) {
  /* Disable custom cursor on mobile/touch */
  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  a, button, input, textarea, select, label, [role="button"] {
    cursor: auto;
  }

  /* WhatsApp CTA responsive */
  .whatsapp-cta {
    padding: var(--space-md) var(--space-lg);
  }

  .whatsapp-cta-icon {
    width: 42px;
    height: 42px;
  }

  .whatsapp-cta-text strong {
    font-size: 0.92rem;
  }

  .whatsapp-cta-text span {
    font-size: 0.8rem;
  }

  .whatsapp-cta-arrow {
    display: none;
  }

  /* Mid-Page CTA Responsive */
  .mid-cta-card {
    padding: 30px 24px;
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .mid-cta-text h3 {
    font-size: 1.35rem;
  }

  .mid-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  /* Niches Showcase Responsive */
  .niches-frame {
    padding: 28px 20px;
  }

  .niches-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .niche-card {
    padding: 14px 16px;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  body {
    cursor: auto;
  }
}
