@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Fira+Code:wght@400;500;700&display=swap');

/* ==========================================
   NEOTEK DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Neotek Branding Colors */
  --color-bg: #000000;
  --color-surface-dark: #04080e;
  --color-surface-card: rgba(8, 16, 26, 0.45);
  --color-surface-card-hover: rgba(13, 29, 46, 0.55);
  --color-surface-light: #ffffff;
  
  --color-cyan: #00ddff;
  --color-cyan-rgb: 0, 221, 255;
  --color-blue: #0066ff;
  --color-blue-rgb: 0, 102, 255;
  --color-accent-teal: #0a586c;
  --color-success: #00e676;
  --color-error: #ff1744;
  
  --color-text-primary: #f9fafb;
  --color-text-secondary: #9ca3af;
  --color-text-muted: #64748b;
  
  /* Borders and Relief */
  --border-thin: 1px solid rgba(255, 255, 255, 0.06);
  --border-cyan-glow: 1px solid rgba(0, 221, 255, 0.3);
  --border-blue-glow: 1px solid rgba(0, 102, 255, 0.3);
  --border-light: 1px solid rgba(0, 0, 0, 0.06);
  
  /* Shadows and High Relief */
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 221, 255, 0.15);
  --shadow-relief: 
    0 15px 35px -5px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================
   RESETS & GLOBAL STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--color-bg);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

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

button, input, select {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* ==========================================
   BACKGROUNDS & GLOWS (TECH AESTHETIC)
   ========================================== */
.tech-grid {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: plus-lighter;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

.glow-lime { 
  background: radial-gradient(circle, var(--color-cyan) 0%, transparent 70%);
  width: 500px;
  height: 500px;
}

.glow-emerald { 
  background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
  width: 450px;
  height: 450px;
}

.glow-blue {
  background: radial-gradient(circle, var(--color-blue) 0%, transparent 70%);
  width: 600px;
  height: 600px;
}

@keyframes pulse-glow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.12;
  }
  100% {
    transform: scale(1.15) translate(30px, -20px);
    opacity: 0.22;
  }
}

/* ==========================================
   GLASSMORPHISM & HIGH RELIEF
   ========================================== */
.glass-panel {
  background: var(--color-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-thin);
  border-radius: 24px;
  box-shadow: var(--shadow-relief);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.glass-panel:hover {
  background: var(--color-surface-card-hover);
  border-color: rgba(0, 221, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 221, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.glass-button {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--border-thin);
  border-radius: 9999px;
  padding: 12px 28px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 221, 255, 0.3);
  color: var(--color-cyan);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Neon Button (Neotek Cyan/Blue Style) */
.btn-neon {
  background: var(--color-cyan);
  color: #000000;
  font-weight: 600;
  border-radius: 9999px;
  padding: 12px 32px; /* Symmetric padding by default */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: var(--transition-smooth);
  box-shadow: 
    0 0 20px rgba(0, 221, 255, 0.25),
    0 4px 12px rgba(0, 221, 255, 0.15);
  cursor: pointer;
}

.btn-neon:has(.arrow-circle) {
  padding: 8px 8px 8px 28px; /* Asymmetric padding only when containing an arrow circle */
}

.btn-neon span.arrow-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000000;
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-neon:hover {
  background: var(--color-blue);
  color: #ffffff;
  box-shadow: 
    0 0 30px rgba(0, 102, 255, 0.4),
    0 8px 20px rgba(0, 102, 255, 0.25);
  transform: translateY(-2px);
}

.btn-neon:hover span.arrow-circle {
  transform: rotate(45deg) scale(1.05);
  background: #ffffff;
  color: var(--color-blue);
}

/* ==========================================
   LAYOUT & CONTAINER
   ========================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

/* Typography styles */
.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-secondary);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.6;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar {
  background: rgba(4, 8, 14, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 12px 24px 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 
    0 10px 40px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9) !important;
  border-color: rgba(0, 221, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

.logo img {
  display: block;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

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

.nav-cta {
  background: var(--color-cyan);
  color: #000000;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  box-shadow: 
    0 0 15px rgba(0, 221, 255, 0.2),
    0 4px 8px rgba(0, 221, 255, 0.1);
}

.nav-cta:hover {
  background: var(--color-blue);
  color: #ffffff;
  box-shadow: 
    0 0 20px rgba(0, 102, 255, 0.35),
    0 6px 15px rgba(0, 102, 255, 0.2);
  transform: translateY(-1px);
}

/* Burger Menu */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION (LEFT ALIGNED TEXT & FULL RIGHT ALIGN BANNER)
   ========================================== */
.hero {
  padding-top: 12rem;
  padding-bottom: 6rem;
  min-height: 95vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-cols: 1.15fr 0.85fr; /* Perfectly balanced side-by-side layout on desktop */
  gap: 3rem;
  align-items: flex-start; /* Aligns both columns to the top of the grid */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Left Aligned */
  text-align: left; /* Left Aligned */
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 221, 255, 0.05);
  border: 1px solid rgba(0, 221, 255, 0.15);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-cyan);
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero .section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.35rem); /* Corrected clamp values to avoid clashing with banner */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start; /* Left Aligned Button */
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  width: 100%;
}

/* 3D Dashboard Banner */
.hero-mockup-wrapper {
  position: relative;
  z-index: 2;
  perspective: 1200px;
  width: 100%;
  max-width: 480px; /* Constrains the image so it remains in high definition and never blurry */
  margin-left: auto; /* Aligns mockup container to the right */
  margin-top: -24.5rem; /* Negative margin pulls the banner up to align perfectly with the headline */
}

.hero-banner-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
  transform: rotateX(5deg) rotateY(-8deg) rotateZ(2deg);
  transition: var(--transition-smooth);
  background: #000;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Hover effects */
.hero-mockup-wrapper:hover .hero-banner-container {
  transform: rotateX(2deg) rotateY(-3deg) rotateZ(1deg) translateY(-5px);
}

/* Bottom Stats Bar */
.hero-bottom-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 16, 26, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-thin);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-relief);
}

