:root {
  --bg-image: url("./assets/forest.jpeg");
  --mist: #8ed8ff;
  --text-main: #f6f9ff;
  --text-muted: #b9ccdc;
  --line: rgba(234, 249, 255, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #010c1a;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 16%, rgba(189, 242, 255, 0.24) 0%, rgba(172, 239, 255, 0.02) 42%),
    linear-gradient(180deg, rgba(1, 12, 26, 0.42) 0%, rgba(1, 12, 26, 0.7) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(218, 250, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(218, 250, 255, 0.08) 1px, transparent 1px);
  background-size: 190px 190px, 180px 180px;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.content {
  max-width: 80rem;
  text-align: center;
  padding: clamp(0.75rem, 1.1vw, 1.4rem);
  position: relative;
  z-index: 1;
  animation: rise 1s ease-out;
}

.content::before {
  content: "";
  position: absolute;
  left: -2rem;
  right: -2rem;
  top: 4.2rem;
  bottom: -1.2rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(2, 12, 24, 0.64) 0%, rgba(2, 12, 24, 0.46) 42%, rgba(2, 12, 24, 0) 78%);
  filter: blur(10px);
}

.logo-wrap {
  position: relative;
  margin-bottom: clamp(0.6rem, 1.2vw, 1.1rem);
}

.logo-circle {
  width: clamp(7.6rem, 10.5vw, 10.4rem);
  height: clamp(7.6rem, 10.5vw, 10.4rem);
  position: relative;
  filter: drop-shadow(0 0 16px rgba(210, 248, 255, 0.8)) drop-shadow(0 0 36px rgba(160, 233, 255, 0.5));
}

.logo-circle::after {
  content: "";
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(207, 245, 255, 0.48) 30%, rgba(207, 245, 255, 0) 68%);
  filter: blur(10px);
  z-index: 0;
}

.logo-image {
  position: absolute;
  width: 122%;
  height: 122%;
  left: -8%;
  top: -8%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.75));
}

.eyebrow {
  margin: 1.6rem 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-shadow: 0 6px 10px rgba(0, 0, 0, 0.5), 0 16px 30px rgba(0, 8, 18, 0.72);
}

.kagu-strong {
  font-weight: 700;
  color: #ffffff;
}

.project-light {
  font-weight: 500;
  color: #e5f0fa;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.96;
  text-shadow: 0 7px 12px rgba(0, 0, 0, 0.5), 0 18px 34px rgba(0, 8, 18, 0.78);
}

.lead {
  margin: 1.3rem auto 0;
  max-width: 62rem;
  color: #f2f7ff;
  font-size: clamp(1.16rem, 1.9vw, 2.1rem);
  line-height: 1.38;
  font-weight: 500;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.76), 0 10px 20px rgba(0, 7, 15, 0.92);
}

.cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(14rem, 24vw, 20rem);
  padding: clamp(0.82rem, 1.2vw, 1.15rem) clamp(1.8rem, 2.9vw, 2.6rem);
  border-radius: 0.85rem;
  border: 2px solid #f4fbff;
  color: #ffffff;
  font-size: clamp(1.1rem, 1.55vw, 2rem);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(120deg, rgba(10, 33, 54, 0.96), rgba(13, 45, 68, 0.96));
  backdrop-filter: blur(3px);
  box-shadow: 0 10px 26px rgba(0, 6, 16, 0.44);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 4, 12, 0.35);
  background: linear-gradient(120deg, rgba(16, 52, 79, 0.98), rgba(20, 64, 92, 0.98));
}

.cta:focus-visible {
  outline: 3px solid #fff4b0;
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  body {
    overflow: auto;
    background-attachment: scroll;
  }

  .hero {
    min-height: 100svh;
    padding: 1.1rem;
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.8rem);
  }

  .lead {
    margin-top: 1.25rem;
    font-size: clamp(1.03rem, 4.8vw, 1.34rem);
    max-width: 26rem;
  }

  .content::before {
    left: -0.8rem;
    right: -0.8rem;
    top: 3.8rem;
    bottom: 0;
  }

  .eyebrow {
    margin-top: 1.5rem;
    font-size: clamp(2.1rem, 12vw, 3rem);
  }

  .cta {
    width: min(92vw, 19.5rem);
    font-size: clamp(1.02rem, 5.6vw, 1.5rem);
    border-width: 2px;
  }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .hero {
    padding-top: 1rem;
  }

  .logo-wrap {
    margin-bottom: 0.35rem;
  }

  .content {
    padding-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .cta:hover,
  .cta:focus-visible {
    transform: none;
  }
}
