@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Jost:wght@300;400;500;600&family=DM+Mono:wght@300;400&display=swap');

/* ============================================================
   Legacy Connect — Public Pages
   Light luxury real estate theme
   ============================================================ */

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

:root {
  /* Brand */
  --green-950:  #0D1F16;
  --green-900:  #1C3A2A;
  --green-800:  #254D38;
  --green-700:  #2E6047;
  --green-600:  #3A7A5A;
  --green-200:  #C8DDD2;
  --green-100:  #E5EFEA;
  --green-50:   #F2F7F4;

  --gold-600:   #A8782A;
  --gold-500:   #C9943A;
  --gold-400:   #D9AA58;
  --gold-200:   #F0DEB8;
  --gold-100:   #FAF3E4;

  --cream:      #FAFAF7;
  --white:      #FFFFFF;
  --gray-900:   #1A1A1A;
  --gray-700:   #3D3D3D;
  --gray-500:   #6B6B6B;
  --gray-300:   #BDBDBD;
  --gray-100:   #F0F0EC;
  --border:     #E2E2DC;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Spacing */
  --nav-height: 72px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 15px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--gray-700);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.15;
}

p { color: var(--gray-500); line-height: 1.75; }

a { color: var(--green-900); transition: color var(--transition); }
a:hover { color: var(--green-700); }

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

::selection { background: var(--gold-200); color: var(--green-900); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--green-200); border-radius: 99px; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.pub-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  padding: 0 40px;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}

.pub-nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.pub-nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}

/* Hexagon logo mark */
.logo-hex {
  width: 36px; height: 36px;
  background: var(--green-900);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.pub-nav-logo:hover .logo-hex { background: var(--green-700); }

.logo-hex svg {
  width: 16px; height: 16px;
  fill: none; stroke: var(--gold-400);
  stroke-width: 1.5;
}

.logo-wordmark { line-height: 1; }

.logo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-900);
}

.logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 1px;
}

.pub-nav-links {
  display: flex; align-items: center;
  gap: 32px; flex: 1; justify-content: center;
}

.pub-nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray-700);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.pub-nav-link:hover, .pub-nav-link.active {
  color: var(--green-900);
  border-bottom-color: var(--gold-500);
}

.pub-nav-cta {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-900);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--green-900);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28,58,42,0.25);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--green-900) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1.5px solid var(--green-900);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--green-50);
  transform: translateY(-1px);
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-500);
  color: var(--white) !important;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--gold-500);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,148,58,0.3);
}

.btn-sm {
  padding: 7px 16px !important;
  font-size: 0.77rem !important;
}

.btn-lg {
  padding: 14px 32px !important;
  font-size: 0.87rem !important;
}

/* ============================================================
   SECTIONS
   ============================================================ */

section { padding: 88px 0; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--gold-500);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 520px;
}

/* Divider */
.divider {
  width: 48px; height: 2px;
  background: var(--gold-500);
  margin: 16px 0;
}

.divider.center { margin: 16px auto; }

/* ============================================================
   NAV
   ============================================================ */

/* Main content padding za fixed nav */
.page-content { padding-top: var(--nav-height); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
	min-height: calc(100vh - var(--nav-height));
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	position: relative;
	background-image: url('/uploads/homehero.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.hero-left {
	/* background: var(--green-900); */
	padding: 80px 64px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #0E151B 0%, #0E151B 40%, #0E151B50 70%, #0E151B00 100%);
}

/* Subtle texture */
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,148,58,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
}

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

.hero-eyebrow {
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-400);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Stat row ispod dugmadi */
.hero-stats {
  display: flex; gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 5px;
}

/* Hero right — photo */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-right-overlay {
  position: absolute; inset: 0;
  /*
  background: linear-gradient(135deg,
    rgba(28,58,42,0.3) 0%, transparent 60%);
*/
}

