/* public/css/main.css - Omnifio Futuristic Design System */

/* ===== CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-thin);
  font-weight: 300;
  line-height: 1.6;
  color: #ffffff;
  background: #000000;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

body.loaded {
  opacity: 1;
}

/* ===== FUTURISTIC COLOR VARIABLES ===== */
:root {
  /* Primary Colors */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;

  /* Professional Corporate Blue */
  --corporate-blue: #0066c7;
  --deep-blue: #0a0a2e;
  --navy-blue: #16213e;
  --electric-blue: #0066c7;
  --azure-blue: #0099cc;
  --royal-blue: #1e3a8a;

  /* Glossy Gradients */
  --gradient-primary: linear-gradient(135deg, var(--deep-blue) 0%, var(--navy-blue) 30%, var(--electric-blue) 70%, var(--azure-blue) 100%);
  --gradient-secondary: linear-gradient(45deg, var(--royal-blue) 0%, var(--electric-blue) 50%, var(--azure-blue) 100%);
  --gradient-text: linear-gradient(90deg, var(--deep-blue), var(--electric-blue), var(--azure-blue));

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-accent: var(--corporate-blue);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Typography */
  --font-family-primary: 'Inter', sans-serif;
  --font-family-thin: 'Poppins', sans-serif;
  --font-family-futuristic: 'Orbitron', monospace;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 3rem;
  --font-size-3xl: 4rem;
  --font-size-4xl: 5rem;

  /* Shadows */
  --shadow-neon: 0 0 20px rgba(0, 255, 255, 0.3);
  --shadow-neon-strong: 0 0 30px rgba(0, 255, 255, 0.5);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-4xl);
  line-height: 1.1;
}

h2 {
  font-size: var(--font-size-3xl);
  line-height: 1.2;
}

h3 {
  font-size: var(--font-size-2xl);
  line-height: 1.3;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TYPOGRAPHY CLASSES ===== */
.futuristic-font {
  font-family: var(--font-family-futuristic);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.neon-border {
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              var(--gradient-primary) border-box;
  box-shadow: var(--shadow-neon);
}

.neon-glow {
  box-shadow: var(--shadow-neon);
  transition: box-shadow 0.3s ease;
}

.neon-glow:hover {
  box-shadow: var(--shadow-neon-strong);
}

/* ===== GLASS EFFECTS ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-card-strong {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ===== PAGE LOAD ANIMATION ===== */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(0.9);
  filter: blur(20px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  filter: blur(2px) brightness(0.4) contrast(1.2);
  z-index: 0;
  opacity: 0.7;
}

/* Frosty overlay on video */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 1;
  pointer-events: none;
}

/* Parallax Elements */
.parallax-element {
  position: absolute;
  background: linear-gradient(45deg, rgba(0, 102, 199, 0.08), rgba(0, 102, 199, 0.06));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 102, 199, 0.2);
  animation: floatPulse 25s ease-in-out infinite;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 102, 199, 0.1);
}

.parallax-rect-1 {
  width: 85px;
  height: 120px;
  top: 15%;
  left: 8%;
  border-radius: 42px 8px 60px 15px;
  animation-delay: 0s;
  animation-duration: 45s;
}

.parallax-rect-2 {
  width: 140px;
  height: 75px;
  top: 55%;
  right: 12%;
  border-radius: 37px 50px 15px 45px;
  animation-delay: 8s;
  animation-duration: 50s;
}

.parallax-rect-3 {
  width: 65px;
  height: 95px;
  bottom: 25%;
  left: 18%;
  border-radius: 25px 8px 40px 30px;
  animation-delay: 15s;
  animation-duration: 42s;
}

.parallax-rect-4 {
  width: 110px;
  height: 80px;
  top: 35%;
  right: 20%;
  border-radius: 50px 20px 35px 10px;
  animation-delay: 22s;
  animation-duration: 48s;
}

.parallax-rect-5 {
  width: 75px;
  height: 130px;
  bottom: 15%;
  left: 12%;
  border-radius: 15px 35px 20px 50px;
  animation-delay: 12s;
  animation-duration: 55s;
}

.parallax-rect-6 {
  width: 95px;
  height: 55px;
  top: 28%;
  left: 28%;
  border-radius: 27px 40px 12px 30px;
  animation-delay: 18s;
  animation-duration: 40s;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    box-shadow: 0 0 12px rgba(0, 102, 199, 0.12);
  }
  15% {
    transform: translateY(-8px) rotate(15deg) scale(1.02);
    box-shadow: 0 0 18px rgba(0, 102, 199, 0.18);
  }
  30% {
    transform: translateY(-4px) rotate(30deg) scale(0.98);
    box-shadow: 0 0 15px rgba(0, 102, 199, 0.15);
  }
  45% {
    transform: translateY(-12px) rotate(45deg) scale(1.03);
    box-shadow: 0 0 20px rgba(0, 102, 199, 0.2);
  }
  60% {
    transform: translateY(-6px) rotate(60deg) scale(0.97);
    box-shadow: 0 0 14px rgba(0, 102, 199, 0.14);
  }
  75% {
    transform: translateY(-10px) rotate(75deg) scale(1.01);
    box-shadow: 0 0 16px rgba(0, 102, 199, 0.16);
  }
  90% {
    transform: translateY(-2px) rotate(90deg) scale(0.99);
    box-shadow: 0 0 13px rgba(0, 102, 199, 0.13);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  min-height: 100vh;
  padding: var(--spacing-xl) 0;
}

