/*
Theme Name: LLG Unified Demo Full
Theme URI: https://lifelegacy.global/demo
Author: LLG
Author URI: https://lifelegacy.global
Description: Full demo interface for LIFE LEGACY GLOBAL INITIATIVE – unified ecosystem for work, talent, families and programs.
Version: 1.0.0
License: Private
Text Domain: llg-demo-full
*/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --llg-bg: #050816;
  --llg-bg-soft: #0b1020;
  --llg-card: #0f172a;
  --llg-card-soft: #111827;
  --llg-accent: #38bdf8;
  --llg-accent-soft: rgba(56,189,248,0.14);
  --llg-accent-2: #a855f7;
  --llg-text-main: #e5e7eb;
  --llg-text-muted: #9ca3af;
  --llg-border: #1f2937;
  --llg-radius-lg: 18px;
  --llg-radius-md: 14px;
  --llg-radius-pill: 999px;
  --llg-shadow-soft: 0 24px 60px rgba(15,23,42,0.9);
  --llg-shadow-card: 0 18px 40px rgba(15,23,42,0.85);
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 52%, #000 100%);
  color: var(--llg-text-main);
  line-height: 1.6;
}

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

.llg-layout-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */

.llg-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: linear-gradient(to right, rgba(15,23,42,0.96), rgba(17,24,39,0.96));
  border-bottom: 1px solid rgba(31,41,55,0.9);
}

.llg-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.llg-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #e5e7eb;
}

.llg-logo .infinity {
  font-size: 1.4rem;
  color: var(--llg-accent);
}

.llg-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.llg-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.llg-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.95rem;
  border-radius: var(--llg-radius-pill);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--llg-text-muted);
  border: 1px solid transparent;
  background: radial-gradient(circle at top left, rgba(148,163,184,0.14), rgba(15,23,42,0.9));
  transition: all 0.18s ease-out;
}

.llg-nav a:hover,
.llg-nav .current-menu-item > a,
.llg-nav .current_page_item > a {
  color: #f9fafb;
  border-color: rgba(56,189,248,0.7);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.35);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,0.96));
}

/* MAIN */

.llg-main {
  flex: 1;
}

.llg-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 3rem;
}

/* HERO */

.llg-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 2.8rem;
  margin-bottom: 3.4rem;
  align-items: center;
}

.llg-hero-left {
  position: relative;
}

.llg-chip-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--llg-radius-pill);
  border: 1px solid rgba(55,65,81,0.9);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.22), rgba(15,23,42,0.96));
  font-size: 0.75rem;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
}

.llg-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.25);
}

.llg-hero-title {
  font-size: clamp(2.4rem, 3.1vw + 1.1rem, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.1rem;
}

.llg-hero-title span.highlight {
  background: linear-gradient(120deg, #38bdf8, #a855f7, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.llg-hero-lead {
  font-size: 0.98rem;
  color: var(--llg-text-muted);
  max-width: 36rem;
  margin-bottom: 1.4rem;
}

.llg-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.llg-pill {
  padding: 0.28rem 0.8rem;
  border-radius: var(--llg-radius-pill);
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(75,85,99,0.85);
  font-size: 0.76rem;
  color: var(--llg-text-muted);
}

.llg-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.llg-btn-main {
  padding: 0.66rem 1.4rem;
  border-radius: var(--llg-radius-pill);
  border: none;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #0b1120;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--llg-shadow-card);
}

.llg-btn-main span.arrow {
  font-size: 1rem;
}

.llg-btn-ghost {
  padding: 0.55rem 1.1rem;
  border-radius: var(--llg-radius-pill);
  border: 1px solid rgba(148,163,184,0.65);
  background: rgba(15,23,42,0.9);
  color: var(--llg-text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.llg-hero-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: var(--llg-text-muted);
}

.llg-hero-right {
  position: relative;
}

.llg-orbit {
  position: relative;
  border-radius: 32px;
  padding: 1.4rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,0.96));
  border: 1px solid rgba(55,65,81,0.9);
  box-shadow: var(--llg-shadow-soft);
  min-height: 260px;
  overflow: hidden;
}

.llg-orbit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.llg-orbit-card {
  background: rgba(15,23,42,0.96);
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid rgba(31,41,55,0.85);
  box-shadow: 0 12px 30px rgba(15,23,42,0.8);
}

.llg-orbit-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--llg-text-muted);
  margin-bottom: 0.15rem;
}

.llg-orbit-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.llg-orbit-meta {
  font-size: 0.72rem;
  color: var(--llg-text-muted);
}

/* SECTION HEADERS */

.llg-section {
  margin-bottom: 2.8rem;
}

.llg-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.llg-section-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--llg-text-muted);
}

.llg-section-kicker span.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--llg-accent);
  margin-right: 0.4rem;
}

.llg-section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.llg-section-subtitle {
  font-size: 0.86rem;
  color: var(--llg-text-muted);
  max-width: 28rem;
}

/* GRIDS */

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

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

@media (max-width: 1024px) {
  .llg-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .llg-orbit {
    order: -1;
  }
  .llg-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .llg-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .llg-header-inner {
    padding-inline: 1rem;
  }
  .llg-main-inner {
    padding-inline: 1rem;
  }
  .llg-grid-3,
  .llg-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* CARDS */

.llg-card {
  background: var(--llg-card);
  border-radius: var(--llg-radius-lg);
  border: 1px solid var(--llg-border);
  padding: 0.9rem 0.95rem;
  box-shadow: var(--llg-shadow-card);
}

.llg-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--llg-text-muted);
  margin-bottom: 0.25rem;
}

.llg-card-title {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.llg-card-body {
  font-size: 0.82rem;
  color: var(--llg-text-muted);
  margin-bottom: 0.4rem;
}

.llg-card-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

/* FOOTER */

.llg-footer {
  border-top: 1px solid rgba(31,41,55,0.9);
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), #020617);
}

.llg-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--llg-text-muted);
}
