/* ==========================================================================
   WSP DEVELOPER - LANDING PAGE PREMIUM DESIGN SYSTEM
   Theme: High-Tech Cyber Dark / Glassmorphism / Electric Blue & Neon Cyan
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette */
  --bg-dark: #070A11;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(26, 38, 66, 0.8);
  --bg-input: rgba(11, 17, 32, 0.8);

  --primary-blue: #0066FF;
  --primary-hover: #0052CC;
  --cyan-neon: #00F2FE;
  --cyan-glow: rgba(0, 242, 254, 0.3);
  --blue-glow: rgba(0, 102, 255, 0.35);
  --emerald-accent: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 242, 254, 0.25);
  --border-hover: rgba(0, 102, 255, 0.5);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 30px rgba(0, 102, 255, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.2);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients & Ambient Mesh */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #38BDF8 50%, var(--cyan-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-blue {
  background: linear-gradient(135deg, #60A5FA 0%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-neon);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge i {
  font-size: 0.8rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}
.section-header .badge {
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0044BB 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
  background: linear-gradient(135deg, #1A75FF 0%, var(--primary-blue) 100%);
}

.btn-cyan {
  background: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 198, 255, 0.35);
}
.btn-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: var(--border-glass);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-normal);
  background: rgba(7, 10, 17, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 10, 17, 0.9);
  border-bottom-color: var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
  transition: var(--transition-normal);
}
.logo-brand:hover .logo-img {
  transform: rotate(10deg) scale(1.05);
  border-color: var(--cyan-neon);
  box-shadow: 0 0 20px var(--cyan-neon);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}
.logo-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: #FFFFFF;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--cyan-neon));
  border-radius: 2px;
  transition: var(--transition-fast);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 170px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content .badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}
.stat-item h4 {
  font-size: 1.75rem;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Interactive Mockup Showcase */
.hero-card-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card), var(--shadow-cyan-glow);
  transform: rotateY(-5deg) rotateX(3deg);
  transition: var(--transition-normal);
}
.hero-glass-card:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}
.window-dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.code-simulation {
  background: #04070D;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.code-keyword { color: #F472B6; }
.code-func { color: #38BDF8; }
.code-string { color: #A7F3D0; }
.code-comment { color: #64748B; font-style: italic; }

.ai-node-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--primary-blue);
  border-radius: var(--radius-md);
}
.ai-pulse {
  width: 10px;
  height: 10px;
  background: var(--cyan-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-neon);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION (4 PILARES)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), var(--cyan-neon), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 242, 254, 0.1) 100%);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--cyan-neon);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
}
.service-features i {
  color: var(--cyan-neon);
  font-size: 0.8rem;
}

