/* ==========================================================================
   FREDD CULMA - TARJETA DE PRESENTACIÓN DIGITAL PREMIUM
   Diseño de Alta Fidelidad basado en Referencia Visual Futurista
   ========================================================================== */

/* --- Custom Properties / Theme Variables --- */
:root {
  /* Color Palette */
  --bg-darkest: #000511;
  --bg-darker: #010a1c;
  --bg-card: rgba(6, 22, 48, 0.75);
  --bg-card-hover: rgba(8, 30, 64, 0.9);
  --bg-glass: rgba(3, 14, 33, 0.8);
  
  --cyan-primary: #00d2ff;
  --cyan-bright: #00f0ff;
  --cyan-deep: #0088ff;
  --blue-electric: #0066fe;
  --blue-glow: rgba(0, 210, 255, 0.35);
  --blue-border: rgba(0, 175, 255, 0.28);
  --blue-border-hover: rgba(0, 235, 255, 0.85);

  --text-white: #ffffff;
  --text-primary: #f1f5f9;
  --text-muted: #8fa6c5;
  --text-dim: #5c7599;

  --whatsapp-green: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  /* Gradients */
  --grad-cyan: linear-gradient(135deg, #00d2ff 0%, #0077fe 100%);
  --grad-btn-primary: linear-gradient(90deg, #0070f3 0%, #00d2ff 100%);
  --grad-btn-hover: linear-gradient(90deg, #0088ff 0%, #00f0ff 100%);
  --grad-card: linear-gradient(180deg, rgba(8, 27, 56, 0.85) 0%, rgba(3, 13, 30, 0.92) 100%);
  --grad-text-cyan: linear-gradient(135deg, #00f0ff 0%, #00b4d8 50%, #0077fe 100%);

  /* Typography */
  --font-main: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Glows */
  --glow-cyan-sm: 0 0 15px rgba(0, 210, 255, 0.35);
  --glow-cyan-md: 0 0 25px rgba(0, 210, 255, 0.5);
  --glow-cyan-lg: 0 0 45px rgba(0, 210, 255, 0.65);
  --shadow-card: 0 10px 32px -4px rgba(0, 0, 0, 0.65), 0 0 1px 1px var(--blue-border);
  --shadow-card-hover: 0 16px 40px -4px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 210, 255, 0.35);

  /* Layout */
  --container-max: 1220px;
  --header-height: 76px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

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

/* Canvas Background & Ambient Glow Layers */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.cosmic-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.glow-hero {
  top: 5%;
  right: -5%;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.45) 0%, rgba(0, 210, 255, 0.2) 45%, transparent 70%);
}

.glow-center {
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 114, 255, 0.3) 0%, rgba(0, 240, 255, 0.12) 50%, transparent 75%);
}

.glow-bottom {
  bottom: 5%;
  right: 15%;
  width: 650px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 110, 255, 0.35) 0%, rgba(0, 220, 255, 0.15) 50%, transparent 75%);
}

/* Subtle digital grid mesh overlay */
.cyber-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 180, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* Main Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 1;
}

/* Section Common Styles */
section {
  position: relative;
  z-index: 1;
  padding: 85px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 400;
}

/* Text Highlight */
.text-cyan {
  background: var(--grad-text-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.4));
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  white-space: nowrap;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--grad-btn-primary);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 114, 255, 0.35), var(--glow-cyan-sm);
}

.btn-primary:hover {
  background: var(--grad-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 130, 255, 0.55), var(--glow-cyan-md);
  color: #ffffff;
}

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

.btn-outline {
  background: rgba(3, 16, 38, 0.6);
  color: var(--text-white);
  border: 1.5px solid rgba(0, 195, 255, 0.55);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(0, 180, 255, 0.15);
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
  box-shadow: 0 0 22px rgba(0, 210, 255, 0.35);
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* --- HEADER / NAVIGATION --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(1, 10, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 180, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 3, 12, 0.65);
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.25));
}

.site-logo:hover .site-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 18px rgba(0, 230, 255, 0.55));
}

.footer-logo-img {
  height: 38px;
  max-width: 185px;
  margin-bottom: 4px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-bright);
  display: inline-block;
  margin-left: 2px;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-bright);
  box-shadow: 0 0 10px var(--cyan-bright);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text-white);
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--cyan-bright);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--cyan-bright);
}

/* --- HERO SECTION --- */
.hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 90px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 180, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-bright);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

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

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 22px;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Hero Right Visual Column */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-artwork {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 35px rgba(0, 180, 255, 0.45));
  animation: float-gentle 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

