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

:root {
    --parchment: #f5f0e8;
    --deep:      #152a1e;
    --forest:    #2d6a4f;
    --sage:      #52796f;
    --moss:      #74a57f;
    --gold:      #b5832a;
    --gold-lt:   #d4a843;
    --muted:     #6b7c6e;
    --white:     #ffffff;
    --border:    rgba(45,106,79,0.15);
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--parchment);
    color: var(--deep);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── Canvas ─────────────────────────────────────────────────────── */

#leaf-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* ── Nav ─────────────────────────────────────────────────────────── */

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 8%;
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 4px;
}

.logo-epic  { color: var(--deep); }
.logo-flora { color: var(--forest); }
.logo-leaf  { font-size: 1rem; margin-left: 2px; }

.nav-link {
    font-weight: 600; font-size: 0.85rem;
    text-decoration: none;
    color: var(--white);
    background: var(--forest);
    padding: 10px 22px; border-radius: 5px;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.nav-link:hover { background: var(--deep); transform: translateY(-1px); }

@media (max-width: 650px) {
    nav { padding: 14px 5%; }
    .logo { font-size: 1.15rem; }
    .nav-link { padding: 8px 14px; font-size: 0.78rem; }
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
    max-width: 1100px; margin: 0 auto;
    padding: 13vh 24px 5vh;
    text-align: center;
    position: relative; z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.brand-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 900; line-height: 1.05;
    margin: 0 0 10px;
    letter-spacing: -1px;
}

.brand-h1 .epic  { color: var(--deep); }
.brand-h1 .flora {
    color: var(--forest);
    font-style: italic;
}

.hero-sub {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--sage);
    margin: 0 0 24px;
}

.hero-tagline {
    max-width: 680px; margin: 0 auto 64px;
    color: var(--muted);
    font-size: 1.08rem; line-height: 1.78;
}

@media (max-width: 480px) {
    .brand-h1 { font-size: 2.4rem; }
    .hero-tagline { font-size: 0.95rem; }
}

/* ── Cards ───────────────────────────────────────────────────────── */

.grid {
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 22px;
    position: relative; z-index: 1;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 36px 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(21, 42, 30, 0.06);
    transition: transform 0.28s, box-shadow 0.28s;
    position: relative; overflow: hidden;
}

.card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--forest), var(--moss));
    opacity: 0; transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 36px rgba(21, 42, 30, 0.12);
}

.card:hover::before { opacity: 1; }

.card-icon {
    font-size: 1.6rem; margin-bottom: 14px; display: block;
}

.card-label {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 12px; display: block;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem; font-weight: 700;
    margin: 0 0 12px; color: var(--deep);
}

.card p {
    font-size: 0.92rem; line-height: 1.72;
    color: var(--muted); margin: 0;
}

/* ── Use cases ───────────────────────────────────────────────────── */

.use-cases {
    max-width: 1100px; margin: 70px auto 0;
    padding: 0 24px;
    text-align: center;
    position: relative; z-index: 1;
}

.use-cases-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--sage); margin-bottom: 20px;
}

.pills {
    display: flex; flex-wrap: wrap;
    gap: 10px; justify-content: center;
}

.pill {
    font-size: 0.84rem; font-weight: 500;
    color: var(--forest);
    background: rgba(45, 106, 79, 0.07);
    border: 1px solid rgba(45,106,79,0.2);
    padding: 7px 18px; border-radius: 999px;
}

/* ── CTA ─────────────────────────────────────────────────────────── */

.signal-line {
    padding: 90px 20px 100px;
    text-align: center;
    position: relative; z-index: 1;
}

.signal-inner { max-width: 520px; margin: 0 auto; }

.signal-status {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold); margin-bottom: 28px;
}

.signal-cta {
    display: inline-block;
    font-weight: 700; font-size: 0.9rem;
    text-decoration: none;
    background: var(--forest);
    color: var(--white);
    padding: 16px 44px; border-radius: 6px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(45,106,79,0.25);
}

.signal-cta:hover {
    background: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(21,42,30,0.3);
}

.signal-sub {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--muted);
}
