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

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #1e3a8a;
  color: #ffffff;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom cursors */
/* Orange crosshair as default cursor */
*, *::before, *::after {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cline x1='12' y1='0' x2='12' y2='24' stroke='%23ff6b00' stroke-width='2'/%3E%3Cline x1='0' y1='12' x2='24' y2='12' stroke='%23ff6b00' stroke-width='2'/%3E%3C/svg%3E") 12 12, crosshair;
}

/* Writing the Wave logo cursor on link hover */
a, button, .logo-link, [role="button"] {
  cursor: url("wtw-cursor.png") 16 16, pointer;
}

a:hover, button:hover, .logo-link:hover, [role="button"]:hover {
  cursor: url("wtw-cursor.png") 16 16, pointer;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: #f5f5f5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e3a8a;
  transition: width 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
}

/* Logos */
.logos-section {
  margin-bottom: 3.5rem;
}

.logos-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-link {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-wtw {
  height: 50px;
}

.logo-cushy {
  height: 45px;
}

/* Cushy logo color cycling on hover */
.logo-cushy-wrapper {
  position: relative;
  display: inline-block;
}

.logo-cushy-base {
  position: relative;
  z-index: 1;
}

.logo-cushy-variant {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}

.logo-cushy-wrapper:hover .logo-cushy-base {
  opacity: 0;
}

.logo-cushy-wrapper:hover .logo-cushy-sun {
  animation: cushyCycle 2s steps(1) infinite;
}

.logo-cushy-wrapper:hover .logo-cushy-moss {
  animation: cushyCycle 2s steps(1) infinite;
  animation-delay: 0.5s;
}

.logo-cushy-wrapper:hover .logo-cushy-sky {
  animation: cushyCycle 2s steps(1) infinite;
  animation-delay: 1s;
}

.logo-cushy-wrapper:hover .logo-cushy-anchor {
  animation: cushyCycle 2s steps(1) infinite;
  animation-delay: 1.5s;
}

@keyframes cushyCycle {
  0%, 24.9% {
    opacity: 1;
  }
  25%, 100% {
    opacity: 0;
  }
}

/* Headline */
.headline {
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 850px;
}

/* Body Text */
.body-text {
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.body-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.body-text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}

.body-text a:hover {
  opacity: 0.75;
}

/* CTA Section */
.cta-section {
  margin-bottom: 3rem;
}

.cta-text {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #1e3a8a;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.cta-arrow {
  margin-left: 2px;
}

/* Footer */
.footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer a:hover {
  opacity: 0.75;
}

.x-logo {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  vertical-align: middle;
  margin-top: -2px;
  transition: fill 0.2s ease, transform 0.2s ease;
}

.social-link:hover .x-logo {
  fill: #ff6b00;
  transform: scale(1.1);
}

/* Text Reveal Animations - Konzok Style */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-delay-1 { animation-delay: 0.15s; }
.reveal-delay-2 { animation-delay: 0.3s; }
.reveal-delay-3 { animation-delay: 5.3s; }
.reveal-delay-4 { animation-delay: 5.6s; }
.reveal-delay-5 { animation-delay: 0.75s; }

/* Word-by-word Typewriter Animation */
@keyframes wordReveal {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.typewriter-headline .word,
.typewriter-paragraph .word {
  display: inline;
  opacity: 0;
  animation: wordReveal 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

  .nav-links {
    gap: 1.5rem;
  }

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

  .hero {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .headline {
    font-size: 1.85rem;
  }

  .body-text p {
    font-size: 0.95rem;
  }

  .logos-section {
    margin-bottom: 2.5rem;
  }

  .logo-img {
    height: 40px;
  }

  .logo-wtw {
    height: 40px;
  }

  .logo-cushy {
    height: 36px;
  }

  .logo-cushy-variant {
    height: 36px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }

  .headline {
    font-size: 1.5rem;
  }
}
