/* ==========================================================================
   OctoPDKS — Landing helpers
   Bootstrap 5 üstüne ince yardımcılar. Renk paletine dokunmaz.
   Sadece mockup çerçeveleri, hero gradient ve küçük detaylar.
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.min-vh-75 { min-height: 72vh; }

.hero-card {
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .hero-card { transform: none; }
}

/* ==========================================================================
   Section heading helper — small uppercase label above a h2
   ========================================================================== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0d6efd;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Simple step cards
   ========================================================================== */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Browser window mockup (dashboard screenshot frame)
   ========================================================================== */
.mock-window {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 50px -20px rgba(13, 110, 253, 0.25),
                0 10px 25px -12px rgba(0, 0, 0, 0.1);
}

.mock-window__bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 0.9rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.mock-window__bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
    display: inline-block;
}

.mock-window__bar i:nth-child(1) { background: #ff6058; }
.mock-window__bar i:nth-child(2) { background: #ffbe2f; }
.mock-window__bar i:nth-child(3) { background: #28ca42; }

.mock-window__bar .addr {
    margin-left: 0.75rem;
    padding: 0.2rem 0.7rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #6c757d;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mock-window__body { padding: 1.25rem 1.25rem 1.5rem; }

/* Dashboard fake bar chart */
.mock-chart {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    align-items: end;
    gap: 6px;
    height: 120px;
    padding: 0.5rem 0;
}
.mock-chart span {
    background: #0d6efd;
    border-radius: 3px 3px 0 0;
    opacity: 0.85;
}
.mock-chart span.alt { background: #6ea8fe; }
.mock-chart span.warn { background: #ffc107; }

/* KPI boxes */
.mock-kpi {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    background: #fff;
}
.mock-kpi .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
}
.mock-kpi .value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #212529;
    margin-top: 0.1rem;
    line-height: 1.1;
}
.mock-kpi .delta { font-size: 0.75rem; margin-top: 0.15rem; }
.mock-kpi .delta.up   { color: #198754; }
.mock-kpi .delta.down { color: #dc3545; }

/* Log rows */
.mock-log {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    color: #495057;
}
.mock-log div {
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    gap: 0.75rem;
    padding: 0.3rem 0;
    border-bottom: 1px dashed #e9ecef;
}
.mock-log div:last-child { border-bottom: 0; }
.mock-log .ok   { color: #198754; }
.mock-log .warn { color: #fd7e14; }
.mock-log .err  { color: #dc3545; }

/* ==========================================================================
   Mobile phone mockup (QR scan screen)
   ========================================================================== */
.mock-phone {
    width: 260px;
    background: #212529;
    border-radius: 32px;
    padding: 8px;
    box-shadow: 0 24px 55px -15px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
}
.mock-phone__screen {
    background: #0d6efd;
    border-radius: 24px;
    min-height: 480px;
    padding: 1.5rem 1.1rem 1.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mock-phone__notch {
    width: 90px;
    height: 18px;
    background: #212529;
    border-radius: 0 0 12px 12px;
    margin: -8px auto 1rem;
}
.mock-phone__title {
    font-size: 0.8rem;
    opacity: 0.85;
    letter-spacing: 0.04em;
}
.mock-phone__user {
    font-size: 1.1rem;
    font-weight: 600;
}
.mock-phone__qr {
    background: #fff;
    color: #212529;
    border-radius: 16px;
    aspect-ratio: 1;
    margin: 1.25rem 0;
    display: grid;
    place-items: center;
    position: relative;
    padding: 1rem;
}
.mock-phone__qr::before,
.mock-phone__qr::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid #0d6efd;
}
.mock-phone__qr::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.mock-phone__qr::after  { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

.mock-phone__qr svg {
    width: 70%;
    height: 70%;
    color: #212529;
}

.mock-phone__scanline {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #0d6efd 50%, transparent);
    animation: scanline 2s ease-in-out infinite;
    top: 14%;
}

@keyframes scanline {
    0%   { top: 14%; }
    50%  { top: 78%; }
    100% { top: 14%; }
}

.mock-phone__info {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: auto;
    font-size: 0.82rem;
}
.mock-phone__info .row {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
}
.mock-phone__info .row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mock-phone__info .label { opacity: 0.7; }

/* ==========================================================================
   Timesheet / puantaj table mockup
   ========================================================================== */
.mock-sheet {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    font-size: 0.82rem;
}
.mock-sheet__head {
    background: #f8f9fa;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}
.mock-sheet table {
    width: 100%;
    border-collapse: collapse;
}
.mock-sheet th, .mock-sheet td {
    padding: 0.45rem 0.5rem;
    border-bottom: 1px solid #f1f3f5;
    text-align: center;
}
.mock-sheet th {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #fafbfc;
}
.mock-sheet td:first-child,
.mock-sheet th:first-child {
    text-align: left;
    padding-left: 1rem;
    white-space: nowrap;
    font-weight: 500;
}
.mock-sheet td.absent { color: #dc3545; }
.mock-sheet td.late   { color: #fd7e14; }
.mock-sheet td.ok     { color: #212529; }
