:root {
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.15);
  --bg: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #f9fafb;
  --nav-bg: rgba(255, 255, 255, 0.8);
  --accent: #f43f5e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.8);
    --primary-glow: rgba(99, 102, 241, 0.3);
  }
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
  margin: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.notice {
  margin: 2rem 0;
  padding: 1.25rem;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
}

.notice svg {
  flex-shrink: 0;
  color: var(--primary);
}

nav {
  margin-top: 1.5rem;
}

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.nav-pills a {
  text-decoration: none;
  color: var(--text-muted);
  background: var(--card-bg);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.nav-pills a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

main {
  padding: 3rem 0;
}

section {
  margin-bottom: 3.5rem;
  animation: fadeIn 0.6s ease-out backwards;
}

section:nth-child(1) {
  animation-delay: 0.1s;
}

section:nth-child(2) {
  animation-delay: 0.2s;
}

section:nth-child(3) {
  animation-delay: 0.3s;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2::before {
  content: '';
  width: 4px;
  height: 1.2rem;
  background: var(--primary);
  border-radius: 4px;
}

p,
li {
  color: var(--text-muted);
  font-size: 1.1rem;
}

strong {
  color: var(--text);
  font-weight: 600;
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
  background: var(--card-bg);
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
  background: radial-gradient(circle at top, var(--primary-glow), transparent);
}

.hero-icon {
  max-width: 400px;
  width: 90%;
  height: auto;
  margin-bottom: 0.5rem;
  /* Removed border-radius and box-shadow for text logo */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero p {
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--primary-glow);
  opacity: 0.95;
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--card-bg);
}

.btn-outline:hover {
  background: var(--border);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-icon {
    width: 140px;
    height: 140px;
  }
}