/* ===================================================================
   FULLHARVEST.ai — Dark enterprise theme
   =================================================================== */

:root {
    --bg-primary: #141c2e;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-card-hover: #2a3a50;

    --blue: #4285f4;
    --green: #2e7d32;
    --cyan: #0d9488;
    --blue-bright: #3b82f6;

    --text-primary: #f1f5f9;
    --text-secondary: #a8b8cc;
    --text-muted: #7a8da4;

    --border: #3a4d66;
    --border-light: #506480;

    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --container: 1120px;
    --nav-h: 64px;
    --radius: 12px;
    --radius-sm: 8px;
}

/* --- Reset & base ------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
}

a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #14b8a6; }

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

ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --------------------------------------------------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(20, 28, 46, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo img { height: 44px; width: auto; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__links a {
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: -.01em;
    transition: color .2s;
}

.nav__links a:hover,
.nav__links a.active { color: var(--text-primary); }

.nav__cta {
    background: var(--cyan);
    color: var(--bg-primary) !important;
    padding: .5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background .2s, transform .15s;
}

.nav__cta:hover {
    background: #14b8a6;
    transform: translateY(-1px);
}

.nav__utility {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border);
}

.nav__utility a {
    color: var(--text-muted);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: color .2s;
}

.nav__utility a:hover { color: var(--text-primary); }

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform .3s, opacity .2s;
}

.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { top: 18px; }

/* --- Hero --------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 28, 46, .92) 0%, rgba(20, 28, 46, .78) 40%, rgba(20, 28, 46, .92) 100%),
        url('../img/hero-produce.jpg') center/cover no-repeat;
    z-index: 0;
}

/* --- Section with background image -------------------------------- */

.section--bg {
    position: relative;
    overflow: hidden;
}

.section--bg > .section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section--bg > .section__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section--bg > .section__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 46, .82);
}

.section--bg > .container {
    position: relative;
    z-index: 1;
}

.section--bg.section--alt > .section__bg::after {
    background: rgba(30, 41, 59, .82);
}

.section--bg .card {
    background: rgba(30, 41, 59, .85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.section--bg .vision-pillar {
    background: rgba(20, 28, 46, .85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.section--bg .step {
    background: rgba(30, 41, 59, .6);
    border-radius: var(--radius);
}

/* --- Page hero with background image ------------------------------ */

.page-hero--img {
    position: relative;
    overflow: hidden;
}

.page-hero--img .page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero--img .page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 28, 46, .88) 0%, rgba(20, 28, 46, .82) 70%, rgba(20, 28, 46, .95) 100%);
}

.page-hero--img > .container {
    position: relative;
    z-index: 1;
}

/* --- Inline icon (for card headings) ------------------------------ */

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 4rem 1.5rem;
}

.hero__logo {
    margin: 0 auto 2rem;
    max-width: 360px;
}

/* White logo is natively white — no filter needed */

.hero__headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* --- Buttons ------------------------------------------------------ */

.btn {
    display: inline-block;
    font-family: var(--font);
    font-weight: 600;
    font-size: 1rem;
    padding: .85rem 2rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
}

.btn--primary {
    background: var(--cyan);
    color: var(--bg-primary);
}

.btn--primary:hover {
    background: #14b8a6;
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, .25);
}

