:root {
    --bg-primary: #000000;
    --bg-panel: #0A0A0A;
    --bg-panel-2: #0D0D0D;
    --grid-line: rgba(79,209,232,0.07);
    --grid-line-strong: rgba(79,209,232,0.14);
    --accent-cyan: #4FD1E8;
    --accent-cyan-dim: #2C8FA6;
    --accent-amber: #F5A623;
    --text-primary: #F2F5F7;
    --text-muted: #9AA7B0;
    --text-faint: #5E6970;
    --border-line: #232323;
    --border-line-soft: #181818;
    --radius: 3px;
    --max-w: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

h1, h2, h3, .display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.04em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
}

section {
    position: relative;
}

.reg-mark {
    position: absolute;
    width: 16px;
    height: 16px;
    color: var(--accent-cyan-dim);
    opacity: 0.55;
    pointer-events: none;
    z-index: 2;
}

    .reg-mark::before, .reg-mark::after {
        content: "";
        position: absolute;
        background: currentColor;
    }

    .reg-mark::before {
        width: 100%;
        height: 1px;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .reg-mark::after {
        width: 1px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

.reg-tl {
    top: 20px;
    left: 20px;
}

.reg-tr {
    top: 20px;
    right: 20px;
}

.reg-bl {
    bottom: 20px;
    left: 20px;
}

.reg-br {
    bottom: 20px;
    right: 20px;
}

/* NAV */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-line-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    max-width: var(--max-w);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.01em;
}

    .logo .tag {
        font-family: 'IBM Plex Mono', monospace;
        font-weight: 400;
        font-size: 10px;
        color: var(--text-faint);
        letter-spacing: 0.12em;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 14px;
    color: var(--text-muted);
}

    .nav-links a {
        transition: color 0.2s ease;
    }

        .nav-links a:hover, .nav-links a:focus-visible {
            color: var(--accent-cyan);
        }

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-amber);
    color: #1A1305;
    font-weight: 500;
}

    .btn-primary:hover {
        background: #ffb840;
        transform: translateY(-1px);
    }

.btn-ghost {
    border-color: var(--border-line);
    color: var(--text-primary);
}

    .btn-ghost:hover {
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
    }

.btn svg {
    width: 14px;
    height: 14px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-line);
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
}

@media(max-width:860px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-right .btn-primary {
        display: none;
    }
}

.mobile-panel {
    display: none;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--border-line-soft);
    background: var(--bg-panel-2);
}

    .mobile-panel.open {
        display: flex;
    }

    .mobile-panel a {
        padding: 16px 32px;
        font-size: 14px;
        color: var(--text-muted);
        border-bottom: 1px solid var(--border-line-soft);
    }

    .mobile-panel .btn {
        margin: 16px 32px 20px;
    }

/* HERO */
.hero {
    padding: 96px 0 60px;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

    .eyebrow::before {
        content: "";
        width: 20px;
        height: 1px;
        background: var(--accent-cyan);
    }

.hero h1 {
    font-size: clamp(34px, 5.2vw, 60px);
    line-height: 1.08;
    max-width: 920px;
    margin-bottom: 24px;
}

.hero .lead {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

    .hero-ctas .btn {
        padding: 14px 26px;
        font-size: 14px;
    }

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-line-soft);
    border-bottom: 1px solid var(--border-line-soft);
    margin-top: 20px;
}

.trust-item {
    padding: 22px 24px;
    border-right: 1px solid var(--border-line-soft);
}

    .trust-item:last-child {
        border-right: none;
    }

    .trust-item .num {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 26px;
        font-weight: 600;
        color: var(--accent-cyan);
        display: block;
    }

    .trust-item .cap {
        font-size: 12.5px;
        color: var(--text-muted);
        margin-top: 4px;
    }

@media(max-width:700px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border-line-soft);
    }
}

