/* =========================================================
   VerdantCart Carbon Reports — Demo Page
   File: assets/css/verdantcart-demo.css
   Theme-owned public marketing/demo page CSS.
   Not part of the WordPress.org plugin package.
   ========================================================= */

.gc-ai-demo-page {
    background: #f3f7f5;
    color: #0f172a;
    padding-bottom: 0;
    overflow-x: hidden;
}

body.admin-bar .gc-ai-demo-page {
    padding-top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .gc-ai-demo-page {
        padding-top: 46px;
    }
}

.gc-ai-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* =========================
   Hero
   ========================= */

.gc-ai-demo-hero {
    padding: 56px 24px 28px;
}

.gc-ai-demo-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 250px;
    gap: 24px;
    align-items: start;
}

.gc-ai-demo-hero-left h1 {
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin: 0 0 18px;
    max-width: 700px;
}

.gc-ai-demo-sub {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.65;
    color: #475569;
}

.gc-ai-demo-hero-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 220px;
    margin-left: auto;
}

.gc-ai-kicker {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}

/* =========================
   Buttons
   ========================= */

.gc-ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.gc-ai-btn:hover {
    transform: translateY(-1px);
}

.gc-ai-btn--primary {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.16);
}

.gc-ai-btn--primary:hover {
    background: #15803d;
    color: #ffffff;
}

.gc-ai-btn--secondary {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}

.gc-ai-btn--secondary:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.gc-ai-btn--ghost {
    background: transparent;
    color: #0f172a;
    border-color: #cbd5e1;
}

.gc-ai-btn--ghost:hover {
    background: #eef2f7;
    color: #0f172a;
}

/* =========================
   Brand banner
   ========================= */

.gc-ai-demo-brand {
    padding: 0 24px 20px;
}

.gc-ai-demo-brand-inner {
    background: #f9f5f0;
    border: 1px solid #eadfce;
    border-left: 4px solid #8b5a2b;
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.gc-ai-demo-brand-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.gc-ai-demo-brand-name {
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #4a2c1a;
}

.gc-ai-demo-brand-divider {
    width: 1px;
    height: 28px;
    background: #d4b08c;
}

.gc-ai-demo-brand-title {
    font-size: 15px;
    font-weight: 700;
    color: #2d1f0f;
}

.gc-ai-demo-brand-meta {
    font-size: 12px;
    color: #7a5a3a;
    margin-top: 4px;
}

/* =========================
   Common sections
   ========================= */

.gc-ai-demo-section {
    padding: 18px 24px 0;
}

.gc-ai-section-head {
    margin-bottom: 20px;
}

.gc-ai-section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.gc-ai-section-head p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #64748b;
}

/* =========================
   KPI cards
   ========================= */

.gc-ai-demo-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gc-ai-demo-kpi-card {
    background: #ffffff;
    border: 1px solid #dbe4dd;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.gc-ai-demo-kpi-label {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
}

.gc-ai-demo-kpi-value {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 10px;
}

.gc-ai-demo-kpi-value--good {
    color: #15803d;
}

.gc-ai-demo-kpi-value--small {
    font-size: clamp(22px, 2.4vw, 29px);
    line-height: 1.15;
}

.gc-ai-demo-kpi-hint {
    font-size: 14px;
    color: #64748b;
}

/* =========================
   Chart panel
   ========================= */

.gc-ai-demo-panel {
    background: #ffffff;
    border: 1px solid #dbe4dd;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.gc-ai-demo-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.gc-ai-demo-panel-head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.gc-ai-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.gc-ai-pill--pro {
    background: #dcfce7;
    color: #15803d;
}

.gc-ai-demo-chart-placeholder {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 14px;
    overflow: hidden;
}

.gc-ai-demo-chart {
    display: block;
    width: 100%;
    height: auto;
}

.gc-ai-demo-chart-grid line {
    stroke: #dbe4dd;
    stroke-width: 1;
}

.gc-ai-demo-chart-area {
    fill: rgba(22, 163, 74, 0.12);
}

.gc-ai-demo-chart-line {
    fill: none;
    stroke: #16a34a;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gc-ai-demo-panel-foot {
    margin-top: 14px;
    font-size: 14px;
    color: #64748b;
}

/* =========================
   Insights
   ========================= */

.gc-ai-demo-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gc-ai-demo-insight-card {
    background: #ffffff;
    border: 1px solid #dbe4dd;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.gc-ai-demo-insight-card--locked {
    position: relative;
    border-color: #cbd5e1;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.gc-ai-demo-insight-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.gc-ai-demo-insight-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.gc-ai-demo-insight-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 14px;
}

.gc-ai-demo-insight-badge--positive {
    background: #dcfce7;
    color: #166534;
}

.gc-ai-demo-insight-badge--warning {
    background: #fef3c7;
    color: #92400e;
}

.gc-ai-demo-insight-badge--risk {
    background: #fee2e2;
    color: #991b1b;
}

.gc-ai-demo-insight-badge--pro {
    background: #e2e8f0;
    color: #334155;
}

