:root {
    --color-green: #2e7d32;
    --color-dark-green: #1b5e20;
    --color-gold: #f9a825;
    --color-white: #ffffff;
    --color-ink: #162019;
    --color-muted: #5d6b61;
    --color-surface: #f6f8f3;
    --color-panel: rgba(255, 255, 255, 0.82);
    --color-line: rgba(27, 94, 32, 0.14);
    --shadow-soft: 0 18px 48px rgba(22, 32, 25, 0.12);
    --shadow-card: 0 14px 34px rgba(22, 32, 25, 0.1);
    --container: 1180px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background:
        linear-gradient(180deg, #f8faf5 0%, #eef5e8 42%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

body.inner-page {
    background:
        linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(249, 168, 37, 0.08)),
        var(--color-surface);
}

a {
    color: inherit;
}

[id] {
    scroll-margin-top: 92px;
}

:focus-visible {
    outline: 3px solid rgba(249, 168, 37, 0.48);
    outline-offset: 3px;
}

svg {
    display: block;
    width: 100%;
    height: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-height);
    padding: 16px max(22px, calc((100vw - var(--container)) / 2));
    color: var(--color-white);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active,
.site-header.header-solid {
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.78);
    border-bottom-color: rgba(27, 94, 32, 0.12);
    box-shadow: 0 10px 30px rgba(22, 32, 25, 0.08);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.brand,
.site-nav a,
.footer-brand {
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: currentColor;
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-active .brand-mark,
.site-header.header-solid .brand-mark {
    border-color: rgba(46, 125, 50, 0.18);
    background: rgba(46, 125, 50, 0.08);
    color: var(--color-dark-green);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
}

.brand-mark path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.93rem;
    font-weight: 700;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    color: currentColor;
    opacity: 0.9;
    transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(249, 168, 37, 0.16);
    color: var(--color-gold);
    opacity: 1;
    transform: translateY(-1px);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.nav-active .site-nav a:hover,
.site-header.nav-active .site-nav a:focus-visible,
.site-header.header-solid .site-nav a:hover,
.site-header.header-solid .site-nav a:focus-visible {
    color: var(--color-dark-green);
    background: rgba(46, 125, 50, 0.1);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: currentColor;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 96svh;
    place-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 72px) 24px 88px;
    color: var(--color-white);
    text-align: center;
    background:
        image-set(
            url("../images/gigbest-copilot-hero.jpg") type("image/jpeg")
        )
        center bottom / auto 136% no-repeat;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 30%;
    content: "";
    background: linear-gradient(180deg, rgba(22, 32, 25, 0) 0%, rgba(22, 32, 25, 0.48) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 42%, rgba(8, 21, 12, 0.72), rgba(8, 21, 12, 0.44) 28%, transparent 48%),
        radial-gradient(circle at 50% 28%, rgba(249, 168, 37, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(8, 21, 12, 0.46) 0%, rgba(8, 21, 12, 0.52) 52%, rgba(8, 21, 12, 0.74) 100%);
}

.hero-content {
    width: min(100%, 980px);
    padding-top: 24px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.cta-section h2 {
    margin: 0;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero h1 {
    font-size: 4.9rem;
    font-weight: 900;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.hero-subtitle {
    max-width: 760px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.28rem;
    font-weight: 600;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 148px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--color-white);
    background: var(--color-green);
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button::after {
    position: absolute;
    inset: auto auto 50% 50%;
    z-index: -1;
    width: 0;
    height: 0;
    border-radius: 999px;
    content: "";
    background: rgba(255, 255, 255, 0.34);
    transform: translate(-50%, 50%);
    transition: width 260ms ease, height 260ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.button:hover::after,
.button:focus-visible::after {
    width: 230px;
    height: 230px;
}

.button-primary {
    background: var(--color-green);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--color-dark-green);
}

.button-ghost {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.button-dark {
    color: var(--color-white);
    background: var(--color-ink);
}

.button-outline {
    color: var(--color-dark-green);
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(46, 125, 50, 0.28);
}

.button-outline:hover,
.button-outline:focus-visible {
    color: var(--color-white);
    background: var(--color-dark-green);
}

.portal-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(249, 168, 37, 0.08)),
        var(--color-surface);
}

.portal-panel {
    width: min(100%, 460px);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.portal-panel h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: 2.1rem;
    line-height: 1.05;
}

.portal-panel p:not(.eyebrow) {
    color: var(--color-muted);
}

.portal-panel label {
    display: grid;
    gap: 6px;
    margin: 16px 0;
    color: var(--color-muted);
    font-weight: 800;
}

.portal-panel input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--color-ink);
    background: var(--color-white);
    font: inherit;
}

.portal-panel input:focus {
    border-color: rgba(46, 125, 50, 0.52);
    outline: 3px solid rgba(46, 125, 50, 0.12);
}

.page-hero {
    padding: calc(var(--header-height) + 76px) max(22px, calc((100vw - var(--container)) / 2)) 54px;
}

.page-hero-copy {
    width: min(100%, 860px);
}

.page-hero h1 {
    margin: 0;
    color: var(--color-ink);
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.04;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--color-muted);
    font-size: 1.12rem;
}

.section {
    padding: 86px max(22px, calc((100vw - var(--container)) / 2));
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 34px;
}

.section-heading h2,
.section-copy h2,
.cta-section h2,
.content-panel h2,
.contact-card h2,
.demo-form h2 {
    font-size: 2.6rem;
    font-weight: 900;
}

.section-heading p:last-child,
.section-copy p,
.cta-section p,
.glass-card p,
.why-item p {
    color: var(--color-muted);
}

.section-heading p:last-child,
.section-copy p,
.cta-section p {
    margin: 0;
    font-size: 1.04rem;
}

.feature-grid,
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.glass-card,
.why-item,
.stat-card,
.doc-link,
.content-panel,
.contact-card,
.demo-form,
.product-details-callout {
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 8px;
    background: var(--color-panel);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-card);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.glass-card {
    min-height: 248px;
    padding: 24px;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.glass-card:hover {
    border-color: rgba(46, 125, 50, 0.32);
    box-shadow: 0 22px 52px rgba(22, 32, 25, 0.14);
    transform: translateY(-6px);
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--color-dark-green);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.12), rgba(249, 168, 37, 0.2));
}

