@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
  --ek-ink: #1a1a1a;
  --ek-ink-soft: #4a4a4a;
  --ek-primary: #5677BE;
  --ek-accent: #C1E0F5;
  --ek-warm: #E4D2BE;
  --ek-surface: rgba(255, 255, 255, 0.86);
  --ek-border: rgba(76, 92, 120, 0.12);
  --ek-shadow: 0 32px 80px rgba(29, 49, 90, 0.22);
}

html, body {
  height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ek-ink);
  margin: 0;
  background: #f6f5f2;
  overflow-x: hidden;
}

.layout-page,
.layout-content,
.content-wrapper {
  margin: 0;
  padding: 0;
  background: transparent;
}

.content-wrapper > .container-xxl {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.content-wrapper > .container-xxl.flex-grow-1.container-p-y {
  padding: 0 !important;
  margin: 0 !important;
}

.container-p-y {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.container-p-y:not([class^="pt-"]):not([class*=" pt-"]) {
  padding-block-start: 0 !important;
  padding-block-end: 0 !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page,
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 0 !important;
}

.legal-page {
  padding: 4rem 0 5rem;
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f6f5f2;
}

.landing-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.5rem 2rem;
}

.landing-shell--hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-image: url("/static/img/backgrounds/2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.landing-shell--hero::before,
.landing-shell--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-shell--hero::before {
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.25) 45%, transparent 60%),
    radial-gradient(circle at 80% 12%, rgba(193, 224, 245, 0.5), transparent 55%),
    linear-gradient(180deg, rgba(247, 246, 244, 0.15) 0%, rgba(247, 246, 244, 0.55) 45%, rgba(247, 246, 244, 0.9) 100%);
}

.landing-shell--hero .landing-content {
  position: relative;
  z-index: 1;
}

.landing-nav {
  display: flex;
  justify-content: flex-start;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(86, 119, 190, 0.95), rgba(193, 224, 245, 0.95));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(86, 119, 190, 0.35);
}

.brand-mark i {
  font-size: 1.5rem;
}

.brand-text {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5677BE;
}

.hero-zone {
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.08;
  max-width: 920px;
  color: #3f4f73;
  text-shadow: 0 18px 38px rgba(52, 64, 96, 0.2);
}

.cta-zone {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-actions,
.cta-options {
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

.cta-primary {
  padding: 0.95rem 2.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 18px 40px rgba(86, 119, 190, 0.35);
}

.cta-options {
  opacity: 1;
  transform: none;
  max-height: none;
  overflow: visible;
  pointer-events: auto;
  width: min(880px, 100%);
}

.landing-shell.reveal-options .cta-actions {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.landing-shell.reveal-options .cta-options {
  opacity: 1;
  transform: translateY(0);
  max-height: 600px;
  pointer-events: auto;
}

.option-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.option-item {
  padding: 1.6rem 1.4rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.option-item + .option-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(76, 92, 120, 0.15);
}

.option-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #3f4f73;
}

.option-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #5d6a82;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 14px;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, #5677BE 0%, #6d8ed4 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(86, 119, 190, 0.3);
}

.btn-brand:hover {
  filter: brightness(0.98);
  color: #fff;
}

.option-item .btn-brand {
  margin-top: 0.6rem;
}

.landing-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(76, 92, 120, 0.12);
}

.landing-footer a {
  color: #4b5c78;
}

.landing-footer a:hover {
  color: #2b3b57;
}

@media (max-width: 960px) {
  .landing-content {
    padding: 2.3rem 1.6rem 1.8rem;
  }

  .hero-zone {
    margin-top: 6vh;
  }

  .option-panel {
    grid-template-columns: 1fr;
  }

  .option-item + .option-item::before {
    top: 0;
    bottom: auto;
    left: 10%;
    right: 10%;
    height: 1px;
    width: auto;
  }
}

@media (max-width: 600px) {
  .landing-content {
    padding: 2rem 1.2rem 1.5rem;
  }

  .hero-zone {
    margin-top: 4vh;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
}
