/* ========================================
   Entreview — Landing Page v3 (Pro)
   ======================================== */

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

:root {
    --primary: #D97356;
    --primary-hover: #C4613F;
    --primary-50: #FDF4F1;
    --primary-100: #FCEAE4;
    --white: #ffffff;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --green-500: #059669;
    --green-50: #ECFDF5;
    --orange-500: #F59E0B;
    --orange-50: #FFFBEB;
    --purple-500: #7C3AED;
    --purple-50: #F5F3FF;
    --red-500: #EF4444;
    --r: 12px;
    --r-sm: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.nav.scrolled {
    border-color: var(--gray-200);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon { display: flex; }

.nav-links { display: flex; gap: 32px; }

.nav-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gray-900); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px 24px;
    z-index: 99;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--gray-700); font-size: 0.95rem; font-weight: 500; padding: 10px 0; }
.mobile-menu hr { border: none; border-top: 1px solid var(--gray-200); margin: 4px 0; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: var(--r-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217,115,86,0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: var(--r-sm);
    text-decoration: none;
    border: 1.5px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--gray-300); background: var(--gray-50); }

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: var(--r-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-white:hover { background: var(--gray-100); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    transition: all 0.2s;
}

.btn-ghost:hover { color: var(--gray-900); background: var(--gray-100); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; text-align: center; }

/* ===== HERO (full image bg) ===== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.72);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #34D399;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== STATS BAR ===== */
.stats-bar {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    padding: 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

/* ===== LOGOS ===== */
.logos-section {
    padding: 64px 0 48px;
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.logos-track {
    mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 15%, black 85%, transparent 100%);
}

.logos-scroll {
    display: flex;
    gap: 56px;
    animation: scroll-logos 25s linear infinite;
    width: max-content;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-placeholder {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-300);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== SHOWCASE (dashboard) ===== */
.showcase {
    padding: 100px 0;
    background: var(--gray-50);
}

.showcase-browser {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.browser-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #22C55E; }

.browser-tabs {
    display: flex;
    gap: 2px;
    background: var(--gray-200);
    border-radius: 6px;
    padding: 2px;
}

.browser-tab {
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 4px;
}

.browser-tab.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.browser-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-body { display: flex; min-height: 380px; }

.browser-sidebar {
    width: 200px;
    border-right: 1px solid var(--gray-200);
    padding: 16px 8px;
    background: var(--gray-50);
    flex-shrink: 0;
}

.sidebar-section { margin-bottom: 20px; }

.sidebar-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    padding: 0 12px;
    margin-bottom: 6px;
    display: block;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.sidebar-item.active {
    background: var(--primary-50);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-item svg { flex-shrink: 0; }

.browser-main { flex: 1; padding: 20px; overflow: hidden; }

.browser-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.browser-main-header h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); }
.browser-sub { font-size: 0.75rem; color: var(--gray-400); }

.browser-actions { display: flex; gap: 8px; }

.dbtn-outline, .dbtn-primary {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 5px;
}

.dbtn-outline { background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-600); }
.dbtn-primary { background: var(--primary); color: var(--white); }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.kpi-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-sm);
    padding: 14px;
}

.kpi-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.kpi-label { font-size: 0.72rem; color: var(--gray-500); font-weight: 500; }

.kpi-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-icon.blue { background: var(--primary-50); color: var(--primary); }
.kpi-icon.orange { background: var(--orange-50); color: var(--orange-500); }
.kpi-icon.green { background: var(--green-50); color: var(--green-500); }
.kpi-icon.purple { background: var(--purple-50); color: var(--purple-500); }

.kpi-value { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); margin: 2px 0 4px; }
.kpi-value.warning { color: var(--orange-500); }
.kpi-value.success { color: var(--green-500); }
.kpi-total { font-size: 0.85rem; font-weight: 400; color: var(--gray-400); }
.kpi-sub { font-size: 0.7rem; color: var(--gray-400); }
.trend-up { color: var(--green-500); }
.trend-up::before { content: '\2191 '; }

.kpi-bar { height: 5px; background: var(--gray-100); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.kpi-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 1.2s ease; }

.data-table { border: 1px solid var(--gray-200); border-radius: var(--r-sm); overflow: hidden; }

.data-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    padding: 10px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.data-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-600);
    align-items: center;
}

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

