/* === Time Page - Unique Styles ===
   Shared base styles are in functionPages.css
*/

/* ===== RESET & VARIABLES ===== */

/* ===== HERO ===== */

/* ===== FLOATING PHONE MOCKUPS (hero) ===== */

.hero-phones {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
    }

.hero-phone {
        position: absolute;
        width: 180px;
        background: rgba(255,255,255,.04);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 24px;
        aspect-ratio: 9/19;
        backdrop-filter: blur(4px);
    }

.hero-phone.left {
            left: 5%;
            bottom: 8%;
            transform: rotate(-8deg);
            animation: float-left 8s ease-in-out infinite;
        }

.hero-phone.right {
            right: 5%;
            top: 15%;
            transform: rotate(6deg);
            animation: float-right 7s ease-in-out infinite;
        }

.hero-phone-inner {
        margin: 12px;
        height: calc(100% - 24px);
        border-radius: 16px;
        background: rgba(255,255,255,.03);
        border: 1px solid rgba(255,255,255,.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 20px;
    }

.phone-dot-row {
        display: flex;
        gap: 10px;
    }

.phone-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,.15);
    }

.phone-dot.filled {
            background: rgba(125,180,255,.5);
        }

.phone-keypad {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        width: 100%;
    }

.phone-key {
        aspect-ratio: 1.4;
        border-radius: 8px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.06);
    }

.phone-scan-line {
        width: 60%;
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, transparent, rgba(125,180,255,.4), transparent);
        animation: scan-pulse 2s ease-in-out infinite;
    }

@media (max-width: 900px) {
        .hero-phone {
            display: none;
        }
    }

/* ===== SECTION LAYOUT ===== */

/* ===== METHOD TABS ===== */

.methods-tabs {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 3.5rem;
        flex-wrap: wrap;
    }

.method-tab {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: 100px;
        border: 1.5px solid var(--border);
        background: var(--surface);
        font-family: var(--font-body);
        font-size: .9rem;
        font-weight: 500;
        color: var(--text-mid);
        cursor: pointer;
        transition: all .25s;
        white-space: nowrap;
    }

.method-tab:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-light);
        }

.method-tab.active {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            box-shadow: 0 4px 16px rgba(21,93,238,.25);
        }

.method-tab svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

.method-tab.active svg {
            fill: #fff;
        }

.method-tab:not(.active) svg {
            fill: var(--text-light);
        }

/* ===== METHOD PANELS ===== */

.method-panel {
        display: none;
        opacity: 0;
        transform: translateY(16px);
    }

.method-panel.active {
            display: block;
            animation: panelIn .5s ease forwards;
        }

@keyframes panelIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.method-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

@media (max-width: 900px) {
        .method-layout {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }
    }

.method-info {
    }

.method-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 14px;
        border-radius: 100px;
        font-size: .78rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .04em;
        margin-bottom: 1.25rem;
    }

.method-tag.blue {
            background: var(--accent-light);
            color: var(--accent);
        }

.method-tag.green {
            background: var(--green-light);
            color: var(--green);
        }

.method-tag.amber {
            background: var(--amber-light);
            color: var(--amber);
        }

.method-info h3 {
        font-family: var(--font-display);
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 400;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

.method-info p {
        font-size: 1rem;
        color: var(--text-mid);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

.method-steps {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

.method-step {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 18px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        transition: border-color .25s, box-shadow .25s;
    }

.method-step:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-sm);
        }

.step-num {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--accent-light);
        color: var(--accent);
        font-size: .78rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 1px;
    }

.step-text {
        font-size: .92rem;
        color: var(--text-mid);
        line-height: 1.55;
    }

.step-text strong {
            color: var(--text);
            font-weight: 600;
        }

/* ===== INTERACTIVE MOCKUPS ===== */

.mockup-container {
        display: flex;
        justify-content: center;
    }

/* PIN Pad Mockup */

.kiosk-mockup {
        width: 320px;
        background: var(--surface);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        border: 1px solid var(--border);
    }