.bottom-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bottom-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-cyan);
  line-height: 1;
}

.bottom-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  max-width: 120px;
}

/* ==========================================
   DYNAMIC TICKER SECTION
   ========================================== */
.ticker-section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.01);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.ticker-fade-left, .ticker-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  pointer-events: none;
  z-index: 2;
}

.ticker-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.ticker-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

.ticker-wrapper {
  display: flex;
  width: max-content;
  animation: scroll-ticker 35s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.ticker-dot {
  margin: 0 2rem;
  color: var(--color-cyan);
  font-size: 0.75rem;
}

@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   PILARES SECTION (COLS-4 & COLS-5 CARD GRIDS)
   ========================================== */
.pilares-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pilares-grid.cols-4 {
  grid-template-cols: repeat(4, 1fr);
}

.pilares-grid.cols-5 {
  grid-template-cols: repeat(5, 1fr);
}

.pilar-card {
  grid-column: span 1;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pilar-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-thin);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.pilar-card:hover .pilar-icon-wrapper {
  color: #000000 !important;
  background: var(--color-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 221, 255, 0.4);
  border-color: var(--color-cyan);
}

.pilar-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pilar-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================
   DIFERENCIAIS (COMPARISON) SECTION
   ========================================== */
.diff-container {
  display: grid;
  grid-template-cols: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.diff-card {
  padding: 3rem;
  position: relative;
}

.diff-card.legacy {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.03);
}

.diff-card.neotek {
  border-color: rgba(0, 221, 255, 0.2);
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.diff-card.neotek::after {
  content: 'RECOMENDADO';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--color-cyan);
  color: #000000;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}

.diff-header {
  margin-bottom: 2.5rem;
}

.diff-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.diff-card.legacy .diff-tag { color: var(--color-text-muted); }
.diff-card.neotek .diff-tag { color: var(--color-cyan); }

.diff-name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.diff-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.diff-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.diff-card.legacy .diff-item-icon {
  background: rgba(255, 23, 68, 0.1);
  color: var(--color-error);
}

.diff-card.neotek .diff-item-icon {
  background: rgba(0, 221, 255, 0.1);
  color: var(--color-cyan);
}

.diff-item-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.diff-item-text p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ==========================================
   ADDED FEATURE 1: TECH STACK GRID STYLES
   ========================================== */
.tech-grid-container {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.tech-card {
  background: var(--color-surface-card);
  border: var(--border-thin);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-relief);
}

.tech-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tech-icon {
  font-size: 3rem;
  transition: var(--transition-smooth);
  color: var(--color-text-muted);
}

.tech-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

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

/* Interactive dynamic glows using brand variables */
.tech-card[data-glow-color="#61dafb"] { --tech-glow: rgba(97, 218, 251, 0.15); --tech-border: rgba(97, 218, 251, 0.4); }
.tech-card[data-glow-color="#68a063"] { --tech-glow: rgba(104, 160, 99, 0.15); --tech-border: rgba(104, 160, 99, 0.4); }
.tech-card[data-glow-color="#336791"] { --tech-glow: rgba(51, 103, 145, 0.15); --tech-border: rgba(51, 103, 145, 0.4); }
.tech-card[data-glow-color="#ff9900"] { --tech-glow: rgba(255, 153, 0, 0.15); --tech-border: rgba(255, 153, 0, 0.4); }
.tech-card[data-glow-color="#0db7ed"] { --tech-glow: rgba(13, 183, 237, 0.15); --tech-border: rgba(13, 183, 237, 0.4); }
.tech-card[data-glow-color="#3178c6"] { --tech-glow: rgba(49, 120, 198, 0.15); --tech-border: rgba(49, 120, 198, 0.4); }

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--tech-border);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.8),
    0 0 35px var(--tech-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tech-card:hover .tech-icon {
  color: var(--tech-border);
  transform: scale(1.15) rotate(5deg);
}

/* ==========================================
   INTERACTIVE CALCULATOR SECTION
   ========================================== */
.calc-container {
  display: grid;
  grid-template-cols: 1.2fr 0.8fr;
  gap: 3rem;
  margin-top: 4rem;
  align-items: stretch;
}

.calc-selectors {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-group-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
}

.calc-options-grid {
  display: grid;
  grid-template-cols: 1fr 1fr;
  gap: 1rem;
}

.calc-option {
  border: var(--border-thin);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.calc-option:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.15);
}

