html {
  scroll-behavior: smooth;
}

* {
  font-family: "Readex Pro", sans-serif;
}

/* Keep Font Awesome glyphs intact across global font overrides */
.fa,
.fa-solid,
.fas,
.fa-regular,
.far,
.fa-brands,
.fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
}

.fa-solid,
.fas {
  font-weight: 900 !important;
}

.fa-regular,
.far {
  font-weight: 400 !important;
}

.container-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.illumni-landing section[id] {
  scroll-margin-top: 5.25rem;
}

.section-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  color: #fff;
}

.section-subtitle {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #f97316) !important;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  transition: all 0.3s;
}

.card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem;
  transition: all 0.3s;
}

.glass-nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link.active,
.nav-link:hover {
  color: #fff;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.illumni-theme {
  background: #050505 !important;
  color: #ffffff;
}

.illumni-landing {
  background: #050505 !important;
}

.illumni-landing .section-title {
  color: #fff;
}

.illumni-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.25;
  pointer-events: none;
}

.illumni-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  filter: blur(64px);
  opacity: 0.22;
  pointer-events: none;
}

.illumni-glow-left {
  top: -8rem;
  left: -8rem;
  background: #00ff00;
}

.illumni-glow-right {
  right: -8rem;
  bottom: -10rem;
  background: #00ff00;
}

.illumni-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(0, 255, 0, 0.35);
  background: rgba(0, 255, 0, 0.1);
  color: #00ff00;
  padding: 0.35rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.illumni-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid #00ff00;
  background: #00ff00;
  color: #041104;
  font-weight: 700;
  padding: 0.72rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
}

.illumni-btn-primary:hover {
  transform: translateY(-1px);
  background: #00db00;
  box-shadow: 0 10px 24px rgba(0, 255, 0, 0.25);
}

.illumni-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 0, 0.45);
  background: rgba(0, 255, 0, 0.06);
  color: #d7ffd7;
  font-weight: 600;
  padding: 0.72rem 1.4rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.illumni-btn-outline:hover {
  border-color: #00ff00;
  background: rgba(0, 255, 0, 0.12);
}

.illumni-card {
  border-radius: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.28);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 255, 0, 0.06) 100%);
  padding: 1.2rem;
}

.illumni-card h3 {
  color: #00ff00;
  font-size: 1.1rem;
  font-weight: 700;
}

.illumni-card p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.6;
}

.illumni-image-slot {
  border-radius: 1rem;
  border: 1px dashed rgba(0, 255, 0, 0.45);
  background: radial-gradient(circle at 20% 10%, rgba(0, 255, 0, 0.12), rgba(0, 0, 0, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.illumni-image-slot span {
  color: rgba(214, 255, 214, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.illumni-panel {
  border: 1px solid rgba(0, 255, 0, 0.25);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 255, 0, 0.04) 100%);
  padding: 1.25rem;
}

.illumni-panel-title {
  color: #00ff00;
  font-size: 1.12rem;
  font-weight: 700;
}

.illumni-panel-subtitle {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.illumni-mini-stat {
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.75rem;
  text-align: left;
}

.illumni-mini-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}

.illumni-mini-stat strong {
  display: block;
  margin-top: 0.3rem;
  color: #00ff00;
  font-size: 0.92rem;
}

.illumni-feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.illumni-card-wide {
  grid-column: span 1;
}

.illumni-card-tall {
  grid-row: span 1;
}

.illumni-quote-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(0, 255, 0, 0.28);
  background: radial-gradient(circle at 20% 10%, rgba(0, 255, 0, 0.12), rgba(0, 0, 0, 0.8) 58%);
  padding: 1.4rem;
}

.illumni-quote-card h3 {
  color: #00ff00;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
}

.illumni-quote-card p {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.illumni-step-card {
  border-radius: 1rem;
  border: 1px solid rgba(0, 255, 0, 0.25);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 255, 0, 0.05));
  padding: 1.1rem;
}

.illumni-step-card span {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 0, 0.4);
  color: #00ff00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.illumni-step-card h3 {
  margin-top: 0.75rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.illumni-step-card p {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 0.9rem;
}

#get-started {
  padding-bottom: 2rem;
}

.illumni-header-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 4, 4, 0.92);
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.illumni-header-bar {
  height: 4.7rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.illumni-header-logo {
  justify-self: start;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.illumni-header-logo-img {
  height: 3.45rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.illumni-header-logo-text {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1;
  text-transform: none;
}

.illumni-header-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.illumni-header-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.illumni-header-nav a:hover {
  color: #00ff00;
}

.illumni-header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.illumni-header-cta:hover {
  border-color: rgba(0, 255, 0, 0.55);
  color: #00ff00;
  background: rgba(0, 255, 0, 0.08);
}

.illumni-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 255, 0, 0.35);
  background: rgba(0, 255, 0, 0.06);
  color: #d7ffd7;
  font-size: 1rem;
}

.illumni-menu-toggle .menu-close-icon {
  display: none;
}

.illumni-menu-toggle.is-open .menu-open-icon {
  display: none;
}

.illumni-menu-toggle.is-open .menu-close-icon {
  display: inline-block;
}

.illumni-mobile-menu {
  display: none;
  margin-top: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(0, 255, 0, 0.22);
  background: rgba(3, 8, 3, 0.96);
  flex-direction: column;
  gap: 0.35rem;
}

.illumni-mobile-menu a {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
}

.illumni-mobile-menu a:hover {
  color: #00ff00;
  background: rgba(0, 255, 0, 0.08);
}

.illumni-mobile-menu .illumni-mobile-cta {
  justify-content: center;
  margin-top: 0.3rem;
  border: 1px solid rgba(0, 255, 0, 0.45);
  background: #00ff00;
  color: #041104;
}

.illumni-mobile-menu .illumni-mobile-cta:hover {
  color: #041104;
  background: #00db00;
}

@media (min-width: 768px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .illumni-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .illumni-card-wide {
    grid-column: span 2;
  }

  .illumni-card-tall {
    grid-row: span 2;
  }

  #get-started {
    padding-bottom: 2.75rem;
  }
}

