:root {
    --bg-page: #f4f7fa;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --primary: #1e3a8a;
    --accent-blue: #3b82f6;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

.presentation-canvas {
    width: 100%;
    max-width: 1400px;
    background-color: var(--bg-page);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Header */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 2rem;
}

.header-left {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
}
.logo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.title-area h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title-area p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.header-right {
    display: flex;
    gap: 1rem;
}

.feature-box {
    background: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 12px;
    width: 160px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-box .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-box p {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Mockups */
.mockup-container {
    position: relative;
    height: 600px;
    margin: 0 2rem;
}

.mockup {
    background: var(--bg-page);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    position: absolute;
    display: flex;
}

.mockup-back {
    width: 80%;
    height: 550px;
    left: 0;
    top: 0;
    z-index: 1;
}

.mockup-front {
    width: 35%;
    height: 500px;
    right: 5%;
    top: 50px;
    z-index: 2;
    flex-direction: column;
}

/* Sidebar */
.mockup-sidebar {
    width: 220px;
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 1.5rem 1rem;
}
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.logo-icon-small { font-size: 1.5rem; }
.logo-text-small { font-size: 0.8rem; font-weight: 700; line-height: 1.2; }
.logo-text-small span { font-size: 0.6rem; color: var(--text-muted); font-weight: 400;}

.sidebar-menu { list-style: none; }
.sidebar-menu li {
    padding: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-radius: 8px;
    margin-bottom: 0.2rem;
}
.sidebar-menu li.active {
    background: #eff6ff;
    color: var(--accent-blue);
    font-weight: 600;
}

/* Mockup Main Area */
.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mockup-topbar {
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}
.search-bar {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 300px;
}
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
}
.user-info { display: flex; flex-direction: column; font-size: 0.7rem; }
.user-info span { color: var(--text-muted); }

.mockup-content {
    padding: 1.5rem;
    overflow-y: auto;
}

.filter-tabs {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.tabs-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.tabs-row button {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.tabs-row button.active {
    background: #eff6ff;
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}
.period-info { font-size: 0.7rem; color: var(--accent-blue); margin-top: 0.5rem; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.stat-card h5 { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; }
.stat-card h2 { font-size: 1.25rem; }
.stat-card span { font-size: 0.6rem; color: var(--text-muted); display: block; margin-top: 0.5rem; }
.red-text { color: #ef4444; }

.chart-area-container {
    display: flex;
    gap: 1rem;
}
.chart-card, .method-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.chart-card { flex: 2; }
.method-card { flex: 1; }
.chart-card h5, .method-card h5 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.chart-card p, .method-card p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 1rem; }

.chart-placeholder {
    height: 150px;
    border-bottom: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}
.chart-line {
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    position: relative;
    bottom: 10px;
}
.chart-line::before {
    content:''; position:absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-blue);
    left:0; top:-2px; box-shadow: 50px 0 var(--accent-blue), 100px 0 var(--accent-blue), 150px 0 var(--accent-blue), 200px 0 var(--accent-blue), 250px 0 var(--accent-blue), 300px 0 var(--accent-blue);
}
.chart-x-axis {
    position: absolute; bottom: 0; width: 100%; display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--text-muted);
}
.empty-state {
    height: 100px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--text-muted);
    background: #f8fafc; border-radius: 8px; border: 1px dashed var(--border);
}

/* Front Mockup Specific */
.mockup-front-content {
    background: var(--bg-page);
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}
.finance-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.finance-card h4 { font-size: 0.9rem; margin-bottom: 1rem; }
.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.f-item span { font-size: 0.7rem; color: var(--text-muted); display: block; margin-bottom: 0.2rem;}
.f-item b { font-size: 0.9rem; }

.right-panel {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.payment-types {
    display: flex; flex-direction: column; gap: 0.8rem;
}
.pt-item {
    display: flex; align-items: center; font-size: 0.8rem;
}
.pt-item .dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 0.5rem; }
.pt-item .dot.blue { background: #3b82f6; }
.pt-item .dot.green { background: #22c55e; }
.pt-item .dot.orange { background: #f59e0b; }
.pt-item .dot.purple { background: #a855f7; }
.pt-item .dot.dark-blue { background: #1e3a8a; }
.pt-item span { margin-left: auto; text-align: right; font-weight: 600; }
.pt-item small { color: var(--text-muted); font-weight: 400; }

.bottom-cards {
    display: flex; gap: 1rem;
}
.recent-trx, .status-laundry {
    background: var(--white); padding: 1rem; border-radius: 12px; flex: 1;
}
.rt-header, .sl-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.rt-header h4, .sl-header h4 { font-size: 0.8rem; }
.recent-trx span { font-size: 0.65rem; color: var(--text-muted); }
.live { font-size: 0.6rem; color: #3b82f6; font-weight: 600; }
.status-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; background: #fffbeb; padding: 0.5rem; border-radius: 8px; margin-top: 1rem;}
.status-item .icon { font-size: 1rem; }
.status-item b { margin-left: auto; }

/* Footer */
.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 2rem;
    margin-top: 1rem;
}

.footer-pills {
    display: flex;
    gap: 1rem;
}
.pill {
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}
.pill-icon {
    width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.blue-bg { background: #eff6ff; color: #3b82f6; }
.green-bg { background: #f0fdf4; color: #22c55e; }
.orange-bg { background: #fffbeb; color: #f59e0b; }
.purple-bg { background: #faf5ff; color: #a855f7; }

.pill-text b { font-size: 0.75rem; display: block; }
.pill-text span { font-size: 0.65rem; color: var(--text-muted); }

.tech-stack {
    background: #0f172a;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    box-shadow: var(--shadow-md);
}
.tech-item {
    display: flex; align-items: center; gap: 0.4rem; color: #cbd5e1;
}
