:root {
  color-scheme: dark;
  color: #f6f1ea;
  background: #070606;
  font-family: 'Inter', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 35%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 30%),
    #050404;
  color: #f5f0e9;
}

.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  opacity: 0;
  animation: fadeIn 1.1s ease forwards;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 0 24px;
  animation: slideIn 0.9s ease both;
}

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

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

.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #8ca8ff;
  border-radius: 18px;
  background: rgba(140, 168, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(140, 168, 255, 0.12);
}

.brand-text span {
  display: block;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.8;
  color: #cfd8ff;
}

.brand-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #f9f6ef;
}

.nav-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-link {
  color: #ddd7cf;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.25s ease;
}

.nav-link:hover {
  opacity: 0.75;
  color: #e1e8ff;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 40px 0 32px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at top left, rgba(115, 174, 255, 0.12), transparent 18%),
    radial-gradient(circle at bottom right, rgba(193, 129, 255, 0.1), transparent 22%);
}

.hero-copy {
  max-width: 640px;
  animation: fadeInUp 1s ease 0.15s both;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c2b8aa;
}

.hero h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 32px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #dcd3c8;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #5e8dff 0%, #2d4bd8 100%);
  color: #fdfdfd;
  box-shadow: 0 20px 44px rgba(94, 141, 255, 0.22);
  animation: pulse 3.5s ease-in-out infinite;
}

.btn-secondary {
  border: 1px solid rgba(94, 141, 255, 0.28);
  color: #edf2ff;
  background: rgba(18, 28, 54, 0.72);
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(94, 141, 255, 0.18), transparent 18%),
    radial-gradient(circle at 80% 40%, rgba(193, 129, 255, 0.14), transparent 25%);
  opacity: 1;
  pointer-events: none;
  animation: drift 24s linear infinite;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.16;
  pointer-events: none;
  mix-blend-mode: screen;
}

.visual-card {
  min-height: 420px;
  padding: 34px;
  border-radius: 32px;
  background: rgba(10, 14, 33, 0.82);
  border: 1px solid rgba(94, 141, 255, 0.15);
  backdrop-filter: blur(22px);
  box-shadow: 0 40px 110px rgba(6, 10, 19, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  animation: float 9s ease-in-out infinite;
}

.card-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
}

.visual-card h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.1;
  color: #eef3ff;
}

.visual-card p {
  margin: 0;
  color: #d6c9b8;
  font-size: 1rem;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 40px 0 24px;
}

.features article {
  padding: 28px;
  border-radius: 24px;
  background: rgba(18, 24, 48, 0.82);
  border: 1px solid rgba(94, 141, 255, 0.12);
  box-shadow: 0 18px 40px rgba(6, 10, 19, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease;
  animation: fadeInUp 1s ease both;
}

.features article:hover {
  transform: translateY(-5px);
  border-color: rgba(94, 141, 255, 0.22);
}

.features h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.features p {
  margin: 0;
  color: #d7cabd;
  line-height: 1.9;
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 42px 0;
  margin-top: 16px;
  border-top: 1px solid rgba(94, 141, 255, 0.12);
  animation: fadeInUp 1s ease 0.2s both;
}

.about-copy {
  max-width: 720px;
}

.about h2 {
  margin: 0 0 20px;
  font-size: 2.75rem;
  line-height: 1.05;
}

.about p {
  margin: 0 0 28px;
  color: #d7cabd;
  font-size: 1.05rem;
  line-height: 1.85;
}

.footer {
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  from {
    box-shadow: 0 20px 44px rgba(94, 141, 255, 0.22);
  }
  to {
    box-shadow: 0 28px 58px rgba(94, 141, 255, 0.28);
  }
}

@keyframes drift {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(-18px) translateY(18px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

  .visual-card {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 22px 18px 32px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