.calc-option.selected {
  border-color: var(--color-cyan);
  background: rgba(0, 221, 255, 0.03);
}

.calc-option.selected::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

.calc-option-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.calc-option-desc {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* Slider Style */
.calc-range-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.calc-range-value {
  color: var(--color-cyan);
  font-weight: 600;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-cyan);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 221, 255, 0.5);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Calculator Result Panel */
.calc-results {
  background: linear-gradient(135deg, rgba(8, 16, 26, 0.85) 0%, rgba(4, 8, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-relief);
}

.calc-results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.calc-result-metrics {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.metric-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.metric-row-title {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-row-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
}

.metric-row-value.lime {
  color: var(--color-cyan);
  text-shadow: 0 0 20px rgba(0, 221, 255, 0.2);
}

.metric-row-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.calc-cta {
  margin-top: 3rem;
  width: 100%;
  justify-content: center;
}

/* ==========================================
   WORKFLOW SECTION (DARK BRANDED BACKGROUND)
   ========================================== */
.light-section {
  background-color: var(--color-surface-dark); /* Changed to dark surface color already used */
  color: var(--color-text-primary); /* Changed to light primary text */
  border: var(--border-thin); /* Cohesive thin border */
  border-radius: 32px;
  margin: 4rem 2rem;
  padding: 8rem 0;
  z-index: 5;
  box-shadow: var(--shadow-relief);
}

.light-section .section-title {
  color: #ffffff; /* pure white titles */
  font-weight: 300;
}

.light-section .section-desc {
  color: var(--color-text-secondary); /* slate muted descriptions */
}

.light-section .section-label {
  color: var(--color-cyan); /* Cyan label */
  font-weight: 600;
}

.workflow-grid {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 5rem;
  position: relative;
}

.workflow-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 50px;
  right: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08); /* white thin grid separator */
  z-index: 1;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.workflow-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(8, 16, 26, 0.6);
  border: var(--border-thin);
  color: var(--color-cyan);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.workflow-step:nth-child(even) .workflow-number {
  color: var(--color-blue);
}

.workflow-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff; /* White title for steps */
}

.workflow-step-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary); /* Muted slate for step descriptions */
  line-height: 1.5;
}

/* ==========================================
   PORTFOLIO GALLERY
   ========================================== */