.gc-ai-demo-upgrade-box {
    margin-top: 22px;
    background: #ffffff;
    border: 1px solid #dbe4dd;
    border-radius: 22px;
    padding: 22px 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.gc-ai-demo-upgrade-box h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.gc-ai-demo-upgrade-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    max-width: 680px;
}

/* =========================
   Lock features
   ========================= */

.gc-ai-demo-locks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1080px;
}

.gc-ai-demo-lock-card {
    background: #ffffff;
    border: 1px solid #dbe4dd;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    min-height: 180px;
}

.gc-ai-demo-lock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gc-ai-demo-lock-head h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #0f172a;
    max-width: 220px;
}

.gc-ai-demo-lock-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    max-width: 280px;
}

/* =========================
   CTA
   ========================= */

.gc-ai-demo-cta {
    padding: 26px 24px 0;
}

.gc-ai-demo-cta-inner {
    background: #16a34a;
    color: #ffffff;
    border-radius: 26px;
    padding: 24px 28px;
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    max-width: 1080px;
}

.gc-ai-demo-cta-inner h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 620px;
}

.gc-ai-demo-cta-inner p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 620px;
}

.gc-ai-demo-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gc-ai-demo-cta-actions .gc-ai-btn {
    min-height: 46px;
    padding: 0 20px;
    font-size: 16px;
    width: auto;
}

.gc-ai-demo-cta .gc-ai-btn--primary {
    background: #ffffff;
    color: #15803d;
    box-shadow: none;
}

.gc-ai-demo-cta .gc-ai-btn--primary:hover {
    background: #f8fafc;
    color: #166534;
}

