:root {
  --bg-1: #0f172a; /* deep navy */
  --bg-2: #0b1220; /* darker */
  --accent: #7ce7c7; /* mint */
  --accent-2: #7da7ff; /* sky */
  --glass: rgba(255, 255, 255, 0.06);
  --card: rgba(255, 255, 255, 0.03);
  --text: #e6eef8;
  --muted: #a9bfdd;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud,
.kite {
  position: absolute;
  will-change: transform, opacity;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
  opacity: 0.9;
}

/* soft moving gradient overlay */
.gradient-veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  background: radial-gradient(
      800px 400px at 10% 20%,
      rgba(125, 167, 255, 0.10),
      transparent 8%
    ),
    radial-gradient(
      600px 300px at 90% 80%,
      rgba(124, 231, 199, 0.06),
      transparent 8%
    );
  animation: floatVeil 18s linear infinite;
}

@keyframes floatVeil {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-18px) rotate(1deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

/* clouds */
.cloud {
  opacity: 0.16;
  transform-origin: center;
}

@keyframes drift {
  from {
    transform: translateX(-20vw);
  }
  to {
    transform: translateX(120vw);
  }
}

.cloud.c1 {
  top: 5vh;
  left: -15vw;
  width: 40vw;
  animation: drift 50s linear infinite;
  width: 200px;
  height: 100px;
  object-fit: contain;
}

.cloud.c2 {
  top: 22vh;
  left: -25vw;
  width: 30vw;
  animation: drift 62s linear infinite;
  animation-delay: 8s;
  width: 200px;
  height: 60px;
  object-fit: contain;
}

.cloud.c3 {
  top: 56vh;
  left: -18vw;
  width: 26vw;
  animation: drift 72s linear infinite;
  animation-delay: 4s;
  width: 200px;
  height: 150px;
  object-fit: contain;
}

/* kites */
@keyframes kiteFloat {
  0% {
    transform: translate(-10px, 0) rotate(-6deg);
  }
  50% {
    transform: translate(12px, -18px) rotate(6deg);
  }
  100% {
    transform: translate(-10px, 0) rotate(-6deg);
  }
}

.kite {
  width: 120px;
}

.kite.k1 {
  top: 16vh;
  left: 10vw;
  animation: kiteFloat 6s ease-in-out infinite;
}

.kite.k2 {
  top: 40vh;
  left: 70vw;
  width: 92px;
  animation: kiteFloat 8s ease-in-out infinite;
  animation-delay: 0.6s;
}

.kite.k3 {
  top: 68vh;
  left: 40vw;
  width: 110px;
  animation: kiteFloat 7.2s ease-in-out infinite;
  animation-delay: 1.2s;
}

/* ---------- Page layout ---------- */
.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #032;
  box-shadow: 0 6px 20px rgba(124, 167, 255, 0.08);
}

.brand h1 {
  font-size: 16px;
  margin: 0;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
}

.nav a.cta {
  background: linear-gradient(90deg, rgba(124, 167, 255, 0.12), rgba(124, 231, 199, 0.06));
  color: var(--text);
  font-weight: 600;
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 40px 0;
}

.hero-left {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding: 32px;
  border-radius: 18px;
}

.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline {
  font-size: 34px;
  line-height: 1.02;
  margin: 8px 0 12px;
}

.lead {
  color: var(--muted);
  margin-bottom: 18px;
}

.actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  border: 0;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #022;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.06);
}

/* hero right mock */
.mock {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
}

.mock .stat {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.stat strong {
  font-size: 22px;
}

/* features */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.card {
  padding: 18px;
  border-radius: 12px;
  background: var(--card);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.03);
}

.card h3 {
  margin: 6px 0 10px;
}

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

/* how it works */
.steps {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.step {
  flex: 1;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
}

.step .num {
  background: rgba(255,255,255,0.04);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* footer */
footer {
  width: 100%;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  bottom: 0;
  left: 0;
  margin-top: 44px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .links {
  display: flex;
  gap: 12px;
}

footer .links a {
  text-decoration: none !important;
  color: var(--muted);
}

/* responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .container {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .headline {
    font-size: 26px;
  }

  header {
    padding: 14px 0;
  }
}

/* subtle entrance */
.reveal {
  transform: translateY(6px);
  opacity: 0;
  animation: enter .7s cubic-bezier(.2,.9,.3,1) forwards;
}

.reveal.delay {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

@keyframes enter {
  to {
    transform: none;
    opacity: 1;
  }
}

/* small helper */
.small {
  font-size: 13px;
}
