/* ========================================
   Duallis TECH Landing Page - Stylesheet
   ======================================== */

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  /* Primary Colors (Blue) */
  --color-primary: #124d81;
  --color-primary-variant: #095b9a;

  /* Secondary Colors (Coral) */
  --color-secondary: #ea5534;
  --color-secondary-light: #fa6748;

  /* Neutral Colors - Light Mode */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #6c6c6c;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f5f5f5;
  --color-bg-card: #ffffff;
  --color-border: rgba(18, 77, 129, 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #124d81 0%, #095b9a 100%);
  --gradient-secondary: linear-gradient(135deg, #ea5534 0%, #fa6748 100%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Typography - Tríade Tipográfica */
  --font-titles: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Shadows - Light Mode */
  --shadow-sm: 0 2px 8px rgba(18, 77, 129, 0.08);
  --shadow-md: 0 4px 16px rgba(18, 77, 129, 0.12);
  --shadow-lg: 0 8px 32px rgba(18, 77, 129, 0.16);
  --shadow-coral: 0 4px 20px rgba(234, 85, 52, 0.25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Mode Colors */
[data-theme="dark"] {
  /* Primary Colors (Dark Blue variants) */
  --color-primary: #1a3144;
  --color-primary-variant: #0f2137;

  /* Secondary Colors (Dark Coral variants) */
  --color-secondary: #8a3f28;
  --color-secondary-light: #8b3d3a;

  /* Neutral Colors - Dark Mode */
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-bg-primary: #0a0f16;
  --color-bg-secondary: #1a3144;
  --color-bg-card: #0f2137;
  --color-border: rgba(255, 255, 255, 0.1);

  /* Gradients - Dark Mode */
  --gradient-primary: linear-gradient(135deg, #1a3144 0%, #0f2137 100%);
  --gradient-secondary: linear-gradient(135deg, #fa6748 0%, #ea5534 100%);

  /* Shadows - Dark Mode */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-coral: 0 4px 20px rgba(250, 103, 72, 0.4);
}

/* ========================================
   Base / Reset
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Grid Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px),
    linear-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titles);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.App {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-secondary);
  color: #ffffff;
  box-shadow: var(--shadow-coral);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(234, 85, 52, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-primary);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Dark mode: Secondary Button with white border */
[data-theme="dark"] .btn-secondary {
  border-color: #ffffff;
  color: #ffffff;
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ========================================
   Theme Toggle Button
   ======================================== */
.theme-toggle {
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  width: 40px;
  height: 40px;
}

.theme-toggle:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-card);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-primary);
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: fixed;
  top: 15px;
  /* Navbar flutuante e nao colada na borda */
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1400px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  /* Translucidez estilosa */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(18, 77, 129, 0.15);
  /* Borda com leve azul primario */
  border-radius: 100px;
  /* Bordas arredondadas estilo pílula */
  transition: all var(--transition-normal);
  box-shadow: 0 4px 30px rgba(18, 77, 129, 0.05);
}

.header .container {
  max-width: 95%;
  /* Ocupa melhor o espaco da tela */
}

[data-theme="dark"] .header {
  background: rgba(10, 15, 22, 0.8);
}

.header.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 40px rgba(18, 77, 129, 0.1);
  border: 1px solid rgba(18, 77, 129, 0.25);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(10, 15, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  /* Espacamento interno balanceado */
}

.header .btn {
  padding: 0.6rem 1.5rem;
  /* Botao da navbar reduzido */
  font-size: 0.9rem;
  background: #0ea5a4;
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.35);
}

.header .btn:hover {
  background: #0c8f8e;
  box-shadow: 0 6px 20px rgba(14, 165, 164, 0.45);
  transform: translateY(-2px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-titles);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.logo-img {
  height: 48px;
  /* Altura ideal para mais foco e proporção */
  width: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  color: #0b1120;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
}

[data-theme="dark"] .nav-link {
  color: #edf2f7;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(18, 77, 129, 0.05);
  /* Fundo sutil primário ao focar */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  /* Efeito Coral em destaque */
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg-primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-close-btn {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mobile-close-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-card);
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-cta {
  margin-top: var(--space-md);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  /* Proporção 1632x640, com altura mínima para o conteúdo respirar */
  width: 100%;
  aspect-ratio: 1632 / 640;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

/* Hero Animated Background */
.hero-bg-animated {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-color: #ffffff;
  /* White base */
  pointer-events: none;
}

[data-theme="dark"] .hero-bg-animated {
  background-color: #0a0f16;
}

/* Base style for waves */
.hero-bg-animated .wave-svg {
  position: absolute;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.hero-bg-animated .wave-top-blue-bg {
  top: 0;
  left: 0;
  animation: wave-float-top 12s ease-in-out infinite alternate;
}

.hero-bg-animated .wave-top-blue-fg {
  top: 0;
  left: 0;
  animation: wave-float-top 15s ease-in-out infinite alternate-reverse;
}

.hero-bg-animated .wave-bottom-teal {
  bottom: -30px;
  left: 0;
  animation: wave-float-bottom 18s ease-in-out infinite alternate;
}

.hero-bg-animated .wave-bottom-orange-bg {
  bottom: -30px;
  left: 0;
  animation: wave-float-bottom 14s ease-in-out infinite alternate;
}

.hero-bg-animated .wave-bottom-orange-fg {
  bottom: -30px;
  left: 0;
  animation: wave-float-bottom 10s ease-in-out infinite alternate-reverse;
}

@keyframes wave-float-top {
  0% {
    transform: translateY(-5%) scale(1.05);
  }

  100% {
    transform: translateY(2%) scale(1);
  }
}

@keyframes wave-float-bottom {
  0% {
    transform: translateY(5%) scale(1.05);
  }

  100% {
    transform: translateY(-2%) scale(1);
  }
}

/* Base style for shapes */
.hero-bg-animated .shape {
  position: absolute;
  animation: float-shape 10s ease-in-out infinite;
}

@keyframes float-shape {

  0%,
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  33% {
    transform: translateY(-30px) translateX(15px) rotate(10deg);
  }

  66% {
    transform: translateY(15px) translateX(-20px) rotate(-5deg);
  }
}

/* Spheres */
.sphere {
  position: absolute;
  border-radius: 50%;
  box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.3), 5px 15px 25px rgba(0, 0, 0, 0.15);
  animation: float-shape 10s ease-in-out infinite;
}

.sphere-blue-large {
  top: 5%;
  right: 15%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, #4facfe, #00f2fe, #095b9a);
  animation-duration: 12s;
}

.sphere-blue-small {
  top: 15%;
  right: 28%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle at 30% 30%, #4facfe, #095b9a);
  animation-duration: 8s;
  animation-delay: 1s;
}

.sphere-cyan {
  bottom: 25%;
  left: 8%;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle at 30% 30%, #00f2fe, #4facfe, #26a69a);
  animation-duration: 14s;
  animation-delay: 2s;
}

.sphere-orange {
  bottom: 15%;
  right: 20%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 30% 30%, #f78c4a, #fa6748, #ea5534);
  animation-duration: 11s;
  animation-delay: 0.5s;
}

[data-theme="dark"] .sphere-blue-large,
[data-theme="dark"] .sphere-blue-small {
  background: radial-gradient(circle at 30% 30%, #124d81, #0f2137);
}

[data-theme="dark"] .sphere-cyan {
  background: radial-gradient(circle at 30% 30%, #00796b, #00362f);
}

[data-theme="dark"] .sphere-orange {
  background: radial-gradient(circle at 30% 30%, #8b3d3a, #8a3f28);
}

/* Cubes (using a skewed div trick to simulate 3D or just a diamond) */
.cube {
  position: absolute;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #00f2fe, #26a69a);
  transform: rotate(45deg);
  border-radius: 8px;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.2), 5px 10px 15px rgba(0, 0, 0, 0.1);
  animation: float-spin 15s linear infinite;
}

@keyframes float-spin {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

.cube-cyan-1 {
  top: 30%;
  left: 10%;
  animation-delay: 3s;
  animation-duration: 18s;
}

.cube-cyan-2 {
  top: 45%;
  right: 22%;
  width: 35px;
  height: 35px;
  animation-delay: 1s;
  animation-duration: 12s;
}

/* Stars */
.star {
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
  opacity: 0.5;
  animation: pulse-star 4s ease-in-out infinite;
}

@keyframes pulse-star {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
    text-shadow: 0 0 5px #fff;
  }

  50% {
    opacity: 0.8;
    transform: scale(1.2);
    text-shadow: 0 0 15px #fff;
  }
}

.star-1 {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.star-2 {
  top: 25%;
  right: 15%;
  animation-delay: 1s;
  font-size: 1rem;
}

.star-3 {
  bottom: 35%;
  left: 18%;
  animation-delay: 2s;
  font-size: 1.2rem;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

/* Decorative Circles */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(18, 77, 129, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(circle, rgba(26, 49, 68, 0.2) 0%, transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 85, 52, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

[data-theme="dark"] .hero::after {
  background: radial-gradient(circle, rgba(138, 63, 40, 0.15) 0%, transparent 70%);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 58%;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

[data-theme="dark"] .hero-content {
  width: 58%;
  text-align: center;
  padding: var(--space-sm) var(--space-md);
}

.hero h1 {
  color: #095b9a;
  font-family: var(--font-titles);
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  text-align: center;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0px 4px 15px rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .hero h1 {
  color: #ffffff;
  text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: #334155;
  font-family: var(--font-body);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .hero-subtitle {
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 100px;
}

/* ========================================
   Floating Background Decorations
   ======================================== */
.relative-section {
  position: relative;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: float-slow 15s ease-in-out infinite;
}

.bg-shape-circle-blue {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 91, 154, 0.04) 0%, transparent 60%);
  top: -100px;
  left: -150px;
}

[data-theme="dark"] .bg-shape-circle-blue {
  background: radial-gradient(circle, rgba(9, 91, 154, 0.08) 0%, transparent 60%);
}

.bg-shape-ring-orange {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 40%, rgba(234, 85, 52, 0.04) 45%, transparent 60%);
  bottom: -50px;
  right: -50px;
  animation: float-slow 20s ease-in-out infinite reverse;
}

[data-theme="dark"] .bg-shape-ring-orange {
  background: radial-gradient(circle, transparent 40%, rgba(234, 85, 52, 0.08) 45%, transparent 60%);
}

.bg-shape-blob-teal {
  width: 500px;
  height: 500px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: radial-gradient(circle, rgba(14, 165, 164, 0.04) 0%, transparent 70%);
  top: 10%;
  right: -200px;
  animation: float-shape 25s linear infinite;
}

[data-theme="dark"] .bg-shape-blob-teal {
  background: radial-gradient(circle, rgba(14, 165, 164, 0.08) 0%, transparent 70%);
}

.bg-shape-dot-grid {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(rgba(9, 91, 154, 0.1) 2px, transparent 2px);
  background-size: 20px 20px;
  bottom: 10%;
  left: 5%;
  opacity: 0.5;
  animation: float-slow 18s ease-in-out infinite;
}

[data-theme="dark"] .bg-shape-dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
}

.bg-shape-square-orange {
  width: 250px;
  height: 250px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(234, 85, 52, 0.05), transparent);
  transform: rotate(45deg);
  top: 20%;
  left: -50px;
  animation: float-shape 12s ease-in-out infinite alternate;
}

[data-theme="dark"] .bg-shape-square-orange {
  background: linear-gradient(135deg, rgba(234, 85, 52, 0.1), transparent);
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-40px) translateX(20px);
  }
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.product-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(18, 77, 129, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .product-card {
  background: rgba(10, 15, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(9, 91, 154, 0.3);
  box-shadow: 0 15px 40px rgba(18, 77, 129, 0.15);
}

[data-theme="dark"] .product-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.product-card:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.product-card-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-thumb-1 {
  background: linear-gradient(135deg, #1E3A8A 0%, #0EA5A4 100%);
  /* Gradiente Clarity */
}

.product-thumb-2 {
  background: linear-gradient(135deg, #7C2D12 0%, #B45309 50%, #F59E0B 100%);
  /* Gradiente Coral */
}

.product-thumb-3 {
  background: linear-gradient(135deg, #0B1120 0%, #1E3A8A 100%);
  /* Gradiente Deep Tech */
}

[data-theme="dark"] .product-thumb-1 {
  background: linear-gradient(135deg, #0f2137 0%, #1E3A8A 100%);
}

[data-theme="dark"] .product-thumb-2 {
  background: linear-gradient(135deg, #7C2D12 0%, #B45309 100%);
}

[data-theme="dark"] .product-thumb-3 {
  background: linear-gradient(135deg, #000000 0%, #0B1120 100%);
}

.product-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-thumb-image {
  transform: scale(1.08);
}

/* Decorative circles inside thumbs */
.product-card-thumb::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -60px;
  right: -60px;
}

.product-card-thumb::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -30px;
  left: -20px;
}

.product-card-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: var(--space-md);
  text-align: justify;
}

[data-theme="dark"] .product-card-body p {
  color: rgba(255, 255, 255, 0.75);
}

/* Product Tags */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.product-tag {
  font-family: var(--font-code);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-primary {
  background: rgba(14, 165, 164, 0.15);
  /* Arctic Teal Translucido */
  color: #0EA5A4;
}

.tag-secondary {
  background: rgba(245, 158, 11, 0.15);
  /* Amber Translucido */
  color: #F59E0B;
}

.tag-dark {
  background: rgba(30, 58, 138, 0.15);
  /* Cobalt Translucido */
  color: #1E3A8A;
}

[data-theme="dark"] .tag-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tag-outline {
  background: transparent;
  border: 1px solid rgba(18, 77, 129, 0.2);
  color: #475569;
}

[data-theme="dark"] .tag-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
}

.product-card-body h3 {
  color: #1E3A8A;
  /* Royal Cobalt */
  font-family: var(--font-titles);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-sm);
}

[data-theme="dark"] .product-card-body h3 {
  color: #ffffff;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(18, 77, 129, 0.1);
  margin-top: auto;
  transition: all var(--transition-normal);
}

[data-theme="dark"] .product-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-hint {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1E3A8A;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .product-card-hint {
  color: #0EA5A4;
}

.product-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 165, 164, 0.1);
  color: #0EA5A4;
  font-weight: 800;
  transition: all var(--transition-normal);
}

.product-card:hover .product-card-arrow {
  background: #0EA5A4;
  color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(14, 165, 164, 0.3);
}

.product-card:hover .product-card-hint {
  color: #0EA5A4;
}

/* ========================================
   Product Modal
   ======================================== */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  animation: fadeInOverlay 0.2s ease;
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.product-modal {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUpModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .product-modal {
  background: rgba(10, 15, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-modal .modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .product-modal .modal-close {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.product-modal .modal-close:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.product-modal .modal-close:hover svg path {
  stroke: #ffffff;
}

.product-modal .modal-close svg {
  width: 16px;
  height: 16px;
}

.product-modal .modal-close svg path {
  stroke: var(--color-text-secondary);
  transition: stroke var(--transition-fast);
}

.product-modal-header {
  padding: var(--space-lg) var(--space-xl) var(--space-md);
  border-bottom: 1px solid rgba(18, 77, 129, 0.1);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: transparent;
}

[data-theme="dark"] .product-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-modal-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.product-modal-header h2 {
  font-size: 1.75rem;
  color: var(--color-primary);
  font-family: var(--font-titles);
  margin: 0;
}

[data-theme="dark"] .product-modal-header h2 {
  color: #ffffff;
}

.product-modal-header p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  align-items: center;
}

@media (max-width: 640px) {
  .product-modal-body {
    grid-template-columns: 1fr;
  }
}



/* Product Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #095b9a;
  margin: 0;
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-border);
}

[data-theme="dark"] .product-info h4 {
  color: #ffffff;
}

.product-info>p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

[data-theme="dark"] .product-info>p {
  color: rgba(255, 255, 255, 0.8);
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex: 1;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

[data-theme="dark"] .product-features-list li {
  color: rgba(255, 255, 255, 0.75);
}

.product-features-list .feature-check {
  color: var(--color-secondary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-modal-cta {
  align-self: flex-start;
  margin-top: auto;
  background: #0ea5a4;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.35);
}

.product-modal-cta:hover {
  background: #0c8f8e;
  box-shadow: 0 6px 20px rgba(14, 165, 164, 0.45);
}

/* ========================================
   Services Section
   ======================================== */
.services {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.section-title h2 {
  color: #095b9a;
  font-family: var(--font-titles);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.01em;
}

[data-theme="dark"] .section-title h2 {
  color: #ffffff;
}

.section-title p {
  font-family: var(--font-body);
  color: #475569;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

[data-theme="dark"] .section-title p {
  color: #cbd5e1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(18, 77, 129, 0.1);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .service-card {
  background: rgba(10, 15, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(9, 91, 154, 0.3);
  box-shadow: 0 15px 40px rgba(18, 77, 129, 0.12);
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.service-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: rgba(14, 165, 164, 0.08);
  /* Fundo Teal Glass */
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(14, 165, 164, 0.2);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .service-icon {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(14, 165, 164, 0.2));
  transform: rotate(5deg) scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 164, 0.4);
}

[data-theme="dark"] .service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(14, 165, 164, 0.3));
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-icon img {
  transform: scale(1.1);
}

.service-card h3 {
  color: #1E3A8A;
  /* Royal Cobalt */
  font-family: var(--font-titles);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-sm);
  text-align: center;
}

[data-theme="dark"] .service-card h3 {
  color: #ffffff;
}

.service-card p {
  color: var(--color-text-secondary);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

[data-theme="dark"] .service-card p {
  color: #ffffff;
}

.service-card .product-card-body {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ========================================
   About Section
   ======================================== */
.about {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text h2 {
  background: linear-gradient(135deg, #ea5534 0%, #fa6748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-titles);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.about-text p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .about-text p {
  color: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat-item {
  text-align: center;
  background: #ffffff;
  padding: calc(var(--space-xl) + 10px) var(--space-md);
  border-radius: 24px;
  border: none;
  box-shadow: 0 20px 40px rgba(9, 91, 154, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-theme="dark"] .stat-item {
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(9, 91, 154, 0.1), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  display: inline;
}

.stat-suffix {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
}

[data-theme="dark"] .stat-number,
[data-theme="dark"] .stat-suffix {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #ffffff;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-top: var(--space-md);
  opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: rgba(18, 77, 129, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: var(--space-3xl) 0 var(--space-lg);
  border-top: 1px solid rgba(18, 77, 129, 0.1);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .footer {
  background: rgba(10, 15, 22, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--color-secondary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

/* ========================================
   Contact Form Section
   ======================================== */
.contact-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.contact-form {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3.5rem;
  border-radius: 24px;
  border: none;
  box-shadow: 0 20px 40px rgba(9, 91, 154, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .contact-form {
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.custom-select-trigger {
  padding: 1rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: #f4f7fb;
  color: var(--color-text-primary);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus,
.custom-select.open .custom-select-trigger {
  outline: none;
  background: #ffffff;
  border-color: #0ea5a4;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.15);
  transform: translateY(-2px);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .custom-select-trigger {
  background: #0a0f16;
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .custom-select.open .custom-select-trigger {
  box-shadow: 0 0 0 3px rgba(26, 49, 68, 0.3);
  border-color: var(--color-secondary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Custom Select Dropdown Styles */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.custom-select-value {
  color: var(--color-text-secondary);
  opacity: 0.7;
  /* Initial placeholder state */
}

.custom-select-icon {
  transition: transform 0.3s ease;
  color: var(--color-text-secondary);
}

.custom-select.open .custom-select-icon {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(9, 91, 154, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(18, 77, 129, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 10;
  overflow: hidden;
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background 0.2s ease, padding-left 0.2s ease;
  border-bottom: 1px solid rgba(18, 77, 129, 0.05);
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: #f4f7fb;
  padding-left: 1.75rem;
  color: #0ea5a4;
}

.custom-option.selected {
  background: rgba(14, 165, 164, 0.08);
  font-weight: 700;
  color: #0ea5a4;
}

/* Dark Mode Custom Select */
[data-theme="dark"] .custom-options {
  background: #0f2137;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .custom-option {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .custom-option:hover,
[data-theme="dark"] .custom-option.selected {
  background: rgba(40, 60, 90, 0.5);
  color: #fa6748;
}

.form-message {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

[data-theme="dark"] .form-message.success {
  background: rgba(40, 167, 69, 0.2);
  color: #5dd879;
  border-color: rgba(40, 167, 69, 0.3);
}

[data-theme="dark"] .form-message.error {
  background: rgba(220, 53, 69, 0.2);
  color: #f58f9c;
  border-color: rgba(220, 53, 69, 0.3);
}

.submit-btn {
  width: 100%;
  margin-top: var(--space-lg);
  font-size: 1.15rem;
  padding: 1.25rem 2.5rem;
  cursor: pointer;
  justify-content: center;
  background: #0ea5a4;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.35);
  letter-spacing: 0.5px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.submit-btn:hover {
  background: #0c8f8e;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(14, 165, 164, 0.45);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ========================================
   Service Card Hint
   ======================================== */
.service-card-hint {
  display: block;
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  opacity: 0;
  transform: translateY(5px);
  transition: all var(--transition-normal);
}

.service-card:hover .service-card-hint {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="dark"] .service-card-hint {
  color: #fa6748;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-primary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: #ffffff;
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 30px rgba(9, 91, 154, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #0EA5A4, #1E3A8A);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: all 0.4s ease;
}

[data-theme="dark"] .faq-item {
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
  box-shadow: 0 20px 40px rgba(9, 91, 154, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  transform: translateY(-4px) scale(1.01);
}

.faq-item.open::before,
.faq-item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

[data-theme="dark"] .faq-item:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-primary);
  transition: all var(--transition-normal);
  gap: var(--space-lg);
}

.faq-question:hover {
  background: transparent;
  color: var(--color-primary);
}

[data-theme="dark"] .faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question span {
  flex: 1;
}

.faq-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--color-primary);
  background: rgba(9, 91, 154, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-icon svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .faq-icon {
  color: #fa6748;
  background: rgba(250, 103, 72, 0.1);
}

.faq-item.open .faq-icon,
.faq-item:hover .faq-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 91, 154, 0.3);
}

[data-theme="dark"] .faq-item:hover .faq-icon {
  background: #fa6748;
  box-shadow: 0 4px 12px rgba(250, 103, 72, 0.3);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s ease;
}

.faq-item.open .faq-answer,
.faq-item:hover .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
}

[data-theme="dark"] .faq-answer p {
  color: #ffffff;
}

/* FAQ CTA */
.faq-cta {
  text-align: left;
  margin: var(--space-3xl) auto 0;
  padding: 3.5rem 4rem;
  max-width: 800px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(18, 77, 129, 0.08);
  box-shadow: 0 4px 20px rgba(9, 91, 154, 0.03);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

[data-theme="dark"] .faq-cta {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.05);
}

.faq-cta p {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text-secondary);
}

[data-theme="dark"] .faq-cta p {
  color: #ffffff;
}

.faq-cta .btn {
  background: #0ea5a4;
  border: none;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.35);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.faq-cta .btn:hover {
  background: #0c8f8e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14, 165, 164, 0.45);
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-question {
    padding: var(--space-md);
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 0.95rem;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-cta {
    flex-direction: column;
    padding: 2.5rem 2rem;
    text-align: center;
    gap: var(--space-md);
  }

  .faq-cta p {
    text-align: center;
  }
}

/* ========================================
   Service Modal
   ======================================== */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--space-lg);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.service-modal {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(35px) saturate(180%);
  -webkit-backdrop-filter: blur(35px) saturate(180%);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="dark"] .service-modal {
  background: rgba(10, 15, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .modal-close {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-close svg path {
  stroke: var(--color-text-secondary);
  transition: stroke var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.modal-close:hover svg path {
  stroke: #ffffff;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xl);
  padding-right: calc(var(--space-xl) + 40px);
  border-bottom: 1px solid rgba(18, 77, 129, 0.1);
}

[data-theme="dark"] .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-icon {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius-md);
}

.modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-theme="dark"] .modal-icon {
  background: transparent;
}

.modal-header h2 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin: 0;
}

[data-theme="dark"] .modal-header h2 {
  color: #ffffff;
}

.modal-body {
  padding: var(--space-xl);
}

.modal-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

[data-theme="dark"] .modal-description {
  color: #ffffff;
}

.modal-features {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

[data-theme="dark"] .modal-features {
  background: #051a30;
}

.modal-features h4 {
  font-size: 1.1rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .modal-features h4 {
  color: #ffffff;
}

.modal-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-sm);
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

[data-theme="dark"] .modal-features li {
  color: #ffffff;
}

.feature-check {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.1rem;
}

.modal-footer {
  padding: var(--space-xl);
  padding-top: 0;
  display: flex;
  justify-content: center;
}

.modal-footer .btn {
  width: 100%;
  max-width: 300px;
  justify-content: center;
  background: #0ea5a4;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.35);
}

.modal-footer .btn:hover {
  background: #0c8f8e;
  box-shadow: 0 6px 20px rgba(14, 165, 164, 0.45);
}

/* Modal Responsive */
@media (max-width: 768px) {
  .service-modal-overlay {
    padding: var(--space-sm);
    align-items: flex-end;
  }

  .service-modal {
    max-height: 85vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
    padding-right: var(--space-xl);
  }

  .modal-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-features ul {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
  .hero-content {
    max-width: 60%;
  }

  [data-theme="dark"] .hero-content {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .nav {
    gap: var(--space-md);
  }

  .nav-link,
  .nav .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    background-image: none;
    background-color: var(--color-bg-secondary);
    padding-top: 130px;
    min-height: 100vh;
  }

  [data-theme="dark"] .hero {
    background-image: none;
  }

  .hero-bg-animated .shape {
    opacity: 0.15;
  }

  .hero-bg-animated .wave-svg {
    opacity: 0.5;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0;
  }

  [data-theme="dark"] .hero-content {
    max-width: none;
    background: rgba(10, 15, 22, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Contact Form Responsive */
  .contact-form {
    padding: var(--space-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-suffix {
    font-size: 2.5rem;
  }
}

/* ========================================
   Floating Social Buttons
   ======================================== */
.floating-buttons {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.floating-btn:hover::before {
  opacity: 1;
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  position: relative;
  z-index: 1;
}

/* WhatsApp Button */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.whatsapp-btn::before {
  background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.whatsapp-btn:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* Instagram Button */
.instagram-btn {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn::before {
  background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
}

.instagram-btn:hover {
  box-shadow: 0 8px 30px rgba(220, 39, 67, 0.5);
}

/* Pulse Animation for attention */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-btn {
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  animation: none;
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }
}