.hero-main {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding-bottom: var(--spacing-xl);
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-shadow-border {
  text-shadow:
    -1px -1px 0 #000000,
    1px -1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000,
    0 0 2px rgba(0, 102, 199, 0.8),
    0 0 4px rgba(0, 102, 199, 0.6),
    0 0 8px rgba(0, 102, 199, 0.4),
    0 0 12px rgba(0, 102, 199, 0.2);
}

.hero-company {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--spacing-xl);
}

.company-name {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
}

.company-tagline {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--corporate-blue);
}

.detail-value {
  color: var(--text-primary);
  text-align: right;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 100%;
}

.service-tag {
  background: rgba(0, 102, 199, 0.1);
  border: 1px solid rgba(0, 102, 199, 0.3);
  color: var(--corporate-blue);
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.2rem;
  white-space: nowrap;
}

.service-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Subtle pulsing animations for variety - only after reveal */
.service-tag.revealed:nth-child(1) {
  animation: tagPulseGentle 8s ease-in-out infinite;
}

.service-tag.revealed:nth-child(2) {
  animation: tagPulseSoft 9s ease-in-out infinite;
}

.service-tag.revealed:nth-child(3) {
  animation: tagPulseCalm 10s ease-in-out infinite;
}

.service-tag.revealed:nth-child(4) {
  animation: tagPulseFlow 11s ease-in-out infinite;
}

.service-tag.revealed:nth-child(5) {
  animation: tagPulseWave 12s ease-in-out infinite;
}

.service-tag.revealed:nth-child(6) {
  animation: tagPulseDrift 13s ease-in-out infinite;
}

.service-tag.revealed:nth-child(7) {
  animation: tagPulsePulse 14s ease-in-out infinite;
}

.service-tag.revealed:nth-child(8) {
  animation: tagPulseSpark 15s ease-in-out infinite;
}

.service-tag.revealed:nth-child(9) {
  animation: tagPulseGlow 16s ease-in-out infinite;
}

.service-tag.revealed:nth-child(10) {
  animation: tagPulseBounce 17s ease-in-out infinite;
}

.service-tag.revealed:nth-child(11) {
  animation: tagPulseGentle 18s ease-in-out infinite;
}

@keyframes tagPulseGentle {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.92;
  }
  25% {
    transform: scale(1.02) translateY(-0.5px) translateX(0.3px);
    opacity: 0.98;
  }
  50% {
    transform: scale(0.99) translateY(0.8px) translateX(-0.2px);
    opacity: 0.95;
  }
  75% {
    transform: scale(1.01) translateY(-0.3px) translateX(0.1px);
    opacity: 0.97;
  }
}

@keyframes tagPulseSoft {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.94;
  }
  33% {
    transform: scale(1.015) translateY(-0.4px) translateX(-0.2px);
    opacity: 0.98;
  }
  66% {
    transform: scale(0.985) translateY(0.6px) translateX(0.3px);
    opacity: 0.96;
  }
}

@keyframes tagPulseCalm {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.93;
  }
  20% {
    transform: scale(1.025) translateY(-0.6px) translateX(0.2px);
    opacity: 0.97;
  }
  40% {
    transform: scale(0.975) translateY(0.9px) translateX(-0.1px);
    opacity: 0.95;
  }
  60% {
    transform: scale(1.005) translateY(-0.2px) translateX(0.4px);
    opacity: 0.96;
  }
  80% {
    transform: scale(0.995) translateY(0.3px) translateX(-0.3px);
    opacity: 0.94;
  }
}

@keyframes tagPulseFlow {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.91;
  }
  25% {
    transform: scale(1.01) translateY(-0.2px) translateX(0.1px);
    opacity: 0.96;
  }
  50% {
    transform: scale(0.99) translateY(0.4px) translateX(-0.3px);
    opacity: 0.93;
  }
  75% {
    transform: scale(1.005) translateY(-0.1px) translateX(0.2px);
    opacity: 0.95;
  }
}

@keyframes tagPulseWave {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.92;
  }
  30% {
    transform: scale(1.02) translateY(-0.3px) translateX(0.4px);
    opacity: 0.97;
  }
  60% {
    transform: scale(0.98) translateY(0.5px) translateX(-0.2px);
    opacity: 0.94;
  }
}