.gc-ai-demo-cta .gc-ai-btn--secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.gc-ai-demo-cta .gc-ai-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px) {

    .gc-ai-demo-insights-grid,
    .gc-ai-demo-locks {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .gc-ai-demo-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gc-ai-demo-cta-inner {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .gc-ai-demo-hero {
        padding: 50px 20px 24px;
    }

    .gc-ai-demo-hero-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gc-ai-demo-hero-right {
        max-width: 100%;
        margin-left: 0;
    }

    .gc-ai-demo-hero-left h1 {
        font-size: clamp(30px, 8vw, 44px);
    }

    .gc-ai-demo-sub {
        font-size: 16px;
    }

    .gc-ai-demo-brand,
    .gc-ai-demo-section,
    .gc-ai-demo-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .gc-ai-demo-upgrade-box,
    .gc-ai-demo-cta-inner {
        padding: 22px;
    }
}

@media (max-width: 700px) {
    .gc-ai-demo-kpis {
        grid-template-columns: 1fr;
    }

    .gc-ai-btn {
        width: 100%;
    }

    .gc-ai-demo-hero-right,
    .gc-ai-demo-cta-actions {
        width: 100%;
    }

    .gc-ai-demo-cta-actions .gc-ai-btn {
        width: 100%;
    }

    .gc-ai-demo-brand-inner {
        padding: 18px;
    }

    .gc-ai-demo-brand-name {
        font-size: 22px;
    }

    .gc-ai-demo-panel,
    .gc-ai-demo-kpi-card,
    .gc-ai-demo-insight-card,
    .gc-ai-demo-lock-card {
        padding: 20px;
    }

    .gc-ai-demo-lock-head h3,
    .gc-ai-demo-lock-card p {
        max-width: 100%;
    }
}

/* =========================================================
   Mobile polish / overflow protection
   ========================================================= */

.gc-ai-demo-page,
.gc-ai-demo-page * {
    box-sizing: border-box;
}

.gc-ai-wrap {
    padding-left: 24px;
    padding-right: 24px;
}

.gc-ai-demo-page img,
.gc-ai-demo-page svg,
.gc-ai-demo-page canvas {
    max-width: 100%;
    height: auto;
}

.gc-ai-demo-hero-left,
.gc-ai-demo-hero-right,
.gc-ai-demo-panel,
.gc-ai-demo-kpi-card,
.gc-ai-demo-insight-card,
.gc-ai-demo-lock-card,
.gc-ai-demo-upgrade-box,
.gc-ai-demo-cta-inner,
.gc-ai-demo-brand-inner {
    min-width: 0;
}

/* Keep long text from pushing cards wider than mobile screen */
.gc-ai-demo-page h1,
.gc-ai-demo-page h2,
.gc-ai-demo-page h3,
.gc-ai-demo-page p,
.gc-ai-demo-page a,
.gc-ai-demo-page span,
.gc-ai-demo-page strong {
    overflow-wrap: anywhere;
}

.gc-ai-demo-section .gc-ai-wrap,
.gc-ai-demo-brand .gc-ai-wrap,
.gc-ai-demo-hero .gc-ai-wrap,
.gc-ai-demo-cta .gc-ai-wrap {
    max-width: 1180px;
}
/* Better mobile hero spacing */
@media (max-width: 700px) {
    .gc-ai-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gc-ai-demo-hero,
    .gc-ai-demo-brand,
    .gc-ai-demo-section,
    .gc-ai-demo-cta {
        padding-left: 0;
        padding-right: 0;
    }

    .gc-ai-demo-hero {
        padding-top: 38px;
        padding-bottom: 22px;
    }

    .gc-ai-demo-hero-left h1 {
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .gc-ai-demo-sub {
        font-size: 16px;
        line-height: 1.6;
    }

    .gc-ai-demo-hero-right {
        gap: 10px;
    }

    .gc-ai-btn {
        width: 100%;
        min-height: 52px;
        border-radius: 15px;
    }

    .gc-ai-demo-brand-inner {
        align-items: flex-start;
    }

    .gc-ai-demo-brand-left {
        display: block;
    }

    .gc-ai-demo-brand-divider {
        display: none;
    }

    .gc-ai-demo-brand-title {
        margin-top: 8px;
    }

    .gc-ai-demo-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .gc-ai-demo-kpi-card,
    .gc-ai-demo-insight-card,
    .gc-ai-demo-lock-card {
        padding: 18px;
        border-radius: 20px;
    }

    .gc-ai-demo-upgrade-box,
    .gc-ai-demo-cta-inner {
        padding: 20px;
        border-radius: 22px;
    }

    .gc-ai-demo-cta-actions {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .gc-ai-wrap {
        padding-left: 14px;
        padding-right: 14px;
    }

    .gc-ai-demo-hero-left h1 {
        font-size: 31px;
    }

    .gc-ai-demo-section {
        padding-top: 16px;
    }

    .gc-ai-section-head h2,
    .gc-ai-demo-panel-head h2 {
        font-size: 27px;
    }

    .gc-ai-demo-brand-name {
        font-size: 22px;
    }

    .gc-ai-demo-kpi-value {
        font-size: 32px;
    }

    .gc-ai-demo-kpi-value--small {
        font-size: 25px;
    }
}
/* =========================================================
   FINAL DEMO FOOTER — VerdantCart AI
   Put this at the VERY BOTTOM of verdantcart-demo.css
   ========================================================= */

/* Remove large empty bottom space from the demo page */
.gc-ai-demo-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Full-width styled footer */
.gc-ai-demo-page .gc-ai-footer {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 56px !important;
    margin-bottom: 0 !important;
    padding: 42px 0 30px !important;
    background: #ffffff !important;
    border-top: 1px solid #dbe4dd !important;
    box-shadow: none !important;
}

/* Footer container */
.gc-ai-demo-page .gc-ai-footer .gc-ai-wrap {
    width: min(1180px, calc(100% - 64px)) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Top footer row */
.gc-ai-demo-page .gc-ai-footer-inner {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 36px !important;
    flex-wrap: wrap !important;
    padding: 0 0 24px !important;
    margin: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* Brand area */
.gc-ai-demo-page .gc-ai-footer-brand {
    max-width: 460px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gc-ai-demo-page .gc-ai-footer-logo {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #0f172a !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
}

.gc-ai-demo-page .gc-ai-footer-text {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 450px !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* Footer navigation */
.gc-ai-demo-page .gc-ai-footer-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 16px 22px !important;
    margin: 0 !important;
    padding: 4px 0 0 !important;
}

.gc-ai-demo-page .gc-ai-footer-nav a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.gc-ai-demo-page .gc-ai-footer-nav a:hover {
    color: #16a34a !important;
}

/* Copyright row */
.gc-ai-demo-page .gc-ai-footer-bottom {
    margin: 0 !important;
    padding: 18px 0 0 !important;
    color: #94a3b8 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Make the green CTA connect better to footer */
.gc-ai-demo-cta {
    padding-bottom: 0 !important;
}

/* Mobile footer */
@media (max-width: 800px) {
    .gc-ai-demo-page .gc-ai-footer {
        margin-top: 42px !important;
        padding: 34px 0 26px !important;
    }

    .gc-ai-demo-page .gc-ai-footer .gc-ai-wrap {
        width: min(100%, calc(100% - 32px)) !important;
    }

    .gc-ai-demo-page .gc-ai-footer-inner {
        flex-direction: column !important;
        gap: 22px !important;
        padding-bottom: 22px !important;
    }

    .gc-ai-demo-page .gc-ai-footer-nav {
        justify-content: flex-start !important;
        gap: 14px 16px !important;
    }

    .gc-ai-demo-page .gc-ai-footer-nav a {
        white-space: normal !important;
    }

    .gc-ai-demo-page .gc-ai-footer-bottom {
        padding-top: 18px !important;
    }
}

@media (max-width: 430px) {
    .gc-ai-demo-page .gc-ai-footer .gc-ai-wrap {
        width: min(100%, calc(100% - 28px)) !important;
    }

    .gc-ai-demo-page .gc-ai-footer-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        gap: 12px 14px !important;
    }

    .gc-ai-demo-page .gc-ai-footer-nav a {
        display: block !important;
    }
}

/* Final tiny footer bottom cleanup */
.gc-ai-demo-page .gc-ai-footer {
    padding-bottom: 18px !important;
}

.gc-ai-demo-page .gc-ai-footer-bottom {
    padding-bottom: 0 !important;
}