.site-cell { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--gray-800); }
.site-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.progress-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gray-600); font-size: 0.75rem; }
.pbar { flex: 1; height: 4px; background: var(--gray-200); border-radius: 2px; overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--primary); border-radius: 2px; }

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
}

/* Feature rows (image + text) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row-img {
    border-radius: var(--r-lg);
    overflow: hidden;
}

.feature-row-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-radius: var(--r-lg);
}

.feature-row-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.feature-row-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}

.feature-row-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
    font-weight: 500;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.25;
}

/* Feature cards */
.features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fcard {
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    background: var(--white);
    transition: all 0.25s;
}

.fcard:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-3px);
    border-color: var(--gray-300);
}

.fcard-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fcard h4 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.fcard p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 120px 0;
    background: var(--gray-50);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    padding: 32px 24px;
    transition: all 0.25s;
}

.step:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 16px;
    line-height: 1;
}

.step-body h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step-body p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

/* ===== PHOTO BANNER ===== */
.photo-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.photo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.65);
}

.photo-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.photo-banner-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.photo-banner-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
}

/* ===== SECURITY ===== */
.security {
    padding: 120px 0;
}

.security-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

.security-left h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
}

.security-left > p {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.7;
}

.checks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checks li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.check-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green-50);
    border: 2px solid var(--green-500);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.check-dot::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--green-500);
    border-bottom: 2px solid var(--green-500);
    transform: rotate(-45deg);
}

.checks li strong { display: block; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; font-size: 0.92rem; }
.checks li span { font-size: 0.82rem; color: var(--gray-500); }

.security-right { position: relative; }

.security-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.security-img-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    height: 240px;
}

.security-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.security-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.sec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.88rem;
    color: var(--gray-600);
    font-weight: 500;
}

.sec-row.last { border-bottom: none; }

.sec-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green-500);
    background: var(--green-50);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tcard {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.25s;
}

.tcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }

.tcard-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tcard-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.tcard-top strong { display: block; font-size: 0.92rem; color: var(--gray-900); }
.tcard-top span { font-size: 0.78rem; color: var(--gray-500); }

.tcard blockquote {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
    margin: 0;
}

/* ===== PRICING ===== */
.pricing { padding: 120px 0; }

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label { font-size: 0.88rem; font-weight: 500; color: var(--gray-400); cursor: pointer; transition: color 0.2s; }
.toggle-label.active { color: var(--gray-900); font-weight: 600; }

.save-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green-500);
    background: var(--green-50);
    padding: 2px 8px;
    border-radius: 100px;
    margin-left: 4px;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--gray-300);
    border-radius: 12px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    padding: 0;
}

.toggle-switch[data-state="annual"] { background: var(--primary); }

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-switch[data-state="annual"] .toggle-knob { transform: translateX(20px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pcard {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 32px;
    position: relative;
    transition: all 0.2s;
}

.pcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

.pcard.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), 0 8px 32px rgba(217,115,86,0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 100px;
}

.pcard-header h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.pcard-header p { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 20px; }

.pcard-price { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); }

.price-value { font-size: 2.5rem; font-weight: 800; color: var(--gray-900); transition: all 0.3s; }
.price-value.no-toggle { font-size: 1.8rem; }
.price-unit { font-size: 0.85rem; color: var(--gray-400); font-weight: 500; }

.pcard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.pcard-list li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding-left: 24px;
    position: relative;
}

.pcard-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 7l2.5 2.5 4.5-4.5' stroke='%23D97356' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.pcard-list li:first-child::before { display: none; }
.pcard-list li:first-child { padding-left: 0; font-weight: 600; color: var(--gray-700); }
.pcard:first-child .pcard-list li:first-child { font-weight: 400; padding-left: 24px; }
.pcard:first-child .pcard-list li:first-child::before { display: block; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--gray-50); }

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--primary-100); }

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.faq-q span { font-size: 0.95rem; font-weight: 600; color: var(--gray-800); flex: 1; padding-right: 16px; }

.faq-chevron { color: var(--gray-400); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 20px 18px; font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ===== CTA (image + form) ===== */
.cta { padding: 120px 0; }

.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.cta-left { position: relative; min-height: 480px; }

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.cta-right {
    padding: 48px;
    background: var(--white);
}

.cta-right h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.cta-right > p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.7;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field-row { display: flex; gap: 14px; }
.field { flex: 1; }

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.cta-form input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--gray-900);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.cta-form input::placeholder { color: var(--gray-400); }
.cta-form input:focus { border-color: var(--primary); }

