/* ==========================================================================
   OrangeIA Agencia - Design System & Master Stylesheet
   Theme: High-End Dark Tech & OLED Glassmorphism
   Primary Accent: Electric Orange (#FF6B00) | Emerald WhatsApp Accent (#10B981)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  --bg-dark: #060709;
  --bg-card: #0D0F14;
  --bg-card-hover: #12151C;
  --bg-bezel: rgba(255, 255, 255, 0.03);
  
  --orange-primary: #FF6B00;
  --orange-glow: rgba(255, 107, 0, 0.35);
  --orange-light: #FF8833;
  --emerald-accent: #10B981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 107, 0, 0.4);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  font-weight: 700;
}

/* Gradient Text Utilities */
.text-gradient-orange {
  background: linear-gradient(135deg, #FFF 20%, #FF6B00 70%, #FF8833 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #FFF 30%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-silver {
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Glowing Mesh Orbs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-orange-top {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.22) 0%, rgba(0,0,0,0) 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-emerald-right {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0,0,0,0) 70%);
  top: 30%;
  right: -100px;
}

.glow-orange-bottom {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, rgba(0,0,0,0) 70%);
  bottom: 10%;
  left: -150px;
}

/* Doppelrand (Double-Bezel) Card Architecture */
.doppel-shell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.75rem;
  padding: 0.375rem;
  transition: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.doppel-shell:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 20px 40px -15px rgba(255, 107, 0, 0.15), 0 0 20px rgba(255, 107, 0, 0.08);
  transform: translateY(-3px);
}

.doppel-core {
  background: var(--bg-card);
  border-radius: calc(1.75rem - 0.375rem);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.doppel-shell-emerald:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.15);
}

/* Modern Pill Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: #FF8833;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #10B981;
}

/* Button-in-Button Architecture */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FF6B00 0%, #E05300 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 107, 0, 0.45);
}

.btn-icon-wrapper {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon-wrapper {
  transform: translateX(3px) rotate(-10deg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFF;
}

/* Glass Floating Navbar */
.navbar-floating {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-w: 1200px;
  z-index: 100;
  background: rgba(13, 15, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  transition: all 0.4s ease;
}

.navbar-floating.scrolled {
  background: rgba(8, 9, 12, 0.92);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 107, 0, 0.2);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 9999px;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

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

/* Custom Interactive Range Input (ROI Calculator) */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FF6B00;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.8);
  transition: transform 0.2s;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060709;
}
::-webkit-scrollbar-thumb {
  background: #1F2430;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B00;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .navbar-floating {
    border-radius: 1.5rem;
    padding: 0.75rem 1rem;
  }
  .doppel-core {
    padding: 1.5rem;
  }
}
