:root {
  --background: #020617;
  --foreground: #e2e8f0;
  --muted: #94a3b8;
  --card: #0b1225;
  --border: #1f2a44;
  --primary: #f59e0b;
  --primary-foreground: #ffffff;
  --accent: #38bdf8;
  --accent-soft: #172554;
  --surface: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, #0f2a58 0%, transparent 32%),
    radial-gradient(circle at 100% 100%, #331800 0%, transparent 36%),
    var(--background);
  color: var(--foreground);
}

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

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.landing {
  padding: 1.3rem 0 3.2rem;
}

.landing-wrap {
  display: grid;
  gap: 2rem;
}

.landing-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid #475569;
  box-shadow: 0 0 0 6px #ffffff08;
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tag {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.hero-copy,
.hero-visual {
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #0f172a, #10182e);
}

.hero-copy {
  padding: 2rem;
}

.hero-copy h1 {
  margin: 0.9rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, #02061766, #f59e0b22);
}

.lead {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 1.6rem;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  border: 1px solid var(--border);
  background: #082f491f;
  color: #bae6fd;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
}

.domains {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.domain-card {
  background: linear-gradient(165deg, #0f172a, #0a1022);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
  animation: rise-in 500ms ease both;
}

.domain-card:nth-child(2) {
  animation-delay: 80ms;
}

.domain-card:nth-child(3) {
  animation-delay: 160ms;
}

.domain-index {
  padding: 1rem 1.2rem 0;
  color: #fbbf24;
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.domain-card h2 {
  padding: 0 1.2rem;
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.domain-card p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.domain-media {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: brightness(0.74) saturate(1.05);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #020617cf;
  backdrop-filter: blur(4px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.footer-brand {
  font-weight: 700;
}

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

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

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

@media (max-width: 640px) {
  .landing-topbar {
    align-items: flex-start;
    gap: 0.9rem;
    flex-direction: column;
  }
}
