/* ==========================================================================
   Fonts (self-hosted)
   ========================================================================== */
@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/geist-sans-600.woff2') format('woff2');
}

/* ==========================================================================
   Design tokens (from Figma variables)
   ========================================================================== */
:root {
  --background-page: #080b16;
  --background-card: #0f1423;
  --stroke-default: #232d42;
  --text-primary: #f8fafc;
  --text-secondary: #d3ddeb;
  --text-muted: #7b7f83;
  --accent-gold: #c5a880;
  --color-white-100: #f8fafc;
  --color-navy-900: #080b16;
  --color-navy-500: #232d42;

  --radius-sm: 8px;
  --radius-md: 16px;

  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-80: 80px;

  --font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background-page);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   Layout — mobile-first (stacked); split screen from 1024px up
   ========================================================================== */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Brand panel (left, on desktop)
   ========================================================================== */
.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--spacing-40) var(--spacing-24);
}

.brand-panel__glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 260px;
  height: 260px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.brand-panel__glow--gold {
  width: 180px;
  height: 180px;
  top: calc(50% + 70px);
}

.brand-panel__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 592 / 596;
  object-fit: cover;
}

/* ==========================================================================
   Content panel (right, on desktop)
   ========================================================================== */
.content-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-32);
  padding: var(--spacing-40) var(--spacing-24) var(--spacing-48);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-24);
  padding: var(--spacing-32) var(--spacing-24);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: normal;
  text-align: center;
  color: var(--text-primary);
}

.hero__divider {
  width: 120px;
  height: 2px;
}

.hero__description {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: var(--text-secondary);
}

/* ==========================================================================
   Button
   ========================================================================== */
.button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-8);
  width: 100%;
  padding: var(--spacing-16) var(--spacing-24);
  background: var(--color-white-100);
  border: 1px solid var(--color-white-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy-900);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.button__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Essenza banner
   ========================================================================== */
.essenza-banner {
  display: block;
  width: 234px;
  max-width: 100%;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.essenza-banner:hover,
.essenza-banner:focus-visible {
  opacity: 0.85;
}

.essenza-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Social links
   ========================================================================== */
.social {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-16);
  padding-top: var(--spacing-16);
  border-top: 1px solid var(--stroke-default);
}

.social__icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-16);
}

.social__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-navy-500);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.social__icon:hover,
.social__icon:focus-visible {
  background: var(--accent-gold);
}

.social__icon img {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-16);
}

.footer__text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: var(--text-muted);
}

.footer__credit {
  width: 134px;
  height: 14px;
}

/* ==========================================================================
   Desktop split-screen (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .page {
    flex-direction: row;
  }

  .brand-panel {
    flex: 1 1 0;
    min-width: 0;
    padding: var(--spacing-80) var(--spacing-40);
  }

  .brand-panel__glow--center {
    width: 450px;
    height: 450px;
  }

  .brand-panel__glow--gold {
    width: 300px;
    height: 300px;
    top: calc(50% + 120px);
  }

  .brand-panel__logo {
    max-width: 592px;
  }

  .content-panel {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: var(--spacing-80) var(--spacing-40);
  }

  .hero {
    gap: var(--spacing-32);
    padding: var(--spacing-48);
  }

  .hero__title {
    font-size: 48px;
    letter-spacing: -2.4px;
  }

  .hero__description {
    font-size: 16px;
  }

  .button {
    width: auto;
    padding: var(--spacing-16) 36px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .footer__text {
    font-size: 14px;
    white-space: nowrap;
  }
}
