/* Fonts */
@font-face {
  font-family: 'Bianco Serif';
  src: url('fonts/BiancoSerif-Regular.woff2') format('woff2'),
       url('fonts/BiancoSerif-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-primary: 'Bianco Serif', 'Times New Roman', serif;
  --font-secondary: 'Inter', sans-serif;
  --color-text-primary: #131419;
  --color-text-secondary: rgba(19, 20, 25, 0.4);
  --color-bg: #f7f8fa;
  --color-surface-dark: #131419;
  --color-accent: #5c6ac4;
  --page-gutter: 3rem;
  --max-width: 1344px;
  --border-color: rgba(19, 20, 25, 0.08);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.3;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Typography */
.heading-xxl {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}

.heading-l {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.4;
}

.heading-m {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.heading-s {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
}

.body-s {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
}

.body-xs {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(92, 106, 196, 0.05);
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(92, 106, 196, 0.1);
  line-height: 1;
}

.badge.cc-dark {
  color: var(--color-text-primary);
  background: rgba(19, 20, 25, 0.05);
  border-color: rgba(19, 20, 25, 0.1);
}

.badge.cc-indigo {
  color: var(--color-accent);
  background: rgba(92, 106, 196, 0.05);
  border-color: rgba(92, 106, 196, 0.15);
}

.badge.cc-enterprise {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* CTA Button */
.cta-button {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--color-text-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.8;
}

/* Section Header */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 550px;
  margin: 0 auto;
  padding-bottom: 3.5rem;
}

.section-header.cc-light .heading-m {
  color: #fff;
}

.section-header.cc-light .body-xs {
  color: rgba(255, 255, 255, 0.5);
}

/* ======================== */
/* HEADER / NAV             */
/* ======================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 var(--page-gutter);
  max-width: 100%;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 22px;
}

/* ======================== */
/* HERO                     */
/* ======================== */
.hero {
  padding: 0 var(--page-gutter);
}

.hero__container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 820px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero__content .heading-xxl {
  white-space: nowrap;
}

.hero__subheading {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 470px;
}

/* ======================== */
/* OVERVIEW                 */
/* ======================== */
.overview {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--page-gutter);
}

.overview .section-header {
  align-items: flex-start;
  text-align: left;
  max-width: 420px;
  padding-bottom: 2.5rem;
}

.overview__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.accordion {
  display: flex;
  flex-direction: column;
}

.overview-accordion-item {
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.overview-accordion-item__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
}

.overview-accordion-item__number {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  min-width: 1.5rem;
}

.overview-accordion-item__heading {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  font-weight: 400;
  flex: 1;
}

.overview-accordion-item__icons {
  position: relative;
  width: 20px;
  height: 20px;
}

.overview-accordion-item__icon {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  transition: opacity 0.2s;
}

.overview-accordion-item__icon.cc-minus {
  opacity: 0;
}

.overview-accordion-item__icon.cc-plus {
  opacity: 1;
}

.overview-accordion-item.cc-open .overview-accordion-item__icon.cc-minus {
  opacity: 1;
}

.overview-accordion-item.cc-open .overview-accordion-item__icon.cc-plus {
  opacity: 0;
}

.overview-accordion-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.overview-accordion-item.cc-open .overview-accordion-item__content {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

.overview__visual-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e9ed;
}

.overview__visual {
  display: none;
  width: 100%;
  border-radius: 12px;
}

.overview__visual.active {
  display: block;
}

/* ======================== */
/* HOW IT WORKS             */
/* ======================== */
.how-it-works {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--page-gutter);
}

.how-it-works__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.how-it-works-card {
  background: var(--color-surface-dark);
  border-radius: 32px;
  overflow: hidden;
}

.how-it-works-card__image-wrapper {
  width: 100%;
  overflow: hidden;
}

.how-it-works-card__image {
  width: 100%;
  object-fit: cover;
}

.how-it-works-card__content {
  padding: 0 4rem 4rem;
}

.how-it-works-card__content .heading-s {
  margin-bottom: 0.75rem;
  color: #fff;
}

.how-it-works-card__content .body-xs {
  color: rgba(255, 255, 255, 0.6);
}

/* Feature cards grid */
.how-it-works__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--border-color);
  padding-left: 2rem;
}