.card-icon svg {
    width: 25px;
    height: 25px;
}

.card-icon path,
.card-icon circle {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.glass-card h3,
.why-item h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.glass-card p,
.why-item p {
    margin: 0;
}

.hardware-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
    gap: 54px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(249, 168, 37, 0.08)),
        #ffffff;
}

.hardware-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(27, 94, 32, 0.14);
    border-radius: 8px;
    background: #101710;
    box-shadow: var(--shadow-soft);
}

.hardware-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--color-ink);
    font-weight: 700;
}

.check-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: var(--color-white);
    content: "\2713";
    background: var(--color-green);
    font-size: 0.75rem;
}

.why-section {
    background: #f7faf3;
}

.why-section .section-heading {
    grid-template-columns: minmax(0, 780px);
}

.why-item {
    min-height: 210px;
    padding: 24px;
    transition: transform 220ms ease, border-color 220ms ease;
}

.why-item:hover {
    border-color: rgba(249, 168, 37, 0.5);
    transform: translateY(-5px);
}

.why-item span {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--color-gold);
    font-size: 0.82rem;
    font-weight: 900;
}

.product-details-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 22px;
    padding: 24px;
}

.product-details-callout h3 {
    margin: 0;
    font-size: 1.35rem;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 0 max(22px, calc((100vw - var(--container)) / 2)) 86px;
    background: #f7faf3;
}

.stat-card {
    display: grid;
    min-height: 176px;
    align-content: center;
    gap: 6px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72));
}

.stat-card strong {
    color: var(--color-dark-green);
    font-size: 2.3rem;
    line-height: 1;
}

.stat-card span:last-child {
    color: var(--color-muted);
    font-weight: 800;
}

.documentation-section {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
    gap: 40px;
    align-items: center;
    background: #ffffff;
}

.doc-actions {
    display: grid;
    gap: 14px;
}

.doc-link {
    display: grid;
    gap: 3px;
    padding: 20px;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.doc-link:hover,
.doc-link:focus-visible {
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: var(--shadow-card);
    transform: translateX(4px);
}

.doc-link span {
    color: var(--color-dark-green);
    font-weight: 900;
}

.doc-link small {
    color: var(--color-muted);
    font-size: 0.92rem;
}

.acknowledgement-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.acknowledgement-section p {
    max-width: 920px;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 0.98rem;
    text-align: center;
}

.acknowledgement-section a {
    color: var(--color-dark-green);
    font-weight: 800;
}

.contact-layout,
.product-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
    gap: 22px;
    align-items: start;
    padding-top: 32px;
}

.single-column-page {
    padding-top: 32px;
}

