/* ============================================
   LINSYS - Product Brochure
   Single Page A4 | Professional | Compact
   ============================================ */

@page { size: A4; margin: 0; }
* { margin: 0; padding: 0; box-sizing: border-box; }

body.brochure {
    font-family: 'Inter', Arial, sans-serif;
    color: #333;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.brochure-page {
    width: 210mm;
    height: 297mm;
    max-height: 297mm;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* ===== HEADER - 40px ===== */
.br-header {
    background: #0D1B3E;
    padding: 10px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}
.br-header img { height: 22px; }
.br-header-right { text-align: right; color: rgba(255,255,255,0.5); font-size: 7px; letter-spacing: 0.5px; }
.br-header-right span { display: block; color: #FF6B35; font-weight: 700; font-size: 6.5px; letter-spacing: 1.5px; margin-bottom: 1px; }

/* Accent line */
.br-accent { height: 2.5px; background: linear-gradient(90deg, #FF6B35 0%, #4A90D9 50%, #FF6B35 100%); }

/* ===== HERO - 110px ===== */
.br-hero {
    background: linear-gradient(135deg, #0D1B3E 0%, #142850 60%, #1a2d5a 100%);
    padding: 18px 28px 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 110px;
}
.br-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -8%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,107,53,0.06);
}

.br-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255,107,53,0.2);
    border: 1px solid rgba(255,107,53,0.35);
    border-radius: 50px;
    color: #FF8A5C;
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
    position: relative;
    z-index: 1;
}

.br-hero h1 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}
.br-hero h1 span { color: #FF6B35; }

.br-hero p {
    font-size: 8.5px;
    color: rgba(255,255,255,0.6);
    line-height: 1.55;
    max-width: 90%;
    position: relative;
    z-index: 1;
}

/* ===== IMAGE - 160px ===== */
.br-image {
    padding: 0 28px;
    margin: -8px 0 0;
    position: relative;
    z-index: 2;
    height: 160px;
}
.br-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

/* ===== CONTENT ===== */
.br-content {
    padding: 10px 28px 0;
}

.br-section-title {
    font-size: 8.5px;
    font-weight: 800;
    color: #0D1B3E;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
    padding-bottom: 4px;
    border-bottom: 2px solid #FF6B35;
    display: inline-block;
}

/* ===== FEATURES - Compact 2-col ===== */
.br-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 10px;
}

.br-feature {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 2.5px solid #FF6B35;
}
.br-feature:nth-child(even) { border-left-color: #4A90D9; }

.br-feature-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 4px;
    background: #0D1B3E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    font-size: 9px;
}
.br-feature:nth-child(even) .br-feature-icon { color: #4A90D9; }

.br-feature h4 {
    font-size: 7.5px;
    font-weight: 700;
    color: #0D1B3E;
    margin-bottom: 0;
    line-height: 1.2;
}
.br-feature p {
    font-size: 6.5px;
    color: #888;
    line-height: 1.3;
}

/* ===== USE CASES ===== */
.br-usecases {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.br-usecase-tag {
    padding: 2.5px 8px;
    background: #fff;
    border-radius: 50px;
    font-size: 6px;
    font-weight: 600;
    color: #0D1B3E;
    border: 1px solid #dee2e6;
}

/* ===== STATS - 4 col ===== */
.br-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.br-stat {
    text-align: center;
    padding: 10px 6px;
    background: #0D1B3E;
    border-radius: 6px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.br-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2.5px;
    background: #FF6B35;
}
.br-stat:nth-child(2)::before,
.br-stat:nth-child(4)::before { background: #4A90D9; }

.br-stat-number {
    font-size: 16px;
    font-weight: 800;
    color: #FF6B35;
    line-height: 1;
    margin-bottom: 2px;
}
.br-stat:nth-child(2) .br-stat-number,
.br-stat:nth-child(4) .br-stat-number { color: #4A90D9; }

.br-stat-label {
    font-size: 5.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.45);
}

/* ===== CTA ===== */
.br-cta {
    background: linear-gradient(135deg, #FF6B35, #FF8A5C);
    border-radius: 8px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
.br-cta h3 { font-size: 11px; font-weight: 800; margin-bottom: 2px; }
.br-cta p { font-size: 7px; opacity: 0.85; }
.br-cta-contact { text-align: right; white-space: nowrap; }
.br-cta-contact .phone { font-size: 13px; font-weight: 800; display: block; margin-bottom: 1px; }
.br-cta-contact .email { font-size: 7.5px; opacity: 0.9; display: block; }
.br-cta-contact .web { font-size: 7px; opacity: 0.7; display: block; }

/* ===== FOOTER - 30px ===== */
.br-footer {
    background: #0D1B3E;
    padding: 8px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
}
.br-footer p { font-size: 6px; color: rgba(255,255,255,0.3); }
.br-footer-locations { display: flex; gap: 14px; }
.br-footer-locations span { font-size: 6px; color: rgba(255,255,255,0.4); }
.br-footer-locations i { color: #FF6B35; margin-right: 2px; font-size: 5px; }

/* ===== BUTTONS (screen only) ===== */
.br-print-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 28px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,107,53,0.35);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
}
.br-print-btn:hover { background: #E55A25; }

.br-back-btn {
    position: fixed;
    top: 20px;
    right: 200px;
    padding: 12px 24px;
    background: #0D1B3E;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== SCREEN ===== */
@media screen {
    body.brochure {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        padding: 40px 0;
        min-height: 100vh;
    }
    .brochure-page {
        box-shadow: 0 8px 50px rgba(0,0,0,0.4);
        border-radius: 3px;
    }
}

/* ===== PRINT ===== */
@media print {
    .br-print-btn, .br-back-btn { display: none !important; }
    body.brochure { background: #fff !important; padding: 0; margin: 0; width: 210mm; }
    .brochure-page { margin: 0; box-shadow: none; border-radius: 0; page-break-inside: avoid; }
    .br-header, .br-hero, .br-stat, .br-footer, .br-feature-icon, .br-cta, .br-accent {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