.service-link {
  color: var(--cyan-neon);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.service-link:hover {
  gap: 12px;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   7. WIDGET: PRINT-TO-CODE COMPARISON
   -------------------------------------------------------------------------- */
.print-to-code-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ptc-header {
  padding: 20px 30px;
  background: rgba(11, 17, 32, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ptc-tabs {
  display: flex;
  gap: 12px;
}

.ptc-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.ptc-tab-btn.active, .ptc-tab-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.ptc-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.ptc-preview-card {
  background: #04070D;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.ptc-preview-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--cyan-neon);
  border: 1px solid var(--border-cyan);
}

/* Simulated Print Frame */
.simulated-print {
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, #1E293B, #0F172A);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  padding: 24px;
  text-align: center;
}
.simulated-print img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Simulated Live Rendered Code Frame */
.simulated-code-render {
  width: 100%;
  border-radius: 8px;
  background: #0B1120;
  border: 1px solid var(--cyan-neon);
  padding: 24px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}

/* --------------------------------------------------------------------------
   8. WIDGET: AI AGENT LIVE CHAT SIMULATOR
   -------------------------------------------------------------------------- */
.ai-agent-container {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.ai-info-panel {
  padding: 40px 30px;
  background: rgba(11, 17, 32, 0.8);
  border-right: 1px solid var(--border-glass);
}
.ai-info-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.ai-info-panel p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.ai-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ai-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
}
.ai-features-list i {
  color: var(--cyan-neon);
  background: rgba(0, 242, 254, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* Chat Interface */
.chat-window {
  display: flex;
  flex-direction: column;
  height: 480px;
  background: #04070D;
}

.chat-header {
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--cyan-neon));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.1rem;
}
.bot-status-text h5 {
  font-size: 0.95rem;
  font-weight: 600;
}
.bot-status-text p {
  font-size: 0.75rem;
  color: var(--emerald-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}
.online-dot {
  width: 6px;
  height: 6px;
  background: var(--emerald-accent);
  border-radius: 50%;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

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

.msg-bot {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  border-top-left-radius: 4px;
}

.msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-blue), #0044BB);
  color: #FFFFFF;
  border-top-right-radius: 4px;
}

.chat-quick-replies {
  padding: 10px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: rgba(7, 10, 17, 0.8);
  border-top: 1px solid var(--border-glass);
}
.chip-btn {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--cyan-neon);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.chip-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan-neon);
}

.chat-input-bar {
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 12px;
}
.chat-input-bar input {
  flex: 1;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  color: #FFF;
  outline: none;
  font-size: 0.9rem;
}
.chat-input-bar input:focus {
  border-color: var(--cyan-neon);
}

/* --------------------------------------------------------------------------
   9. WIDGET: CALCULADORA DE ORÇAMENTO INTERATIVA
   -------------------------------------------------------------------------- */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card), var(--shadow-cyan-glow);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.calc-form-group {
  margin-bottom: 28px;
}
.calc-label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #FFFFFF;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.calc-chip {
  background: rgba(11, 17, 32, 0.8);
  border: 1px solid var(--border-glass);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.calc-chip:hover {
  border-color: var(--cyan-neon);
  background: rgba(0, 242, 254, 0.05);
}
.calc-chip.selected {
  border-color: var(--cyan-neon);
  background: rgba(0, 102, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}
.calc-chip i {
  color: var(--cyan-neon);
  font-size: 1.1rem;
}

.slider-container {
  margin-top: 10px;
}
.range-slider {
  width: 100%;
  accent-color: var(--cyan-neon);
  height: 6px;
  background: #1E293B;
  border-radius: 3px;
  outline: none;
}

.calc-summary-panel {
  background: linear-gradient(145deg, #0A0F1D, #060912);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.summary-list li span:last-child {
  color: var(--text-main);
  font-weight: 600;
}

.price-display-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px dashed var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}
.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
  margin: 4px 0;
}
.timeline-value {
  font-size: 0.85rem;
  color: var(--emerald-accent);
}

/* --------------------------------------------------------------------------
   10. PORTFOLIO & CASES
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-glow);
}

.portfolio-thumb {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 10, 17, 0.9) 0%, transparent 60%);
}

.portfolio-tags {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.tag-chip {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-neon);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.portfolio-info {
  padding: 24px;
}
.portfolio-info h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   11. DIFFERENTIALS SECTION
   -------------------------------------------------------------------------- */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.diff-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition-normal);
}
.diff-card:hover {
  border-color: var(--cyan-neon);
  background: rgba(0, 242, 254, 0.03);
  transform: translateY(-5px);
}
.diff-icon {
  font-size: 2.25rem;
  color: var(--cyan-neon);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #FFF;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition-normal);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #030509;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
}
.footer-col h5 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #FFFFFF;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--cyan-neon);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-cta-group, .hero-stats {
    justify-content: center;
  }
  .ai-agent-container {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .contact-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Controlled via JS mobile menu */
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #070A11;
    border-bottom: 1px solid var(--border-cyan);
    padding: 24px;
    gap: 20px;
  }
  .mobile-toggle {
    display: block;
  }
  .ptc-body {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.contact-feedback { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; line-height: 1.45; }
.contact-feedback.is-loading { color: #dbeafe; background: rgba(37,99,235,.16); border: 1px solid rgba(96,165,250,.45); }
.contact-feedback.is-success { color: #bbf7d0; background: rgba(22,163,74,.16); border: 1px solid rgba(74,222,128,.45); }
.contact-feedback.is-error { color: #fecaca; background: rgba(220,38,38,.16); border: 1px solid rgba(248,113,113,.45); }
.contact-form-card button:disabled { opacity: .7; cursor: wait; }