.single-column-page .content-panel {
    width: min(100%, 860px);
}

.content-panel,
.contact-card,
.demo-form {
    padding: 28px;
}

.content-panel h2,
.contact-card h2,
.demo-form h2 {
    margin: 0;
    line-height: 1.08;
}

.content-panel p,
.demo-form p,
.contact-card p,
.info-list dd {
    color: var(--color-muted);
}

.content-panel p,
.demo-form p {
    margin: 16px 0 0;
}

.content-panel .button {
    margin-top: 24px;
}

.info-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
}

.info-list div {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
}

.info-list dt {
    color: var(--color-ink);
    font-size: 0.86rem;
    font-weight: 900;
}

.info-list dd {
    margin: 0;
}

.info-list a {
    color: var(--color-dark-green);
    font-weight: 800;
}

.action-grid,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.map-panel {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.map-panel h3 {
    margin: 0;
    color: var(--color-ink);
    font-size: 1.1rem;
}

.map-panel p {
    margin: 0;
}

.map-panel iframe {
    width: 100%;
    min-height: 280px;
    border: 1px solid rgba(27, 94, 32, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(22, 32, 25, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.form-field {
    display: grid;
    gap: 8px;
    color: var(--color-ink);
    font-weight: 900;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(27, 94, 32, 0.18);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-weight: 600;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input {
    min-height: 48px;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(46, 125, 50, 0.58);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.12);
    outline: none;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--color-muted);
    font-weight: 800;
}

.cta-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin: 24px max(22px, calc((100vw - var(--container)) / 2)) 86px;
    padding: 40px;
    border-radius: 8px;
    color: var(--color-white);
    background:
        linear-gradient(135deg, rgba(27, 94, 32, 0.98), rgba(46, 125, 50, 0.92)),
        var(--color-dark-green);
    box-shadow: 0 24px 62px rgba(27, 94, 32, 0.22);
}

.cta-section .eyebrow,
.cta-section p {
    color: rgba(255, 255, 255, 0.84);
}

.cta-section .cta-actions {
    justify-content: flex-end;
    margin: 0;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px max(22px, calc((100vw - var(--container)) / 2));
    color: rgba(255, 255, 255, 0.76);
    background: #101712;
}

.footer-brand {
    color: var(--color-white);
    font-weight: 900;
}

.site-footer p {
    margin: 7px 0 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--color-gold);
}

html.motion-ready .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 680ms ease, transform 680ms ease;
}

html.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .section-heading,
    .hardware-section,
    .documentation-section,
    .cta-section,
    .contact-layout,
    .product-page-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .why-grid,
    .stats-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-section .cta-actions {
        justify-content: flex-start;
    }

    .product-details-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 68px;
    }

    .site-header {
        min-height: var(--header-height);
        padding: 13px 18px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid rgba(27, 94, 32, 0.12);
        border-radius: 8px;
        color: var(--color-ink);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-soft);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    .site-nav[data-open='true'] {
        display: flex;
    }

    .site-nav a {
        min-height: 46px;
    }

    .hero {
        min-height: 94svh;
        padding: calc(var(--header-height) + 54px) 18px 64px;
        background-size: auto 190%;
        background-position: center bottom;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 64px 18px;
    }

    .page-hero {
        padding: calc(var(--header-height) + 48px) 18px 42px;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2,
    .section-copy h2,
    .cta-section h2,
    .content-panel h2,
    .contact-card h2,
    .demo-form h2 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2.45rem;
    }

    .feature-grid,
    .why-grid,
    .stats-section {
        grid-template-columns: 1fr;
    }

    .hardware-visual {
        min-height: 340px;
    }

    .stats-section {
        padding: 0 18px 64px;
    }

    .cta-section {
        margin: 8px 18px 64px;
        padding: 28px 22px;
    }

    .content-panel,
    .contact-card,
    .demo-form,
    .product-details-callout {
        padding: 22px;
    }

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

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 18px;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .brand span:last-child {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .section-heading h2,
    .section-copy h2,
    .cta-section h2,
    .content-panel h2,
    .contact-card h2,
    .demo-form h2 {
        font-size: 1.72rem;
    }

    .glass-card,
    .why-item {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 54px;
    align-items: center;
}

.product-price {
    margin: 20px 0 24px;
    font-size: 2rem;
    font-weight: 800;
    color: #1b5e20;
}

.product-price span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5f6b5f;
}

