/* Customer Page - High-Tech Redesign */

/* Import About Styles for Consistency */
@import url('about.css');

/* --- Override / Adapt About Styles for Customers --- */

.customer-hero {
    padding: 12rem 0 6rem;
    text-align: center;
    position: relative;
    background: transparent;
}

/* Use the same glitch title from about.css but adapted */
.mission-title {
    font-size: clamp(5rem, 15vw, 11rem); /* Massive Impact */
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #fff;
}

.mission-sub {
    font-family: var(--font-mono);
    color: var(--accent-blue);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.9;
}

/* --- Operational Partners (Logos) --- */
.partners-section {
    padding: 2rem 0 6rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    display: inline-block;
}

.partners-label::before, .partners-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--border-color);
}

.partners-label::before { right: 100%; margin-right: 15px; }
.partners-label::after { left: 100%; margin-left: 15px; }

.logo-grid-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 5rem; /* Vertical gap 3rem, Horizontal gap 5rem */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0.8;
}

.logo-item-tech {
    height: 32px; /* Slightly smaller for tighter integration */
    width: auto;
    object-fit: contain;
    /* BASE STATE: SOLID WHITE SILHOUETTE (For transparent PNGs) */
    filter: brightness(0) invert(1); 
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* FIX FOR LOGOS WITH WHITE BACKGROUNDS (HP, Tractor Supply) */
/* This converts: White Background -> Black (hidden by screen blend), Text -> White */
.logo-item-tech.logo-with-bg {
    filter: invert(1) grayscale(100%) brightness(2);
    mix-blend-mode: screen;
    opacity: 0.9; /* Slightly higher opacity for blending */
}

.logo-item-tech:hover {
    /* HOVER STATE: SOLID WHITE BUT BRIGHTER/FULL OPACITY */
    opacity: 1;
    transform: scale(1.05);
}

/* --- Field Reports (Testimonials) --- */
.field-reports-section {
    padding: 8rem 0;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

/* Terminal Card Style for Testimonials */
.terminal-card {
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.terminal-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(93, 93, 255, 0.1);
}

.t-header {
    background: #151515;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #666;
}

.t-status {
    color: var(--accent-green);
}

.t-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.report-text {
    font-family: var(--font-mono);
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

.report-text::before {
    content: '> ';
    color: var(--accent-blue);
}

.report-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #222;
    padding-top: 1.5rem;
}

.report-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Circular */
    border: 1px solid #444;
}

.report-source {
    display: flex;
    flex-direction: column;
}

.source-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.source-role {
    font-size: 0.8rem;
    color: #888;
    font-family: var(--font-mono);
}

/* --- Mission Files (Case Studies) --- */
.mission-files-section {
    padding: 6rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    /* Adapting profile-card style */
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.mission-card::before { /* Corner accent */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.mission-card:hover::before { opacity: 1; }

.mission-header {
    background: #0f0f0f;
    padding: 1.5rem;
    border-bottom: 1px solid #222;
}

.mission-id {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.5rem;
}

.mission-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.mission-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.mission-metric {
    font-family: var(--font-mono);
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #333;
}

.mission-desc {
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
}

.mission-footer {
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid #222;
}

/* --- System Telemetry (Metrics) --- */
.telemetry-section {
    padding: 4rem 0;
    background: #050505;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px; /* Grid lines */
    background: #222; /* Gap color */
    border: 1px solid #222;
}

.telemetry-cell {
    background: #050505;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.telemetry-cell:hover {
    background: #080808;
}

.tele-val {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.tele-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.1em;
}

/* Blinking status light */
.status-light {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px var(--accent-green);
    animation: blink 2s infinite;
}

@keyframes blink { 50% { opacity: 0.4; } }

/* Responsive */
@media (max-width: 1024px) {
    .mission-grid { grid-template-columns: 1fr; }
    .report-grid { grid-template-columns: 1fr; }
    .telemetry-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .telemetry-grid { grid-template-columns: 1fr; }
}
