/* =========================================
   HRJEE MASTER SERVICES THEME
   File: services.css
   Contains: Global Service Styles & Page-Specific Hero Visuals
   ========================================= */
/* =========================================
   1. GLOBAL SHARED STYLES
   (Hero Core, Common Widgets, Footers)
   ========================================= */

/* --- HERO CORE (Pulse & Glow) --- */
.att-hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
    text-align: center;
    padding-bottom: 1rem;
}

.att-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Pulsing Rings */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: ripple 6s linear infinite;
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation-delay: 0s;
}

.ring-2 {
    width: 400px;
    height: 400px;
    animation-delay: 2s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation-delay: 4s;
}

@keyframes ripple {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.8;
        border-color: var(--accent-blue);
    }

    100% {
        width: 1200px;
        height: 1200px;
        opacity: 0;
        border-color: transparent;
    }
}

.att-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 4rem;
    /* Push content down to avoid navbar overlap */
}



.att-subtitle {
    max-width: 600px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- SHARED HERO WIDGETS --- */
/* Animated Salary Notifications (Payroll/Global) */
.visual-notification-stack {
    position: relative;
    width: 320px;
    height: 120px;
    margin-top: 3rem;
    perspective: 1000px;
}

.notif-card {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform-origin: bottom center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notif-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.notif-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.notif-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Stacking Logic */
.notif-card.n-1 {
    top: 0;
    z-index: 3;
    animation: slideIn 0.8s ease-out forwards 0.2s;
}

.notif-card.n-2 {
    top: 15px;
    transform: scale(0.95) translateY(10px);
    z-index: 2;
    opacity: 0.6;
    animation: slideInStack 0.8s ease-out forwards 0.4s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInStack {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.85);
    }

    to {
        opacity: 0.6;
        transform: translateY(15px) scale(0.95);
    }
}

/* Helper Colors */
.icon-green {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Existing ... */
.live-clock-widget,
.hero-widget-visual {
    /* Keeping generic styles just in case, but specific visual-notification-stack overrides structure */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- [Widget] LOCATION RADAR (Visual) --- */
.visual-radar {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 200px;
    height: 200px;
}

.radar-circle {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, rgba(0, 50, 0, 0.2) 0%, transparent 70%);
}

.radar-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 255, 0, 0.4) 10%, transparent 15%);
    border-radius: 50%;
    animation: radarSpin 3s linear infinite;
}

.radar-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
}

.dot-1 {
    top: 40px;
    right: 60px;
    animation: blink 2s infinite;
}

.dot-2 {
    bottom: 50px;
    left: 50px;
    animation: blink 3s infinite;
}

.radar-overlay {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff00;
    font-family: monospace;
    font-size: 0.8rem;
    display: flex;
    gap: 1rem;
    white-space: nowrap;
}

@keyframes radarSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


/* --- CINEMATIC STACK SECTION (Parallax/Pricing) --- */
.cinema-stack-section {
    position: relative;
    padding: 10rem var(--container-padding);
    background: #050505;
    color: #fff;
    overflow: hidden;
}

.stack-header-sticky {
    position: absolute;
    top: 10rem;
    left: var(--container-padding);
    width: 300px;
    z-index: 10;
}

.stack-main-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.stack-zones-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15vh;
    position: relative;
}

.stack-zone {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 4rem;
    min-height: 50vh;
}

.zone-index {
    position: absolute;
    top: -2rem;
    right: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
}

.zone-content {
    flex: 1;
    z-index: 2;
}

.zone-title {
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 2rem;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
    transition: all 0.5s ease;
}

.stack-zone:hover .zone-title,
.stack-zone.active .zone-title {
    color: #fff;
    -webkit-text-stroke: 0px transparent;
}

.zone-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 2rem;
}

.zone-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.zone-tags li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #aaa;
    transition: all 0.3s;
}

.stack-zone:hover .zone-tags li {
    border-color: var(--accent-blue);
    color: #fff;
}

.zone-visual {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: transform 0.5s ease;
}

.panel-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.visual-orb {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
}

.orb-1 {
    background: var(--accent-blue);
}

.orb-2 {
    background: var(--accent-purple);
}

.orb-3 {
    background: var(--accent-green);
}


/* --- MODERN SHOWCASE SECTION (Bento Grid/Shared) --- */
.modern-showcase-section {
    padding: 3rem var(--container-padding) 6rem;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

/* Visual Side */
.visual-side {
    flex: 1.2;
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.dashboard-frame {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.browser-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding-left: 16px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e7eb;
}

/* Text Side */
.text-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #fff;
}


.pill-tag.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.pill-tag.purple {
    background: #f3e8ff;
    color: #a855f7;
}

.feature-block h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
}

.feature-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Feature List */
.modern-feature-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mf-item {
    border-left: 3px solid transparent;
    padding-left: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mf-item:hover,
.mf-item.active {
    border-left-color: var(--accent-blue);
}

.mf-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.mf-item:hover h3,
.mf-item.active h3 {
    color: var(--accent-blue);
}

.mf-item p {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.5;
}

/* Mobile Visual Side */
.mobile-visual-side {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phones-container.centered {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-raw-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
}

/* --- LOCATION SPECIFIC (Map Simulation Block) --- */
.sim-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: #eef2ff;
    overflow: hidden;
    border-radius: 4px;
}

.map-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.6;
}

.map-card-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
    z-index: 2;
    min-width: 140px;
}

.mc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.mc-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    animation: pulse 2s infinite;
}

.mc-stat {
    font-size: 0.85rem;
    color: #64748b;
}

.map-path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --- COMMON FOOTERS (Tech Strip) --- */
.tech-strip {
    background: #000;
    color: #fff;
    padding: 2rem 0;
    overflow: hidden;
    border-top: 1px solid #333;
}

.strip-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-family: 'Courier New', monospace;
}

.strip-label {
    color: var(--accent-blue);
    font-weight: 700;
}

.separator {
    color: #333;
}

