:root {
  --bg: #0C1A12;
  --bg-2: #0F2418;
  --bg-card: #132919;
  --fg: #F4EFE6;
  --fg-muted: #8A9E8B;
  --accent: #4CAF6A;
  --accent-warm: #C4563A;
  --accent-gold: #E8B84B;
  --border: rgba(76, 175, 106, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(12, 26, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(76, 175, 106, 0.07) 0%, transparent 70%);
}

.hero-flower-stems {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  opacity: 0.06;
}
.stem {
  width: 1px;
  background: linear-gradient(to top, var(--accent), transparent 80%);
  animation: stemSway 4s ease-in-out infinite;
}
.stem-1 { height: 55%; animation-delay: 0s; }
.stem-2 { height: 70%; animation-delay: 0.6s; }
.stem-3 { height: 85%; animation-delay: 1.2s; }
.stem-4 { height: 65%; animation-delay: 0.3s; }
.stem-5 { height: 50%; animation-delay: 0.9s; }
.stem-6 { height: 75%; animation-delay: 1.5s; }

@keyframes stemSway {
  0%, 100% { transform: skewX(-2deg); }
  50% { transform: skewX(2deg); }
}

.hero-petals {
  position: absolute;
  inset: 0;
}
.petal {
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--accent);
  opacity: 0;
  animation: petalFall linear infinite;
}
.petal-1 { left: 15%; top: -5%; animation-delay: 0s; animation-duration: 12s; }
.petal-2 { left: 35%; top: -5%; animation-delay: 3s; animation-duration: 14s; }
.petal-3 { left: 55%; top: -5%; animation-delay: 6s; animation-duration: 11s; }
.petal-4 { left: 75%; top: -5%; animation-delay: 1s; animation-duration: 13s; }
.petal-5 { left: 90%; top: -5%; animation-delay: 8s; animation-duration: 15s; }

@keyframes petalFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.15; }
  90% { opacity: 0.08; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(76, 175, 106, 0.3);
  border-radius: 100px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  min-width: 180px;
  padding: 0 32px;
}
.stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 14px;
}

/* ── PROBLEM ── */
.problem { padding: 100px 40px; }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 56px;
  max-width: 600px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: rgba(76, 175, 106, 0.4); }
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(76, 175, 106, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── MODULES ── */
.modules { padding: 100px 40px; background: var(--bg-2); }
.modules-inner { max-width: 1200px; margin: 0 auto; }
.modules-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.modules-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .modules-grid { grid-template-columns: 1fr; }
}
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.module-card:hover {
  border-color: rgba(76, 175, 106, 0.35);
  transform: translateY(-2px);
}
.module-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.module-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ── AI FEATURE ── */
.ai-feature { padding: 100px 40px; }
.ai-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .ai-inner { grid-template-columns: 1fr; gap: 48px; }
}
.ai-window {
  background: #0A1610;
  border: 1px solid rgba(76, 175, 106, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(76, 175, 106, 0.1);
}
.ai-header {
  background: #0F2016;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(76, 175, 106, 0.1);
}
.ai-dots {
  display: flex;
  gap: 6px;
}
.ai-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(76, 175, 106, 0.3);
}
.ai-title {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.ai-messages {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-message { border-radius: 12px; padding: 12px 16px; font-size: 0.88rem; line-height: 1.5; }
.ai-user {
  background: rgba(76, 175, 106, 0.12);
  border: 1px solid rgba(76, 175, 106, 0.2);
  color: var(--fg);
  align-self: flex-end;
  max-width: 85%;
}
.ai-assistant { color: var(--fg-muted); }
.ai-recommendation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ai-recommendation strong { color: var(--fg); font-size: 0.9rem; }
.ai-recommendation span { font-size: 0.82rem; color: var(--fg-muted); }
.ai-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(76, 175, 106, 0.2);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 6px;
}
.ai-badge-alt {
  background: rgba(232, 184, 75, 0.15);
  color: var(--accent-gold);
}
.ai-meta { color: var(--fg-muted) !important; font-size: 0.75rem !important; }
.ai-result { font-size: 0.88rem; }
.ai-result a { color: var(--accent); text-decoration: none; }

.ai-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 16px;
}
.ai-copy p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.ai-capabilities { display: flex; flex-direction: column; gap: 20px; }
.ai-cap strong { display: block; font-size: 0.9rem; color: var(--fg); margin-bottom: 3px; }
.ai-cap span { font-size: 0.83rem; color: var(--fg-muted); }

/* ── MULTI-TENANT ── */
.multi-tenant { padding: 100px 40px; background: var(--bg-2); }
.mt-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .mt-inner { grid-template-columns: 1fr; gap: 48px; }
}
.mt-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 16px;
}
.mt-copy p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.mt-features { display: flex; flex-direction: column; gap: 12px; }
.mt-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.mt-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(76, 175, 106, 0.12);
  border: 1px solid rgba(76, 175, 106, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.mt-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}
.company-node {
  background: var(--accent);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.company-node small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
  font-weight: 400;
  margin-top: 2px;
}
.connection-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 2px;
  height: 32px;
  background: var(--border);
}
.conn-line { display: none; }
.entity-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}
.entity {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.entity span { display: block; color: var(--fg); font-weight: 500; }
.entity small { display: block; font-size: 0.68rem; color: var(--fg-muted); margin-top: 2px; }

/* ── CLOSING ── */
.closing {
  padding: 100px 40px 80px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.closing-tags span {
  font-size: 0.78rem;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--fg-muted);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-top: 4px;
}
.footer-meta span {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .stats-bar { padding: 20px; }
  .stats-inner { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }
  .problem, .modules, .ai-feature, .multi-tenant, .closing { padding: 60px 20px; }
  .entity-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
}