/*
    MyDashboardPro - Core Design System
    A unified CSS framework for the MyDashboardPro landing and support pages.
*/

:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.2);
    --secondary: #6366f1;
    --secondary-glow: rgba(99, 102, 241, 0.2);
    --bg-light: #ffffff;
    --bg-offwhite: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-light: #e2e8f0;
    --selection-bg: rgba(16, 185, 129, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

::selection {
    background: var(--selection-bg);
    color: var(--text-main);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
.font-outfit {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- BACKGROUND EFFECTS --- */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-offwhite);
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.25;
    animation: move 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 800px;
    height: 800px;
    background: rgba(16, 185, 129, 0.3);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 700px;
    height: 700px;
    background: rgba(99, 102, 241, 0.2);
    bottom: -200px;
    left: -150px;
    animation-delay: -7s;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 150px) scale(1.1);
    }
}

/* --- NAVBAR --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0);
}

nav.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.logo .part-2 {
    color: var(--primary-dark);
}

.logo .part-3 {
    opacity: 0.4;
    margin-left: 2px;
    transition: opacity 0.3s, color 0.3s;
}

.logo:hover .part-3 {
    opacity: 1;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* --- BUTTONS --- */
.btn {
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--primary-glow);
}

.btn-ghost {
    color: var(--text-main);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--bg-offwhite);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: var(--border-light);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: var(--bg-offwhite);
}

/* --- HERO SECTION --- */
.hero {
    padding: 140px 20px 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-dark);
    padding: 0.6rem 1.4rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--text-main);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.preview-container {
    width: 100%;
    max-width: 1100px;
    background: var(--bg-light);
    padding: 8px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.preview-header {
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-offwhite);
    border-radius: 16px 16px 0 0;
}

.preview-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.preview-header .dot:nth-child(1) {
    background: #ef4444;
}

.preview-header .dot:nth-child(2) {
    background: #f59e0b;
}

.preview-header .dot:nth-child(3) {
    background: #10b981;
}

.preview-mockup {
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    background: #f1f5f9;
}

.preview-mockup img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.preview-container:hover img {
    transform: scale(1.02);
}