/* Responsive Media Queries */
@media (max-width: 900px) {

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 3rem;
        text-align: left;
        padding: 0 !important;
        min-height: auto !important;
    }

    .visual-side {
        display: none !important;
    }

    .mf-item {
        border-left: none;
        border-bottom: 1px solid #e7e7e7ff !important;
        padding-left: 0;
        padding-bottom: 8px !important;
        margin-bottom: 8px;
    }

    .modern-showcase-section {
        gap: 3rem !important;
        padding: 3rem 1rem !important;
    }

    .mf-item:hover,
    .mf-item.active {
        border-bottom-color: var(--accent-blue);
    }

    .stack-header-sticky {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 4rem;
    }

    .stack-zone {
        flex-direction: column-reverse;
        padding-top: 2rem;
    }

    .zone-visual {
        width: 100%;
        height: 200px;
        justify-content: flex-start;
    }

    .modern-feature-list {
        gap: 0 !important;
    }
}

/* --- NEURAL CONTROL GRID (Shared Feature Block) --- */
.neural-grid-section {
    padding: 8rem var(--container-padding);
    background: #0f172a;
    /* Dark Navy Background for contrast */
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Background decorative glow */
.neural-grid-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.neural-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.neural-tag {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--service-accent);
    /* Dynamic Accent Color */
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.neural-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.neural-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* The Grid */
.neural-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* The Card */
.neural-card {
    background-color: rgba(255, 255, 255, 0.02);
    /* Very subtle fill */
    border-radius: 12px;
    position: relative;
    cursor: default;
    /* Create the border using a pseudo-element that we reveal */
}

/* The Content Container */
.neural-content {
    background-color: #131c31;
    /* Slightly lighter than section bg */
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Create a 1px gap for the border effect */
    margin: 1px;
}

/* The Magic Spotlight Effect */
.neural-grid:hover .neural-card::after {
    opacity: 1;
}

/* This pseudo-element follows the mouse to create the glow border */
.neural-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(14, 165, 233, 0.6),
            transparent 40%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

/* Inner Spotlight (Hovering on the content itself) */
.neural-grid:hover .neural-card::before {
    opacity: 1;
}

.neural-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

/* Content Styling */
.n-icon {
    font-size: 1.8rem;
    color: var(--service-accent);
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.neural-card:hover .n-icon {
    background: var(--service-accent);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.neural-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #fff;
}

.neural-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1100px) {
    .neural-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .neural-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   2. PAGE: ATTENDANCE MANAGEMENT
   (The Chronos Portal)
   ========================================= */

/* --- HERO: CHRONOS PORTAL --- */

/* 1. Container & Background */
.att-hero-section.new-hero {
    min-height: 100vh;
    background: #050505;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 80px;
    /* Space for Navbar */
}


/* Moving Aurora Blobs */
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: auroraFloat 10s infinite alternate;
}

.b1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
    /* Deep Blue */
    top: -20%;
    left: -10%;
}

.b2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    /* Violet */
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes auroraFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Tech Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* 2. Typography & Badge */
.system-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    /* Green */
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 1.5s infinite;
}

.status-text {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #a3a3a3;
}

.att-title {
    font-size: clamp(3.5rem, 6vw, 6rem);
    /* Larger Title */
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 3. The Chronos Widget (Glass Card) */
.chronos-widget-container {
    position: relative;
    width: 320px;
    margin: 3rem 0;
    perspective: 1000px;
    /* Enable 3D space */
}

.chronos-glass-card {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* Highlight top edge */
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 2;
    transform: rotateX(5deg);
    /* Slight 3D Tilt */
    transition: transform 0.3s ease;
}

.chronos-widget-container:hover .chronos-glass-card {
    transform: rotateX(0deg) scale(1.02);
}

/* Clock Header */
.c-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.8rem;
}

.c-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #64748b;
    font-weight: 700;
}

.c-icon {
    color: #10b981;
    font-size: 0.9rem;
}

/* Clock Display */
.c-clock-display {
    text-align: center;
    margin-bottom: 1.5rem;
}

#digital-clock {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    display: block;
    line-height: 1;
}

.c-unit {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 4px;
}

/* Scanner Strip */
.c-scanner-strip {
    position: relative;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.scan-data span {
    font-size: 0.65rem;
    font-family: monospace;
    color: #4ade80;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: scanLeftRight 2s ease-in-out infinite alternate;
}

@keyframes scanLeftRight {
    0% {
        left: 0;
        opacity: 0.5;
    }

    100% {
        left: 100%;
        opacity: 1;
    }
}

/* 4. Orbital Elements */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

.r1 {
    width: 450px;
    height: 450px;
    border-color: rgba(37, 99, 235, 0.2);
    animation: rotateSlow 20s linear infinite;
}

.r2 {
    width: 600px;
    height: 600px;
    border-color: rgba(124, 58, 237, 0.15);
    animation: rotateSlow 30s linear infinite reverse;
}

@keyframes rotateSlow {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.floating-chip {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 3;
    animation: floatChip 4s ease-in-out infinite;
}

.c1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
    font-size: 1.2rem;
    color: #3b82f6;
}

.c2 {
    bottom: 20px;
    left: -30px;
    animation-delay: 1.5s;
    font-size: 1.2rem;
    color: #f43f5e;
}

@keyframes floatChip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* 5. Buttons */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.btn-glow {
    background: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.link-subtle {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.link-subtle:hover {
    color: #fff;
    border-color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .att-title {
        font-size: 13vw;
    }

    .chronos-widget-container {
        transform: scale(0.9);
        margin: 2rem 0;
    }

    .r1,
    .r2 {
        display: none;
    }

    /* Hide large rings on mobile */
}

/* =========================================
   3. PAGE: LOCATION TRACKING
   (Orbital Command)
   ========================================= */

/* --- HERO: ORBITAL COMMAND --- */

/* 1. Container & Deep Space Background */
.att-hero-section.location-hero {
    min-height: 100vh;
    background: #020617;
    /* Deepest Navy/Black */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 80px;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Map Grid Pattern */
.map-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

/* Aurora Blobs (Cyan & Indigo) */
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    animation: auroraFloat 12s infinite alternate;
}

.b-cyan {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: -20%;
    right: -10%;
}

.b-indigo {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    bottom: -10%;
    left: -10%;
    animation-delay: -4s;
}

/* 2. Text & Typography */
.gradient-text-location {
    display: inline-block;
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 5s ease infinite;
}

.pulse-cyan {
    width: 8px;
    height: 8px;
    background: #06b6d4;
    border-radius: 50%;
    box-shadow: 0 0 15px #06b6d4;
    animation: blink 1.5s infinite;
}

/* 3. The Orbital Widget (Glass HUD) */
.orbital-widget-container {
    position: relative;
    width: 340px;
    margin: 3rem 0;
    perspective: 1200px;
}

.gps-glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.2);
    /* Cyan Border */
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 20px 60px -10px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(6, 182, 212, 0.05);
    position: relative;
    z-index: 2;
    transform: rotateX(10deg);
    transition: transform 0.4s ease;
}

.orbital-widget-container:hover .gps-glass-card {
    transform: rotateX(0deg) scale(1.02);
    border-color: rgba(34, 211, 238, 0.4);
}

/* HUD Header */
.gps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}