/* ============================================================
   FEATURE CARDS (How it works grid)
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -48px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: var(--white);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: default;
}

.feature-card:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.feature-card:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.feature-card.featured {
  background: var(--green-900);
}

.feature-card:hover:not(.featured) {
  background: var(--green-50);
  border-color: var(--green-200);
  z-index: 1;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  border: 1px solid var(--green-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--green-900);
}

.feature-card.featured .feature-icon {
  background: rgba(201,148,58,0.15);
  border-color: rgba(201,148,58,0.3);
  color: var(--gold-400);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card.featured .feature-title { color: var(--white); }

.feature-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

.feature-card.featured .feature-desc { color: rgba(255,255,255,0.6); }

/* ============================================================
   PROJECT CARDS
   ============================================================ */

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.project-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Before/After image component */
.before-after {
  position: relative;
  height: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.ba-panel {
  position: relative;
  overflow: hidden;
}

.ba-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .ba-panel img { transform: scale(1.04); }

.ba-label {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-body);
}

.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  z-index: 2;
}

/* Fallback single image */
.project-img {
  height: 180px;
  overflow: hidden;
}

.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img img { transform: scale(1.04); }

.project-card-body { padding: 20px 22px; }

.project-status-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}

.status-pill.active {
  background: rgba(28,58,42,0.08);
  color: var(--green-900);
}

.status-pill.active::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-700);
}

.status-pill.planning {
  background: rgba(201,148,58,0.1);
  color: var(--gold-600);
}

.status-pill.completed {
  background: rgba(59,107,17,0.08);
  color: #3B6B11;
}

.project-pct {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
}

.project-name-card {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.project-location-card {
  font-size: 0.73rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 4px;
}

.progress-bar {
  height: 3px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: var(--green-700);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.project-link-row {
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.view-project-link {
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  transition: gap var(--transition);
}

.view-project-link:hover { gap: 9px; color: var(--green-700); }

/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */

.hiw-section { background: var(--white); }

.step-row {
  display: flex; align-items: flex-start; gap: 24px;
  position: relative;
}

.step-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background var(--transition);
}

.step-row:hover .step-circle { background: var(--green-700); }

/* Connector arrow */
.step-arrow {
  color: var(--gold-400);
  font-size: 1.2rem;
  flex-shrink: 0;
  padding-top: 14px;
  opacity: 0.6;
}

.step-content {}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--green-50);
  border-top: 1px solid var(--green-200);
  border-bottom: 1px solid var(--green-200);
  padding: 32px 0;
}

.trust-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0 20px;
  border-right: 1px solid var(--green-200);
}

.trust-item:last-child { border-right: none; }

.trust-icon {
  width: 36px; height: 36px;
  flex-shrink: 0; color: var(--green-700);
}

.trust-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 3px;
}

.trust-desc {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: var(--green-900);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,148,58,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 40%);
}

.cta-banner-content { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */

.pub-footer {
  background: var(--green-950);
  padding: 60px 0 32px;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 2px;
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color var(--transition);
}

.footer-link:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   PROJECT PAGE
   ============================================================ */

.proj-hero {
  background: var(--green-900);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.proj-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%,
    rgba(201,148,58,0.08) 0%, transparent 60%);
}

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

.proj-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.proj-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}

.proj-breadcrumb a:hover { color: rgba(255,255,255,0.8); }

.proj-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.proj-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 28px;
}

.proj-stat-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: inline-flex;
  flex-direction: column; gap: 3px;
}

.psp-label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.psp-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

/* Content cards */
.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 18px;
  transition: border-color var(--transition);
}

.content-card:hover { border-color: var(--green-200); }

.content-card-title {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}

.content-card-title::before {
  content: '';
  width: 14px; height: 1.5px;
  background: var(--gold-500);
}

/* Timeline */
.timeline { display: flex; flex-direction: column; }

.timeline-item { display: flex; gap: 14px; }

.timeline-left {
  display: flex; flex-direction: column;
  align-items: center; flex-shrink: 0;
}

.tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  margin-top: 4px; flex-shrink: 0;
}

.tl-dot.done { background: var(--green-700); border-color: var(--green-700); }
.tl-dot.current {
  background: var(--white);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,148,58,0.15);
}

.tl-line {
  width: 1px; flex: 1;
  background: var(--border);
  margin: 4px 0; min-height: 18px;
}

.timeline-item:last-child .tl-line { display: none; }

.tl-content { padding-bottom: 18px; flex: 1; }

.tl-title {
  font-size: 0.87rem; font-weight: 600;
  color: var(--gray-900); margin-bottom: 2px;
}

.tl-meta { font-size: 0.72rem; color: var(--gray-500); }

/* Invest sidebar */
.invest-sidebar { position: sticky; top: calc(var(--nav-height) + 20px); }

