/* ============================================
   Qualiq Systems — Landing Page Styles
   Brand: Navy #1C3F6E | Green #2A7F4F | Amber #B45309 | Off-white #FAFAFA
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #1C3F6E;
    --navy-light: #2A5490;
    --navy-dark: #0F2441;
    --green: #2A7F4F;
    --green-light: #3a9f64;
    --amber: #B45309;
    --off-white: #FAFAFA;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-400: #868E96;
    --gray-600: #495057;
    --gray-800: #212529;
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--off-white);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-shield {
    width: 28px;
    height: 31px;
}

.logo-shield-sm {
    width: 22px;
    height: 24px;
}

.logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.3px;
}

.nav-cta {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.1s ease;
}

.nav-cta:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

/* ---- HERO ---- */
.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 48px 20px 40px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 63, 110, 0.08);
    color: var(--navy);
    border: 1px solid rgba(28, 63, 110, 0.2);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

.hero-headline {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.headline-accent {
    color: var(--navy);
}

.hero-sub {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-sub strong {
    color: var(--gray-800);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(28, 63, 110, 0.25);
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 63, 110, 0.3);
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-ghost {
    color: var(--navy);
    text-decoration: none;
    padding: 13px 20px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    border: 1.5px solid var(--gray-200);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-ghost:hover {
    border-color: var(--navy);
    background: rgba(28, 63, 110, 0.04);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-item {
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
}

/* ---- DEMO BLOCK ---- */
.hero-demo {
    background: var(--navy-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-mono);
    font-size: 13px;
    position: sticky;
    top: 80px;
}

.demo-bar {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.demo-dot.red {
    background: #FF5F57;
}

.demo-dot.yellow {
    background: #FEBC2E;
}

.demo-dot.green {
    background: #28C840;
}

.demo-title {
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 0.3px;
}

.demo-body {
    padding: 16px;
}

.demo-row {
    display: grid;
    grid-template-columns: 2fr 1.4fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
}

.demo-header-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
    padding-bottom: 8px;
}

.demo-header-row span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.demo-col-file {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    font-family: var(--font-sans);
}

.status-ready {
    background: rgba(42, 127, 79, 0.2);
    color: #5BDA8D;
}

.status-flag {
    background: rgba(180, 83, 9, 0.2);
    color: #F59E0B;
}

.status-processing {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
}

.confidence {
    font-weight: 600;
}

.confidence.high {
    color: #5BDA8D;
}

.confidence.medium {
    color: #F59E0B;
}

.confidence.pending {
    color: rgba(255, 255, 255, 0.3);
}

.demo-btn-approve,
.demo-btn-review,
.demo-btn-disabled {
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 11px;
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}

.demo-btn-approve {
    background: var(--green);
    color: #fff;
}

.demo-btn-review {
    background: rgba(180, 83, 9, 0.25);
    color: #F59E0B;
}

.demo-btn-disabled {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.25);
    cursor: not-allowed;
}

/* ---- SECTIONS ---- */
.section {
    padding: 96px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-dark {
    background: var(--navy-dark);
    color: var(--off-white);
}

.section-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    margin-bottom: 16px;
}

.section-label.light {
    color: #5BDA8D;
}

.section-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--gray-800);
    margin-bottom: 56px;
    max-width: 640px;
}

.section-title.light {
    color: var(--off-white);
}

/* ---- STEPS ---- */
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 160px;
    padding: 0 20px;
}

.step:first-child {
    padding-left: 0;
}

.step-divider {
    font-size: 24px;
    color: var(--gray-200);
    padding-top: 16px;
    flex-shrink: 0;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.6;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .steps {
        flex-direction: column;
        gap: 32px;
    }

    .step {
        padding: 0 !important;
    }

    .step-divider {
        display: none;
    }
}

/* ---- PILLARS ---- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.pillar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: background 0.2s ease;
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.08);
}

.pillar-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.pillar h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 10px;
}

.pillar p {
    font-size: 14px;
    color: rgba(250, 250, 250, 0.65);
    line-height: 1.65;
}

/* ---- VERTICALS ---- */
.verticals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.vertical-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.vertical-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.vertical-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.vertical-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.vertical-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}

.vertical-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(28, 63, 110, 0.08);
    color: var(--navy);
}

/* ---- CTA ---- */
.cta-inner {
    text-align: center;
}

.cta-title {
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--off-white);
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 17px;
    color: rgba(250, 250, 250, 0.7);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 36px;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--off-white);
    font-size: 15px;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(250, 250, 250, 0.4);
    font-size: 14px;
}

.footer-legal {
    color: rgba(250, 250, 250, 0.25);
    font-size: 12px;
    margin-top: 4px;
}