/* =============================================================================
   Figtree Systems — Paperless Office and OCR Software
   Scoped to .poc-page. Uses the global --fg-* design tokens.
   ============================================================================= */

.poc-page {
    font-family: 'Open Sans', sans-serif;
    color: var(--fg-text);
    line-height: 1.7;
}

.poc-page section { position: relative; }

.poc-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Shared inner wrapper ------------------------------------------------------- */
.poc-inner {
    max-width: var(--fg-max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

/* Buttons -------------------------------------------------------------------- */
.poc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    text-decoration: none;
    border-radius: var(--fg-radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.2;
    white-space: nowrap;
}

.poc-btn--primary {
    padding: 0.75em 1.8em;
    background: var(--fg-green);
    color: #fff;
}
.poc-btn--primary:hover,
.poc-btn--primary:focus-visible {
    background: var(--fg-green-dark);
    color: #fff;
}

.poc-btn--white {
    padding: 0.75em 1.8em;
    background: #fff;
    color: var(--fg-green-dark);
    border: 2px solid transparent;
}
.poc-btn--white:hover,
.poc-btn--white:focus-visible {
    background: var(--fg-green-light);
    color: var(--fg-green-dark);
}

.poc-btn--ghost {
    padding: 0.75em 1.8em;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.poc-btn--ghost:hover,
.poc-btn--ghost:focus-visible {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* =============================================================================
   1. HERO
   ============================================================================= */
.poc-hero {
    position: relative;
    background-color: var(--fg-green-deeper);
    background-size: cover;
    background-position: center 30%;
    min-height: 460px;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
}

.poc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(30, 61, 26, 0.90) 0%,
        rgba(30, 61, 26, 0.72) 55%,
        rgba(30, 61, 26, 0.30) 100%
    );
}

.poc-hero__inner {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
    width: 100%;
}

.poc-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 2rem;
    letter-spacing: -0.01em;
}

.poc-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* =============================================================================
   2. AEO INTRO
   ============================================================================= */
.poc-intro {
    background: var(--fg-green-pale);
    padding: 2.5rem 0;
    text-align: center;
}

.poc-intro__text {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =============================================================================
   3. THE FIGTREE ADVANTAGE
   ============================================================================= */
.poc-advantage {
    background: #fff;
    padding: 5rem 0 4rem;
    text-align: center;
}

.poc-advantage__label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-green);
    margin-bottom: 0.5rem;
}

.poc-advantage h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-text);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.poc-advantage__intro {
    max-width: 820px;
    font-size: 1.05rem;
    margin: 0 auto 1rem;
}

/* =============================================================================
   4. HOW IT WORKS
   ============================================================================= */
.poc-how {
    background: var(--fg-off-white);
    padding: 5rem 0;
    text-align: center;
}

.poc-how h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-green-dark);
    margin: 0 0 2.5rem;
    line-height: 1.2;
}

.poc-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    max-width: 860px;
}

.poc-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    text-align: left;
}

.poc-step__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--fg-green);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}

.poc-step__body p {
    margin: 0;
    font-size: 1rem;
    padding-top: 0.5rem;
}

/* =============================================================================
   5. BENEFITS
   ============================================================================= */
.poc-benefits {
    background: #fff;
    padding: 5rem 0;
    text-align: center;
}

.poc-benefits h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-green-dark);
    margin: 0 0 2.5rem;
    line-height: 1.2;
}

.poc-benefits__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
    max-width: 860px;
    text-align: left;
}

.poc-benefits__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
}

.poc-benefits__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--fg-radius);
    background: var(--fg-green-light);
    color: var(--fg-green);
}

/* =============================================================================
   6. EXPERIENCE
   ============================================================================= */
.poc-experience {
    background: var(--fg-green-pale);
    padding: 5rem 0;
}

.poc-experience__inner {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.poc-experience h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-green-dark);
    margin: 0 0 1.25rem;
}

.poc-experience p {
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

.poc-experience__cta {
    margin-top: 1.5rem;
}

/* =============================================================================
   7. FAQ
   ============================================================================= */
.poc-faq {
    background: #fff;
    padding: 5rem 0;
}

.poc-faq__heading {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--fg-text);
    margin: 0 0 0.5rem;
}

.poc-faq__sub {
    color: #555;
    font-size: 1rem;
    margin: 0 0 2.5rem;
}

.poc-faq__list {
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.poc-faq__item {
    border-bottom: 1px solid var(--fg-green-light);
}

.poc-faq__item:first-child {
    border-top: 1px solid var(--fg-green-light);
}

.poc-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--fg-text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

/* Remove default browser marker */
.poc-faq__question::-webkit-details-marker { display: none; }
.poc-faq__question::marker { display: none; }

/* +/− icon */
.poc-faq__question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--fg-green);
    line-height: 1;
    transition: transform 0.2s ease;
}

.poc-faq__item[open] > .poc-faq__question::after {
    content: '−';
}

.poc-faq__question:hover {
    color: var(--fg-green);
}

.poc-faq__answer {
    padding: 0 0 1.25rem;
}

.poc-faq__answer p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.7;
    color: #444;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 900px) {
    .poc-benefits__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .poc-hero {
        min-height: 360px;
        padding: 3.5rem 0 2.5rem;
    }

    .poc-hero h1 { font-size: 1.75rem; }

    .poc-hero__ctas {
        flex-direction: column;
    }

    .poc-hero__ctas .poc-btn {
        width: 100%;
        justify-content: center;
    }

    .poc-step {
        gap: 0.85rem;
    }

    .poc-step__num {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}