.live-tag {
    background: rgba(6, 182, 212, 0.1);
    color: #22d3ee;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.blink-dot {
    width: 6px;
    height: 6px;
    background: #22d3ee;
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* Radar Screen */
.radar-screen {
    width: 100%;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.radar-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(transparent 60%, rgba(34, 211, 238, 0.2) 61%, transparent 62%),
        linear-gradient(0deg, transparent 49%, rgba(34, 211, 238, 0.1) 50%, transparent 51%),
        linear-gradient(90deg, transparent 49%, rgba(34, 211, 238, 0.1) 50%, transparent 51%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
}

.radar-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(34, 211, 238, 0.3));
    border-radius: 50%;
    top: -50%;
    left: 0;
    /* Adjust for rectangular crop */
    transform-origin: bottom center;
    animation: radarSpin 3s linear infinite;
}

/* Map Blips */
.map-blip {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #22d3ee;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.blip-tooltip {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: #06b6d4;
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.map-blip:hover .blip-tooltip {
    opacity: 1;
}

/* Stats Footer */
.gps-footer {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.g-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.g-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.g-lbl {
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* 4. Orbiting Elements */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.p1 {
    width: 450px;
    height: 450px;
    animation: rotateSlow 30s linear infinite;
}

.p2 {
    width: 600px;
    height: 600px;
    border-color: rgba(34, 211, 238, 0.1);
    animation: rotateSlow 40s linear infinite reverse;
}

.floating-sat {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #0f172a;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #22d3ee;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 3;
    animation: floatChip 5s ease-in-out infinite;
}

.s1 {
    top: -30px;
    left: -20px;
    animation-delay: 0s;
}

.s2 {
    bottom: 20px;
    right: -40px;
    color: #818cf8;
    border-color: rgba(129, 140, 248, 0.3);
    animation-delay: 2.5s;
}

/* 5. Buttons */
.btn-glow-cyan {
    background: #22d3ee;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transition: all 0.3s ease;
}

.btn-glow-cyan:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
    background: #fff;
}

/* Animations */
@keyframes radarSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {

    .p1,
    .p2 {
        display: none;
    }

    .orbital-widget-container {
        transform: scale(0.9);
        margin: 2rem 0;
    }
}

/* --- [Variant] LOCATION HERO (Centered Mode/Ultrawide) --- */

/* 1. Layout & Structure */
.loc-hero-section.centered-mode {
    min-height: 100vh;
    /* Taller to accommodate stacked layout comfortably */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #020617;
    overflow: hidden;
    padding-top: 140px;
    /* Generous top spacing for Navbar */
    padding-bottom: 50px;
    text-align: center;
}

.loc-hero-container {
    width: 100%;
    max-width: 1200px;
    /* Constrained width for readability */
    padding: 0 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Space between Text and Visual */
    position: relative;
    z-index: 2;
}

/* 2. Background Updates for Center Focus */
.aurora-blob.b-indigo-center {
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 70%);
}

.aurora-blob.b-teal-center {
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
}

/* 3. Centered Typography */
.loc-text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    /* Prevent text from getting too wide */
    margin: 0 auto;
    margin-bottom: 26px;
}

.loc-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    /* Huge title */
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.loc-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
}

/* 4. The Ultrawide Console Visual */
.loc-visual-center {
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1500px;
    /* Deep 3D perspective */
}

/* --- 1. RESIZE THE CONSOLE --- */
.ultrawide-console-wrapper {
    position: relative;
    width: 100%;
    /* Reduced from 900px */
    max-width: 600px;
    /* Reduced from 450px */
    height: 300px;
    transform-style: preserve-3d;
    animation: consoleFloat 8s ease-in-out infinite;
}

/* --- 2. FIX THE "BLACK STAIN" (SVG STYLES) --- */
.route-svg-wide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.path-line-wide {
    fill: none;
    /* <--- THIS REMOVES THE BLACK STAIN */
    stroke: #22d3ee;
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dashMove 20s linear infinite;
    filter: drop-shadow(0 0 5px #22d3ee);
}

@keyframes dashMove {
    to {
        stroke-dashoffset: -100;
    }
}

/* The Glass Map Card */
.map-glass-ultrawide {
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Darker opacity for contrast */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-top: 1px solid rgba(34, 211, 238, 0.5);
    /* Highlight top edge */
    border-radius: 20px;
    box-shadow:
        0 50px 80px -20px rgba(0, 0, 0, 0.7),
        inset 0 0 40px rgba(34, 211, 238, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotateX(20deg);
    /* The "Tabletop" Tilt */
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.ultrawide-console-wrapper:hover .map-glass-ultrawide {
    transform: rotateX(5deg) scale(1.02);
    /* Lift up on hover */
}

/* HUD Top Bar */
.hud-top-bar {
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 8px;
}

.hud-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hud-dot.red {
    background: #ef4444;
}

.hud-dot.yellow {
    background: #f59e0b;
}

.hud-dot.green {
    background: #10b981;
}

.hud-title {
    margin-left: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 2px;
}

/* Tactical Map Area */
.tactical-map-wide {
    flex: 1;
    position: relative;
    background:
        linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    overflow: hidden;
}

/* Radar Emitter (Center Pulse) */
.radar-emitter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 20px #22d3ee;
}

.radar-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 50%;
    opacity: 0;
    animation: waveExpand 3s infinite linear;
}

@keyframes waveExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 2px;
    }

    100% {
        width: 800px;
        height: 800px;
        opacity: 0;
        border-width: 0px;
    }
}

/* Pins */
.map-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.pin-pulse {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.4);
    animation: pulsePin 2s infinite;
}

.pin-pulse.delay-1 {
    animation-delay: 0.5s;
}

.pin-pulse.delay-2 {
    animation-delay: 1s;
}

