/* ─── style.css ─── */
/* All styles extracted from the original HTML page for modular import */

/* ─── GLOBAL RESET & CSS VARIABLES ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --void: #ffffff;
    --surface: #f8f9fb;
    --card: #ffffff;
    --card-hover: #f3f4f6;
    --line: rgba(0,0,0,0.08);
    --line-med: rgba(0,0,0,0.14);
    --cream: #2f343b;
    --cream-dim: rgba(47,52,59,0.72);
    --gold: #8c6b1f;
    --gold-pale: rgba(140,107,31,0.06);
    --gold-dim: rgba(140,107,31,0.22);
    --navy: #e8edf5;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --mono: 'IBM Plex Mono', 'Courier New', monospace;
    --sans: 'IBM Plex Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #2f343b;
    font-family: var(--sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── NAVIGATION ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0 56px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--cream);
}

    .nav-logo-text span {
        color: var(--gold);
    }

.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--line-med);
    padding: 10px;
    cursor: pointer;
}

    .burger span {
        width: 22px;
        height: 2px;
        background: var(--cream);
        display: block;
        transition: .25s;
    }

    .burger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--surface);
    z-index: 199;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: .3s;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

    .mobile-menu.open {
        transform: translateY(0);
    }

    .mobile-menu a {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        text-decoration: none;
        color: var(--cream-dim);
        font-family: var(--mono);
        text-transform: uppercase;
        font-size: .8rem;
        letter-spacing: .1em;
    }

        .mobile-menu a.active {
            color: var(--gold);
        }

.mobile-cta {
    background: var(--gold);
    color: var(--void) !important;
    text-align: center;
    margin-top: 20px;
    border: none !important;
}

/* ─── HERO SECTION ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(201,168,76,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 45% at 50% 35%, rgba(201,168,76,0.07) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 100%;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 6px 16px;
    margin-bottom: 40px;
}

    .hero-eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--gold);
        border-radius: 50%;
        animation: pulse 2s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7.5vw, 5.8rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

    .hero h1 em {
        color: var(--gold);
        font-style: italic;
    }

.hero h2 {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 32px;
}

    .hero h2 em {
        color: var(--gold);
        font-style: italic;
    }

.hero-desc {
    max-width: 680px;
    margin: 0 auto 48px;
    color: var(--cream-dim);
    font-size: 1rem;
    line-height: 1.85;
    font-weight: 300;
}

/* ─── PRODUCT GRID ─── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 800px;
    margin: 0 auto 48px;
    background: var(--line-med);
    border: 1px solid var(--line-med);
}

.product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px;
    background: var(--card);
    text-decoration: none;
    color: var(--cream-dim);
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: .25s;
}

    .product-btn:hover {
        background: var(--card-hover);
        color: var(--gold);
    }

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(0,51,102,0.15);
    padding: 10px 20px 10px 12px;
    background: var(--card);
}

.trust-badge-text {
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ─── SECTION COMMON ─── */
section {
    padding: 120px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.section-heading {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 24px;
}

    .section-heading em {
        color: var(--gold);
        font-style: italic;
    }

.section-sub {
    max-width: 580px;
    color: var(--cream-dim);
    font-size: .95rem;
    line-height: 1.8;
}

/* ─── THE STRUCTURAL TRUTH: PROBLEM & SOLUTION ─── */
.problem-solution-section {
    border-top: 1px solid var(--line);
    background: var(--card);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 56px;
}

.split-column h3 {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.split-column.problem h3 {
    color: #b03e3e;
}

.split-column.solution h3 {
    color: var(--gold);
}

.split-column p {
    font-size: .95rem;
    color: var(--cream-dim);
    line-height: 1.8;
    margin-bottom: 32px;
}

.split-list {
    list-style: none;
}

    .split-list li {
        position: relative;
        padding-left: 28px;
        margin-bottom: 20px;
        font-size: .9rem;
        line-height: 1.6;
    }

        .split-list li strong {
            color: var(--cream);
            display: block;
            margin-bottom: 4px;
        }

.split-column.problem .split-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 2px;
    color: #b03e3e;
    font-weight: bold;
}

.split-column.solution .split-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold);
    font-weight: bold;
}

/* ─── PILLARS ─── */
.pillars-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pillars-header {
    margin-bottom: 72px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line-med);
    border: 1px solid var(--line-med);
}

.pillar {
    background: var(--card);
    padding: 52px 36px 48px;
    position: relative;
    overflow: hidden;
    transition: background .3s;
}

    .pillar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .4s ease;
    }

    .pillar:hover {
        background: var(--card-hover);
    }

        .pillar:hover::before {
            transform: scaleX(1);
        }

.pillar-index {
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 32px;
    display: block;
}

.pillar-stat {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    font-weight: 300;
    line-height: 1;
    color: var(--cream);
    margin-bottom: 8px;
}

    .pillar-stat em {
        color: var(--gold);
        font-style: normal;
    }

.pillar-unit {
    font-family: var(--mono);
    font-size: .65rem;
    letter-spacing: .1em;
    color: var(--cream-dim);
    margin-bottom: 28px;
    display: block;
}

.pillar-title {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 16px;
}

.pillar-desc {
    font-size: .85rem;
    line-height: 1.75;
    color: var(--cream-dim);
}

/* ─── CONTRAST STATEMENT ─── */
.contrast-section {
    padding: 120px 24px;
}