.invest-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.invest-card-header {
  background: var(--green-900);
  padding: 20px 24px;
}

.invest-card-header-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.invest-card-header-sub {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
}

.invest-card-body { padding: 20px 24px; }

.invest-progress-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.invest-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.82rem;
}

.invest-row:last-of-type { border-bottom: none; }

.invest-row-label { color: var(--gray-500); }

.invest-row-value { font-weight: 600; color: var(--gray-900); }

.invest-row-value.gold { color: var(--gold-600); }

/* Forms in invest card */
.pub-form-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
  display: block;
}

.pub-form-input {
  width: 100%;
  background: var(--gray-100);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--gray-900);
  font-family: var(--font-body);
  font-size: 0.87rem;
  padding: 9px 13px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.pub-form-input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(46,96,71,0.1);
  background: var(--white);
}

/* Payment ref */
.payment-ref-box {
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 14px;
  display: none;
}

.payment-ref-box.visible { display: block; }

.payment-ref-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 5px;
  font-weight: 600;
}

.payment-ref-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--green-900);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.payment-instructions {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.payment-instructions strong { color: var(--gray-900); }

/* ============================================================
   LEGAL PAGE
   ============================================================ */

.legal-shell { padding: 56px 0 80px; }

.legal-toc-item {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-decoration: none;
  padding: 7px 14px;
  border-left: 2px solid var(--border);
  margin-bottom: 3px;
  transition: all var(--transition);
  border-radius: 0 4px 4px 0;
}

.legal-toc-item:hover { color: var(--green-900); border-left-color: var(--green-700); }

.legal-toc-item.active {
  color: var(--green-900);
  border-left-color: var(--gold-500);
  background: var(--gold-100);
  font-weight: 500;
}

.legal-toc-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding-left: 14px;
  margin-bottom: 10px;
  display: block;
}

.legal-section { margin-bottom: 52px; scroll-margin-top: 100px; }

.legal-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.legal-divider {
  width: 36px; height: 2px;
  background: var(--gold-500);
  margin-bottom: 18px;
}

.legal-section p {
  font-size: 0.87rem;
  color: var(--gray-600, #555);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: 18px;
  margin-bottom: 14px;
}

.legal-section ul li {
  font-size: 0.87rem;
  color: var(--gray-600, #555);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-section h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 22px 0 8px;
}

.risk-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 18px 0;
}

.risk-box p { color: #B91C1C !important; margin-bottom: 6px !important; }
.risk-box p:last-child { margin-bottom: 0 !important; }

.info-box {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0;
}

.info-box p { color: var(--green-800) !important; font-size: 0.83rem !important; margin: 0 !important; }

/* ============================================================
   STATUS BADGES
   ============================================================ */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em;
}

.badge::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%;
}

.badge-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.badge-success::before { background: #16A34A; }
.badge-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.badge-warning::before { background: #D97706; }
.badge-danger  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.badge-danger::before  { background: #DC2626; }
.badge-info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.badge-info::before    { background: #3B82F6; }
.badge-neutral { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--border); }
.badge-neutral::before { background: var(--gray-300); }

/* ============================================================
   UTILITY
   ============================================================ */

.text-gold   { color: var(--gold-500); }
.text-green  { color: var(--green-900); }
.text-muted  { color: var(--gray-500); }
.text-small  { font-size: 0.8rem; }

.skeleton {
  background: linear-gradient(90deg,
    var(--gray-100) 25%, #E8E8E4 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.lc-spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--green-200);
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.lc-toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}

.lc-toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--gray-900);
  min-width: 260px; max-width: 360px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.25s ease;
}

.lc-toast.success { border-left: 3px solid #16A34A; }
.lc-toast.error   { border-left: 3px solid #DC2626; }
.lc-toast.warning { border-left: 3px solid #D97706; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.page-enter {
  animation: pageEnter 0.4s ease forwards;
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    height: 340px;
  }

  .hero-left { padding: 60px 32px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

  .feature-card:first-child { border-radius: var(--radius-md) 0 0 0; }
  .feature-card:last-child  { border-radius: 0 0 var(--radius-md) 0; }
}

@media (max-width: 767px) {
  .pub-nav { padding: 0 16px; }
  .pub-nav-links { display: none; }
  section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card:first-child, .feature-card:last-child { border-radius: 0; }
}