.pin-tooltip {
    margin-top: 8px;
    background: #0f172a;
    border: 1px solid #22d3ee;
    color: #22d3ee;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s;
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Bottom Bar */
.hud-bottom-bar {
    height: 36px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: #94a3b8;
}

.scan-progress {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.sp-fill {
    width: 60%;
    height: 100%;
    background: #22d3ee;
    animation: scanBar 2s infinite alternate;
}

/* Floating Data Side Panels */
.float-data {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(40px);
    /* 3D pop */
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
}

.left-data {
    left: -80px;
    text-align: right;
    border-right: 2px solid #22d3ee;
}

.right-data {
    right: -80px;
    text-align: left;
    border-left: 2px solid #22d3ee;
}

.d-label {
    font-size: 0.65rem;
    color: #64748b;
    letter-spacing: 1px;
}

.d-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.d-bar-group {
    display: flex;
    gap: 2px;
    justify-content: flex-end;
}

.db {
    width: 4px;
    height: 12px;
    background: #334155;
}

.db.full {
    background: #22d3ee;
}

/* Reflection Shadow */
.console-reflection {
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
    filter: blur(30px);
    transform: rotateX(80deg);
    z-index: -1;
}

/* Animations */
@keyframes consoleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes waveExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 2px;
    }

    100% {
        width: 120%;
        height: 120%;
        opacity: 0;
        border-width: 0;
    }
}

@keyframes pulsePin {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes scanBar {
    from {
        width: 20%;
    }

    to {
        width: 90%;
    }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .loc-hero-section.centered-mode {
        padding-top: 100px;
        min-height: auto;
    }

    .ultrawide-console-wrapper {
        transform: scale(0.65);
        /* Shrink significantly on mobile */
        height: 350px;
        margin-top: -50px;
    }

    .float-data {
        display: none;
        /* Hide side panels on mobile */
    }

    .loc-title {
        font-size: 14vw;
        /* Responsive font size */
    }
}

/* =========================================
   4. PAGE: PAYROLL MANAGEMENT
   (The Smart Ledger)
   ========================================= */

/* 1. Container & Perspective */
#payroll-visual-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    perspective: 1200px;
    /* Essential for 3D */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    /* Fixed height for stability */
    width: 100%;
}

.salary-card-wrapper {
    position: relative;
    width: 340px;
    height: auto;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    /* Smooth tilt on hover */
}

/* 2. The Glass Card */
.smart-pay-card {
    background: rgba(16, 185, 129, 0.1);
    /* Emerald Tint */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-top: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(16, 185, 129, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    transform: rotateX(5deg);
    animation: floatCard 6s ease-in-out infinite;
}

.salary-card-wrapper:hover .smart-pay-card {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 30px 60px -10px rgba(16, 185, 129, 0.2);
}

/* 3. Card Internals */
.spc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spc-chip {
    width: 40px;
    height: 28px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
}

.spc-brand {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    opacity: 0.8;
}

.spc-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.spc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.text-green {
    color: #34d399;
    font-weight: 600;
}

.spc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
    width: 0;
    /* Start width 0 for animation */
    animation: expandLine 1s ease-out forwards 0.5s;
}

.spc-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.t-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.t-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

/* 4. Progress Bar Footer */
.spc-footer {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.transfer-bar {
    position: relative;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #10b981;
    /* Emerald */
    opacity: 0.2;
    animation: loadBar 3s cubic-bezier(0.22, 1, 0.36, 1) forwards 1s;
}

.tb-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6ee7b7;
}

.tb-icon {
    opacity: 0;
    animation: fadeInIcon 0.5s forwards 3.5s;
}

/* 5. Success Toast (Popup) */
.success-toast {
    position: absolute;
    bottom: 2px;
    right: -100px;
    background: #fff;
    color: #064e3b;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 10;
    transform: translateY(20px) scale(0.9) translateZ(50px);
    animation: popToast 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.2s;
}

.st-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.st-text {
    display: flex;
    flex-direction: column;
}

.st-title {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.1;
}

.st-sub {
    font-size: 0.7rem;
    color: #666;
}

/* 6. Floating Coins */
.float-coin {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34d399, #059669);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
    z-index: 0;
}

.fc-1 {
    top: -20px;
    left: -20px;
    animation: floatCoin 4s ease-in-out infinite;
    font-size: 1.2rem;
}

.fc-2 {
    bottom: 40px;
    right: -30px;
    animation: floatCoin 5s ease-in-out infinite reverse;
    background: #334155;
    color: #94a3b8;
    font-size: 1rem;
}

/* 7. Animations */
@keyframes floatCard {

    0%,
    100% {
        transform: rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateX(5deg) translateY(-10px);
    }
}

@keyframes floatCoin {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes expandLine {
    to {
        width: 100%;
    }
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes popToast {
    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(50px);
    }
}

@keyframes fadeInIcon {
    to {
        opacity: 1;
    }
}

/* Mobile Fit */
@media (max-width: 600px) {
    .salary-card-wrapper {
        transform: scale(0.9);
    }

    .success-toast {
        right: 0;
    }
}

/* --- UPDATES FOR SALARY VISUAL --- */

/* 1. Remove Wifi Chip styles if no longer used, or simply ignore them */

/* 2. New Tag Style */
.spc-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #a7f3d0;
    /* Soft Green */
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot-pulse {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: blink 1s infinite;
}

/* 3. Text Colors */


.text-red {
    color: #f87171;
    font-weight: 600;
}

/* Soft Red for deductions */

/* 4. Generation Status Bar (Replaces Transfer Bar) */
.gen-status-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gs-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.gs-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #34d399);
    animation: fillGen 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}

.gs-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    color: #94a3b8;
}

.gs-text {
    transition: color 0.3s;
}

/* 5. Icon Update for Toast */
.st-icon.file-icon {
    background: #ef4444;
    /* PDF Red */
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* 6. Delay Animation for Deduction Row */
.delay-1 {
    animation-delay: 0.8s;
}

/* Keyframes */
@keyframes fillGen {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* =========================================
   5. PAGE: POLICY MANAGEMENT
   (The Digital Ledger)
   ========================================= */

/* 1. Container & Perspective */
#policy-visual-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 320px;
    /* Fixed height */
    width: 100%;

}

.policy-widget-wrapper {
    position: relative;
    width: 320px;
    height: auto;
    transform-style: preserve-3d;
    animation: floatWidget 6s ease-in-out infinite;
}

/* 2. The Smart Doc Card */
.smart-doc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    transform: rotateX(10deg);
    /* Slight 3D tilt */
    transition: transform 0.3s ease;
}

