/* ============================================================
   Catalyzer marketing landing page
   Standalone stylesheet (this page does NOT extend base.html).
   Kept separate from components.css on purpose: that file is the
   tenant-dashboard component system; the public page has its own
   identity and load path.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* CyberCat green identity (shared with /request-demo + emails) */
    --cc-green-900: #064e3b;
    --cc-green-700: #065f46;
    --cc-green-600: #059669;
    --cc-green-500: #10b981;
    --cc-green-400: #22e85c;
    --cc-green-100: #d1fae5;
    --cc-green-50:  #ecfdf5;
    --cc-ink:       #0a0e2e;   /* deep brand navy — ties to email design */
    --cc-ink-soft:  #141a3f;
    --cc-gradient:  linear-gradient(135deg, #065f46 0%, #10b981 100%);
    --cc-radius:    16px;
    --cc-shadow:    0 1px 2px rgba(10,14,46,.04), 0 8px 24px -8px rgba(10,14,46,.12);
    --cc-shadow-lg: 0 24px 48px -16px rgba(6,95,70,.28);
}

html { scroll-behavior: smooth; }

body.landing-page {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    color: #1f2734;
    /* Override the navbar partial's body padding so the hero goes
       full-bleed behind the fixed navbar (specificity beats `body`). */
    padding-top: 0;
}

body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page .display-3,
body.landing-page .display-5 {
    font-family: 'Sora', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* Anchored sections clear the fixed navbar instead of hiding under it */
body.landing-page section[id] { scroll-margin-top: 90px; }

/* ---- Width helpers (ported from the old inline <style>) ---- */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }

/* ---- Brand color/utility helpers ---- */
.cc-gradient-bg { background: var(--cc-gradient); transition: filter .4s ease; }
.text-cc        { color: var(--cc-green-600) !important; }
.text-cc-soft   { color: var(--cc-green-100) !important; }
.bg-cc-50       { background-color: var(--cc-green-50); }
.bg-cc-ink      { background-color: var(--cc-ink); }

/* ---- Hero ---- */
.cc-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 9rem 0 6rem;     /* top padding clears the fixed navbar */
    min-height: 640px;
    display: flex;
    align-items: center;
}
.cc-hero__bg,
.cc-hero__overlay {
    position: absolute;
    inset: 0;
}
.cc-hero__bg {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.38) saturate(1.05);
    z-index: 0;
}
.cc-hero__overlay {
    background: linear-gradient(135deg, rgba(6,95,70,.78) 0%, rgba(16,185,129,.62) 100%);
    z-index: 1;
}
.cc-hero__inner { position: relative; z-index: 2; }
.cc-hero__eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    padding: .5rem 1.25rem;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
}
.cc-hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    text-wrap: balance;        /* graceful wrapping, no hard <br> */
}
.cc-hero__lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255,255,255,.88);
}

/* ---- Buttons ---- */
.btn-cc,
.btn-cc-light,
.btn-cc-outline {
    border-radius: 12px;
    font-weight: 700;
    padding: .85rem 1.9rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
    border: 2px solid transparent;
}
.btn-cc {
    background: var(--cc-gradient);
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(6,95,70,.7);
}
.btn-cc:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -10px rgba(6,95,70,.75);
}
.btn-cc-light {
    background: #fff;
    color: var(--cc-green-700);
}
.btn-cc-light:hover {
    color: var(--cc-green-900);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(0,0,0,.35);
}
.btn-cc-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.65);
}
.btn-cc-outline:hover {
    background: #fff;
    color: var(--cc-green-700);
    transform: translateY(-2px);
}

/* ---- Card family (unifies the 3 previously-inconsistent grids) ---- */
.cc-card {
    background: #fff;
    border: 1px solid rgba(10,14,46,.06);
    border-radius: var(--cc-radius);
    box-shadow: var(--cc-shadow);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--cc-shadow-lg);
    border-color: rgba(16,185,129,.35);
}
.cc-card__body { padding: 2rem; }

/* Icon tile — one cohesive green system instead of rainbow tiles */
.cc-icon-tile {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cc-green-50);
    color: var(--cc-green-600);
    margin-bottom: 1.25rem;
}
.cc-icon-tile svg { width: 30px; height: 30px; }
.cc-icon-tile--warn { background: #fee2e2; color: #dc2626; }
.cc-icon-tile--center { margin-left: auto; margin-right: auto; }

/* Small inline check used in industry lists */
.cc-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--cc-green-100);
    color: var(--cc-green-700);
    margin-right: .6rem;
    flex-shrink: 0;
}
.cc-check svg { width: 12px; height: 12px; }
.cc-feature-list { list-style: none; padding: 0; margin: 0; }
.cc-feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: .75rem;
    color: #4b5563;
}

/* Benefit rows */
.cc-benefit-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--cc-gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cc-benefit-icon svg { width: 22px; height: 22px; }
.cc-ico-24 { width: 24px; height: 24px; }

.cc-panel {
    background: var(--cc-gradient);
    border-radius: 24px;
    padding: 3rem;
    color: #fff;
}

/* ---- Footer ---- */
.cc-footer {
    background: var(--cc-ink);
    color: #c7cdda;
    padding: 3.5rem 0 2rem;
}
.cc-footer h3, .cc-footer h4 { color: #fff; }
.cc-footer a {
    color: #c7cdda;          /* ~7:1 on --cc-ink, passes AA */
    text-decoration: none;
    transition: color .15s ease;
}
.cc-footer a:hover { color: var(--cc-green-400); }
.cc-footer__divider {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .cc-hero { padding: 7rem 0 4rem; min-height: 520px; }
    .cc-card__body { padding: 1.5rem; }
    .cc-panel { padding: 2rem; }
}