.btn--outline {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn--outline:hover {
    background: var(--cyan);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* --- Hero CTAs ---------------------------------------------------- */

.hero__ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Credibility strip -------------------------------------------- */

.credibility-strip {
    text-align: center;
    padding: 1.5rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.credibility-strip p {
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* --- Sections ----------------------------------------------------- */

.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--bg-secondary);
}

.section__heading {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -.02em;
    text-align: center;
    margin-bottom: .75rem;
}

.section__sub {
    color: var(--text-secondary);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

.section__sub--bottom {
    margin-top: 2rem;
    margin-bottom: 0;
}

/* --- Cards -------------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: border-color .3s, transform .2s, box-shadow .3s;
}

.card:hover {
    border-color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, .08);
}

.card__icon {
    color: var(--cyan);
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.card p {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.6;
}

.cards--four {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards--three {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards--2x2 {
    grid-template-columns: repeat(2, 1fr);
}

/* --- Stats -------------------------------------------------------- */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.stat__number {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--cyan), var(--blue-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    display: block;
    color: var(--text-secondary);
    font-size: .95rem;
    margin-top: .25rem;
}


/* --- CTA section -------------------------------------------------- */

.cta-section {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.cta-section--top {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.cta-section__inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.cta-section__inner p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* --- Page hero (inner pages) -------------------------------------- */

.page-hero {
    padding: calc(var(--nav-h) + 4rem) 0 3rem;
    text-align: center;
    background:
        radial-gradient(ellipse 70% 50% at 50% 30%, rgba(13, 148, 136, .06) 0%, transparent 70%),
        var(--bg-primary);
}

.page-hero--img {
    padding: calc(var(--nav-h) + 5rem) 0 4rem;
    background: none;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.page-hero__sub {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

/* --- Prose (vision, legal) ---------------------------------------- */

.prose {
    max-width: 720px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 2.5rem 0 1rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    color: var(--text-secondary);
    margin-bottom: .5rem;
}

.prose strong { color: var(--text-primary); }

/* --- Vision pillars ----------------------------------------------- */

.vision-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.vision-pillar {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.vision-pillar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: .5rem;
}

.vision-pillar p {
    color: var(--text-secondary);
    font-size: .95rem;
}

.vision-pillars--2x2 {
    grid-template-columns: repeat(2, 1fr);
}

/* --- Pull-quote --------------------------------------------------- */

.pullquote {
    text-align: center;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 500;
    color: var(--text-primary);
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
    padding: 2rem 1.5rem;
    margin: 3rem 0;
    line-height: 1.5;
}


/* --- Steps (How It Works) ----------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cyan);
    color: var(--bg-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.step p {
    color: var(--text-secondary);
    font-size: .95rem;
    line-height: 1.6;
}

/* --- Beta form ---------------------------------------------------- */

.beta-form-container {
    max-width: 560px;
    margin: 0 auto;
}

.beta-form {
    margin-top: 2rem;
}

.beta-form__thanks {
    text-align: center;
    padding: 3rem 1.5rem;
}

.beta-form__thanks h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--cyan);
}

.beta-form__thanks p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- Contact ------------------------------------------------------ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info__block {
    margin-bottom: 2rem;
}

.contact-info__block h3 {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .5rem;
}

.contact-info__block p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info__block a {
    color: var(--text-secondary);
}

.contact-info__block a:hover {
    color: var(--cyan);
}

/* Contact form */

#contact-form { max-width: 560px; }

.form-error {
    color: #f87171;
    font-size: .875rem;
    margin-top: .75rem;
}

.form-thanks h3 {
    color: var(--cyan);
    margin-bottom: .5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font);
    font-size: .95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-group textarea { resize: vertical; }

/* --- Footer ------------------------------------------------------- */

.footer {
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 1.5rem;
    background: var(--bg-primary);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer__brand img { height: 48px; margin-bottom: 1rem; }

.footer__tagline {
    color: var(--text-muted);
    font-size: .85rem;
    line-height: 1.5;
}

.footer__links h4 {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer__links li { margin-bottom: .5rem; }

.footer__links a {
    color: var(--text-secondary);
    font-size: .9rem;
    transition: color .2s;
}

.footer__links a:hover { color: var(--text-primary); }

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    color: var(--text-muted);
    transition: color .2s;
}

.footer__social a:hover { color: var(--text-primary); }

.footer__contact {
    margin-top: 1rem;
}

.footer__contact li { margin-bottom: .35rem; }

.footer__contact a {
    color: var(--text-secondary);
    font-size: .85rem;
    transition: color .2s;
}

.footer__contact a:hover { color: var(--text-primary); }

.footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: .8rem;
}

/* --- Responsive --------------------------------------------------- */

@media (max-width: 768px) {
    .nav__toggle { display: block; }

    .nav__links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-120%);
        transition: transform .3s ease;
    }

    .nav__links.open {
        transform: translateY(0);
    }

    .nav__utility {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border);
        justify-content: center;
        padding: .75rem 1.5rem;
        gap: 1.5rem;
        margin-left: 0;
        padding-left: 1.5rem;
        border-left: none;
        transform: translateY(-120%);
        transition: transform .3s ease;
    }

    .nav__utility.open {
        transform: translateY(0);
    }

    .nav__toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav__toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .nav__toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero__logo { max-width: 260px; }

    .cards { grid-template-columns: 1fr; }

    .stats { grid-template-columns: 1fr; gap: 1.5rem; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .vision-pillars,
    .vision-pillars--2x2 { grid-template-columns: 1fr; }

    .cards--2x2 { grid-template-columns: 1fr; }

    .pullquote { font-size: 1.1rem; }

    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .footer__grid { grid-template-columns: 1fr; }
    .section { padding: 4rem 0; }
}