.kiosk-header {
        background: linear-gradient(135deg, #0f2044, #1a3a7a);
        padding: 24px 24px 20px;
        text-align: center;
    }

.kiosk-header-brand {
        font-size: .8rem;
        font-weight: 500;
        color: rgba(255,255,255,.5);
        letter-spacing: .05em;
        text-transform: uppercase;
        margin-bottom: 8px;
    }

.kiosk-time-display {
        font-family: var(--font-display);
        font-size: 2rem;
        color: #fff;
        margin-bottom: 2px;
    }

.kiosk-date {
        font-size: .82rem;
        color: rgba(255,255,255,.4);
    }

.kiosk-body {
        padding: 24px;
    }

.kiosk-label {
        text-align: center;
        font-size: .85rem;
        color: var(--text-light);
        margin-bottom: 16px;
    }

.pin-dots {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-bottom: 24px;
    }

.pin-dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid var(--border);
        background: transparent;
        transition: all .2s;
    }

.pin-dot.filled {
            background: var(--accent);
            border-color: var(--accent);
            transform: scale(1.1);
        }

.keypad {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

.key-btn {
        aspect-ratio: 1.5;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
        background: var(--bg);
        font-family: var(--font-body);
        font-size: 1.3rem;
        font-weight: 500;
        color: var(--text);
        cursor: pointer;
        transition: all .15s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.key-btn:hover {
            background: var(--accent-light);
            border-color: var(--accent);
            color: var(--accent);
        }

.key-btn:active {
            transform: scale(.95);
        }

.key-btn.action-clear {
            background: var(--red-light);
            border-color: transparent;
            color: var(--red);
            font-size: 1rem;
        }

.key-btn.action-enter {
            background: var(--accent);
            border-color: transparent;
            color: #fff;
            font-size: .9rem;
            font-weight: 600;
        }

.key-btn.action-enter:hover {
                background: var(--accent-dark);
            }

.kiosk-status {
        margin-top: 16px;
        text-align: center;
        padding: 10px;
        border-radius: var(--radius-sm);
        font-size: .82rem;
        font-weight: 500;
        opacity: 0;
        transition: opacity .3s;
    }

.kiosk-status.visible {
            opacity: 1;
        }

.kiosk-status.success {
            background: var(--green-light);
            color: var(--green);
        }

.kiosk-status.error {
            background: var(--red-light);
            color: var(--red);
        }

/* Camera Mockup */

.camera-mockup {
        width: 320px;
        background: #000;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-xl);
        border: 1px solid rgba(255,255,255,.1);
    }

.camera-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: rgba(0,0,0,.7);
    }

.camera-back {
        color: rgba(255,255,255,.7);
        cursor: pointer;
        font-size: .9rem;
    }

.camera-title {
        color: #fff;
        font-size: .9rem;
        font-weight: 600;
    }

.camera-spacer {
        width: 40px;
    }

.camera-viewfinder {
        position: relative;
        aspect-ratio: 3/4;
        background: linear-gradient(160deg, #1a2a44 0%, #0f1b2d 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

.face-guide {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        border: 3px dashed rgba(255,255,255,.2);
        position: relative;
        transition: all .5s;
    }

.face-guide.detected {
            border-color: var(--green);
            border-style: solid;
            box-shadow: 0 0 30px rgba(22,163,74,.2);
        }

.face-guide-icon {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.face-guide-icon svg {
            width: 64px;
            height: 64px;
            opacity: .3;
            fill: #fff;
        }

.face-guide.detected .face-guide-icon svg {
        opacity: .6;
        fill: var(--green);
    }

.scan-beam {
        position: absolute;
        left: 10%;
        right: 10%;
        height: 3px;
        background: linear-gradient(90deg, transparent, rgba(21,93,238,.6), transparent);
        border-radius: 2px;
        animation: beam-scan 2.5s ease-in-out infinite;
    }

.camera-badge {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border-radius: 100px;
        background: rgba(0,0,0,.7);
        backdrop-filter: blur(8px);
        font-size: .82rem;
        color: rgba(255,255,255,.8);
        white-space: nowrap;
    }

.camera-badge .badge-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }

.camera-controls {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 20px;
        background: rgba(0,0,0,.8);
    }

.capture-btn {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: 4px solid #fff;
        background: rgba(255,255,255,.15);
        cursor: pointer;
        position: relative;
        transition: all .2s;
    }

.capture-btn::after {
            content: '';
            position: absolute;
            inset: 6px;
            border-radius: 50%;
            background: #fff;
            transition: all .15s;
        }

.capture-btn:hover {
            transform: scale(1.05);
        }

.capture-btn:active::after {
            transform: scale(.85);
        }

.cam-action-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #fff;
    }

/* Geo Mockup */

.geo-mockup {
        width: 320px;
        background: var(--surface);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        border: 1px solid var(--border);
    }

.geo-header {
        padding: 20px 20px 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

.geo-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent);
        font-weight: 700;
        font-size: .9rem;
    }

.geo-user-info {
        flex: 1;
    }

.geo-user-name {
        font-size: .95rem;
        font-weight: 600;
        color: var(--text);
    }

.geo-user-role {
        font-size: .78rem;
        color: var(--text-light);
    }

.geo-status-pill {
        padding: 4px 12px;
        border-radius: 100px;
        font-size: .72rem;
        font-weight: 600;
        background: var(--green-light);
        color: var(--green);
    }

.geo-map {
        margin: 16px;
        height: 180px;
        border-radius: var(--radius-md);
        background: linear-gradient(135deg, #e0e8f5, #d0daf0, #c5d2e8);
        position: relative;
        overflow: hidden;
    }

.geo-map-lines {
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(21,93,238,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(21,93,238,.06) 1px, transparent 1px);
        background-size: 30px 30px;
    }

.geo-pin {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.geo-pin-pulse {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: rgba(21,93,238,.08);
        border: 2px solid rgba(21,93,238,.15);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: geo-pulse 3s ease-in-out infinite;
    }

.geo-pin-dot {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--accent);
        border: 3px solid #fff;
        box-shadow: 0 2px 8px rgba(21,93,238,.4);
        position: relative;
        z-index: 1;
    }

.geo-location-label {
        position: absolute;
        bottom: 12px;
        left: 12px;
        background: var(--surface);
        padding: 8px 14px;
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-md);
        display: flex;
        align-items: center;
        gap: 8px;
    }

.geo-loc-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--green-light);
        display: flex;
        align-items: center;
        justify-content: center;
    }