@media (max-width: 900px) {
  .illumni-header-bar {
    grid-template-columns: 1fr auto auto;
    height: 4.25rem;
    gap: 0.75rem;
  }

  .illumni-header-nav {
    display: none;
  }

  .illumni-header-cta {
    display: none;
  }

  .illumni-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .illumni-mobile-menu.is-open {
    display: flex;
  }

  .illumni-header-logo-img {
    height: 2.85rem;
  }

  .illumni-header-logo-text {
    font-size: 1.08rem;
  }
}

@media (max-width: 767px) {
  .container-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  #hero .container-main {
    padding-top: 4rem;
    padding-bottom: 3.25rem;
  }

  #hero h1 {
    margin-top: 1rem;
    font-size: 2rem;
    line-height: 1.2;
  }

  #hero p {
    font-size: 0.96rem;
  }

  #hero .illumni-pill {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.72rem;
  }

  #hero .illumni-btn-primary,
  #hero .illumni-btn-outline {
    width: 100%;
    max-width: 18rem;
  }

  .illumni-card,
  .illumni-panel,
  .illumni-step-card,
  .illumni-quote-card {
    padding: 1rem;
  }

  .illumni-panel-title,
  .illumni-card h3 {
    font-size: 1rem;
  }

  .illumni-quote-card h3 {
    font-size: 1.3rem;
  }

  .illumni-quote-card p,
  .illumni-card p,
  .illumni-panel-subtitle,
  .illumni-step-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .illumni-image-slot {
    min-height: 12.5rem;
  }

  .illumni-mini-stat {
    padding: 0.65rem;
  }

  #get-started {
    padding-bottom: 1.4rem;
  }
}

/* Bento section layouts */
.illumni-bento {
  display: grid;
  gap: 1rem;
}

.illumni-bento .illumni-bento-item {
  position: relative;
  overflow: hidden;
}

.illumni-bento .illumni-bento-item::after {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  right: -2.5rem;
  top: -2.5rem;
  border-radius: 999px;
  background: rgba(0, 255, 0, 0.1);
  pointer-events: none;
}

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

.feature-main {
  min-height: 14rem;
  background: linear-gradient(145deg, rgba(0, 255, 0, 0.18), rgba(0, 0, 0, 0.86) 46%);
}

.feature-main h3 {
  font-size: 1.35rem;
}

.feature-research {
  background: linear-gradient(165deg, rgba(0, 255, 0, 0.12), rgba(0, 0, 0, 0.88) 50%);
}

.feature-creative {
  background: linear-gradient(165deg, rgba(0, 255, 0, 0.08), rgba(0, 0, 0, 0.9) 54%);
}

.feature-vision {
  background: radial-gradient(circle at 18% 14%, rgba(0, 255, 0, 0.15), rgba(0, 0, 0, 0.88) 58%);
}

.illumni-bento-productivity {
  grid-template-columns: 1fr;
}

.productivity-search {
  min-height: 13rem;
  background: linear-gradient(145deg, rgba(0, 255, 0, 0.16), rgba(0, 0, 0, 0.87) 45%);
}

.productivity-research {
  min-height: 11rem;
}

.productivity-create {
  min-height: 11rem;
}

.illumni-bento-intelligence {
  grid-template-columns: 1fr;
}

.intelligence-main {
  min-height: 13rem;
  background: linear-gradient(150deg, rgba(0, 255, 0, 0.15), rgba(0, 0, 0, 0.88) 48%);
}

.intelligence-conversation,
.intelligence-learning,
.intelligence-available {
  min-height: 10.5rem;
}

.illumni-bento-process {
  grid-template-columns: 1fr;
}

.process-step-1 {
  background: linear-gradient(160deg, rgba(0, 255, 0, 0.14), rgba(0, 0, 0, 0.88) 50%);
}

.process-step-2 {
  background: linear-gradient(180deg, rgba(0, 255, 0, 0.1), rgba(0, 0, 0, 0.9) 52%);
}

.process-step-3 {
  background: linear-gradient(200deg, rgba(0, 255, 0, 0.12), rgba(0, 0, 0, 0.88) 48%);
}

@media (min-width: 768px) {
  .illumni-bento-features {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .feature-main {
    grid-column: span 4;
  }

  .feature-research {
    grid-column: span 2;
  }

  .feature-creative {
    grid-column: span 2;
  }

  .feature-vision {
    grid-column: span 4;
  }

  .illumni-bento-productivity {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .productivity-search {
    grid-column: span 3;
    grid-row: span 2;
  }

  .productivity-research {
    grid-column: span 3;
  }

  .productivity-create {
    grid-column: span 3;
  }

  .illumni-bento-intelligence {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .intelligence-main {
    grid-column: span 3;
    grid-row: span 2;
  }

  .intelligence-conversation {
    grid-column: span 3;
  }

  .intelligence-learning {
    grid-column: span 3;
  }

  .intelligence-available {
    grid-column: span 6;
  }

  .illumni-bento-process {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .process-step-1 {
    grid-column: span 2;
  }

  .process-step-2 {
    grid-column: span 2;
    transform: translateY(1rem);
  }

  .process-step-3 {
    grid-column: span 2;
  }
}