/* Office360 brochure — print styles for resources/views/landing/klaybyte-office360/brochure.blade.php (A4 portrait, 4 pages). */

@font-face { font-family: 'Inter'; font-weight: 100 900; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Inter'; font-weight: 100 900; src: url('fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02AF, U+20A0-20CF; }
@font-face { font-family: 'Noto Sans Bengali'; font-weight: 400; src: local('Noto Sans Bengali'), url('fonts/NotoSansBengali-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Noto Sans Bengali'; font-weight: 600 800; src: local('Noto Sans Bengali Bold'), url('fonts/NotoSansBengali-Bold.ttf') format('truetype'); }

:root {
    --blue-900: #0b1f4d;
    --blue-700: #0044C9;
    --blue-600: #0055F6;
    --blue-400: #3B82F6;
    --blue-50: #eef4ff;
    --ink: #101828;
    --ink-2: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --green: #12b76a;
    --amber: #f79009;
    --gradient: linear-gradient(135deg, #0044C9 0%, #0055F6 55%, #3B82F6 100%);
}

@page { size: A4; margin: 0; }

* { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

html, body { margin: 0; padding: 0; background: #d9dee8; }

body {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    color: var(--ink);
    font-size: 10.5pt;
    line-height: 1.5;
}

body.lang-bn { font-family: 'Noto Sans Bengali', 'Inter', sans-serif; font-size: 10.5pt; line-height: 1.6; }

h1, h2, h3, h4, p, ul { margin: 0; }

.page {
    width: 210mm;
    height: 297mm;
    position: relative;
    overflow: hidden;
    background: var(--paper);
    page-break-after: always;
    break-after: page;
    margin: 0 auto;
}

.page:last-child { page-break-after: auto; break-after: auto; }

@media screen {
    .page { margin: 10mm auto; box-shadow: 0 4px 24px rgba(16, 24, 40, .18); }
}

.inner { padding: 8mm 15mm 0; }

/* ── Running header / footer ─────────────────────────── */
.band {
    background: var(--gradient);
    color: #fff;
    padding: 9mm 15mm 8mm;
    position: relative;
}

.band::after {
    content: '';
    position: absolute;
    right: -30mm;
    top: -30mm;
    width: 90mm;
    height: 90mm;
    border-radius: 50%;
    border: 12mm solid rgba(255, 255, 255, .08);
}

.band .kicker { font-size: 8.5pt; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 600; }
.lang-bn .band .kicker { letter-spacing: .02em; text-transform: none; font-size: 9.5pt; }
.band h2 { font-size: 21pt; line-height: 1.2; font-weight: 800; margin-top: 2mm; }
.band p { margin-top: 2mm; max-width: 150mm; opacity: .92; font-size: 10.5pt; }

.foot {
    position: absolute;
    left: 15mm;
    right: 15mm;
    bottom: 8mm;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8pt;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 3mm;
}

.foot img { height: 5mm; vertical-align: middle; margin-right: 2mm; }

/* ── Page 1: cover ───────────────────────────────────── */
.cover { background: var(--gradient); color: #fff; }

.cover-deco {
    position: absolute;
    border-radius: 50%;
    border: 16mm solid rgba(255, 255, 255, .07);
}

.cover-deco--1 { width: 170mm; height: 170mm; right: -70mm; top: -60mm; }
.cover-deco--2 { width: 110mm; height: 110mm; left: -50mm; bottom: 40mm; border-width: 10mm; }

.cover-top { padding: 16mm 16mm 0; display: flex; align-items: center; gap: 4mm; position: relative; }
.cover-top img { height: 13mm; }
.cover-top .brand { font-size: 17pt; font-weight: 800; letter-spacing: -.01em; }
.cover-top .brand small { display: block; font-size: 8.5pt; font-weight: 500; opacity: .8; letter-spacing: .1em; text-transform: uppercase; }
.lang-bn .cover-top .brand small { letter-spacing: .02em; text-transform: none; font-size: 9.5pt; }

.cover-title { padding: 20mm 16mm 0; position: relative; }
.cover-title .eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 1.2mm 4mm;
    border-radius: 20mm;
    font-size: 9pt;
    font-weight: 600;
}
.cover-title h1 { font-size: 34pt; line-height: 1.08; font-weight: 800; letter-spacing: -.02em; margin-top: 6mm; max-width: 165mm; }
.lang-bn .cover-title h1 { font-size: 31pt; line-height: 1.3; letter-spacing: 0; }
.cover-title p { font-size: 12.5pt; margin-top: 5mm; max-width: 150mm; opacity: .93; }

.cover-shot {
    position: absolute;
    left: 16mm;
    right: -22mm;
    bottom: 40mm;
    border-radius: 4mm;
    overflow: hidden;
    border: 2mm solid rgba(255, 255, 255, .25);
    box-shadow: 0 10mm 24mm rgba(4, 18, 60, .45);
}
.cover-shot img { display: block; width: 100%; }

.cover-stats {
    position: absolute;
    left: 16mm;
    right: 16mm;
    bottom: 12mm;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4mm;
}
.cover-stats div { border-left: 2px solid rgba(255, 255, 255, .45); padding-left: 3mm; }
.cover-stats strong { display: block; font-size: 17pt; font-weight: 800; line-height: 1.1; }
.cover-stats span { font-size: 8.5pt; opacity: .88; }

/* ── Page 2: why + highlights ────────────────────────── */
.lead { font-size: 11.5pt; color: var(--ink-2); }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; margin-top: 0; }
.why-card { background: var(--soft); border-radius: 3mm; padding: 4.5mm 5mm; border-top: 1mm solid var(--blue-600); }
.why-card h3 { font-size: 11.5pt; font-weight: 700; color: var(--blue-700); }
.why-card p { font-size: 9.5pt; color: var(--ink-2); margin-top: 1.2mm; }

.shot-wide { margin-top: 5mm; border-radius: 3mm; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 2mm 6mm rgba(16, 24, 40, .08); }
.shot-wide img { display: block; width: 100%; height: 64mm; object-fit: cover; object-position: left top; }
.caption { font-size: 8.5pt; color: var(--muted); margin-top: 1.5mm; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5mm; margin-top: 5mm; }
.hl { display: flex; gap: 2.5mm; align-items: flex-start; }
.hl .dot { flex: 0 0 6mm; height: 6mm; border-radius: 1.6mm; background: var(--gradient); color: #fff; font-size: 8pt; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hl strong { display: block; font-size: 9.5pt; }
.hl span { font-size: 8.5pt; color: var(--muted); line-height: 1.4; display: block; }

/* ── Page 3: modules ─────────────────────────────────── */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm 5mm; margin-top: 0; }
.group { border: 1px solid var(--line); border-radius: 3mm; overflow: hidden; }
.group-head { background: var(--blue-50); padding: 2.5mm 4mm; display: flex; justify-content: space-between; align-items: baseline; }
.group-head h3 { font-size: 11.5pt; color: var(--blue-700); font-weight: 800; }
.group-head small { font-size: 8pt; color: var(--muted); }
.group img { display: block; width: 100%; height: 36mm; object-fit: cover; object-position: left top; border-bottom: 1px solid var(--line); }
.group ul { list-style: none; padding: 3mm 4mm 3.5mm; }
.group li { font-size: 8.8pt; color: var(--ink-2); padding-left: 3.5mm; position: relative; line-height: 1.42; margin-bottom: .9mm; }
.group li::before { content: ''; position: absolute; left: 0; top: 1.9mm; width: 1.5mm; height: 1.5mm; border-radius: 50%; background: var(--blue-400); }
.group li b { color: var(--ink); }

.note { margin-top: 4mm; font-size: 8.8pt; color: var(--muted); background: var(--soft); border-radius: 2mm; padding: 2.5mm 4mm; }

/* ── Page 4: trust + CTA ─────────────────────────────── */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm 6mm; margin-top: 0; }
.pillar h3 { font-size: 11pt; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 2mm; }
.pillar h3::before { content: ''; width: 2.2mm; height: 5mm; border-radius: 1mm; background: var(--gradient); }
.pillar ul { padding-left: 4.5mm; margin-top: 1.2mm; }
.pillar li { font-size: 8.8pt; color: var(--ink-2); margin-bottom: .6mm; line-height: 1.42; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; margin-top: 5mm; }
.duo figure { margin: 0; }
.duo img { display: block; width: 100%; height: 74mm; object-fit: cover; object-position: left top; border-radius: 2.5mm; border: 1px solid var(--line); }
.duo figcaption { font-size: 8.3pt; color: var(--muted); margin-top: 1.2mm; }

.cta {
    position: absolute;
    left: 15mm;
    right: 15mm;
    bottom: 20mm;
    background: var(--gradient);
    color: #fff;
    border-radius: 4mm;
    padding: 7mm 8mm;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 6mm;
    align-items: center;
    overflow: hidden;
}
.cta h2 { font-size: 17pt; font-weight: 800; line-height: 1.2; }
.cta p { font-size: 9.8pt; opacity: .92; margin-top: 2mm; }
.cta ol { margin: 2.5mm 0 0; padding-left: 5mm; font-size: 9.2pt; }
.cta ol li { margin-bottom: .6mm; }

.contact { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); border-radius: 3mm; padding: 4mm 5mm; font-size: 9.5pt; }
.contact strong { display: block; font-size: 10.5pt; margin-bottom: 1.2mm; }
.contact span { display: block; }
.contact a { color: inherit; text-decoration: none; }