.geo-loc-icon svg {
            width: 14px;
            fill: var(--green);
        }

.geo-loc-text {
        font-size: .78rem;
        font-weight: 600;
        color: var(--text);
    }

.geo-loc-dist {
        font-size: .7rem;
        color: var(--text-light);
        font-weight: 400;
    }

.geo-actions {
        padding: 0 16px 20px;
        display: flex;
        gap: 10px;
    }

.geo-btn {
        flex: 1;
        padding: 14px;
        border-radius: var(--radius-md);
        border: none;
        font-family: var(--font-body);
        font-size: .9rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all .2s;
    }

.geo-btn.clock-in {
            background: var(--green);
            color: #fff;
        }

.geo-btn.clock-in:hover {
                background: #15803d;
                box-shadow: 0 4px 16px rgba(22,163,74,.3);
            }

.geo-btn.clock-out {
            background: var(--bg);
            color: var(--text-mid);
            border: 1.5px solid var(--border);
        }

.geo-btn.clock-out:hover {
                border-color: var(--red);
                color: var(--red);
            }

.geo-btn svg {
            width: 18px;
            height: 18px;
        }

.geo-btn.clock-in svg {
            fill: #fff;
        }

.geo-btn.clock-out svg {
            fill: currentColor;
        }

/* ===== FEATURES GRID ===== */

.features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }

.feature-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 2rem;
        transition: all .3s;
        position: relative;
        overflow: hidden;
    }

.feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .35s;
        }

.feature-card:hover {
            border-color: var(--accent);
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

.feature-card:hover::before {
                transform: scaleX(1);
            }

.feature-card-icon {
        width: 48px;
        height: 48px;
        border-radius: var(--radius-sm);
        background: var(--accent-light);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.25rem;
    }

.feature-card-icon svg {
            width: 24px;
            height: 24px;
            fill: var(--accent);
        }

.feature-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: .5rem;
    }

.feature-card p {
        font-size: .92rem;
        color: var(--text-mid);
        line-height: 1.6;
    }

/* ===== HOW IT WORKS (Steps) ===== */

