* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: #eef5ff;
  background:
    radial-gradient(circle at top left, rgba(0, 153, 255, 0.22), transparent 35%),
    radial-gradient(circle at bottom right, rgba(87, 92, 255, 0.18), transparent 35%),
    #070b14;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #6bd6ff;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: #b8c7dc;
  font-size: 14px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #ffffff;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 74px);
  padding: 70px 7%;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(107, 214, 255, 0.35);
  border-radius: 999px;
  color: #90e6ff;
  background: rgba(107, 214, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h1 span {
  background: linear-gradient(135deg, #6bd6ff, #8f7cff, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: #c8d5e8;
  font-size: 18px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, #0ea5ff, #6d5cff);
  box-shadow: 0 18px 42px rgba(14, 165, 255, 0.28);
}

.btn.ghost {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
}

.profile-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045));
  box-shadow: 0 24px 80px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 180px;
  height: 180px;
  background: #0ea5ff;
  filter: blur(75px);
  opacity: 0.5;
}

.avatar {
  width: 120px;
  height: 120px;
  margin-bottom: 22px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0ea5ff, #6d5cff);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.18), 0 22px 50px rgba(14,165,255,0.25);
}

.avatar span {
  font-size: 58px;
  font-weight: 900;
}

.profile-card h2 {
  font-size: 32px;
}

.profile-card p {
  margin-top: 8px;
  color: #b8c7dc;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stats div {
  padding: 14px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 14px;
}

.stats span {
  display: block;
  margin-top: 5px;
  color: #9fb1c8;
  font-size: 12px;
}

.section {
  padding: 72px 7%;
}

.section-title {
  margin-bottom: 24px;
}

.section-title p {
  color: #6bd6ff;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title h2,
.contact h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.about-box {
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  background: rgba(255,255,255,0.055);
}

.about-box p {
  color: #cad7e8;
  line-height: 2;
}

.about-box p + p {
  margin-top: 16px;
}

.cards,
.server-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.card,
.server-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px;
  background: rgba(255,255,255,0.055);
  transition: transform 0.2s ease, background 0.2s ease;
}

.card:hover,
.server-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.085);
}

.icon {
  font-size: 34px;
  margin-bottom: 16px;
}

.card h3,
.server-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.card p,
.server-card p,
.contact p {
  color: #bdcadb;
  line-height: 1.8;
}

.server-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(107, 214, 255, 0.12);
  color: #8ee6ff;
  font-size: 12px;
  font-weight: 800;
}

.contact {
  margin: 30px 7% 70px;
  padding: 46px;
  border: 1px solid rgba(107, 214, 255, 0.2);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(14, 165, 255, 0.15), rgba(109, 92, 255, 0.12)),
    rgba(255,255,255,0.05);
  text-align: center;
}

.contact p {
  margin: 12px 0 26px;
}

footer {
  position: relative;
  z-index: 1;
  padding: 28px 7%;
  color: #8fa2ba;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer .small {
  margin-top: 8px;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .cards,
  .server-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .site-header {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .contact {
    margin-left: 7%;
    margin-right: 7%;
    padding: 32px 22px;
  }
}