.policy-widget-wrapper:hover .smart-doc-card {
    transform: rotateX(0deg) scale(1.02);
}

/* 3. Card Internals */
.sdc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.sdc-icon {
    width: 36px;
    height: 36px;
    background: #043fab;
    /* Corporate Blue */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(4, 63, 171, 0.3);
}

.sdc-meta {
    display: flex;
    flex-direction: column;
}

.sdc-filename {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.sdc-status {
    color: #94a3b8;
    font-size: 0.7rem;
    font-family: monospace;
    transition: color 0.3s;
}

/* Abstract Lines */
.sdc-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.w-100 {
    width: 100%;
}

.w-80 {
    width: 80%;
}

.w-60 {
    width: 60%;
}

.w-90 {
    width: 90%;
}

/* Signature Area */
.sdc-footer {
    position: relative;
    margin-top: 0.5rem;
}

.signature-box {
    position: relative;
    height: 50px;
    display: flex;
    align-items: flex-end;
}

.sign-placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-family: monospace;
    font-size: 1rem;
}

.signature-svg {
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 120px;
    height: 40px;
    overflow: visible;
}

.sig-path {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    /* Hidden initially */
    /* Animation handled by JS or CSS keyframes below */
    animation: signWrite 2s ease-in-out forwards 1s;
}

/* 4. Verified Stamp */
.verified-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    width: 120px;
    height: 120px;
    border: 3px solid #10b981;
    /* Success Green */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #10b981;
    background: rgba(6, 78, 59, 0.8);
    /* Dark Green Tint */
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    /* Animation: Slam down */
    animation: stampSlam 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.2s;
}

.stamp-text {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.stamp-check {
    font-size: 1.5rem;
    margin-top: 5px;
}

/* 5. Floating Icons */
.float-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
    animation: floatIcon 5s ease-in-out infinite;
}

.fi-1 {
    top: -20px;
    left: -20px;
    font-size: 1.2rem;
    color: #60a5fa;
}

.fi-2 {
    bottom: 30px;
    right: -30px;
    font-size: 1rem;
    color: #f43f5e;
    animation-delay: 1s;
}

/* 6. Notification Toast */
.audit-toast {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(20px) translateZ(50px);
    z-index: 10;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: toastUp 0.5s forwards 3.8s;
}

.at-dot {
    width: 8px;
    height: 8px;
    background: #043fab;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.at-text {
    display: flex;
    flex-direction: column;
}

.at-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}

.at-time {
    font-size: 0.6rem;
    color: #666;
}

/* Animations */
@keyframes floatWidget {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes signWrite {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes stampSlam {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(-15deg);
    }
}

@keyframes toastUp {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) translateZ(50px);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .policy-widget-wrapper {
        transform: scale(0.9);
    }
}

/* =========================================
   6. PAGE: EXPENSE MANAGEMENT
   (The Approval Stream)
   ========================================= */

#expense-visual-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.expense-stream-wrapper {
    position: relative;
    width: 383px;
    height: 180px;
    /* Base size */
    transform-style: preserve-3d;
}

/* 1. The Cards (Receipts) */
.receipt-card {
    position: absolute;
    width: 100%;
    height: 212px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Stack Positioning */
.r-back {
    top: -30px;
    transform: scale(0.9) translateZ(-40px) rotate(-5deg);
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.03);
    animation: stackFloat 6s ease-in-out infinite reverse;
}

.r-mid {
    top: -15px;
    transform: scale(0.95) translateZ(-20px) rotate(3deg);
    opacity: 0.8;
    animation: stackFloat 5s ease-in-out infinite 1s;
}

.r-front {
    top: 0;
    transform: scale(1) translateZ(0) rotate(0deg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    /* Blue border */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(59, 130, 246, 0.05);
    z-index: 10;
    animation: heroFloat 6s ease-in-out infinite;
    overflow: hidden;
    /* For scan line */
}

/* 2. Front Card Content */
.rc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rc-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.rc-amount .curr {
    font-size: 1rem;
    margin-top: 5px;
    margin-right: 2px;
    color: #93c5fd;
}

.rc-status-pill {
    margin-top: auto;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.spin-icon {
    animation: spin 2s linear infinite;
}

/* Abstract Lines for Back Cards */
.rc-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 8px;
}

.w-50 {
    width: 50%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-40 {
    width: 40%;
}

/* 3. Laser Scanner Effect */
.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 45%, rgba(59, 130, 246, 0.2) 50%, transparent 55%);
    background-size: 100% 200%;
    animation: scanVertical 2.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    border-bottom: 2px solid #3b82f6;
    /* Laser Line */
    opacity: 0.7;
}

/* 4. Approval Pop-up */
.approval-pop {
    position: absolute;
    bottom: -30px;
    right: -40px;
    background: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 20;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    animation: popIn 4s infinite;
    /* Loops to show continuous processing */
}