/* SECTION HEADERS */
.section-pad {
    padding: 100px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

    .section-head h2 {
        font-size: clamp(26px, 3.4vw, 38px);
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .section-head p {
        color: var(--text-muted);
        font-size: 16px;
        max-width: 520px;
    }

/* SERVICES / PRODUCTS GRID */
.services {
    background: var(--bg-panel-2);
    border-top: 1px solid var(--border-line-soft);
    border-bottom: 1px solid var(--border-line-soft);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-line-soft);
    border: 1px solid var(--border-line-soft);
}

@media(max-width:900px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-panel-2);
    padding: 36px 30px;
    transition: background 0.25s ease;
}

    .service-card:hover {
        background: #111;
    }

    .service-card .mod-num {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--text-faint);
        display: block;
        margin-bottom: 22px;
    }

    .service-card .icon {
        width: 30px;
        height: 30px;
        color: var(--accent-cyan);
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-card p {
        color: var(--text-muted);
        font-size: 14.5px;
    }

/* PANEL / PIPELINE */
.ai-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin-top: 20px;
}

.pipeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 44px;
}

.pipeline-step {
    position: relative;
    padding: 0 20px 0 0;
}

    .pipeline-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 14px;
        right: -2px;
        width: 24px;
        height: 1px;
        background: var(--accent-cyan-dim);
    }

    .pipeline-step .tag {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 11px;
        color: var(--accent-cyan);
        display: block;
        margin-bottom: 14px;
    }

    .pipeline-step h4 {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .pipeline-step p {
        font-size: 13.5px;
        color: var(--text-muted);
    }

@media(max-width:800px) {
    .pipeline {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .pipeline-step:not(:last-child)::after {
        display: none;
    }
}

@media(max-width:480px) {
    .pipeline {
        grid-template-columns: 1fr;
    }
}

/* PROCESS */
.process-list {
    border-top: 1px solid var(--border-line-soft);
}

.process-row {
    display: grid;
    grid-template-columns: 110px 220px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-line-soft);
}

    .process-row .rev {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 12px;
        color: var(--accent-cyan);
    }

    .process-row h3 {
        font-size: 19px;
        font-weight: 600;
    }

    .process-row p {
        color: var(--text-muted);
        font-size: 14.5px;
        max-width: 520px;
    }

@media(max-width:700px) {
    .process-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ABOUT / SPEC LIST */
.enterprise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media(max-width:800px) {
    .enterprise-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.spec-list {
    display: flex;
    flex-direction: column;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-line-soft);
    font-size: 14.5px;
}

    .spec-row .label {
        color: var(--text-muted);
    }

    .spec-row .val {
        font-family: 'IBM Plex Mono', monospace;
        color: var(--accent-cyan);
        font-size: 13.5px;
    }

/* CTA */
.cta-band {
    padding: 110px 0;
    text-align: center;
}

    .cta-band h2 {
        font-size: clamp(28px, 4.4vw, 46px);
        max-width: 720px;
        margin: 0 auto 20px;
        line-height: 1.15;
    }

    .cta-band p {
        color: var(--text-muted);
        margin-bottom: 36px;
    }

.cta-band-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border-line-soft);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}

@media(max-width:800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media(max-width:480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--text-faint);
    margin-bottom: 18px;
    letter-spacing: 0.08em;
}

.footer-col a, .footer-col p {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

    .footer-col a:hover {
        color: var(--accent-cyan);
    }

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 280px;
}

.footer-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid var(--border-line-soft);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-faint);
    flex-wrap: wrap;
    gap: 10px;
}

/* FORM */
.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 12px;
}

.form-row label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 0.03em;
}

.form-input {
    width: 100%;
    background: var(--bg-panel);
    color: var(--text-primary);
    border: 1px solid var(--border-line);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s ease;
}

    .form-input:focus {
        outline: none;
        border-color: var(--accent-cyan);
    }

textarea.form-input {
    resize: vertical;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width:600px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.form-field-error {
    display: block;
    color: #F26A6A;
    font-size: 12.5px;
    margin-top: 6px;
}

.form-error-summary {
    color: #F26A6A;
    font-size: 14px;
}

    .form-error-summary ul {
        list-style: none;
        padding: 0;
    }

/* honeypot - hidden from real users, present for bots */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.btn-projentra {
    background-color: #ff6200 !important;
    color:#FFF !important;
}