.cta-form .btn-primary { margin-top: 4px; }

.cta-note { font-size: 0.8rem; color: var(--gray-400); margin-top: 14px; }

/* ===== FOOTER ===== */
.footer {
    padding: 72px 0 32px;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p { font-size: 0.88rem; color: var(--gray-500); margin-top: 12px; max-width: 280px; line-height: 1.6; }

.footer-links h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--gray-500); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom { border-top: 1px solid var(--gray-200); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.82rem; color: var(--gray-400); }

.footer-socials { display: flex; gap: 12px; }

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.2s;
}

.footer-socials a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-50);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

[data-animate] { opacity: 0; transform: translateY(24px); }
[data-animate].animated { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.fcard, .step, .pcard, .tcard, .faq-item, .feature-row {
    opacity: 0;
    transform: translateY(24px);
}

.fcard.visible, .step.visible, .pcard.visible, .tcard.visible, .faq-item.visible, .feature-row.visible {
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.75rem; }
    .features-cards { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pcard:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .tcard:last-child { grid-column: span 2; max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .browser-sidebar { display: none; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 32px; }
    .feature-row.reverse { direction: ltr; }
    .security-layout { grid-template-columns: 1fr; gap: 48px; }
    .cta-layout { grid-template-columns: 1fr; }
    .cta-left { min-height: 280px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { min-height: 80vh; padding: 100px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .hero h1 br { display: none; }
    .hero-sub { font-size: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .kpi-grid { grid-template-columns: 1fr; }
    .data-header, .data-row { grid-template-columns: 1.5fr 1fr 1.3fr; }
    .data-header span:nth-child(3), .data-header span:nth-child(4),
    .data-row span:nth-child(3), .data-row span:nth-child(4) { display: none; }
    .browser-actions { display: none; }
    .features-cards { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pcard:last-child { grid-column: auto; max-width: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .tcard:last-child { grid-column: auto; max-width: none; }
    .photo-banner { height: 320px; }
    .photo-banner-content h2 { font-size: 1.6rem; }
    .field-row { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .section-header h2 { font-size: 1.85rem; }
    .security-left h2 { font-size: 1.7rem; }
    .cta-right { padding: 32px 24px; }
    .cta-right h2 { font-size: 1.5rem; }
}

/* ========================================
   APP LAYOUT — Shared across all app pages
   ======================================== */

/* ===== APP LAYOUT ===== */
.app-body {
    overflow-x: hidden;
    background: var(--gray-50);
}

.app {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.15rem;
}

.sidebar-logo svg {
    flex-shrink: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.sidebar-nav-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    padding: 0 12px;
    margin-bottom: 8px;
    margin-top: 20px;
    display: block;
}

.sidebar-nav-label:first-child {
    margin-top: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    transition: all 0.15s;
    margin-bottom: 2px;
}

.nav-item:hover {
    background: var(--gray-50);
    color: var(--gray-700);
}

.nav-item.active {
    background: var(--primary-50);
    color: var(--primary);
    font-weight: 600;
}

.nav-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.sidebar-user {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 0.72rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ===== MAIN CONTENT ===== */
.main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    min-width: 0;
}

/* ===== TOP BAR ===== */
.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-greeting {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
}

.topbar-breadcrumb {
    font-size: 0.82rem;
    color: var(--gray-400);
    font-weight: 500;
    padding-left: 16px;
    border-left: 1px solid var(--gray-200);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-bell {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.15s;
    color: var(--gray-500);
    text-decoration: none;
}

.topbar-bell:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.bell-dot {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    border: 1.5px solid var(--white);
}

.mobile-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    border: 1px solid var(--gray-200);
    background: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-600);
    flex-shrink: 0;
}

/* ===== CONTENT AREA ===== */
.content {
    padding: 28px 32px 48px;
}

/* ===== MOBILE OVERLAY ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    z-index: 45;
}

.sidebar-overlay.active {
    display: block;
}

/* ===== SHARED APP COMPONENTS ===== */

/* KPI cards */
.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.dash-kpi {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    padding: 20px;
    transition: box-shadow 0.2s;
}

.dash-kpi:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.dash-kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.dash-kpi-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
}

.dash-kpi-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-kpi-icon.coral { background: var(--primary-50); color: var(--primary); }
.dash-kpi-icon.orange { background: var(--orange-50); color: var(--orange-500); }
.dash-kpi-icon.green { background: var(--green-50); color: var(--green-500); }
.dash-kpi-icon.purple { background: var(--purple-50); color: var(--purple-500); }

.dash-kpi-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 4px;
}

.dash-kpi-value .total { font-size: 1rem; font-weight: 400; color: var(--gray-400); }
.dash-kpi-value.warning { color: var(--orange-500); }
.dash-kpi-value.success { color: var(--green-500); }

.dash-kpi-sub {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

.dash-kpi-sub .trend { color: var(--green-500); font-weight: 600; }

.dash-kpi-bar {
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}

.dash-kpi-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Tables dash */
.dash-table-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 28px;
}

.dash-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.dash-table-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
}

.dash-table-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-400);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 4px 12px;
    border-radius: 100px;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-table thead th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    padding: 10px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.dash-table tbody td {
    padding: 14px 20px;
    font-size: 0.85rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    font-weight: 500;
}

.dash-table tbody tr:last-child td { border-bottom: none; }
.dash-table tbody tr:hover { background: var(--gray-50); }

/* Panels */
.dash-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    overflow: hidden;
}

.dash-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.dash-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
}

.dash-panel-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
}

