/* ==============================================================================
   LeakReport // Intake Scanner & Matrix Terminal Stylesheet
   Feature Stylesheet: /css/intake-scanner.css
   Theme: Light Mode Landing Page with High-Converting Radius Gradient Glow Search
   Brand DNA: Brutalist Precision, Square Elements (border-radius: 0), High-Contrast HUD
   Invariants: 0 emojis, 0 emdashes (parentheses/hyphens only).
============================================================================== */

/* Base Layout & Atmosphere (Light Theme) */
.gi-scanner-page {
    position: relative;
    min-height: calc(100vh - 120px);
    background-color: #F8FAFC;
    color: #0F172A;
    padding: 44px 24px 80px;
    overflow-x: hidden;
}

.gi-ambient-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 480px;
    background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.18) 0%, rgba(14, 165, 233, 0.12) 35%, rgba(56, 189, 248, 0.05) 60%, rgba(248, 250, 252, 0) 80%);
    pointer-events: none;
    z-index: 0;
}

/* Interactive Data Leak & Sonar Canvas */
.gi-leak-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.gi-scanner-container {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    z-index: 1;
}

/* Hero Section */
.gi-scanner-hero {
    text-align: center;
    margin-bottom: 40px;
}

/* Compliance Badge */
.gi-badge-pill {
    display: inline-block;
    padding: 5px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-signal);
    background: var(--color-signal-bg);
    border: 1px solid var(--color-signal-border);
    border-radius: 0;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px var(--color-signal-bg);
}

.gi-hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0F172A;
    margin: 0 0 16px;
}

.gi-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 400;
    line-height: 1.65;
    color: #475569;
    max-width: 740px;
    margin: 0 auto 28px;
}

/* Discipline Toggle Switcher */
.gi-type-toggle-container {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 0;
    padding: 3px;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.gi-toggle-pill {
    background: transparent;
    border: 1px solid transparent;
    outline: none;
    padding: 10px 22px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748B;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gi-toggle-pill:hover:not(.is-active) {
    color: #0F172A;
    background: #F1F5F9;
}

.gi-toggle-pill.is-active {
    background: #0F172A;
    color: #FFFFFF;
    border-color: #0F172A;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

/* Radiant Glow Wrapper & Search Card */
.gi-search-glow-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto 40px;
}

.gi-search-glow-wrap::before {
    content: '';
    position: absolute;
    inset: -14px -20px;
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% 50%,
            rgba(56, 189, 248, 0.45) 0%,
            rgba(2, 132, 199, 0.30) 35%,
            rgba(37, 99, 235, 0.16) 60%,
            rgba(248, 250, 252, 0) 80%);
    filter: blur(30px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.92;
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.gi-search-glow-wrap:hover::before,
.gi-search-glow-wrap:focus-within::before {
    opacity: 1;
    filter: blur(38px);
    transform: scale(1.02);
}

.gi-search-card {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 0;
    padding: 36px 36px 28px;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(241, 245, 249, 0.8);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.gi-search-card:hover {
    border-color: #94A3B8;
    box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.11),
        0 0 0 1px rgba(226, 232, 240, 0.9);
}

/* Nav "Free Scan" Target Glow & Blue Border */
.gi-search-glow-wrap.has-nav-glow::before {
    opacity: 1;
    filter: blur(48px);
    transform: scale(1.05);
    background: radial-gradient(ellipse at 50% 50%,
            rgba(56, 189, 248, 0.70) 0%,
            rgba(2, 132, 199, 0.50) 35%,
            rgba(37, 99, 235, 0.28) 60%,
            rgba(248, 250, 252, 0) 80%);
}

.gi-search-card.has-nav-glow {
    border: 2px solid var(--color-signal);
    box-shadow: 0 0 0 4px var(--color-signal-glow),
        0 24px 60px -8px rgba(2, 132, 199, 0.40),
        0 0 35px rgba(56, 189, 248, 0.40);
    animation: giSearchCardGlowPulse 2s ease-in-out infinite alternate;
}

.gi-search-card.has-nav-glow .gi-input-wrapper {
    border-color: var(--color-signal);
    box-shadow: 0 0 0 3px var(--color-signal-glow);
    background: #FFFFFF;
}

@keyframes giSearchCardGlowPulse {
    0% {
        border-color: var(--color-signal);
        box-shadow: 0 0 0 3px var(--color-signal-glow),
            0 20px 45px -10px rgba(2, 132, 199, 0.30),
            0 0 20px rgba(56, 189, 248, 0.25);
    }
    100% {
        border-color: #38bdf8;
        box-shadow: 0 0 0 6px var(--color-signal-glow),
            0 28px 70px -6px rgba(2, 132, 199, 0.55),
            0 0 45px rgba(56, 189, 248, 0.55);
    }
}

.gi-search-form {
    width: 100%;
}

.gi-search-input-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 12px;
}

.gi-input-wrapper {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 2px solid #CBD5E1;
    border-radius: 0;
    padding: 6px 6px 6px 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gi-input-wrapper:focus-within {
    border-color: var(--color-signal);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px var(--color-signal-glow);
}

.gi-input-prefix {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    color: #94A3B8;
    margin-right: 6px;
    user-select: none;
}

.gi-domain-input {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 500;
    color: #0F172A;
    padding: 12px 0;
}

.gi-domain-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.gi-search-submit-btn {
    background: #000000;
    color: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 0;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gi-search-submit-btn:hover {
    background: var(--color-signal);
    border-color: var(--color-signal);
    color: #FFFFFF;
    box-shadow: 0 6px 18px var(--color-signal-glow);
    transform: translateY(-1px);
}

.gi-search-submit-btn:active {
    background: var(--color-signal-hover);
    border-color: var(--color-signal-hover);
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gi-search-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #475569;
    border-color: #475569;
}

/* Terms Acceptance Row */
.gi-terms-row {
    margin-top: 18px;
    padding: 4px 4px;
}

.gi-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.gi-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 1.5px solid #94A3B8;
    border-radius: 0;
    background: #FFFFFF;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.gi-checkbox:checked {
    background: var(--color-signal);
    border-color: var(--color-signal);
}

.gi-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gi-terms-text {
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.5;
}

.gi-link {
    color: #0F172A;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.15s ease;
}

.gi-link:hover {
    color: var(--color-signal);
}

/* Error Notice Banner */
.gi-error-banner {
    margin-top: 16px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 0;
    padding: 12px 16px;
    font-size: 13.5px;
    color: #DC2626;
    line-height: 1.45;
}

/* Trust Benchmarks */
.gi-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #F1F5F9;
}

.gi-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.gi-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 0;
    background-color: var(--color-signal);
    box-shadow: 0 0 8px var(--color-signal-glow);
}

/* 3-Step Traditional Workflow Guidance Strip */
.gi-steps-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    max-width: 860px;
    margin: 0 auto 48px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 0;
    padding: 22px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
}

