/* ============================================================
   PRYZMA LTD — timesheetx.css
   TimesheetX launch: hero announcement pill + home page section.
   Reuses the .kv-* layout classes from main.css; this file only
   adds the TimesheetX colour accent and the workflow card.
   ============================================================ */

:root {
    --tsx:       #22c55e;
    --tsx-light: #4ade80;
}

/* ── Hero announcement pill ── */
.launch-pill {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.6rem;
    max-width: 100%;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: var(--text);
    padding: 0.4rem 1rem 0.4rem 0.45rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0 0 1rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    animation: fadeUp 0.5s ease both;
}
.launch-pill:hover {
    background: rgba(34,197,94,0.18);
    border-color: rgba(34,197,94,0.5);
    color: #fff;
    transform: translateY(-1px);
}
.launch-pill-tag {
    background: var(--tsx);
    color: #04210f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    flex-shrink: 0;
}
.launch-pill i { color: var(--tsx-light); transition: transform 0.2s; }
.launch-pill:hover i { transform: translateX(3px); }

/* ── Section ── */
#timesheetx {
    background: linear-gradient(160deg, #061512 0%, #0a1a24 45%, #0c0e28 100%);
    position: relative;
    overflow: hidden;
}
#timesheetx::before {
    content: '';
    position: absolute;
    top: -160px; left: -160px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(34,197,94,0.18) 0%, transparent 70%);
    pointer-events: none;
}
#timesheetx::after {
    content: '';
    position: absolute;
    bottom: -120px; right: 5%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(67,97,238,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.tsx-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.35);
    color: var(--tsx-light);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.tsx-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--tsx);
    box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
    animation: tsxPulse 2s ease-out infinite;
}
@keyframes tsxPulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@media (prefers-reduced-motion: reduce) {
    .tsx-live-dot { animation: none; }
    .launch-pill { animation: none; }
}

.tsx-subtitle { color: var(--tsx-light); }
.tsx-feat-icon { background: rgba(34,197,94,0.15); color: var(--tsx-light); }

.tsx-btn { background: var(--tsx); color: #04210f; }
.tsx-btn:hover { color: #04210f; box-shadow: 0 12px 40px rgba(34,197,94,0.3); }

.tsx-header-icon { color: var(--tsx-light) !important; }
.tsx-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.15rem;
}

/* ── Workflow steps ── */
.tsx-flow {
    list-style: none;
    padding: 1.5rem 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tsx-flow li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    font-size: 0.9rem;
    color: rgba(240,242,255,0.75);
    position: relative;
    padding-bottom: 1.1rem;
}
.tsx-flow li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px; top: 32px; bottom: 2px;
    width: 2px;
    background: linear-gradient(rgba(34,197,94,0.45), rgba(34,197,94,0.1));
}
.tsx-flow strong { color: #fff; }
.tsx-step {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(34,197,94,0.15);
    border: 1px solid rgba(34,197,94,0.4);
    color: var(--tsx-light);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.tsx-checklist { border-top: 1px solid rgba(255,255,255,0.08); }

.tsx-offer {
    background: rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.25);
    color: var(--tsx-light);
}

/* ── Navigation: one more item, keep it on one line on mid-size screens ── */
@media (min-width: 769px) and (max-width: 1280px) {
    #navmenu ul { gap: 1.1rem; }
    #navmenu ul a { font-size: 0.84rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    #navmenu ul { gap: 0.8rem; }
    #navmenu ul a { font-size: 0.8rem; }
    .nav-inner { padding: 1.25rem 1.25rem; }
}

@media (max-width: 480px) {
    .launch-pill { font-size: 0.8rem; }
}
