@view-transition {
  navigation: auto;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomPop {
  0% { opacity: 0; transform: scale(0.6); }
  70% { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(248,71,47, 0.3); }
  50% { box-shadow: 0 0 30px rgba(248,71,47, 0.5); }
}

.animate-float { animation: float 4s ease-in-out infinite; will-change: transform; }
.animate-pulse-glow { animation: pulseGlow 2s ease-in-out infinite; will-change: box-shadow; }

.hero-gradient-text {
  background: linear-gradient(90deg, #f8472f, #FF6B4A, #f8472f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f8472f;
}

[data-animate] { opacity: 0; will-change: transform, opacity; }

[data-animate].visible-fade-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
[data-animate].visible-scale { animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
[data-animate].visible-slide-left { animation: slideLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
[data-animate].visible-slide-right { animation: slideRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
[data-animate].visible-zoom { animation: zoomPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

/* Card hover — clean lift */
.card-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* ======================== */
/* HERO DECORATIVE SHAPES   */
/* ======================== */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Large glow orb — right side */
.hero-shape-1 {
  width: 700px;
  height: 700px;
  top: -10%;
  right: -15%;
  background: radial-gradient(circle at 40% 50%, rgba(248, 71, 47, 0.15) 0%, rgba(248, 71, 47, 0.05) 40%, transparent 70%);
  animation: heroShapeFloat1 25s ease-in-out infinite;
}

/* Mid circle with stroke */
.hero-shape-2 {
  width: 400px;
  height: 400px;
  top: 50%;
  right: 5%;
  border: 1.5px solid rgba(248, 71, 47, 0.2);
  background: radial-gradient(circle at 60% 40%, rgba(248, 71, 47, 0.06) 0%, transparent 50%);
  animation: heroShapeFloat2 30s ease-in-out infinite;
}

/* Small accent orb */
.hero-shape-3 {
  width: 200px;
  height: 200px;
  top: 15%;
  right: 35%;
  border: 1px solid rgba(248, 71, 47, 0.15);
  background: radial-gradient(circle at 50% 50%, rgba(248, 71, 47, 0.08) 0%, transparent 50%);
  animation: heroShapeFloat3 20s ease-in-out infinite;
}

/* Diagonal beam */
.hero-beam {
  position: absolute;
  top: -20%;
  right: 20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(248, 71, 47, 0.08) 30%, rgba(248, 71, 47, 0.12) 50%, rgba(248, 71, 47, 0.08) 70%, transparent);
  transform: rotate(25deg);
  pointer-events: none;
}

@keyframes heroShapeFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.97); }
}

@keyframes heroShapeFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 15px) scale(1.06); }
}

@keyframes heroShapeFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(15px, -15px) rotate(180deg) scale(1.1); }
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
}

@media (max-width: 767px) {
  .mobile-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(26, 30, 32, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    will-change: opacity;
  }

  .mobile-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .mobile-overlay a {
    font-size: 1.5rem;
    color: #B0BEC5;
    transition: color 0.3s ease;
  }

  .mobile-overlay a:hover,
  .mobile-overlay a.active-mobile {
    color: #f8472f;
  }
}

.hamburger {
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  color: #DFE6E9;
  font-size: 1.8rem;
  line-height: 1;
  transition: color 0.3s ease;
  position: relative;
  z-index: 9999;
}

.hamburger:hover {
  color: #f8472f;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: rgba(26, 30, 32, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: opacity;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #2D3436;
  border: 1px solid #40474A;
  border-radius: 16px;
  max-width: 1000px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  will-change: transform;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: #353B3E;
  border: 1px solid #40474A;
  border-radius: 50%;
  color: #DFE6E9;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #f8472f;
  border-color: #f8472f;
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

/* Carousel */
.modal-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(53, 59, 62, 0.9);
  border: 1px solid #40474A;
  border-radius: 50%;
  color: #DFE6E9;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.carousel-btn:hover {
  background: #f8472f;
  border-color: #f8472f;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  background: rgba(223, 230, 233, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: #f8472f;
  width: 24px;
  border-radius: 4px;
}

/* Modal Info */
.modal-info {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
}

.modal-info .tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(248, 71, 47, 0.1);
  color: #f8472f;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  align-self: flex-start;
}

.modal-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #DFE6E9;
}

.modal-info p {
  color: #B0BEC5;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.modal-info .btn {
  align-self: flex-start;
}

html { scroll-behavior: smooth; }

header { will-change: transform; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1A1E20; }
::-webkit-scrollbar-thumb { background: #40474A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #f8472f; }

/* ======================== */
/* NOISE TEXTURE OVERLAY    */
/* ======================== */
.noise-overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ======================== */
/* MESH GRADIENT HERO       */
/* ======================== */
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-mesh::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(248, 71, 47, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(255, 154, 154, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(248, 71, 47, 0.06) 0%, transparent 50%);
  animation: meshFloat 20s ease-in-out infinite;
  will-change: transform;
}

.hero-mesh::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(248, 71, 47, 0.08) 0%, transparent 60%);
  animation: meshFloat 15s ease-in-out infinite reverse;
  will-change: transform;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -20px) rotate(2deg); }
  50% { transform: translate(-20px, 30px) rotate(-1deg); }
  75% { transform: translate(20px, 20px) rotate(1deg); }
}

