/* ==========================================================================
   MyPrintScreen — modern redesign stylesheet
   Single source of truth. Served directly (style.css) and via style.php.
   ========================================================================== */

:root {
    --brand:      #2563eb;
    --brand-600:  #2563eb;
    --brand-700:  #1d4ed8;
    --brand-050:  #eff4ff;

    --c-blue:   #0b84d6;
    --c-green:  #22a447;
    --c-red:    #e5484d;
    --c-orange: #ff9100;

    --ink:      #0f172a;
    --ink-2:    #475569;
    --ink-3:    #64748b;
    --line:     #e6eaf1;
    --bg:       #ffffff;
    --bg-soft:  #f6f8fc;
    --bg-soft-2:#eef2f9;

    --radius:   16px;
    --radius-sm:10px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.08);
    --shadow-md: 0 10px 30px -12px rgba(15,23,42,.25);
    --shadow-lg: 0 30px 60px -20px rgba(37,99,235,.35);

    --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: "Montserrat", var(--font);
    --maxw: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { border: 0; max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    font-family: var(--font-head); font-weight: 600; font-size: 16px;
    padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
    box-shadow: var(--shadow-lg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 34px 66px -18px rgba(37,99,235,.5); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cdd7e6; transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }

/* ---------- header ----------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand b { color: var(--brand-700); }

.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--brand-700); text-decoration: none; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    font-weight: 600; font-size: 14px; color: var(--ink-2);
}
.lang-btn img { width: 20px; height: auto; border-radius: 3px; }
.lang-btn .chev { width: 14px; height: 14px; opacity: .6; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-md); padding: 6px; display: none;
}
.lang.open .lang-menu { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.lang-menu a:hover { background: var(--brand-050); text-decoration: none; }
.lang-menu img { width: 20px; border-radius: 3px; }

/* mobile menu toggle */
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--ink); }

/* mobile drop-down nav — hidden by default, only shown on small screens when toggled */
.mobile-nav { display: none; }