/* Dynamic glow ring behind hero graphic */
.hero-glow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.28) 0%, rgba(0, 90, 255, 0.1) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 5s ease-in-out infinite alternate;
}

/* --- SECTION: BENEFICIOS ("¿Por qué tener presencia digital?") --- */
.benefits-section {
  border-top: 1px solid rgba(0, 180, 255, 0.08);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  background: var(--grad-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
  opacity: 0.6;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-border-hover);
  box-shadow: var(--shadow-card-hover);
  background: var(--bg-card-hover);
}

.card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #005ce6 0%, #00d2ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px rgba(0, 160, 255, 0.45);
  color: #ffffff;
  transition: transform var(--transition-fast);
}

.benefit-card:hover .card-icon-box {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(0, 230, 255, 0.7);
}

.card-icon-box svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  fill: none;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

/* --- SECTION: ABOUT ("Haz que tu presencia digital importe") --- */
.about-section {
  padding: 100px 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.about-content {
  max-width: 520px;
}

.about-title {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.about-artwork {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 35px rgba(0, 180, 255, 0.35));
  mix-blend-mode: screen;
  animation: float-gentle 7s ease-in-out infinite reverse;
}

.about-glow-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.22) 0%, rgba(0, 80, 255, 0.08) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

/* --- SECTION: SOLUTIONS ("Soluciones digitales") --- */
.solutions-section {
  padding: 100px 0;
  border-top: 1px solid rgba(0, 180, 255, 0.08);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.solution-card {
  background: var(--grad-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-border-hover);
  box-shadow: var(--shadow-card-hover);
  background: var(--bg-card-hover);
}

/* Highlighted Popular Card */
.solution-card.featured {
  border-color: rgba(0, 210, 255, 0.65);
  box-shadow: 0 12px 38px -4px rgba(0, 140, 255, 0.3), 0 0 20px rgba(0, 210, 255, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #00d2ff 0%, #0066fe 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

.solution-badge {
  color: var(--cyan-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.solution-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.solution-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 24px;
  min-height: 48px;
}

.solution-divider {
  height: 1px;
  background: rgba(0, 180, 255, 0.15);
  margin-bottom: 22px;
}

.solution-features-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.solution-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.solution-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feature-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid var(--cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.35);
}

.feature-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--cyan-bright);
  stroke-width: 2.5;
}

.solution-card .btn {
  margin-top: auto;
}

/* --- SECTION: FINAL CTA --- */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(6, 26, 58, 0.9) 0%, rgba(2, 12, 28, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 180, 255, 0.2);
}

.cta-glow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(0, 110, 255, 0.1) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.cta-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-btn {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* --- FOOTER --- */
.site-footer {
  border-top: 1px solid rgba(0, 180, 255, 0.15);
  background: rgba(0, 4, 13, 0.95);
  padding: 50px 0 35px 0;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(0, 180, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

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

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 0 15px rgba(0, 210, 255, 0.3);
  transition: all var(--transition-smooth);
  position: relative;
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.7;
  animation: pulse-ring 2.4s infinite ease-out;
}

.whatsapp-bubble svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  transition: transform var(--transition-fast);
}

.whatsapp-floating:hover .whatsapp-bubble {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7), 0 0 25px rgba(0, 210, 255, 0.5);
}

.whatsapp-floating:hover .whatsapp-bubble svg {
  transform: scale(1.05);
}

.whatsapp-tooltip {
  background: rgba(2, 14, 34, 0.92);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 210, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.whatsapp-floating:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.3;
    transform: scale(0.96);
  }
  100% {
    opacity: 0.55;
    transform: scale(1.05);
  }
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

/* Micro-animations: Fade In Up */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .benefits-grid,
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-grid,
  .about-grid {
    gap: 30px;
  }
}

/* Mobile & Tablets (max-width: 820px) */
@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  section {
    padding: 60px 0;
  }

  .site-header {
    background: rgba(1, 10, 26, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 180, 255, 0.15);
  }

  .site-logo-img {
    height: 34px;
    max-width: 165px;
  }

  /* Hamburger Menu Toggle */
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(1, 10, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 180, 255, 0.25);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .header-cta {
    display: none;
  }

  /* Hero Section Mobile */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-badge {
    margin: 0 auto 20px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 10px;
  }

  .hero-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  /* About Section Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-content {
    margin: 0 auto;
  }

  .about-visual {
    order: -1;
  }

  .about-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .cta-box {
    padding: 50px 24px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Small Smartphone (max-width: 540px) */
@media (max-width: 540px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .benefits-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-bubble {
    width: 52px;
    height: 52px;
  }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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