/*
Theme Name: WorkInTech TI - Starlink Rental
Theme URI: https://workintechti.com
Author: WorkInTech TI
Author URI: https://workintechti.com
Description: Tema Classic de altíssima conversão e performance para locação de kits de internet via satélite Starlink + Ubiquiti em Catalão, Três Ranchos e região.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: workintechti
*/

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
html {
  scroll-behavior: smooth;
  background-color: #0B1120;
  color: #E2E8F0;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #0B1120;
}

/* ==========================================================================
   VISUAL SKILL A: ROTATING GRADIENT BUTTON (Pure CSS Keyframes)
   ========================================================================== */
@keyframes border-spin {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.btn-rotating-gradient {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  background-color: #5199D5;
  color: #ffffff;
  z-index: 1;
  display: inline-flex;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 25px rgba(81, 153, 213, 0.35);
}

.btn-rotating-gradient:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 35px rgba(81, 153, 213, 0.55);
}

.btn-rotating-gradient::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%;
  aspect-ratio: 1;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 65%,
    #5199D5 85%,
    #ffffff 100%
  );
  transform: translate(-50%, -50%) rotate(0deg);
  animation: border-spin 3.5s linear infinite;
  z-index: -2;
}

.btn-rotating-gradient::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0B1120;
  border-radius: 9999px;
  z-index: -1;
  transition: background-color 0.3s ease;
}

.btn-rotating-gradient:hover::after {
  background: #16243D;
}

.btn-content-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* ==========================================================================
   VISUAL SKILL B: CINEMATIC HERO BANNER (Adaptação do componente 21st.dev)
   ========================================================================== */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-slide-in-1 {
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.1s;
}

.animate-fade-slide-in-2 {
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.animate-fade-slide-in-3 {
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
}

.animate-fade-slide-in-4 {
  animation: fadeSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.4s;
}

.hero-cinematic-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   VISUAL SKILL C: BENTO GRID DOT PATTERN & HOVER GLOW
   ========================================================================== */
.bento-card {
  position: relative;
  background-color: #16243D;
  border: 1px solid rgba(81, 153, 213, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(81, 153, 213, 0.5);
  box-shadow: 0 12px 35px rgba(11, 17, 32, 0.75), 0 0 20px rgba(81, 153, 213, 0.2);
}

.bento-dot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  background-image: radial-gradient(circle at center, rgba(81, 153, 213, 0.2) 1px, transparent 1px);
  background-size: 12px 12px;
}

.bento-card:hover .bento-dot-pattern {
  opacity: 1;
}

/* ==========================================================================
   VISUAL SKILL D: CINEMATIC GLOW (Radial Gradient Spotlight)
   ========================================================================== */
.bg-cinematic-glow {
  position: relative;
  overflow: hidden;
}

.bg-cinematic-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(81, 153, 213, 0.22) 0%, rgba(22, 36, 61, 0.4) 45%, transparent 75%);
  z-index: 1;
}

/* ==========================================================================
   ACCORDION TRANSITIONS (VANILLA JS)
   ========================================================================== */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero image bottom gradient fade mask */
.hero-image-mask {
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
