/*
Theme Name: Nexa Logic Company
Theme URI: https://nexalogicgroup.com/
Author: Nexa Logic Pte. Ltd.
Description: A clean company website theme for Nexa Logic Pte. Ltd., built as a product studio landing page.
Version: 1.0.2
License: GPL v2 or later
Text Domain: nexa-logic-company
*/

:root {
    --nl-bg: #07111f;
    --nl-bg-soft: #0b1728;
    --nl-card: #ffffff;
    --nl-card-soft: #f8fafc;
    --nl-text: #0f172a;
    --nl-muted: #64748b;
    --nl-border: #e2e8f0;
    --nl-blue: #2563eb;
    --nl-purple: #7c3aed;
    --nl-cyan: #06b6d4;
    --nl-green: #10b981;
    --nl-radius: 24px;
    --nl-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--nl-text);
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 20px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--nl-blue), var(--nl-purple));
    box-shadow: 0 14px 34px rgba(124, 58, 237, 0.28);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 15px;
}

.nav a:hover {
    color: var(--nl-blue);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--nl-text);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.32), transparent 30%),
        radial-gradient(circle at 82% 10%, rgba(124, 58, 237, 0.38), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #0b1728 58%, #111827 100%);
    color: #fff;
    padding: 104px 0 86px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(191, 219, 254, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #bfdbfe;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 22px;
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -0.045em;
}

h1 {
    font-size: clamp(46px, 6vw, 76px);
    margin: 0 0 24px;
}

.hero p {
    color: rgba(226, 232, 240, 0.86);
    font-size: 20px;
    max-width: 640px;
    margin: 0 0 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
}

.btn-primary {
    background: linear-gradient(135deg, var(--nl-blue), var(--nl-purple));
    color: #fff;
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.32);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 14px;
}

.trust-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.system-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.system-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bbf7d0;
    font-size: 13px;
    font-weight: 800;
}

.status-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
}

.system-grid {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.system-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.system-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
}

.system-row strong {
    display: block;
    color: #fff;
}

.system-row span {
    display: block;
    color: rgba(226, 232, 240, 0.72);
    font-size: 14px;
}

.system-tag {
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 800;
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: #f8fafc;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 52px);
    margin: 0 0 16px;
}

.section-heading p {
    color: var(--nl-muted);
    font-size: 19px;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    background: var(--nl-card);
    border: 1px solid var(--nl-border);
    border-radius: var(--nl-radius);
    padding: 30px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nl-shadow);
}

.product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.product-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: #eff6ff;
}

.product-status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.product-card h3 {
    font-size: 26px;
    margin: 0 0 12px;
}

.product-card p {
    color: var(--nl-muted);
    margin: 0 0 20px;
}

.product-link {
    color: var(--nl-blue);
    text-decoration: none;
    font-weight: 900;
}

.approach-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: start;
}

.sticky-copy {
    position: sticky;
    top: 112px;
}

.sticky-copy h2 {
    font-size: clamp(34px, 4vw, 50px);
    margin: 0 0 16px;
}

.sticky-copy p {
    color: var(--nl-muted);
    font-size: 18px;
}

.steps {
    display: grid;
    gap: 18px;
}

.step-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--nl-border);
    border-radius: 22px;
    background: #fff;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--nl-blue), var(--nl-purple));
    color: #fff;
    font-weight: 900;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.step-card p {
    margin: 0;
    color: var(--nl-muted);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.metric {
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--nl-border);
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 34px;
    letter-spacing: -0.05em;
}

.metric span {
    color: var(--nl-muted);
    font-weight: 700;
    font-size: 14px;
}

.contact-band {
    padding: 44px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.2), transparent 28%),
        linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.contact-band h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 48px);
}

.contact-band p {
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
}

.site-footer {
    padding: 38px 0;
    background: #07111f;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.footer-grid p {
    margin: 6px 0 0;
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
}

.page-hero {
    background: linear-gradient(135deg, #07111f, #1e1b4b);
    color: #fff;
    padding: 86px 0;
}

.page-hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    margin: 0 0 12px;
}

.page-hero p {
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
}

.page-content {
    padding: 72px 0;
}

.page-content-inner {
    max-width: 840px;
}

.page-content-inner h2 {
    font-size: 34px;
    margin-top: 42px;
}

.page-content-inner p,
.page-content-inner li {
    color: #334155;
    font-size: 17px;
}

@media (max-width: 920px) {
    .nav {
        display: none;
    }

    .hero-grid,
    .approach-grid,
    .contact-band,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sticky-copy {
        position: static;
    }

    .product-grid,
    .metrics {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 72px 0;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 560px) {
    .header-cta {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .system-row {
        grid-template-columns: 44px 1fr;
    }

    .system-tag {
        grid-column: 2;
    }

    .contact-band {
        padding: 28px;
    }
}

.page-content-inner ul {
    padding-left: 1.25rem;
}
.page-content-inner a {
    color: var(--nl-blue);
    font-weight: 700;
}
