:root {
  --bg0: #0b1f2a;
  --bg1: #123647;
  --ink: #e8f2f6;
  --muted: #a8c0cb;
  --accent: #2bb3a0;
  --accent-2: #f0a35e;
  --line: rgba(232, 242, 246, 0.14);
  --font-display: "DM Sans", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg0);
  line-height: 1.65;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% 8%, rgba(43, 179, 160, 0.22), transparent 60%),
    radial-gradient(700px 420px at 88% 18%, rgba(240, 163, 94, 0.16), transparent 55%),
    linear-gradient(165deg, var(--bg0), var(--bg1) 55%, #0a1820);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
}

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

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.top nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.top nav a:hover {
  color: var(--ink);
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  min-height: calc(100vh - 5.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 4rem;
  animation: rise 0.8s ease both;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 1.25rem;
  background: linear-gradient(110deg, #fff 10%, var(--accent) 55%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fade-in 1s ease 0.1s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 1rem;
  animation: rise 0.8s ease 0.15s both;
}

.lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.25s both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.35s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 0.45rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #06221d;
}

.btn.primary:hover {
  background: #36c4b0;
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: rgba(232, 242, 246, 0.35);
}

.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
}

.section-desc,
.about p,
.contact p {
  color: var(--muted);
  max-width: 40rem;
}

.features {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.features li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.features li:last-child {
  border-bottom: none;
}

.features h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.features p {
  color: var(--muted);
}

.contact-line {
  margin-top: 0.75rem;
}

.contact-line a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

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

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .top nav {
    gap: 0.85rem;
    font-size: 0.88rem;
  }

  .hero {
    min-height: calc(100vh - 4.5rem);
    padding-top: 1rem;
  }
}

footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
