@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-hero: #18181B;
    --bg-canvas: #FAF8F8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFFFF;
    
    --primary-cherry: #DC2626;
    --primary-cherry-hover: #B91C1C;
    --primary-cherry-light: #FECDD3;
    --primary-cherry-bg: #FFF1F2;
    
    --text-dark: #18181B;
    --text-muted: #52525B;
    --text-light: #F4F4F5;
    --border-light: #E4E4E7;
    --border-cherry: #FECDD3;
    
    --accent-emerald: #10B981;
    --accent-amber: #F59E0B;
    --accent-purple: #8B5CF6;
    
    --shadow-soft: 0 4px 16px rgba(24, 24, 27, 0.04);
    --shadow-floating: 0 10px 30px rgba(220, 38, 38, 0.08);
    
    /* SHARP EDGES ARCHITECTURE - 0px BORDER RADIUS */
    --radius-pill: 0px;
    --radius-xl: 0px;
    --radius-lg: 0px;
    --radius-md: 0px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; /* Enforce Sharp Edges Globally */
}

/* Executive Subtle Cherry Command Grid Background */
body {
    background-color: #FAF8F8;
    background-image: linear-gradient(to right, rgba(220, 38, 38, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(220, 38, 38, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Executive TG Navbar */
.exec-navbar {
    background: var(--bg-hero);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exec-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.exec-brand span {
    color: var(--primary-cherry);
}

.nav-modules {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-module-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 0 !important;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-module-btn:hover {
    color: #FFFFFF;
}

.nav-module-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--primary-cherry);
}

.exec-phone-pill {
    background: var(--primary-cherry);
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 0 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: none;
}

/* Executive Hero Section */
.exec-hero {
    background: linear-gradient(180deg, #18181B 0%, #27272A 100%);
    color: #FFFFFF;
    padding: 60px 32px 100px;
    position: relative;
    overflow: hidden;
}

.exec-hero-subtitle {
    color: var(--primary-cherry);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exec-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 50px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.exec-hero-title mark {
    background: transparent;
    color: var(--primary-cherry);
}

.exec-hero-desc {
    color: #A1A1AA;
    font-size: 16px;
    max-width: 680px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.exec-btn-group {
    display: flex;
    gap: 14px;
    margin-bottom: 50px;
}

.btn-cherry {
    background: var(--primary-cherry);
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 0 !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    box-shadow: none;
}

.btn-cherry:hover {
    background: var(--primary-cherry-hover);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

/* Floating Executive Quick Command Card */
.exec-floating-card {
    background: #FFFFFF;
    border-radius: 0 !important;
    padding: 24px 32px;
    box-shadow: var(--shadow-floating);
    max-width: 1200px;
    margin: -60px auto 40px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-cherry);
}

.exec-floating-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.exec-floating-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-dark);
    text-transform: uppercase;
}

.exec-floating-features {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.exec-floating-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.exec-floating-features span i {
    color: var(--primary-cherry);
}

/* App Main Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 24px;
    width: 100%;
    flex: 1;
}

.module-content {
    display: none;
}

.module-content.active {
    display: block;
}

/* Executive Module Design Header Badge */
.exec-module-badge {
    background: var(--primary-cherry-bg);
    border: 1px solid var(--primary-cherry-light);
    color: var(--primary-cherry);
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-radius: 0 !important;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
}

/* Executive Cards */
.finezjo-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 0 !important;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

/* Executive Metrics Bar - STATIC / NO HOVER */
.exec-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .exec-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

.exec-metric-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 0 !important;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 16px;
}

.exec-metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.exec-metric-val {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
}

.exec-metric-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

/* Section Header styling */
.tg-section-subtitle {
    color: var(--primary-cherry);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-align: center;
}

.tg-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.tg-section-title span {
    color: var(--primary-cherry);
}

/* 5 Feature Cards Grid - STATIC / NO HOVER */
.tg-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .tg-categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .tg-categories-grid { grid-template-columns: 1fr; }
}

.tg-cat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 0 !important;
    padding: 24px 18px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.tg-cat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-cherry-bg);
    border: 1px solid var(--primary-cherry-light);
    color: var(--primary-cherry);
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}

.tg-cat-title {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 900;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tg-cat-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* 5-Step Process Grid - STATIC / NO HOVER */
.tg-process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .tg-process-grid { grid-template-columns: repeat(2, 1fr); }
}

.tg-process-step {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 0 !important;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-soft);
}

.tg-step-num {
    background: var(--primary-cherry);
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 0 !important;
}

.tg-step-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tg-step-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

/* Forms & Inputs */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background: #FAF8F8;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 12px 16px;
    border-radius: 0 !important;
    font-size: 14px;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-cherry);
}

/* Split-Screen Image Box */
.split-screen-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.split-image-panel {
    background: #FAF8F8;
    border: 1px solid var(--border-light);
    border-radius: 0 !important;
    padding: 12px;
    text-align: center;
}

.split-image-panel img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0 !important;
    border: 1px solid var(--border-light);
}

/* EXIF Geofence Badge */
.geofence-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 0 !important;
    font-size: 12px;
    font-weight: 700;
}

.geofence-valid {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.geofence-warning {
    background: rgba(220, 38, 38, 0.12);
    color: var(--primary-cherry);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* SLA Ticking Countdown Timer */
.sla-timer {
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 0 !important;
    display: inline-block;
}

.sla-ok { background: #E6F4EA; color: #137333; }
.sla-breached { background: #FCE8E6; color: #C5221F; border: 1px solid #F2B8B5; }

/* Camera Box & Centered Controls */
.camera-box {
    background: #18181B;
    border: 2px dashed var(--border-cherry);
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.exec-camera-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 18px;
}

.exec-camera-controls-grid .btn-dark,
.exec-camera-controls-grid .btn-cherry {
    width: 100%;
    justify-content: center;
    text-align: center;
}

video.camera-video { width: 100%; height: 100%; object-fit: cover; }
canvas.camera-canvas { display: none; }
img.captured-preview { width: 100%; height: 100%; object-fit: cover; }

/* Map */
#exec-map {
    width: 100%;
    height: 400px;
    border-radius: 0 !important;
    border: 1px solid var(--border-light);
    z-index: 1;
}

/* Predictive Radar Alert Banner */
.radar-alert {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-left: 5px solid #F59E0B;
    padding: 16px;
    border-radius: 0 !important;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Code Container */
.rti-code-box {
    background: #18181B;
    color: #F4F4F5;
    padding: 18px;
    border-radius: 0 !important;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-top: 14px;
    border-left: 4px solid var(--primary-cherry);
}

/* Badges */
.badge-category {
    padding: 4px 10px;
    border-radius: 0 !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-critical { background: #FCE8E6; color: #C5221F; }
.badge-high { background: #FEF7E0; color: #B06000; }
.badge-medium { background: #E8F0FE; color: #1A73E8; }
.badge-low { background: #E6F4EA; color: #137333; }

/* Footer */
footer {
    background: var(--bg-hero);
    color: #A1A1AA;
    padding: 30px;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}