/* --- STATS SECTION --- */
.stats {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-inner {
    background: var(--bg-light);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.stat-item h4 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.stat-item p {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8rem;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: var(--bg-offwhite);
    color: var(--primary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.feature-card:hover .icon-box {
    background: var(--primary);
    color: white;
    transform: scale(1.05) rotate(5deg);
    border-color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- SMALL FEATURE CARDS --- */
.feature-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card-small {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-card-small:hover {
    transform: translateY(-3px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.feature-card-small .icon-box-small {
    width: 40px;
    height: 40px;
    background: var(--bg-offwhite);
    color: var(--primary-dark);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.feature-card-small h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.step-card {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

/* --- PRICING SECTION --- */
#pricing {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 4rem 2.5rem;
    border-radius: 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    background: var(--bg-light);
    border: 2px solid var(--primary);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.15);
    transform: scale(1.02);
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--text-main);
}

.price span {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-list {
    list-style: none;
    margin: 1.5rem 0 2.5rem;
}

.pricing-list li {
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.pricing-list li i {
    color: var(--primary-dark);
    flex-shrink: 0;
}

/* --- LOGO CLOUD --- */
.logo-cloud {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.logo-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100px;
    width: 240px;
}

.logo-item img {
    max-height: 80px;
    max-width: 100%;
    transition: all 0.3s ease;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- SHOWCASE SECTIONS (HTML UI MOCKUPS) --- */
.showcase-section {
    padding: 100px 5%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.showcase-reverse {
    flex-direction: row-reverse;
}

.showcase-content {
    flex: 1;
}

.showcase-subtitle {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #d97706;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.showcase-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.showcase-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-visual {
    flex: 1.2;
    position: relative;
    min-height: 500px;
}

/* --- UI MOCKUP DETAILS --- */
.ui-mockup-bg {
    position: absolute;
    top: -10px;
    right: -20px;
    width: 90%;
    height: 90%;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 24px;
    z-index: 0;
    transform: rotate(2deg);
}

.ui-mockup-card {
    position: absolute;
    top: 20px;
    left: -10%;
    width: 110%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
    z-index: 1;
    padding: 1rem;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.t-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
}

.t-nav {
    display: flex;
    gap: 0.5rem;
}

.t-nav-item {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    text-transform: uppercase;
}

.t-nav-item.active {
    background: #2563eb;
    color: white;
}

.t-metrics {
    display: flex;
    gap: 1.5rem;
}

.t-metric {
    text-align: center;
}

.t-metric span {
    display: block;
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.t-metric strong {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 800;
}

.t-metric strong.dark {
    color: var(--text-main);
}

.t-actions {
    display: flex;
    gap: 0.5rem;
}

.t-btn {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    background: white;
}

.t-btn.primary {
    background: #2563eb;
    color: white;
    border: none;
}

.t-grid {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: #f8fafc;
}

.t-row {
    display: grid;
    grid-template-columns: 140px repeat(6, 1fr);
    border-bottom: 1px solid var(--border-light);
    align-items: stretch;
    min-height: 35px;
}

.t-row:last-child {
    border-bottom: none;
}

.t-cell {
    padding: 0.4rem;
    border-right: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 600;
}

.t-cell.t-label {
    justify-content: flex-start;
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.65rem;
}

.t-cell.t-sales {
    color: #059669;
    font-weight: 800;
}

.t-employee {
    background: white;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem;
}

.t-emp-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.t-emp-stats {
    font-size: 0.5rem;
    color: #64748b;
    display: flex;
    gap: 0.5rem;
}

.t-timeline {
    grid-column: span 6;
    background: white;
    position: relative;
    padding: 0.5rem;
    background-image: linear-gradient(to right, var(--border-light) 1px, transparent 1px);
    background-size: 16.66% 100%;
}

.t-shift-bar {
    display: flex;
    height: 24px;
    border-radius: 4px;
    overflow: hidden;
    width: 80%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.t-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}

.t-seg-admin {
    background: #334155;
    width: 15%;
}

.t-seg-prep {
    background: #22c55e;
    width: 15%;
}

.t-seg-pizza {
    background: #f59e0b;
    width: 15%;
}

.t-seg-main {
    background: #3b82f6;
    width: 55%;
    font-weight: 600;
}

.callout-box {
    border: 1px dashed var(--primary);
    background: var(--primary-glow);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.callout-box h4 {
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.callout-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.list-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 24px;
    z-index: 0;
    transform: rotate(-1deg);
}

.list-card {
    position: absolute;
    top: 20px;
    right: -5%;
    width: 110%;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    z-index: 1;
    padding: 1.5rem;
}

.list-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.list-item.active {
    border: 1px solid #d8b4fe;
}

.list-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-pill {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.55rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    width: max-content;
    letter-spacing: 0.05em;
}

.list-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
}

.list-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.list-meta {
    color: #a78bfa;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.list-icons {
    display: flex;
    gap: 0.4rem;
    color: var(--text-muted);
}

.list-icon-box {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-bg {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 100%;
    height: 90%;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 24px;
    z-index: 0;
    transform: rotate(1deg);
}

.comp-card {
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    z-index: 1;
    overflow: hidden;
}

.comp-header {
    background: #4f46e5;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comp-header h2 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.comp-header p {
    font-size: 0.6rem;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.comp-body {
    padding: 1.5rem;
}

.comp-alert {
    border: 1px solid #fecaca;
    background: #fff;
    padding: 0.8rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comp-alert-icon {
    background: #ef4444;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-alert-text strong {
    font-size: 0.75rem;
    display: block;
    color: var(--text-main);
}

.comp-alert-text span {
    font-size: 0.65rem;
    color: #ef4444;
    font-weight: 700;
}

.comp-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.comp-tab {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comp-tab.active {
    color: #4f46e5;
    border-bottom: 2px solid #4f46e5;
}

.comp-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.comp-metric {
    border: 1px solid var(--border-light);
    padding: 1rem;
    border-radius: 6px;
}

.comp-metric.danger {
    border-left: 3px solid #ef4444;
}

.comp-metric span {
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.comp-metric strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.comp-table {
    width: 100%;
}

.comp-table-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.comp-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.7rem;
    font-weight: 700;
}

.comp-status {
    font-size: 0.55rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
}

.comp-status.green {
    background: #dcfce7;
    color: #16a34a;
}

.comp-status.red {
    background: #fee2e2;
    color: #dc2626;
}

.comp-date {
    color: var(--text-main);
}

.comp-user {
    font-size: 0.6rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

.comp-user span {
    color: var(--text-muted);
    font-size: 0.5rem;
}

.dep-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 90%;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 24px;
    z-index: 0;
    transform: rotate(-1deg);
}

.dep-card {
    position: absolute;
    top: 10px;
    right: -5%;
    width: 110%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    z-index: 1;
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.dep-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.dep-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dep-icon {
    background: #4f46e5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dep-title h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    letter-spacing: -0.02em;
}

.dep-title h2 span {
    color: #4f46e5;
}

.dep-title p {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

.dep-timeline-header {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
}

.dep-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-left: 4px solid #22c55e;
    margin-bottom: 0.8rem;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.dep-row.flagged {
    border-left-color: #ef4444;
}

.dep-date {
    display: flex;
    flex-direction: column;
    width: 120px;
}

.dep-date strong {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
}

.dep-date span {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
}

.dep-status {
    display: flex;
    flex-direction: column;
}

.dep-status span {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.dep-status strong {
    font-size: 0.7rem;
    font-weight: 800;
    color: #22c55e;
    letter-spacing: 0.05em;
}

.dep-row.flagged .dep-status strong {
    color: #ef4444;
}

.dep-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.dep-amount span {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.dep-amount strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
}

.draw-bg {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 90%;
    height: 90%;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 24px;
    z-index: 0;
    transform: rotate(2deg);
}

.draw-card {
    position: absolute;
    top: 0;
    left: -10%;
    width: 110%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    z-index: 1;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.draw-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.draw-icon {
    background: #4f46e5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.draw-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
}

.draw-header h2 span {
    color: #4f46e5;
    font-weight: 400;
}

.draw-header p {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    text-transform: uppercase;
}

.draw-body {
    padding: 1.5rem;
}

.draw-station {
    border: 1px solid var(--border-light);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.draw-station-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 2px;
}

.draw-station-text strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-main);
}

.draw-station-text span {
    font-size: 0.55rem;
    color: #22c55e;
    font-weight: 800;
    text-transform: uppercase;
}

.draw-tabs {
    display: flex;
    margin-bottom: 1.5rem;
}

.draw-tab {
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.draw-tab.active {
    background: #4f46e5;
    color: white;
}

.draw-tab.inactive {
    background: #f1f5f9;
    color: #94a3b8;
}

.draw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.draw-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.draw-input-group label {
    font-size: 0.55rem;
    font-weight: 800;
    color: #3b82f6;
    text-transform: uppercase;
}

.draw-input {
    border: 1px solid #bfdbfe;
    border-radius: 4px;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 600;
    background: #f8fafc;
}

.draw-footer {
    background: #0f172a;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.draw-total span {
    display: block;
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.draw-total strong {
    font-size: 2rem;
    color: white;
    font-weight: 800;
    line-height: 1;
}

.draw-submit {
    background: transparent;
    border: 1px solid #334155;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 4px;
    text-transform: uppercase;
}

.live-bg {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 90%;
    height: 90%;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 24px;
    z-index: 0;
    transform: rotate(-1deg);
}

.live-card {
    position: absolute;
    top: 20px;
    left: -5%;
    width: 110%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
    z-index: 2;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
}

.live-topbar {
    background: #0f172a;
    color: white;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.live-topbar-left strong {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.live-time {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6rem;
    color: #22c55e;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.live-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    background: #f8fafc;
}

.live-metrics-panel {
    padding: 1.5rem;
    border-right: 1px solid var(--border-light);
    background: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.live-metric-box {
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.live-metric-title {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.05em;
}

.live-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.live-metric-change {
    font-size: 0.6rem;
    color: #16a34a;
    background: #dcfce7;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
}

.live-metric-sub {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.live-metric-box.danger {
    border-left: 3px solid #ef4444;
}

.live-metric-box.danger .live-metric-value {
    color: #ef4444;
}

.live-metric-danger-tag {
    background: #fee2e2;
    color: #ef4444;
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
    font-weight: 800;
    display: inline-block;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.live-schedule-panel {
    padding: 1.5rem 1rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.live-timeline-header {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-left: 100px;
}

.live-time-slot {
    flex: 1;
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--text-muted);
    text-align: center;
}

.live-sched-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    position: relative;
}

.live-emp-info {
    width: 100px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.live-emp-info strong {
    font-size: 0.7rem;
    color: var(--text-main);
}

.live-emp-info span {
    font-size: 0.5rem;
    color: #22c55e;
    font-weight: 800;
}

.live-bar-container {
    flex: 1;
    position: relative;
    height: 24px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    border: 1px dashed var(--border-light);
}

.live-shift-bar {
    position: absolute;
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.live-shift-bar.admin {
    background: #3b82f6;
}

.live-shift-bar.prep {
    background: #22c55e;
}

.live-shift-bar.pizza {
    background: #eab308;
    color: #854d0e;
}

.live-current-time-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 65%;
    width: 2px;
    background: #ef4444;
    z-index: 10;
}

.live-current-time-label {
    position: absolute;
    top: 20px;
    left: 65%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    font-size: 0.5rem;
    font-weight: 800;
    padding: 0.2rem 0.4rem;
    border-radius: 2px;
    z-index: 11;
}

/* --- CONTACT PAGE SPECIFIC --- */
.contact-section {
    padding: 160px 5% 100px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.contact-content h1 span {
    color: var(--primary);
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-info-grid {
    display: grid;
    gap: 2rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-offwhite);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.info-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input,
select,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg-offwhite);
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- FOOTER --- */
footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-offwhite);
}

/* --- PRIVACY POLICY PAGE --- */
.privacy-section {
    padding: 160px 5% 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-container {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.privacy-header {
    margin-bottom: 2.5rem;
}

.privacy-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.last-updated {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.privacy-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 2rem 0;
}

.privacy-content h2 {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.privacy-content h3 {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
}

.privacy-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.privacy-content strong {
    color: var(--text-main);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .showcase-section {
        flex-direction: column;
        padding: 80px 5%;
    }

    .showcase-visual {
        width: 100%;
        min-height: 300px;
    }

    .ui-mockup-card,
    .list-card,
    .comp-card,
    .draw-card,
    .live-card {
        left: 0;
        width: 100%;
        position: relative;
        margin-top: 2rem;
    }

    .nav-links {
        display: none;
    }

    nav {
        padding: 1rem 5%;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-actions .btn-ghost {
        display: none;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
        padding: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .live-body {
        grid-template-columns: 1fr;
    }

    .live-metrics-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .privacy-section {
        padding: 120px 5% 60px;
    }

    .privacy-container {
        padding: 2rem 1.5rem;
    }
}