.gallery-container {
  margin-top: 4rem;
  overflow: hidden;
  position: relative;
}

.gallery-scroll {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-gallery 45s linear infinite;
}

.gallery-scroll:hover {
  animation-play-state: paused;
}

.gallery-item {
  width: 380px;
  height: 250px;
  border-radius: 20px;
  border: var(--border-thin);
  background: rgba(8, 16, 26, 0.85);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 221, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.gallery-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 16, 26, 0.95) 0%, rgba(4, 8, 14, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.gallery-tech-tags {
  display: flex;
  gap: 8px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-secondary);
}

.gallery-project-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.gallery-project-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

@keyframes scroll-gallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   ADDED FEATURE 2: TESTIMONIALS SLIDER STYLES
   ========================================== */
.testimonials-slider-container {
  margin-top: 4rem;
}

.testimonials-track {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 340px;
}

.testimonial-stars {
  display: flex;
  gap: 6px;
  color: #f59e0b; /* Gold */
  font-size: 0.85rem;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.testimonial-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

.testimonial-user h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-user span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.user-company {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================
   PLANOS / PRICING SECTION
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch;
}

.pricing-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 550px;
}

.pricing-card.featured {
  border-color: rgba(112, 0, 255, 0.3);
  box-shadow: 
    0 30px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(112, 0, 255, 0.05);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-currency {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.pricing-card.featured .plan-price {
  color: var(--color-cyan);
}

.plan-period {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin-bottom: 3rem;
}

.plan-feature-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.plan-feature-icon {
  color: var(--color-cyan);
  font-size: 0.9rem;
}

.pricing-card.featured .plan-feature-icon {
  color: var(--color-blue);
}

.plan-cta {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   ADDED FEATURE 3: TRUST GUARANTEE PANEL
   ========================================== */
.trust-banner {
  padding: 4.5rem;
  background: linear-gradient(135deg, rgba(8, 16, 26, 0.6) 0%, rgba(4, 8, 14, 0.85) 100%);
  border: 1px solid rgba(0, 221, 255, 0.12);
  box-shadow: var(--shadow-relief);
}

.trust-features-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 2.5rem;
}

.trust-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 221, 255, 0.05);
  border: 1px solid rgba(0, 221, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trust-text-block h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.trust-text-block p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ==========================================
   FAQ SECTION (ACCORDION)
   ========================================== */
.faq-grid {
  display: grid;
  grid-template-cols: 0.8fr 1.2fr;
  gap: 4rem;
  margin-top: 4rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

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

.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-box {
  transform: rotate(45deg);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================
   FOOTER SECTION (RESTRUCTURED FOR ROW LAYOUT)
   ========================================== */
footer {
  background: var(--color-surface-dark);
  border-top: var(--border-thin);
  padding: 8rem 0 3rem 0;
  position: relative;
  overflow: hidden;
}

.footer-brand-bg {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 15vw, 16rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.008);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-cols: 1fr 2fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
  margin-bottom: 6rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  max-width: 280px;
}

.footer-links-row {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex: 1;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

/* ==========================================
   ADDED FEATURE 4: MULTI-STEP LEAD FORM MODAL
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  width: 100%;
  max-width: 680px;
  padding: 3rem;
  position: relative;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.9),
    0 0 50px rgba(0, 221, 255, 0.05);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  background: none;
  border: none;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--color-error);
}

/* Progress Bar */
.modal-progress-container {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.modal-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--color-cyan), var(--color-blue));
  width: 33.3%;
  transition: width 0.3s ease;
}

/* Steps animation */
.form-step {
  display: none;
}

.form-step.active {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: modalFadeIn 0.4s ease forwards;
}

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

.form-step-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.form-step-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

/* Form Grid Options */
.form-options-grid {
  display: grid;
  grid-template-cols: 1fr 1fr;
  gap: 1rem;
}

.form-option-card {
  border: var(--border-thin);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-option-card i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-option-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.15);
}

.form-option-card.selected {
  border-color: var(--color-cyan);
  background: rgba(0, 221, 255, 0.03);
}

.form-option-card.selected::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

.form-option-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.form-option-card p {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* Form Inputs */
.form-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-input-group input {
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-thin);
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input-group input:focus {
  border-color: var(--color-cyan);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px rgba(0, 221, 255, 0.1);
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

/* ==========================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================== */
@media (max-width: 1200px) {
  /* Keeps the Hero Grid side-by-side even on 1200px screens as requested! */
  .hero-grid {
    grid-template-cols: 1.1fr 0.9fr; 
    gap: 2rem;
  }
  
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }

  .pilares-grid.cols-4 {
    grid-template-cols: repeat(2, 1fr);
  }
  .pilares-grid.cols-5 {
    grid-template-cols: repeat(3, 1fr);
  }

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

  .testimonials-track {
    grid-template-cols: repeat(2, 1fr);
  }

  .trust-banner {
    padding: 3rem;
  }
  .trust-features-grid {
    grid-template-cols: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  /* Keeps layout side-by-side on 1024px tablet screens */
  .hero-grid {
    grid-template-cols: 1.15fr 0.85fr;
    gap: 1.5rem;
  }

  .hero .section-title {
    font-size: 1.85rem; /* Headline text decreases to fit side-by-side gracefully */
  }

  .hero .section-desc {
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-cols: 1fr;
    gap: 3rem;
  }
  
  .footer-links-row {
    width: 100%;
  }

  .pilares-grid.cols-4, .pilares-grid.cols-5 {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    display: none; 
  }
  
  .nav-cta {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  /* Hero wraps to 1 column on mobile (< 768px) to fit portrait screens, banner becomes compact to preserve HD rendering */
  .hero-grid {
    grid-template-cols: 1fr;
    gap: 2.5rem;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
  
  .hero-mockup-wrapper {
    max-width: 320px; /* Small and crisp HD layout on mobile */
    margin: 0 auto;
    margin-top: 0; /* Remove desktop top margin when stacked on mobile */
    transform: none !important;
  }
  
  .hero-banner-container {
    transform: none !important;
  }
  
  .hero-bottom-stats-bar {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .bottom-stat-item {
    gap: 16px;
  }
  
  /* Pilares section mobile stacking */
  .pilares-grid.cols-4, .pilares-grid.cols-5 {
    grid-template-cols: 1fr;
    gap: 1rem;
  }
  
  .pilar-card {
    grid-column: span 1;
    padding: 1.75rem 1.25rem;
  }
  
  /* Comparativo section styling */
  .diff-container {
    grid-template-cols: 1fr;
    gap: 1.5rem;
  }
  
  .diff-card {
    padding: 2rem 1.5rem;
  }

  .tech-grid-container {
    grid-template-cols: 1fr;
    gap: 1.5rem;
  }

  .testimonials-track {
    grid-template-cols: 1fr;
    gap: 1.5rem;
  }
  
  /* Calculator mobile layout */
  .calc-container {
    grid-template-cols: 1fr;
    gap: 1.5rem;
  }
  
  .calc-selectors {
    padding: 1.5rem;
  }
  
  .calc-options-grid {
    grid-template-cols: 1fr;
  }
  
  .calc-results {
    padding: 2rem 1.5rem;
  }
  
  /* Workflow process steps */
  .light-section {
    margin: 2rem 1rem;
    padding: 5rem 0;
  }
  
  .workflow-grid {
    grid-template-cols: 1fr;
    gap: 2rem;
  }

  .trust-banner {
    padding: 2rem 1.5rem;
  }
  
  /* Pricing mobile grids */
  .pricing-grid {
    grid-template-cols: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .pricing-card {
    padding: 2.5rem 1.5rem;
    min-height: auto;
  }

  .modal-card {
    padding: 2rem 1.5rem;
  }
  .form-options-grid {
    grid-template-cols: 1fr;
  }
  
  /* FAQ accordion mobile gaps */
  .faq-grid {
    grid-template-cols: 1fr;
    gap: 2rem;
  }
  
  /* Restructured Footer mobile alignment */
  .footer-links-row {
    flex-direction: row; 
    flex-wrap: wrap;     
    gap: 1.5rem;
    justify-content: space-between;
  }
  
  .footer-col {
    flex: 1;
    min-width: 120px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Mobile Menu Active State classes */
.nav-active .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(4, 8, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.nav-active .burger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-active .burger span:nth-child(2) {
  opacity: 0;
}

.nav-active .burger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Utility Colors mapping Neotek Style */
.text-cyan { color: var(--color-cyan) !important; }
.text-blue { color: var(--color-blue) !important; }
.text-emerald { color: var(--color-success) !important; }

/* ==========================================
   FLOATING AI AGENT NEO WIDGET
   ========================================== */
#neo-chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  font-family: var(--font-heading);
}

#neo-chat-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
  color: #000000;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 
    0 10px 25px rgba(0, 221, 255, 0.3),
    0 0 0 4px rgba(0, 221, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

#neo-chat-trigger * {
  pointer-events: none;
}

#neo-chat-trigger:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 
    0 15px 30px rgba(0, 221, 255, 0.4),
    0 0 20px rgba(0, 221, 255, 0.2);
  color: #ffffff;
}

#neo-chat-trigger .online-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: var(--color-success);
  border: 2px solid var(--color-bg);
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(0, 230, 118, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
  }
}

/* Chat Window */
#neo-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 580px;
  max-height: calc(100vh - 120px);
  max-width: calc(100vw - 4rem);
  background: rgba(4, 8, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 221, 255, 0.15);
  border-radius: 24px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(0, 221, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

#neo-chat-window.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
#neo-chat-header {
  padding: 1.25rem 1.5rem;
  background: rgba(8, 16, 26, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.neo-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.neo-header-info i {
  font-size: 1.4rem;
  color: var(--color-cyan);
  background: rgba(0, 221, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neo-header-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.neo-header-info span {
  font-size: 0.75rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 4px;
}

#neo-chat-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

#neo-chat-close:hover {
  color: var(--color-error);
}

/* Messages area */
#neo-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Scrollbar inside chat */
#neo-chat-messages::-webkit-scrollbar {
  width: 6px;
}
#neo-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

/* Bubbles */
.neo-msg {
  max-width: 85%;
  padding: 0.85rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 18px;
  animation: messageFadeIn 0.3s ease forwards;
}

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

.neo-msg.user {
  align-self: flex-end;
  background: rgba(0, 221, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(0, 221, 255, 0.25);
  border-radius: 18px 18px 0px 18px;
  box-shadow: 0 4px 12px rgba(0, 221, 255, 0.05);
}

.neo-msg.neo {
  align-self: flex-start;
  background: var(--color-surface-dark);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px 18px 18px 0px;
  box-shadow: var(--shadow-soft);
}

.neo-msg.neo a {
  color: var(--color-cyan);
  text-decoration: underline;
  font-weight: 600;
}

.neo-msg.neo a:hover {
  color: var(--color-blue);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.5rem;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--color-text-muted);
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* suggestions */
#neo-chat-suggestions {
  padding: 0 1.25rem 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.suggestion-pill {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.suggestion-pill:hover {
  background: rgba(0, 221, 255, 0.05);
  border-color: rgba(0, 221, 255, 0.3);
  color: var(--color-cyan);
}

/* Form */
#neo-chat-input-form {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 8, 14, 0.8);
  display: flex;
  gap: 8px;
  align-items: center;
}

#neo-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: var(--border-thin);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #ffffff;
  outline: none;
  transition: var(--transition-fast);
}

#neo-chat-input:focus {
  border-color: rgba(0, 221, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 15px rgba(0, 221, 255, 0.05);
}

#neo-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-cyan);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

#neo-chat-send:hover {
  background: var(--color-blue);
  color: #ffffff;
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  #neo-chat-widget {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
  }
  
  #neo-chat-trigger {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
  }
  
  #neo-chat-window {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 80vh;
    max-height: 80vh;
    max-width: 100vw;
    border-radius: 24px 24px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid rgba(0, 221, 255, 0.2);
    z-index: 10000;
    transform: translateY(100%);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
  }
  
  #neo-chat-window.active {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Custom WhatsApp Redirection Button in Chat */
.neo-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-blue);
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 10px 18px;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 0.8rem;
  box-shadow: 
    0 4px 15px rgba(0, 102, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
  width: fit-content;
}

.neo-wa-btn:hover {
  background: var(--color-cyan);
  color: #000000 !important;
  box-shadow: 
    0 6px 20px rgba(0, 221, 255, 0.4),
    0 0 10px rgba(0, 221, 255, 0.2);
  transform: translateY(-1px);
}
