:root {
  --teal-deep: #004b49;
  --teal-mid: #2a7a78;
  --teal-light: #3d9a97;
  --slate: #1e3d40;
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.82);
  --card-bg: rgba(255, 255, 255, 0.08);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--white);
  background: var(--slate);
}

/* ─── Page background ─── */
.landing-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(42, 122, 120, 0.45), transparent),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(0, 75, 73, 0.5), transparent),
    linear-gradient(160deg, var(--teal-deep) 0%, var(--slate) 50%, #163032 100%);
}

.landing-page::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
  pointer-events: none;
}

/* ─── Floating shapes (subtle) ─── */
.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.shape-one {
  top: 10%;
  left: 6%;
  width: clamp(80px, 18vw, 140px);
  height: clamp(80px, 18vw, 140px);
  background: rgba(42, 122, 120, 0.35);
  filter: blur(2px);
}

.shape-two {
  right: 8%;
  bottom: 12%;
  width: clamp(100px, 22vw, 200px);
  height: clamp(100px, 22vw, 200px);
  background: rgba(0, 75, 73, 0.4);
  animation-delay: 1.5s;
}

.shape-three {
  top: 20%;
  right: 18%;
  width: clamp(48px, 10vw, 80px);
  height: clamp(48px, 10vw, 80px);
  background: rgba(61, 154, 151, 0.3);
  animation-delay: 2.5s;
}

.shape-four {
  bottom: 24%;
  left: 12%;
  width: clamp(36px, 8vw, 56px);
  height: clamp(36px, 8vw, 56px);
  background: rgba(255, 255, 255, 0.08);
  animation-delay: 3.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(12px, -16px);
  }
}

/* ─── Centered section ─── */
.landing-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.landing-card {
  position: relative;
  width: 100%;
  max-width: 42rem;
  padding: clamp(1.75rem, 5vw, 3.25rem);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(20px, 4vw, 28px);
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(42, 122, 120, 0.2) inset;
  animation: cardIn 0.9s ease forwards;
}

.landing-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(50%, 200px);
  height: 3px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.brand-logo {
  display: block;
  width: min(240px, 72vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.3));
}

.landing-title {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.landing-lead {
  margin: 0 auto clamp(1.5rem, 4vw, 2rem);
  max-width: 36rem;
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-soft);
}

.landing-lead strong {
  color: var(--white);
  font-weight: 600;
}

/* ─── Actions ─── */
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  min-height: 48px;
  border-radius: 999px;
  background: var(--teal-mid);
  color: var(--white);
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 75, 73, 0.4);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  background: var(--teal-light);
  box-shadow: 0 14px 36px rgba(0, 75, 73, 0.5);
  color: var(--white);
}

.btn-cta:active {
  transform: translateY(0);
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 75, 73, 0.35);
  color: var(--white-soft);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 600;
}

/* ─── Staggered reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.65s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}
.delay-2 {
  animation-delay: 0.3s;
}
.delay-3 {
  animation-delay: 0.45s;
}
.delay-4 {
  animation-delay: 0.6s;
}

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

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .landing-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta,
  .domain-pill {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .landing-card:hover {
    box-shadow:
      0 28px 72px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(61, 154, 151, 0.25) inset;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shape,
  .landing-card,
  .reveal {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn-cta {
    transition: none;
  }
}