.dash-panel-link:hover { color: var(--primary-hover); }

/* Grid layouts */
.dash-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dash-three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

/* Status badges */
.status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.green { color: var(--green-500); background: var(--green-50); }
.status-badge.orange { color: var(--orange-500); background: var(--orange-50); }
.status-badge.red { color: var(--red-500); background: #FEF2F2; }
.status-badge.gray { color: var(--gray-500); background: var(--gray-100); }
.status-badge.blue { color: #3B82F6; background: #EFF6FF; }
.status-badge.purple { color: var(--purple-500); background: var(--purple-50); }

/* Progress bar */
.progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 3px;
    background: var(--primary);
    transition: width 0.8s ease;
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    min-width: 36px;
    text-align: right;
}

/* Shared form styles for app pages */
.app-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.app-form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-700);
}

.app-form-group input,
.app-form-group select,
.app-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    font: inherit;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s;
}

.app-form-group input:focus,
.app-form-group select:focus,
.app-form-group textarea:focus {
    border-color: var(--primary);
}

/* Filter bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-bar .search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-sm);
    font: inherit;
    font-size: 0.85rem;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s;
}

.filter-bar .search-input:focus {
    border-color: var(--primary);
}

.filter-bar select {
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--r-sm);
    font: inherit;
    font-size: 0.85rem;
    color: var(--gray-600);
    background: var(--white);
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}

.filter-bar select:focus {
    border-color: var(--primary);
}

/* Hero card (create pages) */
.hero-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.hero-card h1 {
    font-size: 1.65rem;
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.hero-card p {
    color: var(--gray-500);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    max-width: 720px;
}

/* Panel card */
.panel-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    padding: 24px;
}

.card-title {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: 6px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}

.empty-state svg {
    margin-bottom: 16px;
    color: var(--gray-300);
}

.empty-state p {
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Pagination */
.pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid var(--gray-100);
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
}

.pagination-links {
    display: flex;
    gap: 4px;
}

.pagination-links a,
.pagination-links span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    transition: all 0.15s;
}

.pagination-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.pagination-links .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== APP RESPONSIVE ===== */
@media (max-width: 1024px) {
    .dash-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-two-col { grid-template-columns: 1fr; }
    .dash-three-col { grid-template-columns: 1fr; }
    .topbar-breadcrumb { display: none; }
    .hero-card { display: grid; }
    .filter-bar { flex-direction: column; }
    .filter-bar .search-input { min-width: auto; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .topbar { padding: 0 16px; }
    .mobile-toggle { display: flex; }
    .content { padding: 20px 16px 40px; }
    .dash-kpi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .dash-kpi { padding: 16px; }
    .dash-kpi-value { font-size: 1.35rem; }
    .topbar-right .btn-primary { display: none; }
}

@media (max-width: 480px) {
    .dash-kpi-grid { grid-template-columns: 1fr; }
}