.gi-step-col {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gi-step-num {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-signal);
    line-height: 1;
    padding-top: 2px;
}

.gi-step-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 4px;
}

.gi-step-desc {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

.gi-step-divider {
    width: 1px;
    height: 42px;
    background: #E2E8F0;
}

/* Feature Pillars Grid */
.gi-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.gi-pillar-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 0;
    padding: 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gi-pillar-card:hover {
    border-color: #94A3B8;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.gi-pillar-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: #0F172A;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: 0;
    padding: 4px 10px;
    display: inline-block;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gi-pillar-title {
    font-size: 17.5px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.gi-pillar-body {
    font-size: 13.8px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* ==============================================================================
   MATRIX TERMINAL OVERLAY & MODAL STYLES
============================================================================== */

.gi-matrix-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
    animation: giFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes giFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gi-matrix-scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.35) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10001;
    opacity: 0.45;
}

.gi-matrix-window {
    position: relative;
    width: 100%;
    max-width: 820px;
    background-color: #070D18;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 0;
    box-shadow: 0 0 50px rgba(2, 132, 199, 0.22), 0 25px 60px -15px rgba(0, 0, 0, 0.95);
    overflow: hidden;
    z-index: 10002;
    animation: giScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes giScaleUp {
    from {
        transform: scale(0.96);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gi-matrix-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #0B1324;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.gi-matrix-title-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gi-matrix-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background-color: #38BDF8;
    box-shadow: 0 0 8px #38BDF8;
    animation: giPulse 1.5s infinite;
}

@keyframes giPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.gi-matrix-title-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #CCCCCC;
}

.gi-matrix-close {
    background: transparent;
    border: none;
    color: #777777;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.gi-matrix-close:hover {
    color: #FFFFFF;
}

.gi-matrix-body {
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

.gi-matrix-terminal {
    font-family: var(--font-mono);
    font-size: 13px;
    color: #38BDF8;
    line-height: 1.7;
}

.gi-matrix-meta-block {
    margin-bottom: 16px;
    color: #888888;
}

.gi-matrix-meta-row {
    margin-bottom: 4px;
}

.gi-term-highlight {
    color: #FAFAFA;
    font-weight: 600;
}

.gi-matrix-divider {
    height: 1px;
    background: rgba(56, 189, 248, 0.2);
    margin: 16px 0;
}

.gi-matrix-stream-lines {
    min-height: 160px;
}

.gi-stream-line {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    opacity: 0;
    animation: giLineReveal 0.25s forwards;
}

@keyframes giLineReveal {
    from {
        opacity: 0;
        transform: translateX(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.gi-line-timestamp {
    color: #555555;
    font-size: 11px;
    flex-shrink: 0;
}

.gi-line-badge {
    color: #38BDF8;
    font-weight: 600;
    flex-shrink: 0;
}

.gi-line-desc {
    color: #E0E0E0;
    flex: 1;
}

.gi-line-status {
    color: #38BDF8;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.gi-line-status.is-alert {
    color: #F59E0B;
}

.gi-matrix-cursor-row {
    margin-top: 12px;
}

.gi-term-cursor {
    color: #38BDF8;
    animation: giBlink 0.8s infinite;
}

@keyframes giBlink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

/* Lead Conversion Card (Inside Terminal) */
.gi-matrix-conversion {
    animation: giFadeIn 0.4s ease forwards;
}

.gi-conv-header {
    margin-bottom: 24px;
}

.gi-conv-badge {
    display: inline-block;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #38BDF8;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 0;
    margin-bottom: 12px;
}

.gi-conv-title {
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.gi-conv-desc {
    font-size: 13.5px;
    color: #A3A3A3;
    line-height: 1.5;
    margin: 0;
}

.gi-conv-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gi-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gi-form-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #AAAAAA;
}

.gi-form-hint {
    color: #00E5FF;
    font-weight: 400;
}

.gi-form-input {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 12px 14px;
    font-size: 14px;
    color: #FFFFFF;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gi-form-input:focus {
    border-color: #38BDF8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.gi-field-microtext {
    font-size: 11px;
    color: #777777;
    margin: 2px 0 0;
    line-height: 1.4;
}

.gi-form-tcpa-row {
    margin-top: 4px;
}

.gi-tcpa-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.gi-tcpa-text {
    font-size: 11px;
    color: #777777;
    line-height: 1.5;
}

.gi-conv-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 0;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #FCA5A5;
    line-height: 1.4;
}

.gi-conv-submit-btn {
    background: var(--color-signal);
    color: #FFFFFF;
    border: 1px solid var(--color-signal);
    border-radius: 0;
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 4px 14px var(--color-signal-glow);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.gi-conv-submit-btn:hover {
    background: var(--color-signal-hover);
    border-color: var(--color-signal-hover);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Success Confirmation View */
.gi-matrix-success {
    text-align: center;
    padding: 20px 0;
    animation: giFadeIn 0.3s ease forwards;
}

.gi-success-title {
    font-size: 22px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 12px 0 8px;
}

.gi-success-desc {
    font-size: 14px;
    color: #A3A3A3;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.gi-success-meta-box {
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    max-width: 480px;
    margin: 0 auto 20px;
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
}

.gi-success-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gi-success-meta-row:last-child {
    border-bottom: none;
}

.gi-meta-label {
    color: #777777;
}

.gi-meta-value {
    color: #38BDF8;
    font-weight: 600;
}

.gi-success-subtext {
    font-size: 12px;
    color: #666666;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.45;
}

.gi-mono-text {
    font-family: var(--font-mono);
    color: #CCCCCC;
}

/* Responsive */
@media (max-width: 860px) {
    .gi-steps-strip {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .gi-step-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .gi-scanner-page {
        padding: 24px 16px 80px;
    }

    .gi-search-glow-wrap::before {
        inset: -10px -12px;
        filter: blur(20px);
    }

    .gi-search-card {
        padding: 24px 20px 20px;
    }

    .gi-input-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 10px;
    }

    .gi-input-prefix {
        display: none;
    }

    .gi-search-submit-btn {
        width: 100%;
        padding: 14px;
    }

    .gi-matrix-body {
        padding: 16px;
    }

    .gi-stream-line {
        flex-wrap: wrap;
        gap: 6px;
    }

    .gi-line-status {
        margin-left: 0;
        width: 100%;
    }
}