.ap-icon {
    width: 32px;
    height: 32px;
    background: #10b981;
    /* Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
}

.ap-text {
    display: flex;
    flex-direction: column;
}

.ap-lbl {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
}

.ap-val {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}

/* 5. Floating Tags */
.float-tag {
    position: absolute;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.tag-1 {
    top: -20px;
    left: -20px;
    animation: floatTag 5s ease-in-out infinite;
}

.tag-2 {
    bottom: 20px;
    right: -50px;
    animation: floatTag 6s ease-in-out infinite reverse;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

/* 6. Background Glow */
.stream-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
}

/* Animations */
@keyframes stackFloat {

    0%,
    100% {
        transform: scale(0.9) translateZ(-40px) rotate(-5deg) translateY(0);
    }

    50% {
        transform: scale(0.9) translateZ(-40px) rotate(-5deg) translateY(-5px);
    }
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatTag {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes scanVertical {
    0% {
        background-position: 0% -20%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        background-position: 0% 120%;
        opacity: 0;
    }
}

@keyframes popIn {

    0%,
    80% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }

    85% {
        transform: scale(1.05) translateY(-5px);
        opacity: 1;
    }

    90% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    95% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    100% {
        transform: scale(0.9) translateY(-10px);
        opacity: 0;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .expense-stream-wrapper {
        transform: scale(0.85);
    }

    .approval-pop {
        right: 0;
        bottom: -50px;
    }
}

/* =========================================
   7. PAGE: ASSET MANAGEMENT
   (The Smart Inventory Tag)
   ========================================= */

#asset-visual-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    perspective: 1200px;
    display: flex;
    align-items: center;
    width: 100%;
}

.asset-card-wrapper {
    position: relative;
    width: 340px;
    height: auto;
    animation: gentleFloat 6s ease-in-out infinite;
}

/* 1. The Card */
.digital-asset-card {
    background: rgba(15, 23, 42, 0.9);
    /* Deep Slate */
    border: 1px solid rgba(139, 92, 246, 0.3);
    /* Purple Border */
    border-radius: 24px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(139, 92, 246, 0.05);
    position: relative;
    overflow: hidden;
    transform: rotateX(5deg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.asset-card-wrapper:hover .digital-asset-card {
    transform: rotateX(0deg) scale(1.02);
    border-color: rgba(139, 92, 246, 0.6);
}

/* 2. Product Header */
.dac-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.device-preview {
    width: 50px;
    height: 50px;
    background: #a78bfa;
    /* Light Purple */
    color: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.3);
}

.device-info {
    display: flex;
    flex-direction: column;
}

.d-name {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 2px;
}

.d-id {
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: monospace;
    letter-spacing: 1px;
}

/* 3. Data Grid */
.dac-grid {
    display: flex;
    justify-content: space-between;
}

.dac-data-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lbl {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.val-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 10px;
    border-radius: 8px;
}

.user-avatar-sm {
    width: 24px;
    height: 24px;
    background: #6366f1;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.val {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.text-purple {
    color: #c084fc;
}

/* 4. Accessories */
.dac-accessories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-list {
    display: flex;
    gap: 10px;
}

.acc-item {
    width: 36px;
    height: 36px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.acc-item:hover {
    background: #334155;
    color: #fff;
    transform: translateY(-3px);
}

.acc-item.check {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
    margin-left: auto;
    /* Push to right */
}

/* 5. Floating Pills */
.status-pill {
    position: absolute;
    background: #0f172a;
    border: 1px solid #334155;
    padding: 6px 12px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dot-g {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 5px #22c55e;
}

.p-1 {
    top: 23px;
    right: -23px;
    animation: floatPill 4s ease-in-out infinite;
}

.p-2 {
    bottom: 67px;
    left: -32px;
    animation: floatPill 5s ease-in-out infinite reverse;
}

/* 6. Scan Line Animation */
.card-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #a78bfa;
    box-shadow: 0 0 15px #a78bfa;
    opacity: 0.5;
    animation: scanCard 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Background Circles */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.c-1 {
    width: 150px;
    height: 150px;
    background: rgba(139, 92, 246, 0.2);
    top: -20px;
    left: -20px;
}

.c-2 {
    width: 120px;
    height: 120px;
    background: rgba(59, 130, 246, 0.15);
    bottom: -10px;
    right: -10px;
}

/* Animations */
@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatPill {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes scanCard {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .asset-card-wrapper {
        transform: scale(0.9);
    }
}

/* =========================================
   8. PAGE: HIERARCHY MANAGEMENT
   (The Living Org-Chart)
   ========================================= */

#hierarchy-visual-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    perspective: 1000px;
    display: flex;
    align-items: center;
    width: 100%;

}

.org-structure-wrapper {
    position: relative;
    width: 360px;
    height: auto;
    transform-style: preserve-3d;
    animation: structureFloat 6s ease-in-out infinite;
}

/* 1. The 3D Tree Layout */
.org-tree-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

/* 2. Level 1: Leader Card */
.leader-card {
    background: rgba(30, 41, 59, 0.9);
    /* Dark Blue Slate */
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 5;
    transform: translateZ(20px);
    transition: transform 0.3s;
}

.org-structure-wrapper:hover .leader-card {
    transform: translateZ(30px) scale(1.05);
    border-color: #3b82f6;
}

.node-avatar-lg {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    border: 2px solid #fff;
}

.node-avatar-lg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-ring {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #1e293b;
    border-radius: 50%;
}

.node-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.n-role {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
}

.n-name {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

/* 3. Connectors & Branches */
.conn-line-vertical {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: rgba(59, 130, 246, 0.5);
}

.tree-branch-horizontal {
    width: 200px;
    /* Width between managers */
    height: 2px;
    background: rgba(59, 130, 246, 0.3);
    margin-top: 30px;
    /* Space from leader */
    position: relative;
}

/* Moving Data Streams */
.data-stream {
    position: absolute;
    top: -2px;
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 8px #60a5fa;
}

.d1 {
    left: 50%;
    animation: streamLeft 3s infinite linear;
}

.d2 {
    right: 50%;
    animation: streamRight 3s infinite linear;
}

/* 4. Level 2: Manager Cards */
.tree-level.level-2 {
    display: flex;
    justify-content: space-between;
    width: 380px;
    /* Wider than branch to sit on ends */
    margin-top: 30px;
    /* Space from branch line */
}

.manager-card {
    position: relative;
    width: 160px;
    transform-style: preserve-3d;
    transition: transform 0.3s;
}

.m-left {
    transform: rotateY(10deg);
}

.m-right {
    transform: rotateY(-10deg);
}

.org-structure-wrapper:hover .m-left {
    transform: rotateY(0deg) translateX(-5px);
}

.org-structure-wrapper:hover .m-right {
    transform: rotateY(0deg) translateX(5px);
}

.conn-line-up {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 30px;
    background: rgba(59, 130, 246, 0.3);
}

.card-glass-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.node-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.node-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.node-avatar-sm img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.node-meta {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nm-role {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
}

.nm-dept {
    font-size: 0.65rem;
    color: #94a3b8;
}

.node-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ns-item {
    font-size: 0.7rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ns-item i {
    color: #60a5fa;
}

/* 5. Floating Tag */
.live-tag-float {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: floatTag 4s ease-in-out infinite;
    z-index: 10;
}

.pulse-dot-blue {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 8px #3b82f6;
    animation: blink 2s infinite;
}

/* Background Grid */
.structure-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(circle, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
    z-index: 0;
    transform: translateZ(-50px);
}

/* Animations */
@keyframes structureFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes streamLeft {
    0% {
        left: 50%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        left: 0%;
        opacity: 0;
    }
}

@keyframes streamRight {
    0% {
        right: 50%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        right: 0%;
        opacity: 0;
    }
}

@keyframes floatTag {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .org-structure-wrapper {
        transform: scale(0.85);
    }

    .tree-branch-horizontal {
        width: 140px;
    }

    .tree-level.level-2 {
        width: 300px;
    }
}

/* =========================================
   9. COMPONENT: NOTIFICATION GEM
   (Global News/Alert Visual)
   ========================================= */

#news-visual-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 0 !important;
    perspective: 1000px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.gem-wrapper {
    position: relative;
    width: 200px;
    /* Compact & Simple */
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* 1. The Main Gem */
.notification-gem {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    /* Soft Squircle */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow:
        0 20px 40px rgba(37, 99, 235, 0.2),
        /* Blue glow shadow */
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    z-index: 10;
    animation: gemFloat 6s ease-in-out infinite;
}

/* UPDATED ICON STYLE FOR VISIBILITY */
.gem-icon {
    font-size: 4rem;
    /* Made it larger */
    color: #2563eb;
    /* Solid Royal Blue */
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.6));
    /* Strong Glow */
    z-index: 2;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
    animation: bellRing 5s infinite;
}

/* Hover Effect */
.gem-wrapper:hover .gem-icon {
    transform: rotate(0deg) scale(1.1);
    color: #1d4ed8;
    /* Darker blue on hover */
}

.gem-sparkle {
    position: absolute;
    top: 35px;
    left: 35px;
    font-size: 1.2rem;
    color: #fff;
    filter: drop-shadow(0 0 5px #fff);
    animation: pulseBig 2s infinite;
    z-index: 2;
}

/* 3. The Badge */
.gem-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: #ef4444;
    /* Alert Red */
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
    z-index: 5;
    animation: badgePop 6s infinite;
}

/* 4. Shine Reflection */
.gem-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, transparent 40%);
    opacity: 0.6;
    pointer-events: none;
}

/* 5. Shadow */
.gem-shadow {
    position: absolute;
    bottom: -40px;
    width: 80px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    animation: shadowPulse 6s ease-in-out infinite;
}

/* 6. Background Pulse */
.gem-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulseBig 4s infinite;
    z-index: 0;
}

/* 7. Abstract Wave Lines */
.wave-line {
    position: absolute;
    width: 40px;
    height: 80px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-top-color: transparent;
}

.right-wave {
    right: -40px;
    animation: waveOutRight 2s infinite;
}

.left-wave {
    left: -40px;
    transform: rotate(180deg);
    animation: waveOutLeft 2s infinite;
}

/* Animations */
@keyframes gemFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes shadowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

@keyframes bellRing {

    0%,
    90% {
        transform: rotate(-10deg);
    }

    92% {
        transform: rotate(10deg);
    }

    94% {
        transform: rotate(-10deg);
    }

    96% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

@keyframes badgePop {

    0%,
    90% {
        transform: scale(1);
    }

    95% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulseBig {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes waveOutRight {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0.8);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(20px) scale(1.1);
    }
}

@keyframes waveOutLeft {
    0% {
        opacity: 0;
        transform: rotate(180deg) translateX(0) scale(0.8);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(180deg) translateX(20px) scale(1.1);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .gem-wrapper {
        transform: scale(0.9);
    }
}

/* --- UNIQUE SECTION: NEURAL NEXUS --- */
.neural-nexus-section {
    position: relative;
    height: 80vh;
    /* Tall, cinematic height */
    background: #020617;
    /* Deepest Navy/Black */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* 1. Canvas Background */
#neuro-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    /* Subtle particle effect */
}

/* 2. Vast Watermark Typography */
.vast-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 25vw, 30rem);
    /* MASSIVE responsive font */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    /* Barely visible */
    z-index: 0;
    pointer-events: none;
    letter-spacing: -10px;
    white-space: nowrap;
    user-select: none;
}

/* 3. The Glass Monolith */
.nexus-content {
    position: relative;
    z-index: 5;
    /* Above canvas */
    padding: 0 2rem;
}

.nexus-glass-card {
    background: rgba(15, 23, 42, 0.4);
    /* Dark semi-transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.15);
    /* Cyan border */
    border-radius: 30px;
    padding: 4rem;
    max-width: 600px;
    text-align: center;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(34, 211, 238, 0.05);
    /* Inner glow */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.nexus-glass-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.6),
        inset 0 0 50px rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
}

.nexus-tag {
    font-family: 'Courier New', monospace;
    color: #06b6d4;
    /* Cyan */
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.nexus-title {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.nexus-title .small {
    font-size: 2rem;
    color: #94a3b8;
    vertical-align: super;
}

.nexus-body p {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.nexus-body .highlight {
    color: #22d3ee;
    font-weight: 600;
    border-bottom: 1px dashed #22d3ee;
}

.nexus-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.stat-pill i {
    color: #06b6d4;
}

.stat-pill:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .neural-nexus-section {
        height: auto;
        padding: 6rem 1rem;
    }

    .nexus-glass-card {
        padding: 2rem;
    }

    .nexus-title {
        font-size: 4rem;
    }

    .vast-watermark {
        display: none;
    }

    /* Hide heavy text on mobile */
}



/* --- UNIQUE SECTION: PRIVACY LENS --- */
.privacy-lens-section {
    padding: 8rem var(--container-padding);
    background: #0f172a;
    /* Slate Dark */
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    /* Hint at interaction */
}

.lens-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
}

.lens-tag {
    font-family: 'Courier New', monospace;
    color: #3b82f6;
    /* Blue */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.lens-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    line-height: 1.1;
    font-weight: 800;
}

.text-blur {
    color: rgba(255, 255, 255, 0.5);
    filter: blur(2px);
    transition: all 0.3s;
}

.text-code {
    color: #3b82f6;
    font-family: 'Courier New', monospace;
}

.lens-sub {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

/* CONTAINER */
.lens-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 400px;
    /* Space for cards */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LAYERS */
.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* Human Layer (Top) */
.human-layer {
    z-index: 2;
    background: #0f172a;
    /* Covers the machine layer */
    /* We will punch a hole in this background using clip-path */
    /* Actually, we'll clip the MACHINE layer to show it ON TOP. 
       Wait, the standard 'Flashlight' reveals what's UNDER. 
       So Human Layer is default. Machine Layer is on top but clipped. */
}

/* Machine Layer (The Reveal) */
.machine-layer {
    z-index: 3;
    pointer-events: none;
    /* The Magic: Initially hidden, revealed by JS clip-path */
    clip-path: circle(0px at 50% 50%);
    background: #020617;
    /* Darker background for contrast */
}

/* CARDS */
.id-card {
    background: #fff;
    width: 280px;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.id-avatar {
    width: 80px;
    height: 80px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.id-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.id-info p {
    color: #64748b;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-badge.success {
    background: #dbeafe;
    color: #1d4ed8;
}

/* MACHINE STYLE OVERRIDES */
.machine-card {
    background: #0f172a;
    /* Dark card */
    border: 1px solid #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
}

.id-avatar.wireframe {
    background: transparent;
    border: 2px dashed #3b82f6;
    color: #3b82f6;
}

.hash-text {
    font-family: 'Courier New', monospace;
    color: #3b82f6 !important;
    letter-spacing: 1px;
}

.status-badge.encrypted {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

/* FLASHLIGHT RING (Visual Border for the cut) */
.lens-ring {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3);
    opacity: 0;
    /* Hidden until mouse moves */
    transition: opacity 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    .layer {
        flex-direction: column;
        height: auto;
        position: relative;
    }

    .lens-container {
        height: auto;
    }

    /* Disable effect on mobile, show stack */
    .human-layer {
        position: relative;
        padding-bottom: 2rem;
    }

    .machine-layer {
        display: none;
    }

    /* Too complex for touch */
    .lens-ring {
        display: none;
    }
}

/* --- NEW HERO: SENTIENT AI --- */

/* 1. Container & Background */
.att-hero-section.face-hero {
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 80px;
    perspective: 1000px;
}

/* Moving Vertical Data Lines */
.vertical-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-around;
    opacity: 0.2;
    pointer-events: none;
}

.vertical-lines span {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #3b82f6, transparent);
    transform: translateY(-100%);
    animation: rainDrop 5s infinite linear;
}

.vertical-lines span:nth-child(2) {
    animation-delay: 1s;
    animation-duration: 7s;
}

.vertical-lines span:nth-child(3) {
    animation-delay: 3s;
    animation-duration: 6s;
}

.vertical-lines span:nth-child(4) {
    animation-delay: 0.5s;
    animation-duration: 8s;
}

@keyframes rainDrop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.vignette-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, black 100%);
    z-index: 1;
}

/* 2. Badge & Text */
.ai-status-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.waveform-icon {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 15px;
}

.waveform-icon .bar {
    width: 3px;
    background: #3b82f6;
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}

.waveform-icon .bar:nth-child(2) {
    height: 15px;
    animation-delay: 0.1s;
}

.waveform-icon .bar:nth-child(1),
.waveform-icon .bar:nth-child(3) {
    height: 8px;
    animation-delay: 0.2s;
}

@keyframes wave {

    0%,
    100% {
        height: 8px;
        opacity: 0.5;
    }

    50% {
        height: 15px;
        opacity: 1;
    }
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 3. THE SENTIENT VISUAL WRAPPER */
.sentient-wrapper {
    position: relative;
    width: 300px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Head Shape */
.cyber-head {
    width: 220px;
    height: 280px;
    background: rgba(10, 10, 20, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px 100px 80px 80px;
    /* Head Shape */
    position: relative;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.1s ease-out;
    /* For mouse tilt */
}

/* The Glowing "Brain" */
.brain-pulse {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 60px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    filter: blur(15px);
    animation: pulseBrain 3s infinite;
}

@keyframes pulseBrain {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }
}

/* The Eyes Container */
.cyber-eyes {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.eye-socket {
    width: 50px;
    height: 14px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.eye-ball {
    width: 14px;
    height: 14px;
    background: #60a5fa;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    /* Start center */
    transform: translateX(-50%);
    box-shadow: 0 0 10px #60a5fa, 0 0 20px #60a5fa;
    /* Transition handled by JS for smoothness */
}

/* Tech Face Grid */
.face-grid-mask {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(0deg, transparent 24%, rgba(59, 130, 246, 0.1) 25%, rgba(59, 130, 246, 0.1) 26%, transparent 27%, transparent 74%, rgba(59, 130, 246, 0.1) 75%, rgba(59, 130, 246, 0.1) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(59, 130, 246, 0.1) 25%, rgba(59, 130, 246, 0.1) 26%, transparent 27%, transparent 74%, rgba(59, 130, 246, 0.1) 75%, rgba(59, 130, 246, 0.1) 76%, transparent 77%, transparent);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

/* Scanning Laser */
.laser-beam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3b82f6;
    box-shadow: 0 0 20px #3b82f6;
    opacity: 0.8;
    animation: scanFace 3s infinite ease-in-out alternate;
}

@keyframes scanFace {
    0% {
        top: 10%;
    }

    100% {
        top: 90%;
    }
}

/* Floating Nodes */
.data-node {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: floatNode 4s infinite ease-in-out;
}

.n1 {
    top: 20%;
    right: -40px;
    border-left: 2px solid #3b82f6;
}

.n2 {
    bottom: 20%;
    left: -40px;
    animation-delay: 2s;
    border-left: 2px solid #3b82f6;
}

.node-label {
    font-size: 0.6rem;
    color: #888;
    letter-spacing: 1px;
}

.node-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

@keyframes floatNode {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Button */
.btn-cyan-outline {
    background: transparent;
    color: #06b6d4;
    border: 1px solid #06b6d4;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-cyan-outline:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

@media (max-width: 768px) {
    .sentient-wrapper {
        transform: scale(0.9);
    }

    .n1,
    .n2 {
        display: none;
    }

    /* Hide floating stats on mobile */
}

/* --- MODERN SHOWCASE HEADING (Desktop Only) --- */
.modern-showcase-heading {
    display: none;
    /* Hidden on mobile */
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .modern-showcase-heading {
        display: flex;
    }
}

.ms-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ms-pill .ms-icon {
    color: var(--service-accent, #3b82f6);
    /* Fallback to blue */
    font-size: 1rem;
}

.ms-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
    letter-spacing: -1px;
}

.ms-gradient {
    background: linear-gradient(135deg, var(--service-accent, #3b82f6) 0%, #1e293b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.ms-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    line-height: 1.6;
}