/* ---------- hero ------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background: radial-gradient(1200px 520px at 50% -10%, var(--brand-050), #fff 62%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 18px; }
.hero h1 .w1 { color: var(--c-blue); }
.hero h1 .w2 { color: var(--c-green); }
.hero h1 .w3 { color: var(--c-red); }
.hero h1 .w4 { color: var(--c-orange); }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 33ch; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--c-green); }

/* hero visual — stylised capture window */
.shot {
    position: relative; border-radius: 18px; background: #fff;
    box-shadow: var(--shadow-md); border: 1px solid var(--line); overflow: hidden;
    transform: rotate(1.4deg);
}
.shot::before {
    content: ""; display: block; height: 40px;
    background: linear-gradient(#fbfcfe, #f2f5fa); border-bottom: 1px solid var(--line);
}
.shot .dots { position: absolute; top: 15px; left: 16px; display: flex; gap: 7px; }
.shot .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.shot .dots i:nth-child(1){ background: #ff5f57; }
.shot .dots i:nth-child(2){ background: #febc2e; }
.shot .dots i:nth-child(3){ background: #28c840; }
.shot-body { padding: 26px; background:
    linear-gradient(135deg, #eaf2ff, #f4f7fd);
    min-height: 250px; position: relative; }
.shot-sel {
    position: absolute; inset: 54px 40px 46px 46px;
    border: 2px solid var(--brand); border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(37,99,235,.06);
    background: rgba(37,99,235,.05);
}
.shot-sel span { position: absolute; top: -26px; left: -2px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px 6px 6px 0; font-family: var(--font-head); }
.shot-sel b { position: absolute; width: 12px; height: 12px; border: 2px solid var(--brand); background: #fff; border-radius: 50%; }
.shot-sel b.tl{ top:-6px; left:-6px; } .shot-sel b.tr{ top:-6px; right:-6px; }
.shot-sel b.bl{ bottom:-6px; left:-6px; } .shot-sel b.br{ bottom:-6px; right:-6px; }
.kbd { display:inline-flex; align-items:center; gap:6px; }
.kbd kbd { font-family: var(--font-head); font-size: 13px; font-weight:700; background:#fff; border:1px solid #cdd7e6; border-bottom-width:2px; border-radius:6px; padding:3px 9px; color:var(--ink); }

/* ---------- logos / trust strip --------------------------------------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: center; padding: 22px 24px; }
.strip .item { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.strip .item svg { width: 20px; height: 20px; color: var(--brand); }

/* ---------- section ---------------------------------------------------- */
.section { padding: 78px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--brand); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 10px 0 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ic svg { width: 24px; height: 24px; color: #fff; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 16px; margin: 0; }
.ic-blue { background: linear-gradient(135deg,#38bdf8,#0b84d6); }
.ic-green{ background: linear-gradient(135deg,#4ade80,#22a447); }
.ic-red  { background: linear-gradient(135deg,#fb7185,#e5484d); }
.ic-orange{background: linear-gradient(135deg,#fbbf24,#ff9100); }
.ic-indigo{background: linear-gradient(135deg,#818cf8,#4f46e5); }
.ic-teal { background: linear-gradient(135deg,#2dd4bf,#0d9488); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position:absolute; top:-18px; left:26px; width:40px; height:40px; border-radius:50%; background: linear-gradient(135deg,var(--brand-600),var(--brand-700)); color:#fff; font-family:var(--font-head); font-weight:700; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); }
.step h3 { font-size: 19px; margin: 10px 0 6px; }
.step p { color: var(--ink-2); font-size: 16px; margin: 0; }

/* ---------- FAQ accordion --------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; padding: 18px 20px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); background: none; border: 0; }
.faq-q:hover { color: var(--brand-700); text-decoration: none; }
.faq-q .plus { margin-left: auto; flex: 0 0 auto; width: 22px; height: 22px; position: relative; transition: transform .2s ease; color: var(--brand); }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: currentColor; border-radius: 2px; }
.faq-q .plus::before { top:10px; left:3px; right:3px; height:2px; }
.faq-q .plus::after { left:10px; top:3px; bottom:3px; width:2px; transition: transform .2s ease; }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; padding: 0 20px; color: var(--ink-2); font-size: 16px; }
.faq-a > div { padding: 0 0 18px; }

/* ---------- CTA band --------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; border-radius: 24px; padding: 54px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(26px,3.5vw,36px); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 520px; margin: 8px auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #f5f8ff; }

/* ---------- footer ----------------------------------------------------- */
.site-footer { background: #0b1220; color: #94a3b8; padding: 54px 0 30px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display:flex; align-items:center; gap:11px; color:#fff; font-family:var(--font-head); font-weight:700; font-size:19px; }
.footer-brand .logo-mark { width: 32px; height: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a { font-weight: 600; font-size: 15px; }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; display:flex; flex-wrap:wrap; gap:8px 18px; justify-content: space-between; }

/* ---------- screenshot viewer ----------------------------------------- */
.viewer { padding: 40px 0 70px; background: var(--bg-soft); min-height: 60vh; }
.viewer-card { max-width: 900px; margin: 0 auto; background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 20px; }
.viewer-card img { margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); }
.copy-row { display:flex; gap:10px; margin-top: 20px; }
.copy-row input { flex:1; min-width:0; padding: 13px 16px; border:1px solid var(--line); border-radius: 10px; font-size:15px; color:var(--ink-2); background: var(--bg-soft); font-family: var(--font); }
.copy-row .btn { padding: 13px 22px; }
.copy-label { font-family: var(--font-head); font-weight:600; margin: 4px 0 10px; }

/* ---------- prose / legal pages --------------------------------------- */
.page { padding: 56px 0 72px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 22px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p { color: var(--ink-2); margin: 0 0 16px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-700); }
.back-link { display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:15px; margin-bottom: 26px; color: var(--ink-2); }
.back-link svg { width:18px; height:18px; }

/* ---------- responsive ------------------------------------------------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero .shot { max-width: 460px; margin: 0 auto; transform: none; }
    .features, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .nav { display: none; }
    .header-right .btn-ghost { display: none; }
    .menu-toggle { display: flex; }
    .site-header .wrap { gap: 12px; }
    .mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 10px 24px 18px; }
    .mobile-nav.open { display: block; }
    .mobile-nav a { display: block; padding: 11px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
    .mobile-nav a:last-child { border-bottom: 0; }
    .hero { padding: 54px 0 48px; }
    .section { padding: 56px 0; }
    .features, .steps { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .copy-row { flex-direction: column; }
    .footer-top { flex-direction: column; gap: 22px; }
}
@media (max-width: 420px) {
    .wrap { padding: 0 18px; }
    .hero h1 { font-size: 34px; }
    .btn { width: 100%; }
    .hero-cta { width: 100%; }
}