.contrast-inner {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--line-med);
    padding: 72px 80px;
    position: relative;
}

    .contrast-inner::before {
        content: '"';
        position: absolute;
        top: -2rem;
        left: 72px;
        font-family: var(--serif);
        font-size: 8rem;
        color: var(--gold);
        opacity: 0.15;
        line-height: 1;
    }

.contrast-quote {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 300;
    line-height: 1.35;
    color: var(--cream);
    margin-bottom: 32px;
}

    .contrast-quote em {
        color: var(--gold);
        font-style: italic;
    }

.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

.contrast-col-label {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

    .contrast-col-label.bad {
        color: #e05252;
    }

    .contrast-col-label.good {
        color: var(--gold);
    }

.contrast-list {
    list-style: none;
}

    .contrast-list li {
        font-size: .88rem;
        color: var(--cream-dim);
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        display: flex;
        align-items: flex-start;
        gap: 12px;
        line-height: 1.5;
    }

        .contrast-list li::before {
            flex-shrink: 0;
            margin-top: 2px;
            font-size: .75rem;
        }

    .contrast-list.bad li::before {
        content: '✕';
        color: #e05252;
    }

    .contrast-list.good li::before {
        content: '✓';
        color: var(--gold);
    }

/* ─── SCREENSHOTS / DEPLOYED SYSTEMS ─── */
.screenshots-section {
    padding: 120px 24px;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.screenshots-header {
    max-width: 1100px;
    margin: 0 auto 64px;
}

.screenshot-block {
    max-width: 1100px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    border: 1px solid var(--line-med);
    overflow: hidden;
    background: var(--card);
}

    .screenshot-block:last-child {
        margin-bottom: 0;
    }

    .screenshot-block.reverse {
        grid-template-columns: 340px 1fr;
    }

        .screenshot-block.reverse .screenshot-img-wrap {
            order: 2;
        }

        .screenshot-block.reverse .screenshot-meta {
            order: 1;
            border-right: 1px solid var(--line);
            border-left: none;
        }

.screenshot-img-wrap {
    overflow: hidden;
    background: var(--card);
}

    .screenshot-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0.9;
        transition: opacity .3s, transform .4s;
    }

    .screenshot-img-wrap:hover img {
        opacity: 1;
        transform: scale(1.02);
    }

.screenshot-meta {
    padding: 52px 44px;
    background: var(--card);
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screenshot-eyebrow {
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.screenshot-title {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 16px;
    line-height: 1.2;
}

.screenshot-desc {
    font-size: .87rem;
    color: var(--cream-dim);
    line-height: 1.75;
}

/* ─── ENTERPRISE NARRATIVE STRIP ─── */
.garlip-ai-platform {
    padding: 120px 24px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
}

    .garlip-ai-platform .container {
        max-width: 800px;
        margin: 0 auto;
    }

    .garlip-ai-platform h2 {
        font-family: var(--serif);
        font-size: 2.5rem;
        font-weight: 300;
        margin-bottom: 32px;
        color: var(--cream);
        line-height: 1.2;
    }

    .garlip-ai-platform p {
        font-size: 1rem;
        color: var(--cream-dim);
        line-height: 1.85;
        margin-bottom: 24px;
    }

        .garlip-ai-platform p strong {
            color: var(--cream);
            font-weight: 500;
        }

/* ─── PRODUCTS GRID ─── */
.products-section {
    padding: 120px 24px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line-med);
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid var(--line-med);
}

.product-card {
    background: var(--card);
    padding: 52px 48px;
    text-decoration: none;
    color: var(--cream);
    transition: background .25s;
    position: relative;
    overflow: hidden;
}

    .product-card::after {
        content: '→';
        position: absolute;
        bottom: 40px;
        right: 40px;
        font-size: 1.2rem;
        color: var(--gold);
        opacity: 0;
        transition: opacity .3s, transform .3s;
        transform: translateX(-8px);
    }

    .product-card:hover {
        background: var(--card-hover);
    }

        .product-card:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

.product-card-label {
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.product-card h3 {
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 300;
    margin-bottom: 12px;
    line-height: 1.1;
}

.product-card p {
    font-size: .87rem;
    color: var(--cream-dim);
    line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
    background: var(--surface);
    padding: 72px 0 48px;
    border-top: 1px solid var(--line);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-family: var(--serif);
    font-size: 1.7rem;
    margin-bottom: 14px;
    color: var(--cream);
}

    .footer-brand h3 span {
        color: var(--gold);
    }

.footer-brand p {
    font-size: .84rem;
    color: var(--cream-dim);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--cream-dim);
    margin-bottom: 12px;
    font-size: .84rem;
    transition: .2s;
}

    .footer-col a:hover {
        color: var(--cream);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--mono);
    font-size: .62rem;
    color: var(--cream-dim);
    opacity: 0.5;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshot-block, .screenshot-block.reverse {
        grid-template-columns: 1fr;
    }

        .screenshot-block.reverse .screenshot-img-wrap,
        .screenshot-block.reverse .screenshot-meta {
            order: unset;
        }

    .screenshot-meta {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .screenshot-block.reverse .screenshot-meta {
        border-right: none;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contrast-inner {
        padding: 40px 28px;
    }

    .contrast-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-container {
        padding: 0 24px;
    }

    .pillar {
        padding: 40px 28px;
    }

    section {
        padding: 80px 24px;
    }
}