@media (max-width: 768px) {
        .steps-timeline {
            grid-template-columns: 1fr;
        }

            .steps-timeline::before {
                display: none;
            }
    }

/* ===== COMPARISON TABLE ===== */

.comparison-table {
        background: var(--surface);
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

.comparison-table table {
            width: 100%;
            border-collapse: collapse;
        }

.comparison-table thead {
            background: linear-gradient(135deg, #0f2044, #1a3a7a);
        }

.comparison-table th {
            padding: 16px 20px;
            font-size: .85rem;
            font-weight: 600;
            text-align: left;
        }

.comparison-table th:not(:first-child) {
                text-align: center;
            }

.comparison-table td {
            padding: 14px 20px;
            font-size: .9rem;
            border-bottom: 1px solid var(--border);
            color: var(--text-mid);
        }

.comparison-table td:first-child {
                font-weight: 500;
                color: var(--text);
            }

.comparison-table td:not(:first-child) {
                text-align: center;
            }

.comparison-table tr:last-child td {
            border-bottom: none;
        }

.comparison-table tr:hover td {
            background: var(--surface-alt);
        }

.check-icon {
        color: var(--green);
        font-weight: 700;
        font-size: 1.1rem;
    }

.cross-icon {
        color: var(--text-light);
        font-size: .9rem;
    }

.table-scroll {
        overflow-x: auto;
    }

/* ===== CTA ===== */

.cta-section {
        text-align: center;
        padding: 5rem 2rem;
        background: linear-gradient(135deg, #0a1628 0%, #132347 40%, #1a3a7a 100%);
        position: relative;
        overflow: hidden;
    }

.cta-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse 600px 300px at 50% 100%, rgba(21,93,238,.2), transparent);
        }

.cta-content {
        position: relative;
        z-index: 1;
    }

.cta-section h2 {
        font-family: var(--font-display);
        font-size: clamp(2rem, 4vw, 2.8rem);
        color: #fff;
        margin-bottom: 1rem;
    }

.cta-section p {
        color: rgba(255,255,255,.5);
        font-size: 1.05rem;
        margin-bottom: 2rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

/* ===== SCROLL REVEAL ===== */

/* ===== KEYFRAMES ===== */

@keyframes scan-pulse {
        0%, 100% {
            opacity: 0;
        }

        50% {
            opacity: 1;
        }
    }

@keyframes beam-scan {
        0% {
            top: 15%;
            opacity: 0;
        }

        20% {
            opacity: 1;
        }

        80% {
            opacity: 1;
        }

        100% {
            top: 85%;
            opacity: 0;
        }
    }

@keyframes geo-pulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: .6;
        }

        50% {
            transform: translate(-50%, -50%) scale(1.15);
            opacity: .3;
        }
    }

/* ===== MOBILE ===== */

@media (max-width: 600px) {
        .hero {
            min-height: 70vh;
            padding: 4rem 1.5rem;
        }

        .section {
            padding: 3.5rem 1.5rem;
        }

        .kiosk-mockup, .camera-mockup, .geo-mockup {
            width: 100%;
            max-width: 320px;
        }

        .features-grid {
            grid-template-columns: 1fr;
        }

        .methods-tabs {
            gap: 6px;
        }

        .method-tab {
            padding: 10px 16px;
            font-size: .82rem;
        }

        .comparison-table th, .comparison-table td {
            padding: 10px 12px;
            font-size: .8rem;
        }
    }

/* FAQ */

.faq-list {
        max-width: 720px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 8px
    }

.faq-item {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        overflow: hidden;
        transition: border-color .25s
    }

.faq-item.open {
            border-color: var(--accent)
        }

.faq-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: none;
        border: none;
        font-family: var(--font-body);
        font-size: .95rem;
        font-weight: 600;
        color: var(--text);
        cursor: pointer;
        text-align: left;
        gap: 12px
    }

.faq-chevron {
        width: 20px;
        height: 20px;
        fill: var(--text-light);
        transition: transform .3s;
        flex-shrink: 0
    }

.faq-item.open .faq-chevron {
        transform: rotate(180deg)
    }

.faq-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease
    }

.faq-body-inner {
        padding: 0 20px 18px;
        font-size: .9rem;
        color: var(--text-mid);
        line-height: 1.7
    }