/* Modern Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --text-primary: #0F2C59; /* Navy Blue for primary text */
  --text-secondary: rgba(15, 44, 89, 0.7); /* Muted Navy for secondary text */
  --brand-navy: #0F2C59;
  --brand-red: #C61F2E;
  --brand-red-glow: rgba(198, 31, 46, 0.1);
}

html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: fixed; /* Prevents scroll and bounce on mobile */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  color: var(--text-primary);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Background Glow & Particles */
.bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 31, 46, 0.05) 0%, rgba(15, 44, 89, 0.03) 50%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
  animation: glowPulse 10s ease-in-out infinite alternate;
}

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

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}

.particle-red {
  background: var(--brand-red);
  box-shadow: 0 0 6px rgba(198, 31, 46, 0.3);
}

.particle-blue {
  background: var(--brand-navy);
  box-shadow: 0 0 6px rgba(15, 44, 89, 0.2);
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Brand Header */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  animation: fadeInDown 1.2s ease-out;
}

.logo-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1.2s ease-out;
}

.title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: var(--brand-navy);
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-red) 0%, #FF5E62 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.gradient-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-red), transparent);
}

.subtitle {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Footer Section */
.footer {
  position: fixed;
  bottom: 0.6rem;
  text-align: center;
  width: 100%;
  z-index: 10;
}

.copyright {
  font-size: 0.8rem;
  color: var(--brand-navy);
  opacity: 0.75;
  letter-spacing: 0.5px;
  padding: 0 1.5rem;
}

/* Ocean Wave Animations at the Bottom */
.wave-container {
  position: fixed;
  bottom: 2.2rem;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 0;
  pointer-events: none;
}

.waves {
  position: relative;
  width: 100%;
  height: 12vh;
  min-height: 80px;
  max-height: 120px;
}

/* Wave Parallax Animation */
.parallax > use {
  animation: move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 6s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 9s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 12s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 16s;
}

@keyframes move-forever {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* Entrance Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .logo-image {
    max-width: 200px;
  }

  .title {
    font-size: 1.65rem;
    white-space: nowrap;
    letter-spacing: -0.5px;
  }
  
  .wave-container {
    bottom: 1.6rem;
  }
  
  .footer {
    bottom: 0.4rem;
  }
  
  .waves {
    height: 8vh;
    min-height: 60px;
  }
}
