/* ================================================================
   ISISOFT Technologies — System Maintenance & Infrastructure Upgrades
   Stylesheet: css/style.css
   Brand: Fingerprint Biometric Theme & Tech Palette
   ================================================================ */

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
    /* Brand Colors derived from ISISOFT Fingerprint Gradient */
    --brand-coral:      #ff4d5a;
    --brand-crimson:    #e63946;
    --brand-red:        #c0392b;
    --brand-burgundy:   #72122c;
    --brand-dark:       #4e0c1e;
    --brand-gradient:   linear-gradient(135deg, #ff4d5a 0%, #c0392b 52%, #72122c 100%);
    --brand-gradient-h: linear-gradient(90deg, #ff4d5a 0%, #c0392b 50%, #72122c 100%);
    --brand-muted:      rgba(230, 57, 70, 0.09);
    --brand-border:     rgba(192, 57, 43, 0.22);
    --brand-glow:       rgba(230, 57, 70, 0.28);

    /* Neutrals & Surfaces */
    --gray-page:        #e9edf2;
    --gray-surface:     #f6f8fb;
    --gray-line:        #d2d7df;
    --gray-line-subtle: #e5e9f0;
    --white:            #ffffff;

    /* Typography / Ink */
    --ink-primary:      #0f172a;
    --ink-body:         #334155;
    --ink-muted:        #64748b;
    --font-main:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Radii & Shadows */
    --radius-card:      12px;
    --radius-md:        8px;
    --radius-sm:        6px;
    --shadow-card:      0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 16px 32px -4px rgba(15, 23, 42, 0.10);
    --shadow-glow:      0 0 24px rgba(230, 57, 70, 0.16);
    --transition:       0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base ──────────────────────────────────────────────────────── */
html, body {
    min-height: 100%;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--gray-page);
    background-image: 
        radial-gradient(at 0% 0%, rgba(230, 57, 70, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(114, 18, 44, 0.07) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.8) 0px, transparent 100%);
    background-attachment: fixed;
    color: var(--ink-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Page Shell ────────────────────────────────────────────────── */
.shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

/* ── Main Card ─────────────────────────────────────────────────── */
.card {
    width: 100%;
    max-width: 840px;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(210, 215, 223, 0.7);
    border-top: 5px solid transparent;
    border-image: var(--brand-gradient-h) 1;
    border-top-left-radius: var(--radius-card);
    border-top-right-radius: var(--radius-card);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.45s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Top Bar ───────────────────────────────────────────────────── */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid var(--gray-line-subtle);
    background: var(--white);
    flex-wrap: wrap;
    gap: 12px;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo-wrap img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-muted);
    border: 1px solid var(--brand-border);
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    box-shadow: 0 1px 3px rgba(230, 57, 70, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-crimson);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.45);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 5px rgba(230, 57, 70, 0);
    }
}

/* ── Two-Column Body ───────────────────────────────────────────── */
.body {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
}

.col-left {
    padding: 30px 32px;
    border-right: 1px solid var(--gray-line-subtle);
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--white);
}

.col-right {
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: var(--gray-surface);
}

/* ── Heading & Descriptions ────────────────────────────────────── */
.hero-heading {
    font-size: clamp(22px, 3.2vw, 29px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.025em;
    color: var(--ink-primary);
}

.hero-heading .accent {
    background: var(--brand-gradient-h);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink-muted);
    padding-left: 14px;
    border-left: 3px solid var(--brand-coral);
}

/* ── Countdown ─────────────────────────────────────────────────── */
.countdown-wrap {
    display: flex;
    flex-direction: column;
}

.countdown-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.countdown-row {
    display: flex;
    gap: 10px;
}

.count-block {
    flex: 1;
    text-align: center;
    background: var(--gray-surface);
    border: 1px solid var(--gray-line);
    border-radius: var(--radius-md);
    padding: 12px 6px 10px;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.count-block:hover {
    border-color: var(--brand-border);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.count-num {
    display: block;
    font-size: clamp(26px, 3.8vw, 34px);
    font-weight: 800;
    color: var(--brand-red);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    transition: transform 0.15s ease;
}

.count-block.flip .count-num {
    transform: scale(1.12);
    color: var(--brand-crimson);
}

.count-unit {
    display: block;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 6px;
    font-weight: 600;
}

/* ── Progress ──────────────────────────────────────────────────── */
.progress-wrap {
    display: flex;
    flex-direction: column;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-track {
    height: 6px;
    background: var(--gray-line);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--brand-gradient-h);
    border-radius: 100px;
    box-shadow: 0 0 10px var(--brand-glow);
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Right Column: Info Blocks ─────────────────────────────────── */
.info-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-primary);
    padding-bottom: 9px;
    border-bottom: 1px solid var(--gray-line);
}

.info-section-icon {
    font-size: 15px;
    line-height: 1;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.info-list li {
    font-size: 12.5px;
    color: var(--ink-body);
    padding-left: 16px;
    position: relative;
    line-height: 1.55;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-crimson);
}

.info-list li strong {
    color: var(--ink-primary);
    font-weight: 600;
}

/* ── Bottom Bar ────────────────────────────────────────────────── */
.bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-top: 1px solid var(--gray-line-subtle);
    background: #f1f4f8;
    flex-wrap: wrap;
    gap: 14px;
}

.security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 490px;
}

.security-note .lock-icon {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--brand-burgundy);
}

.security-note p {
    font-size: 11.5px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.security-note strong {
    color: var(--brand-burgundy);
    font-weight: 700;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.28);
}

.contact-btn:hover,
.contact-btn:focus {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.38);
    outline: none;
}

.contact-btn:focus-visible {
    outline: 2px solid var(--brand-coral);
    outline-offset: 3px;
}

/* ── Footer ────────────────────────────────────────────────────── */
.page-footer {
    font-size: 11px;
    color: #838e9e;
    text-align: center;
    margin-top: 16px;
    letter-spacing: 0.01em;
}

/* ── Responsive: Mobile & Tablet ───────────────────────────────── */
@media (max-width: 740px) {
    .shell {
        padding: 20px 12px;
        justify-content: flex-start;
    }
    .top-bar {
        padding: 14px 20px;
    }
    .body {
        grid-template-columns: 1fr;
    }
    .col-left {
        border-right: none;
        border-bottom: 1px solid var(--gray-line-subtle);
        padding: 24px 20px;
    }
    .col-right {
        padding: 24px 20px;
    }
    .bottom-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
    }
    .contact-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