/* ======================== */
/* GLASSMORPHISM CARDS      */
/* ======================== */
.card-glass {
  background: rgba(53, 59, 62, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 50%,
    rgba(248, 71, 47, 0.02) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-glass:hover::before {
  opacity: 1;
}

.card-glass:hover {
  border-color: rgba(248, 71, 47, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(248, 71, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ======================== */
/* SECTION DIVIDERS         */
/* ======================== */
.section-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 71, 47, 0.3), transparent);
  margin: 0 auto;
  max-width: 200px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background: #f8472f;
  border-radius: 50%;
  transform: translateY(-50%);
}

.section-divider::before { left: 0; }
.section-divider::after { right: 0; }

/* ======================== */
/* BUTTON RIPPLE EFFECT     */
/* ======================== */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:hover::after {
  width: 300px;
  height: 300px;
}

/* ======================== */
/* FLOATING ELEMENTS        */
/* ======================== */
.floating-element {
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
}

.floating-dot {
  width: 4px;
  height: 4px;
  background: #f8472f;
  border-radius: 50%;
  animation: floatDot 8s ease-in-out infinite;
}

.floating-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(248, 71, 47, 0.3);
  border-radius: 50%;
  animation: floatRing 12s ease-in-out infinite;
}

@keyframes floatDot {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  50% { transform: translateY(-30px) translateX(15px); opacity: 0.8; }
}

@keyframes floatRing {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

/* ======================== */
/* HEADER SCROLL EFFECT     */
/* ======================== */
header.scrolled {
  background: rgba(26, 30, 32, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ======================== */
/* ENHANCED FAQ             */
/* ======================== */
.faq-item {
  background: rgba(53, 59, 62, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.faq-item:hover {
  background: rgba(53, 59, 62, 0.8);
}

.faq-question {
  font-family: 'Montserrat', sans-serif;
}

/* ======================== */
/* FORM ENHANCED            */
/* ======================== */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(248, 71, 47, 0.1);
}

/* ======================== */
/* MODAL ENHANCED           */
/* ======================== */
.modal {
  background: rgba(45, 52, 54, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(248, 71, 47, 0.1);
}

/* ======================== */
/* WHATSAPP BUTTON PULSE    */
/* ======================== */
.whatsapp-pulse {
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 4px 16px rgba(37, 211, 102, 0.4),
      0 0 0 8px rgba(37, 211, 102, 0.1);
  }
}

/* ======================== */
/* DASHBOARD MOCKUP         */
/* ======================== */
.dashboard-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: #1A1E20;
  border: 1px solid rgba(248, 71, 47, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(248, 71, 47, 0.08);
  animation: dashboardFloat 6s ease-in-out infinite;
}

@keyframes dashboardFloat {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  50% { transform: translateY(-12px) rotateX(0deg) rotateY(0deg); }
}

.dashboard-header {
  height: 36px;
  background: #2D3436;
  border-bottom: 1px solid #40474A;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}

.dashboard-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dashboard-dot-red { background: #f8472f; }
.dashboard-dot-yellow { background: #FDCB6E; }
.dashboard-dot-green { background: #25D366; }

.dashboard-url {
  flex: 1;
  height: 20px;
  background: #1A1E20;
  border-radius: 4px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.dashboard-url span {
  font-size: 9px;
  color: #78909C;
}

.dashboard-body {
  display: flex;
  height: calc(100% - 36px);
}

.dashboard-sidebar {
  width: 50px;
  background: #1A1E20;
  border-right: 1px solid #40474A;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sidebar-item {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #2D3436;
  transition: background 0.3s ease;
}

.sidebar-item.active {
  background: rgba(248, 71, 47, 0.2);
  border: 1px solid rgba(248, 71, 47, 0.4);
}

.dashboard-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-stat-row {
  display: flex;
  gap: 10px;
}

.dashboard-stat {
  flex: 1;
  background: #2D3436;
  border: 1px solid #40474A;
  border-radius: 8px;
  padding: 10px;
}

.dashboard-stat-label {
  font-size: 8px;
  color: #78909C;
  margin-bottom: 4px;
}

.dashboard-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: #DFE6E9;
}

.dashboard-stat-value.accent {
  color: #f8472f;
}

.dashboard-chart {
  flex: 1;
  background: #2D3436;
  border: 1px solid #40474A;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.dashboard-chart-title {
  font-size: 9px;
  color: #78909C;
  margin-bottom: 8px;
}

.dashboard-chart-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-bottom: 4px;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  animation: barGrow 2s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.chart-bar:nth-child(1) { height: 40%; background: rgba(248, 71, 47, 0.3); }
.chart-bar:nth-child(2) { height: 70%; background: rgba(248, 71, 47, 0.5); }
.chart-bar:nth-child(3) { height: 55%; background: rgba(248, 71, 47, 0.4); }
.chart-bar:nth-child(4) { height: 85%; background: #f8472f; }
.chart-bar:nth-child(5) { height: 65%; background: rgba(248, 71, 47, 0.5); }
.chart-bar:nth-child(6) { height: 90%; background: #f8472f; }
.chart-bar:nth-child(7) { height: 75%; background: rgba(248, 71, 47, 0.5); }

.dashboard-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(248, 71, 47, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-mockup { animation: none !important; }
  .dashboard-glow { animation: none !important; }
  .chart-bar { animation: none !important; }
}

/* ======================== */
/* TESTIMONIAL SECTION      */
/* ======================== */
.testimonial-card {
  background: rgba(53, 59, 62, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(248, 71, 47, 0.15);
  line-height: 1;
  font-family: Georgia, serif;
}

/* ======================== */
/* REDUCED MOTION           */
/* ======================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-mesh::before,
  .hero-mesh::after,
  .hero-shape,
  .hero-beam {
    animation: none !important;
  }
}