@keyframes tagPulseDrift {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.93;
  }
  20% {
    transform: scale(1.015) translateY(-0.4px) translateX(-0.1px);
    opacity: 0.96;
  }
  40% {
    transform: scale(0.985) translateY(0.2px) translateX(0.3px);
    opacity: 0.94;
  }
  60% {
    transform: scale(1.008) translateY(-0.1px) translateX(-0.2px);
    opacity: 0.95;
  }
  80% {
    transform: scale(0.992) translateY(0.3px) translateX(0.1px);
    opacity: 0.93;
  }
}

@keyframes tagPulsePulse {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.91;
  }
  15% {
    transform: scale(1.03) translateY(-0.5px) translateX(0.2px);
    opacity: 0.98;
  }
  30% {
    transform: scale(0.97) translateY(0.3px) translateX(-0.1px);
    opacity: 0.94;
  }
  45% {
    transform: scale(1.02) translateY(-0.2px) translateX(0.3px);
    opacity: 0.96;
  }
  60% {
    transform: scale(0.98) translateY(0.4px) translateX(-0.2px);
    opacity: 0.93;
  }
  75% {
    transform: scale(1.01) translateY(-0.3px) translateX(0.1px);
    opacity: 0.95;
  }
}

@keyframes tagPulseSpark {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.91;
  }
  10% {
    transform: scale(1.04) translateY(-0.6px) translateX(0.2px);
    opacity: 0.98;
  }
  25% {
    transform: scale(0.96) translateY(0.4px) translateX(-0.3px);
    opacity: 0.93;
  }
  40% {
    transform: scale(1.02) translateY(-0.2px) translateX(0.4px);
    opacity: 0.96;
  }
  55% {
    transform: scale(0.98) translateY(0.5px) translateX(-0.1px);
    opacity: 0.94;
  }
  70% {
    transform: scale(1.01) translateY(-0.4px) translateX(0.1px);
    opacity: 0.95;
  }
  85% {
    transform: scale(0.99) translateY(0.2px) translateX(-0.2px);
    opacity: 0.92;
  }
}

@keyframes tagPulseGlow {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.92;
  }
  15% {
    transform: scale(1.03) translateY(-0.5px) translateX(0.3px);
    opacity: 0.97;
  }
  35% {
    transform: scale(0.97) translateY(0.7px) translateX(-0.2px);
    opacity: 0.94;
  }
  55% {
    transform: scale(1.02) translateY(-0.3px) translateX(0.1px);
    opacity: 0.96;
  }
  75% {
    transform: scale(0.98) translateY(0.4px) translateX(-0.3px);
    opacity: 0.93;
  }
  90% {
    transform: scale(1.005) translateY(-0.1px) translateX(0.2px);
    opacity: 0.95;
  }
}

@keyframes tagPulseBounce {
  0%, 100% {
    transform: scale(1) translateY(0px) translateX(0px);
    opacity: 0.91;
  }
  12% {
    transform: scale(1.05) translateY(-0.8px) translateX(0.1px);
    opacity: 0.98;
  }
  25% {
    transform: scale(0.95) translateY(0.6px) translateX(-0.2px);
    opacity: 0.93;
  }
  37% {
    transform: scale(1.03) translateY(-0.4px) translateX(0.3px);
    opacity: 0.96;
  }
  50% {
    transform: scale(0.97) translateY(0.5px) translateX(-0.1px);
    opacity: 0.94;
  }
  62% {
    transform: scale(1.02) translateY(-0.3px) translateX(0.2px);
    opacity: 0.95;
  }
  75% {
    transform: scale(0.98) translateY(0.4px) translateX(-0.3px);
    opacity: 0.92;
  }
  87% {
    transform: scale(1.01) translateY(-0.2px) translateX(0.1px);
    opacity: 0.94;
  }
}


/* ===== HERO RESPONSIVE ===== */





/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    min-height: auto;
    padding: var(--spacing-xl) 0;
  }

  .hero-main {
    align-items: center;
    padding-bottom: 0;
    margin-bottom: var(--spacing-xl);
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .company-name {
    font-size: var(--font-size-xl);
  }

  .company-card {
    padding: var(--spacing-lg);
  }

  .services-list {
    gap: var(--spacing-xs);
  }

  .service-tag {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .service-icon {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-size-xl);
  }

  .company-name {
    font-size: var(--font-size-lg);
  }

  .company-card {
    padding: var(--spacing-md);
  }

  .services-list {
    flex-direction: column;
    align-items: center;
  }
}

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

.fade-in-up {
  animation: fadeInUp 1s ease-out;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
*:focus {
  outline: 2px solid var(--corporate-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --corporate-blue: #ffffff;
    --electric-blue: #ffffff;
    --azure-blue: #ffffff;
    --royal-blue: #ffffff;
  }
}