.feature-card:nth-child(3n + 1) {
  border-left: none;
  padding-left: 0;
}

.feature-card__icon-wrapper {
  width: 48px;
  height: 48px;
}

.feature-card__icon {
  width: 100%;
  height: 100%;
}

.feature-card__heading {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0;
}

/* ======================== */
/* MANIFESTO                */
/* ======================== */
.manifesto {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.manifesto__container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.manifesto__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.manifesto__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 550px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* ======================== */
/* WHY LUMENA               */
/* ======================== */
.why-lumena {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--page-gutter);
}

.why-lumena__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.why-lumena__visual {
  border-radius: 16px;
  overflow: hidden;
  background: #e8e9ed;
}

.why-lumena__image {
  width: 100%;
  border-radius: 16px;
}

.why-lumena__cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-lumena__card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
}

.why-lumena__card .heading-s {
  margin-bottom: 0.75rem;
}

/* ======================== */
/* ENTERPRISE               */
/* ======================== */
.enterprise {
  position: relative;
  background: var(--color-surface-dark);
  padding: 6rem var(--page-gutter);
  overflow: hidden;
}

.enterprise__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}

.enterprise .section-header,
.enterprise__cards {
  position: relative;
  z-index: 1;
}

.enterprise__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.enterprise__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.enterprise__card-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.enterprise__card-image {
  width: 100%;
  object-fit: cover;
}

.enterprise__card .heading-s {
  color: #fff;
  padding: 1.5rem 1.5rem 0.5rem;
}

.enterprise__card .body-xs {
  color: rgba(255, 255, 255, 0.5);
  padding: 0 1.5rem 1.5rem;
}

/* ======================== */
/* FOOTER                   */
/* ======================== */
.footer {
  background: var(--color-surface-dark);
  color: #fff;
  position: relative;
}

.footer__cta {
  position: relative;
  text-align: center;
  padding: 8rem var(--page-gutter) 6rem;
  overflow: hidden;
}

.footer__cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  pointer-events: none;
  z-index: 0;
}

.footer__cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.footer__cta-avatar {
  width: 128px;
  height: 128px;
}

.footer__cta .heading-l {
  color: #fff;
}

.footer__cta .body-xs.cc-footer {
  color: rgba(255, 255, 255, 0.5);
}

.footer__cta .cta-button {
  background: #fff;
  color: var(--color-text-primary);
}

.footer__main {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 6rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  width: 32px;
  margin-bottom: 1rem;
}

.body-xs.cc-footer-desc {
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav {
  display: flex;
  gap: 4rem;
}

.footer__heading {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav-link {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.body-xs.cc-footer-copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

/* ======================== */
/* RESPONSIVE               */
/* ======================== */
@media (max-width: 992px) {
  :root {
    --page-gutter: 2.5rem;
  }

  .heading-xxl { font-size: 3.25rem; }
  .heading-l { font-size: 2.5rem; }
  .heading-m { font-size: 2.125rem; }
  .heading-s { font-size: 1.5rem; }

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

  .how-it-works__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(3n + 1) {
    border-left: 1px solid var(--border-color);
    padding-left: 2rem;
  }

  .feature-card:nth-child(2n + 1) {
    border-left: none;
    padding-left: 0;
  }

  .why-lumena__content {
    grid-template-columns: 1fr;
  }

  .enterprise__cards {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: 1.5rem;
  }

  .heading-xxl { font-size: 2.875rem; }
  .heading-l { font-size: 2rem; }
  .heading-m { font-size: 1.75rem; }
  .heading-s { font-size: 1.25rem; }

  .how-it-works__cards {
    grid-template-columns: 1fr;
  }

  .how-it-works__features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    border-left: none;
    padding-left: 0;
  }

  .footer__top {
    flex-direction: column;
    gap: 2rem;
  }
}
