﻿/* ─────────────────────────────────────────────────────────
   notebook.css  —  macOS-style services window
   ───────────────────────────────────────────────────────── */

/* ── Section ──────────────────────────────────────────── */
.services { background: #f0f0f5; }
.nb-inner { padding: 80px 48px; position: relative; z-index: 1; }
.nb-label { color: rgba(0,0,0,0.28) !important; }
.nb-h     { color: #1a1a1e !important; margin-bottom: 40px; }

/* ── macOS window ─────────────────────────────────────── */
.macos-win {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.08),
        0 12px 40px rgba(0,0,0,0.11),
        0 48px 80px rgba(0,0,0,0.06);
}

/* ── Title bar ───────────────────────────────────────── */
.win-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    background: #e8e8ee;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    user-select: none;
}

.win-traffic {
    display: flex;
    gap: 7px;
    align-items: center;
    flex-shrink: 0;
}

.win-traffic span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.tl-close { background: #ff5f57; }
.tl-min   { background: #febc2e; }
.tl-max   { background: #28c840; }

.win-title-bar {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(0,0,0,0.36);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ── Service grid ─────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* ── Card ─────────────────────────────────────────────── */
.svc-card {
    background: #fff;
    padding: 36px 28px 32px;
    position: relative;
    border-right: 1px solid rgba(0,0,0,0.06);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    overflow: hidden;
}

.svc-card:last-child { border-right: none; }

.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 55%, rgba(255,45,120,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.svc-card:hover {
    background: #fafafe;
    transform: translateY(-7px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.10);
    z-index: 2;
}

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

/* ── Card content ─────────────────────────────────────── */
.svc-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(0,0,0,0.16);
    margin-bottom: 14px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.svc-icon  { font-size: 28px; margin-bottom: 14px; display: block; }

.svc-title {
    font-size: 17px;
    font-weight: 800;
    color: #1a1a1e;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.svc-list { list-style: none; padding: 0; margin: 0 0 10px; }

.svc-list li {
    font-size: 13px;
    color: rgba(0,0,0,0.42);
    padding: 5px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    line-height: 1.5;
}

.svc-list li:last-child { border-bottom: none; }

/* ── Badge ────────────────────────────────────────────── */
.sticker {
    position: absolute;
    top: 16px; right: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.14);
}

.st-pink   { background: var(--pink); color: #fff; }
.st-blue   { background: #1a7aff;    color: #fff; }
.st-yellow { background: #ffcc00;    color: #000; }
.st-green  { background: #2eca41;    color: #000; }

/* ── Handwritten note ────────────────────────────────── */
.hw-note {
    display: block;
    margin-top: 12px;
    font-family: 'Caveat', cursive;
    font-size: 17px;
    color: rgba(0,0,0,0.28);
    font-weight: 600;
}

/* ── Global handwriting helpers ──────────────────────── */
.hw-float   { display: inline-block; font-family: 'Caveat', cursive; font-size: 20px; font-weight: 600; color: rgba(255,255,255,0.5); transform: rotate(-2deg); margin-bottom: 20px; }
.hw-hero    { display: block; margin-bottom: 18px; }
.hw-side    { display: block; font-family: 'Caveat', cursive; font-size: 19px; font-weight: 600; color: var(--pink); transform: rotate(-2.5deg); margin-bottom: 16px; }
.hw-stat    { display: block; font-family: 'Caveat', cursive; font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.55); margin-top: 6px; }
.hw-process { display: inline-block; font-family: 'Caveat', cursive; font-size: 18px; font-weight: 600; color: var(--pink); margin-top: 10px; transform: rotate(-1.5deg); }
