/* Import modern Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design Tokens */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette - Cyber Space Theme */
  --bg-primary: #060913;
  --bg-secondary: #0d1225;
  --bg-card: rgba(13, 18, 37, 0.45);
  --bg-card-hover: rgba(19, 26, 53, 0.65);
  --border-color: rgba(0, 242, 254, 0.15);
  --border-hover: rgba(0, 242, 254, 0.4);

  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.35);
  --secondary: #4facfe;
  --accent: #7f00ff;
  --accent-glow: rgba(127, 0, 255, 0.3);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #060913;

  /* Layout and sizing */
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;

  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Cybernetic Background Glow Effects */
body::before,
body::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.45;
}

body::before {
  top: 10%;
  left: -5%;
  background: var(--primary);
}

body::after {
  top: 50%;
  right: -5%;
  background: var(--accent);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* Section Title Highlight */
h2.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Interactive elements base focus */
button,
input,
textarea,
a {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 80px 0;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(6, 9, 19, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(6, 9, 19, 0.9);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--primary-glow));
  transition: var(--transition-smooth);
}

.logo:hover svg {
  transform: rotate(15deg) scale(1.1);
}

.logo-text span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navigation Hamburger Icon */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.15);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
  z-index: 1; /* Cria um contexto de empilhamento local para manter o pseudo-elemento acima do fundo do body */
}

.hero-bg-overlay {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(6, 9, 19, 0.3) 0%, rgba(6, 9, 19, 0.85) 100%);
  z-index: 1;
}

.hero-bg-img {
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: center;
  filter: blur(2px); /* Reduzido de 10px para 2px para tornar as linhas de código e elementos de TI identificáveis */
  opacity: 0.45; /* Aumentado para 45% para que a imagem de tecnologia fique visível e bonita */
  transform: scale(1.02);
  max-width: none; /* Ignora restrição global de max-width */
  display: block;
}

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

.hero-content {
  text-align: left;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-tagline span {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* Glassmorphism Graphic for Hero */
.hero-graphic-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
}

.circle-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(127, 0, 255, 0.12) 70%, transparent 100%);
  filter: blur(25px);
  animation: float 6s ease-in-out infinite;
}

.glass-dashboard {
  position: absolute;
  width: 100%;
  aspect-ratio: 1.35;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: float 6s ease-in-out infinite alternate;
}

.dashboard-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

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

.dot-red {
  background-color: #ef4444;
}

.dot-yellow {
  background-color: #f59e0b;
}

.dot-green {
  background-color: #10b981;
}

.code-block {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: var(--primary);
  flex-grow: 1;
}

.code-line {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-10px);
  animation: slideInLine 0.5s ease forwards;
}

.code-line:nth-child(1) {
  animation-delay: 0.5s;
}

.code-line:nth-child(2) {
  animation-delay: 1s;
  color: #a5b4fc;
}

.code-line:nth-child(3) {
  animation-delay: 1.5s;
  color: var(--secondary);
}

.code-line:nth-child(4) {
  animation-delay: 2s;
  color: #38bdf8;
}

.tech-badge-container {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.tech-badge {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Metrics Section */
.metrics {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.metric-item:hover {
  transform: translateY(-2px);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .metric-number {
    font-size: 2.75rem;
  }
}

/* Services Section */
.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 242, 254, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.8rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 15px var(--primary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
  text-align: justify;
}

.service-features {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-content {
  text-align: left;
}

.about-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-tagline span {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.about-feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

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

/* Server Video Player Styling */
.server-video-player {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.5;
  background-color: #02040a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-video-player:hover {
  border-color: var(--border-hover);
  box-shadow: 0 30px 60px rgba(0, 242, 254, 0.15);
}

.video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
  opacity: 0.85;
}

.server-video-player.playing .video-img {
  animation: datacenterTour 25s ease-in-out infinite;
  filter: brightness(1.1) contrast(1.05);
}

@keyframes datacenterTour {
  0% {
    transform: scale(1.9) translate(20%, 6%) rotate(0deg);
  }
  25% {
    transform: scale(1.9) translate(0%, -6%) rotate(0.4deg);
  }
  50% {
    transform: scale(1.9) translate(-20%, 6%) rotate(-0.5deg);
  }
  75% {
    transform: scale(1.9) translate(0%, -6%) rotate(-0.2deg);
  }
  100% {
    transform: scale(1.9) translate(20%, 6%) rotate(0deg);
  }
}



/* Grid Overlay & Scanning Line */
.video-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(18, 24, 48, 0) 95%, rgba(0, 242, 254, 0.15) 95%),
    linear-gradient(90deg, rgba(18, 24, 48, 0) 95%, rgba(0, 242, 254, 0.15) 95%);
  background-size: 15px 15px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
}

.video-scan-laser {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  box-shadow: 0 0 10px var(--primary);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
}

.server-video-player.playing .video-scan-laser {
  animation: scanLaser 3s linear infinite;
  opacity: 0.8;
}

@keyframes scanLaser {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* Video Header (Live Status) */
.video-header {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 9, 19, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 30px;
  z-index: 4;
  pointer-events: none;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
}

.server-video-player.playing .live-dot {
  animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

.live-text {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

/* Play/Diagnostics Button Overlay */
.video-play-overlay-btn {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(6, 9, 19, 0.85);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition-smooth);
  box-shadow: 0 0 25px var(--primary-glow);
}

.video-play-overlay-btn:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 35px var(--primary);
}

.video-play-overlay-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.server-video-player.playing .video-play-overlay-btn {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

/* Subtitle Styling */
.video-subtitle {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 4;
  pointer-events: none;
  padding: 0 20px;
}

.video-subtitle span {
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
  max-width: 85%;
}

/* Video Controls Panel */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 9, 19, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.server-video-player:hover .video-controls {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.control-btn {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: var(--transition-fast);
}

.control-btn:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.control-btn svg {
  width: 18px;
  height: 18px;
}

.timeline-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.timeline-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  position: relative;
  transition: height 0.2s ease;
}

.timeline-container:hover .timeline-bar {
  height: 6px;
}

.timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  border-radius: 2px;
  position: relative;
}

.video-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  min-width: 75px;
}

.quality-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
  font-size: 1.05rem;
  color: #ffffff;
}

.contact-text a:hover {
  color: var(--primary);
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* Glass Contact Form */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Success notification message */
.form-status {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

/* WhatsApp Floating Icon */
.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Scroll to Top Floating Icon */
.scroll-top-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(13, 18, 37, 0.8);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-3px);
}

/* Footer Section */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 15px;
}

.footer-brand p {
  max-width: 320px;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

@keyframes float {
  0% {
    transform: translate(-50%, -52%);
  }

  100% {
    transform: translate(-50%, -48%);
  }
}

@keyframes slideInLine {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Media Queries (Responsive Layouts) */

/* Tablet Viewports */
@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop Viewports */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
  }

  .section-padding {
    padding: 120px 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    padding-right: 40px;
  }
}

/* Mobile Navigation Drawer styles */
@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    z-index: 998;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  .nav-link {
    font-size: 1.25rem;
  }

  .header.scrolled .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
}

/* Form Status Messages */
.php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: var(--border-radius-sm);
  color: var(--primary);
  border: 1px solid var(--border-color);
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--primary);
  border-top-color: transparent;
  animation: animate-loading 1s linear infinite;
}

.php-email-form .error-message {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  text-align: left;
  padding: 15px;
  margin-bottom: 15px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
}

.php-email-form .sent-message {
  display: none;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  text-align: center;
  padding: 15px;
  margin-bottom: 15px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
}

.d-block {
  display: block !important;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}