.product-price small {
    margin-left: 8px;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 860px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.product-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 9999 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 48px !important;
    transition: transform 200ms ease, box-shadow 200ms ease !important;
}

.whatsapp-float:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5) !important;
    color: #ffffff !important;
}

.whatsapp-float .whatsapp-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex-shrink: 0 !important;
}

.whatsapp-float svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    fill: #ffffff !important;
    flex-shrink: 0 !important;
}

@media (max-width: 600px) {
    .whatsapp-float .whatsapp-label {
        display: none !important;
    }
    .whatsapp-float {
        padding: 12px !important;
        bottom: 20px !important;
        right: 20px !important;
        border-radius: 50% !important;
        width: 46px !important;
        height: 46px !important;
        max-width: 46px !important;
        max-height: 46px !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   API Documentation Styles
   ========================================================================== */

.api-docs-container {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.api-docs-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.api-docs-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - var(--header-height) - 48px);
    overflow-y: auto;
    padding: 20px;
    background: var(--color-panel);
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.api-docs-sidebar-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
}

.api-docs-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.api-docs-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    color: var(--color-ink);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.api-docs-nav a:hover {
    background: rgba(46, 125, 50, 0.08);
    color: var(--color-dark-green);
    padding-left: 14px;
}

.api-docs-nav a.active {
    background: rgba(46, 125, 50, 0.14);
    color: var(--color-dark-green);
    font-weight: 700;
}

.api-docs-nav .nav-category {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-top: 14px;
    margin-bottom: 4px;
    padding-left: 8px;
}

.api-docs-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.doc-section {
    scroll-margin-top: calc(var(--header-height) + 24px);
    background: var(--color-panel);
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-card);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.doc-section h2 {
    font-size: 1.85rem;
    font-weight: 900;
    margin: 0 0 12px;
    color: var(--color-ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 28px 0 12px;
    color: var(--color-ink);
}

.doc-section p {
    color: var(--color-muted);
    margin: 0 0 16px;
    line-height: 1.65;
}

.doc-section p strong {
    color: var(--color-ink);
}

.endpoint-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(27, 94, 32, 0.16);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(22, 32, 25, 0.04);
}

.endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(246, 248, 243, 0.85);
    border-bottom: 1px solid rgba(27, 94, 32, 0.12);
}

.endpoint-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.96rem;
    font-weight: 700;
}

.method-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.method-pill.get {
    background: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #bbdefb;
}

.method-pill.post {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.method-pill.put {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.method-pill.delete {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

.endpoint-body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.code-box {
    border-radius: 8px;
    overflow: hidden;
    background: #141b16;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #0d120f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 4px;
    padding: 3px 9px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.copy-btn.copied {
    background: #2e7d32;
    color: #ffffff;
    border-color: #2e7d32;
}

.code-box pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.88rem;
    line-height: 1.55;
}

.api-table-wrapper {
    overflow-x: auto;
    margin: 12px 0;
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 8px;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
    background: #ffffff;
}

.api-table th {
    background: rgba(46, 125, 50, 0.06);
    color: var(--color-ink);
    font-weight: 800;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.14);
}

.api-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.08);
    color: var(--color-muted);
    vertical-align: top;
}

.api-table tr:last-child td {
    border-bottom: none;
}

.api-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.84rem;
    padding: 2px 6px;
    background: rgba(46, 125, 50, 0.08);
    color: var(--color-dark-green);
    border-radius: 4px;
    font-weight: 700;
}

.badge-required {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-optional {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.step-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.step-card {
    background: #ffffff;
    border: 1px solid rgba(27, 94, 32, 0.12);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(22, 32, 25, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-green), var(--color-dark-green));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.step-card h4 {
    margin: 4px 0 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-ink);
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
}

.doc-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 8px;
    margin: 18px 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.doc-callout.tip {
    background: #eef7ed;
    border-left: 4px solid var(--color-green);
    color: #1a4d1f;
}

.doc-callout.warning {
    background: #fff8e6;
    border-left: 4px solid var(--color-gold);
    color: #78350f;
}

.doc-callout.info {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    color: #0369a1;
}

.doc-callout svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.doc-callout p {
    margin: 0;
    color: inherit;
}

.badge-limit {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(249, 168, 37, 0.15);
    color: #855b00;
    border: 1px solid rgba(249, 168, 37, 0.3);
}

@media (max-width: 960px) {
    .api-docs-layout {
        grid-template-columns: 1fr;
    }
    .api-docs-sidebar {
        position: static;
        max-height: none;
    }
}


