/* ===== Reset-ish ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', sans-serif;
  background: #020204;
  color: #f5f5f5;
}

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

.page {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #181822 0, #020204 55%);
}

/* ===== Layout ===== */

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 160px;
  width: 160px;
  object-fit: contain;
}

.logo-text {
  letter-spacing: 0.22em;
  font-size: 11px;
  text-transform: uppercase;
  color: #c0c0c8;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  align-items: center;
}

.nav a {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ===== Hero ===== */

.hero {
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 40px 24px 72px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Canvas sits where the old circle was */
#hero-canvas-container {
  width: 1060px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  /* box-shadow: 0 0 40px rgba(255, 255, 255, 0.06); */
  /* background-image: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.25) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.15) 0,
      transparent 55%
    ); */
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #a0a0aa;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero-subtitle {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: #b6b6c4;
  margin-bottom: 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #f5f5f5, #d4d4e0);
  color: #050509;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: #f5f5f5;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Hero visual placeholder */
.hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.06);
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.25) 0,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.15) 0,
      transparent 55%
    );
}

/* ===== Sections ===== */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.section p {
  max-width: 640px;
  font-size: 15px;
  color: #b2b2c0;
}

/* ===== Footer ===== */

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  font-size: 12px;
  color: #7f7f8c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-orbit {
    width: 200px;
    height: 200px;
  }
}

/* ===== Header: keep logo + nav on one row on mobile ===== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: row; /* was column */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Let logo shrink instead of forcing a wrap */
  .logo-wrap {
    min-width: 0;
    gap: 8px;
    flex: 1; /* take available space */
  }

  .logo-img {
    width: 64px; /* smaller on mobile */
    height: 64px;
    flex: 0 0 auto;
  }

  /* Optional: hide the "AETERNAS" text if it still crowds */
  .logo-text {
    display: none;
  }

  /* Keep nav in a single line */
  .nav {
    flex: 0 0 auto;
    gap: 12px;
    white-space: nowrap;
  }

  .nav a {
    font-size: 13px;
  }

  .nav-cta {
    padding: 6px 10px;
  }
}
