/* ============================================================
   AUTO DIALER — SaaS DESIGN SYSTEM
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* Brand */
    --primary: #2563EB;
    --primary-600: #1D4ED8;
    --primary-50: #EFF6FF;
    --secondary: #7C3AED;
    --secondary-50: #F5F3FF;
    --success: #10B981;
    --success-50: #ECFDF5;
    --warning: #F59E0B;
    --warning-50: #FFFBEB;
    --danger: #EF4444;
    --danger-50: #FEF2F2;
    --info: #06B6D4;
    --info-50: #ECFEFF;

    /* Surfaces */
    --bg: #F8FAFC;
    --bg-elev: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --bg-sidebar: #0F172A;
    --bg-sidebar-active: rgba(255,255,255,0.08);

    /* Text */
    --text: #0F172A;
    --text-muted: #64748B;
    --text-soft: #94A3B8;
    --text-on-dark: #E2E8F0;
    --text-on-dark-muted: #94A3B8;

    /* Borders */
    --border: #E2E8F0;
    --border-strong: #CBD5E1;
    --border-soft: #F1F5F9;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 0 4px rgba(37, 99, 235, 0.12);

    /* Radii */
    --r-sm: 8px;
    --r-md: 10px;
    --r-lg: 12px;
    --r-xl: 16px;
    --r-pill: 999px;

    /* Spacing scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;

    /* Layout */
    --sidebar-w: 260px;
    --sidebar-w-collapsed: 76px;
    --topbar-h: 64px;

    /* Motion */
    --tx-fast: 120ms cubic-bezier(0.2, 0, 0.1, 1);
    --tx: 200ms cubic-bezier(0.2, 0, 0.1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.011em;
    color: var(--text);
    margin: 0;
}

h1 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -0.02em; }
h2 { font-size: 1.375rem; line-height: 1.3; }
h3 { font-size: 1.125rem; line-height: 1.35; }
h4 { font-size: 1rem; }
h5 { font-size: 0.9375rem; }
h6 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: color var(--tx-fast); }
a:hover { color: var(--primary-600); }

code, pre { font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.875em; }
code { background: var(--bg-subtle); padding: 2px 6px; border-radius: 6px; color: var(--text); }

hr { border: 0; border-top: 1px solid var(--border); margin: var(--sp-5) 0; }

::selection { background: rgba(37, 99, 235, 0.18); }

/* ---------- App Shell ---------- */
.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
    transition: grid-template-columns var(--tx);
}

.app-shell.collapsed { grid-template-columns: var(--sidebar-w-collapsed) 1fr; }

/* ---------- Sidebar ---------- */
.sidebar {
    background: var(--bg-sidebar);
    color: var(--text-on-dark);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-5) var(--sp-4);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.sidebar-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.sidebar-section {
    padding: var(--sp-4) var(--sp-3) var(--sp-2);
    color: var(--text-on-dark-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 var(--sp-3) var(--sp-4); flex: 1; }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 10px 12px;
    border-radius: var(--r-md);
    color: var(--text-on-dark);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background var(--tx-fast), color var(--tx-fast);
    white-space: nowrap;
}
.sidebar-link i { font-size: 1.05rem; flex-shrink: 0; width: 20px; text-align: center; }
.sidebar-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sidebar-link.active {
    background: var(--bg-sidebar-active);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--primary);
}

.sidebar-footer {
    padding: var(--sp-3);
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.avatar {
    width: 36px; height: 36px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    display: grid; place-items: center;
    font-weight: 600; font-size: 0.875rem;
    flex-shrink: 0;
}

.avatar-sm { width: 28px; height: 28px; font-size: 0.75rem; }

.collapsed .sidebar-brand span,
.collapsed .sidebar-section,
.collapsed .sidebar-link span,
.collapsed .sidebar-footer .user-meta { display: none; }
.collapsed .sidebar-link { justify-content: center; padding: 10px; }
.collapsed .sidebar-brand { justify-content: center; padding: var(--sp-5) var(--sp-2); }
.collapsed .sidebar-footer { justify-content: center; }

/* ---------- Main column ---------- */
.app-main { display: flex; flex-direction: column; min-width: 0; }

.topbar {
    height: var(--topbar-h);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: 0 var(--sp-5);
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px; height: 36px;
    border-radius: var(--r-md);
    display: grid; place-items: center;
    cursor: pointer;
    transition: background var(--tx-fast), color var(--tx-fast);
}
.topbar-toggle:hover { background: var(--bg-subtle); color: var(--text); }

.topbar-title { font-size: 0.9375rem; font-weight: 600; color: var(--text); }
.topbar-spacer { flex: 1; }

.topbar-action {
    display: inline-flex; align-items: center; gap: var(--sp-2);
    padding: 8px 14px;
    border-radius: var(--r-md);
    background: var(--bg-subtle);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all var(--tx-fast);
}
.topbar-action:hover { background: var(--border-soft); color: var(--text); }

.user-chip {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: 4px 12px 4px 4px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: #fff;
    transition: all var(--tx-fast);
}
.user-chip:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.user-chip .user-name { font-size: 0.8125rem; font-weight: 500; color: var(--text); }

.app-content {
    padding: var(--sp-6) var(--sp-5);
    max-width: 100%;
    flex: 1;
}

/* ---------- Page header ---------- */
.page-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}
.page-header h1 { margin-bottom: var(--sp-1); }
.page-header .subtitle { color: var(--text-muted); font-size: 0.9375rem; }

.breadcrumbs {
    display: flex; align-items: center; gap: var(--sp-2);
    font-size: 0.8125rem; color: var(--text-muted);
    margin-bottom: var(--sp-3);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--text-soft); }

/* ---------- Cards ---------- */
.card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: box-shadow var(--tx-fast), border-color var(--tx-fast);
}
.card:hover { box-shadow: var(--shadow-sm); }

.card-header {
    padding: var(--sp-4) var(--sp-5);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elev);
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
    color: var(--text);
}
.card-header h5 { font-size: 0.9375rem; font-weight: 600; margin: 0; }
.card-body { padding: var(--sp-5); }
.card-footer { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--border); background: var(--bg-subtle); }

/* Tone overrides — drop loud Bootstrap header colors in favor of clean text + accent stripe */
.card-header.bg-primary,
.card-header.bg-secondary,
.card-header.bg-success,
.card-header.bg-info,
.card-header.bg-warning,
.card-header.bg-danger,
.card-header.bg-dark {
    background: var(--bg-elev) !important;
    color: var(--text) !important;
}

/* ---------- Stat / KPI cards ---------- */
.stat-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-xs);
    transition: all var(--tx-fast);
    position: relative;
    overflow: hidden;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.stat-card .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: var(--sp-2);
}
.stat-card .stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}
.stat-card .stat-icon {
    position: absolute; top: var(--sp-4); right: var(--sp-4);
    width: 40px; height: 40px;
    border-radius: var(--r-md);
    display: grid; place-items: center;
    font-size: 1.1rem;
}
.stat-card.tone-primary  .stat-icon { background: var(--primary-50); color: var(--primary); }
.stat-card.tone-secondary .stat-icon { background: var(--secondary-50); color: var(--secondary); }
.stat-card.tone-success  .stat-icon { background: var(--success-50); color: var(--success); }
.stat-card.tone-warning  .stat-icon { background: var(--warning-50); color: var(--warning); }
.stat-card.tone-danger   .stat-icon { background: var(--danger-50); color: var(--danger); }
.stat-card.tone-info     .stat-icon { background: var(--info-50); color: var(--info); }

.stat-card .stat-foot { margin-top: var(--sp-3); font-size: 0.8125rem; color: var(--text-muted); }
.stat-card .stat-foot a { font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
    font-family: inherit;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--r-md);
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: all var(--tx-fast);
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    line-height: 1.4;
}
.btn:focus { box-shadow: var(--shadow-glow); outline: none; }
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1rem; }

.btn-sm { padding: 5px 12px; font-size: 0.8125rem; border-radius: var(--r-sm); }
.btn-lg { padding: 11px 22px; font-size: 0.9375rem; }

.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); border-color: var(--primary-600); color: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24); }

.btn-secondary { background: #fff; border-color: var(--border); color: var(--text); }
.btn-secondary:hover { background: var(--bg-subtle); border-color: var(--border-strong); color: var(--text); }

.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #059669; border-color: #059669; color: #fff; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.24); }

.btn-warning { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { background: #D97706; border-color: #D97706; color: #fff; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.24); }

.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #DC2626; border-color: #DC2626; color: #fff; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.24); }

.btn-info { background: var(--info); border-color: var(--info); color: #fff; }
.btn-info:hover { background: #0891B2; border-color: #0891B2; color: #fff; }

.btn-dark { background: var(--text); border-color: var(--text); color: #fff; }
.btn-outline-primary { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary-50); border-color: var(--primary); color: var(--primary-600); }

.btn-link { background: transparent; color: var(--primary); border: 0; padding: 4px 8px; }
.btn-link:hover { color: var(--primary-600); text-decoration: none; background: var(--primary-50); }

.btn-group .btn { border-radius: 0; }
.btn-group .btn:first-child { border-top-left-radius: var(--r-sm); border-bottom-left-radius: var(--r-sm); }
.btn-group .btn:last-child { border-top-right-radius: var(--r-sm); border-bottom-right-radius: var(--r-sm); }

/* ---------- Forms ---------- */
.form-label, label.form-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}
.form-control, .form-select {
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 9px 12px;
    transition: border-color var(--tx-fast), box-shadow var(--tx-fast);
    box-shadow: none;
}
.form-control::placeholder { color: var(--text-soft); }
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    outline: none;
}
.form-control:disabled { background: var(--bg-subtle); cursor: not-allowed; }

textarea.form-control { font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; }

.form-floating > label { color: var(--text-muted); }
.form-floating > .form-control { padding: 16px 12px 6px; }

.text-danger { color: var(--danger) !important; font-size: 0.8125rem; }

/* ---------- Tables ---------- */
.table-responsive { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-elev); }
.card .table-responsive { border: 0; border-radius: 0; }

.table { margin: 0; color: var(--text); font-size: 0.875rem; border-collapse: separate; border-spacing: 0; }
.table thead th {
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    border-top: 0;
    white-space: nowrap;
}
.table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--tx-fast); }
.table-hover tbody tr:hover { background: var(--bg-subtle); }
.table.table-dark thead th { background: var(--text); color: #fff; }

.table-sm tbody td { padding: 10px 16px; }

/* ---------- Badges ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.5;
    border: 1px solid transparent;
}
.badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.bg-primary    { background: var(--primary-50) !important;   color: var(--primary) !important;   border-color: rgba(37,99,235,.18); }
.bg-secondary  { background: var(--bg-subtle) !important;    color: var(--text-muted) !important; border-color: var(--border); }
.bg-success    { background: var(--success-50) !important;   color: var(--success) !important;   border-color: rgba(16,185,129,.2); }
.bg-warning    { background: var(--warning-50) !important;   color: var(--warning) !important;   border-color: rgba(245,158,11,.22); }
.bg-danger     { background: var(--danger-50) !important;    color: var(--danger) !important;    border-color: rgba(239,68,68,.2); }
.bg-info       { background: var(--info-50) !important;      color: var(--info) !important;      border-color: rgba(6,182,212,.2); }
.bg-dark       { background: rgba(15,23,42,.08) !important;  color: var(--text) !important;      border-color: var(--border); }
.bg-light      { background: var(--bg-subtle) !important;    color: var(--text-muted) !important; border-color: var(--border); }

.text-white { color: inherit !important; } /* neutralize Bootstrap white text on tinted backgrounds */

/* ---------- Progress ---------- */
.progress {
    background: var(--bg-subtle);
    border-radius: var(--r-pill);
    overflow: hidden;
    height: 8px;
    box-shadow: inset 0 0 0 1px var(--border-soft);
}
.progress.progress-lg { height: 28px; }
.progress-bar {
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    display: grid; place-items: center;
    transition: width var(--tx);
}
.progress-bar.bg-success  { background: var(--success) !important; color: #fff !important; }
.progress-bar.bg-warning  { background: var(--warning) !important; color: #fff !important; }
.progress-bar.bg-danger   { background: var(--danger)  !important; color: #fff !important; }
.progress-bar.bg-primary  { background: var(--primary) !important; color: #fff !important; }
.progress-bar.bg-info     { background: var(--info)    !important; color: #fff !important; }

/* ---------- Alerts ---------- */
.alert {
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    padding: 12px 16px;
    font-size: 0.875rem;
    background: var(--bg-elev);
    color: var(--text);
    display: flex; align-items: flex-start; gap: var(--sp-3);
    box-shadow: var(--shadow-xs);
}
.alert::before {
    content: '';
    width: 4px; align-self: stretch;
    border-radius: var(--r-pill);
    background: currentColor;
    flex-shrink: 0;
}
.alert-success { background: var(--success-50); border-color: rgba(16,185,129,.2); color: #065F46; }
.alert-warning { background: var(--warning-50); border-color: rgba(245,158,11,.22); color: #92400E; }
.alert-danger  { background: var(--danger-50);  border-color: rgba(239,68,68,.2); color: #991B1B; }
.alert-info    { background: var(--info-50);    border-color: rgba(6,182,212,.2); color: #155E75; }

.btn-close { background-color: transparent; border: 0; opacity: .55; }
.btn-close:hover { opacity: .85; }

/* ---------- List groups ---------- */
.list-group { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); }
.list-group-item {
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-elev);
    color: var(--text);
    font-size: 0.875rem;
    transition: background var(--tx-fast);
}
.list-group-item:last-child { border-bottom: 0; }
.list-group-item-action:hover { background: var(--bg-subtle); }
.list-group-item-light { background: var(--bg-subtle); color: var(--text-muted); }

/* ---------- Modals ---------- */
.modal-content {
    border: 0;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.modal-header { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--border); }
.modal-title { font-size: 1rem; font-weight: 600; }
.modal-body { padding: var(--sp-5); }
.modal-footer { padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--border); background: var(--bg-subtle); }

/* ---------- Auth Layout ---------- */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg);
}
.auth-form-side {
    display: flex; align-items: center; justify-content: center;
    padding: var(--sp-6);
    background: var(--bg-elev);
}
.auth-form-side .auth-form-card {
    width: 100%; max-width: 400px;
}
.auth-brand {
    display: flex; align-items: center; gap: var(--sp-3);
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--sp-7);
}
.auth-brand-icon {
    width: 40px; height: 40px; border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: grid; place-items: center; color: #fff;
    box-shadow: 0 6px 20px rgba(37, 99, 235, .35);
    font-size: 1.2rem;
}
.auth-hero-side {
    background: linear-gradient(135deg, #1E40AF 0%, #6D28D9 50%, #4F46E5 100%);
    position: relative; overflow: hidden;
    color: #fff;
    padding: var(--sp-7);
    display: flex; align-items: center; justify-content: center;
}
.auth-hero-side::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(124,58,237,.4), transparent 50%);
    pointer-events: none;
}
.auth-hero-content { position: relative; max-width: 460px; }
.auth-hero-content h2 { color: #fff; font-size: 2rem; margin-bottom: var(--sp-3); letter-spacing: -0.02em; }
.auth-hero-content p { color: rgba(255,255,255,.82); font-size: 1.0625rem; line-height: 1.6; }
.auth-hero-feature {
    display: flex; align-items: center; gap: var(--sp-3);
    padding: 10px 0; color: rgba(255,255,255,.92);
    font-size: 0.9375rem;
}
.auth-hero-feature i { color: #A7F3D0; font-size: 1.15rem; }

@media (max-width: 960px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-hero-side { display: none; }
}

/* ---------- Marketing / Home hero ---------- */
.marketing-shell { min-height: 100vh; background: var(--bg); }
.marketing-nav {
    padding: var(--sp-4) var(--sp-5);
    display: flex; align-items: center; justify-content: space-between;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,.8);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 20;
}
.marketing-nav .brand { display: flex; align-items: center; gap: var(--sp-3); font-weight: 600; color: var(--text); }
.marketing-hero { padding: 96px var(--sp-5) 64px; max-width: 1200px; margin: 0 auto; }
.marketing-hero h1 { font-size: 3rem; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: var(--sp-4); }
.marketing-hero .lead { font-size: 1.125rem; color: var(--text-muted); line-height: 1.6; }
.marketing-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--primary-50);
    color: var(--primary);
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: var(--sp-4);
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-4); }
.feature-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    box-shadow: var(--shadow-xs);
    transition: all var(--tx-fast);
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); transform: translateY(-2px); }
.feature-card .feat-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-md);
    display: grid; place-items: center;
    background: var(--primary-50); color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: var(--sp-3);
}
.feature-card h4 { margin-bottom: var(--sp-2); }
.feature-card p { color: var(--text-muted); font-size: 0.875rem; margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-4);
    align-items: stretch;
}
.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--tx-fast), transform var(--tx-fast), border-color var(--tx-fast);
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}
.pricing-flag {
    position: absolute;
    top: -12px; right: var(--sp-5);
    background: var(--primary);
    color: #fff;
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .75rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: var(--sp-3);
}
.pricing-name { font-size: 1.125rem; font-weight: 600; color: var(--text); margin-bottom: var(--sp-2); }
.pricing-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.pricing-price .amount { font-size: 2.25rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.pricing-price .unit { color: var(--text-muted); font-size: .9375rem; }
.pricing-sub { color: var(--text-muted); font-size: .8125rem; margin-bottom: var(--sp-4); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 var(--sp-4); flex: 1; }
.pricing-features li {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 6px 0;
    color: var(--text);
    font-size: .875rem;
}
.pricing-features li i { color: var(--success); font-size: 1rem; margin-top: 2px; }

.whatsapp-strip {
    display: flex; align-items: center; gap: var(--sp-3);
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: var(--r-xl);
    padding: var(--sp-4) var(--sp-5);
    margin-top: var(--sp-6);
}
.whatsapp-strip .whatsapp-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid; place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: 1px solid #25D366;
}
.btn-whatsapp:hover, .btn-whatsapp:focus { background: #128C7E; border-color: #128C7E; color: #fff; }

/* ---------- Empty states ---------- */
.empty-state {
    padding: var(--sp-7) var(--sp-5);
    text-align: center;
    color: var(--text-muted);
}
.empty-state .empty-icon {
    width: 56px; height: 56px;
    border-radius: var(--r-xl);
    background: var(--bg-subtle);
    color: var(--text-soft);
    display: grid; place-items: center;
    margin: 0 auto var(--sp-3);
    font-size: 1.5rem;
}
.empty-state h4 { color: var(--text); margin-bottom: var(--sp-2); }
.empty-state p { color: var(--text-muted); margin: 0 auto; max-width: 380px; font-size: 0.875rem; }

/* ---------- Status dot ---------- */
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.status-dot.available { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.status-dot.busy { background: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.status-dot.offline { background: var(--text-soft); }

/* ---------- Activity feed ---------- */
.activity-feed { font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; max-height: 320px; overflow-y: auto; }
.activity-feed .list-group-item { padding: 8px 14px; border-bottom: 1px solid var(--border-soft); }
.activity-feed .timestamp { color: var(--text-soft); margin-right: 8px; }

/* ---------- Softphone widget ---------- */
.softphone-card {
    background: linear-gradient(160deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.softphone-status {
    padding: var(--sp-5);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.softphone-status .status-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 0.8125rem; font-weight: 500;
}
.softphone-controls { padding: var(--sp-5); display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }
.softphone-incoming {
    padding: var(--sp-5);
    background: var(--warning-50);
    border-top: 1px solid rgba(245, 158, 11, .2);
    text-align: center;
}
.softphone-incoming .ring-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--warning);
    color: #fff;
    display: grid; place-items: center;
    margin: 0 auto var(--sp-3);
    font-size: 1.6rem;
    animation: ring-pulse 1.3s ease-in-out infinite;
}
@keyframes ring-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    50%      { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0); }
}

/* ---------- Skeleton ---------- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-subtle) 0%, var(--border-soft) 50%, var(--bg-subtle) 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
    border-radius: var(--r-sm);
    color: transparent;
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Utilities ---------- */
.text-muted { color: var(--text-muted) !important; }
.text-soft  { color: var(--text-soft) !important; }
.kbd {
    background: var(--bg-subtle); border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: var(--r-sm);
    padding: 1px 6px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.75rem;
}

.glass {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255,255,255,.6);
}

/* ---------- Mobile ---------- */
.mobile-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .4);
    z-index: 30;
}
.mobile-overlay.show { display: block; }

@media (max-width: 960px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed; left: 0; top: 0;
        width: var(--sidebar-w);
        z-index: 40;
        transform: translateX(-100%);
        transition: transform var(--tx);
    }
    .sidebar.show { transform: translateX(0); }
    .app-content { padding: var(--sp-5) var(--sp-4); }
    .marketing-hero { padding: 56px var(--sp-4) 40px; }
    .marketing-hero h1 { font-size: 2rem; }
}

/* ---------- Razor Pages defaults still used by some scaffolded views ---------- */
.row > * { padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); }

/* ---------- Marketing enhancements for HubSpot-like polish ---------- */

/* Hero background accent and layout tweaks */
.hero-spot {
    position: relative;
    overflow: hidden;
}
.hero-spot::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -20%;
    width: 60rem;
    height: 60rem;
    background: radial-gradient(closest-side, rgba(124,58,237,0.12), transparent 40%);
    transform: rotate(25deg);
    filter: blur(40px);
    pointer-events: none;
}

.marketing-hero h1 {
    font-size: 3.25rem;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.marketing-hero .lead { font-size:1.125rem; color:var(--text-muted); }

/* CTA styles */
.btn-cta {
    padding: 14px 22px;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(11,105,255,0.08);
    transition: transform var(--tx), box-shadow var(--tx);
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,105,255,0.12); }
.btn-cta.secondary { background: transparent; border: 1px solid rgba(15,23,42,0.06); color: var(--text); box-shadow:none; }

/* Pricing card polish */
.pricing-card { padding: 28px; border-radius: 14px; transition: transform var(--tx), box-shadow var(--tx); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card .price { font-size: 28px; font-weight:700; }
.pricing-card .muted { color: var(--text-muted); }

/* Most popular ribbon */
.ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(90deg,var(--primary),var(--secondary));
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    box-shadow: 0 6px 20px rgba(37,99,235,0.12);
}
.most-popular { position: relative; border: 1px solid rgba(11,105,255,0.06); }

/* Feature icon circle */
.feat-icon { width:56px; height:56px; border-radius:12px; display:grid; place-items:center; font-size:1.25rem; margin-bottom:12px; background: linear-gradient(180deg,var(--primary-50),#fff); color:var(--primary); }

/* Subtle entrance animation */
.fade-in-up { opacity: 0; transform: translateY(8px); animation: fadeUp .6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Responsive tweaks */
@media (max-width: 991px) {
    .marketing-hero h1 { font-size: 2rem; }
    .hero-spot::before { display: none; }
}

/* Tighten container for marketing */
.container.marketing-container { max-width: 1200px; }

/* footer small link style */
.footer-compact a { color: var(--text-muted); }

/* end marketing enhancements */

/* ---------- Pricing section ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.pricing-card-featured {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12), 0 4px 8px rgba(37, 99, 235, 0.08);
    background: linear-gradient(180deg, #ffffff, var(--primary-50));
}

.pricing-flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--r-pill);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 12px;
}

.pricing-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 8px 0 4px;
}

.pricing-price .amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.pricing-price .unit {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pricing-sub {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.pricing-features li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 2px;
}

/* ---------- WhatsApp contact strip ---------- */
.whatsapp-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
    border: 1px solid #BBF7D0;
    border-radius: var(--r-xl);
    padding: 18px 22px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.whatsapp-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #25D366;
    color: #fff;
    font-size: 1.25rem;
}

.btn-whatsapp {
    background: #25D366;
    border: 1px solid #25D366;
    color: #fff;
    font-weight: 600;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background: #1EBE5D;
    border-color: #1EBE5D;
    color: #fff;
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .whatsapp-strip {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .whatsapp-strip .whatsapp-icon { margin: 0 auto; }
}
/* end pricing section */

/* ---------- Enhanced features section ---------- */
.features-category {
    margin-bottom: 64px;
}

.features-category:last-of-type {
    margin-bottom: 32px;
}

.features-category-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}

.features-category-head h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin: 12px 0 8px;
    color: var(--text);
}

.features-category-head p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.features-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.features-category-tag-primary {
    background: var(--primary-50);
    color: var(--primary-600);
}

.features-category-tag-success {
    background: var(--success-50);
    color: #047857;
}

.features-category-tag-violet {
    background: var(--secondary-50);
    color: #6D28D9;
}

/* Pro feature card - richer than .feature-card */
.feature-card-pro {
    position: relative;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
    overflow: hidden;
}

.feature-card-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity var(--tx);
    pointer-events: none;
}

.feature-card-pro:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.feature-card-pro:hover::before {
    opacity: 1;
}

.feature-card-pro h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text);
    position: relative;
}

.feature-card-pro p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 14px;
    line-height: 1.55;
    position: relative;
}

/* Gradient icon tiles */
.feat-icon-pro {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
    position: relative;
}

.feat-grad-blue    { background: linear-gradient(135deg, #3B82F6, #2563EB); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30); }
.feat-grad-violet  { background: linear-gradient(135deg, #A78BFA, #7C3AED); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.30); }
.feat-grad-cyan    { background: linear-gradient(135deg, #22D3EE, #06B6D4); box-shadow: 0 6px 16px rgba(6, 182, 212, 0.30); }
.feat-grad-emerald { background: linear-gradient(135deg, #34D399, #10B981); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.30); }
.feat-grad-amber   { background: linear-gradient(135deg, #FBBF24, #F59E0B); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.30); }
.feat-grad-rose    { background: linear-gradient(135deg, #FB7185, #EF4444); box-shadow: 0 6px 16px rgba(239, 68, 68, 0.30); }
.feat-grad-pink    { background: linear-gradient(135deg, #F472B6, #DB2777); box-shadow: 0 6px 16px rgba(219, 39, 119, 0.30); }

/* Chip at the bottom of every feature card */
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    position: relative;
}

.feature-chip i {
    font-size: 0.85rem;
    color: var(--primary);
}

/* Bottom band of "always-on" pills */
.features-bottom-band {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 56px;
    padding: 20px 24px;
    background: linear-gradient(180deg, var(--bg-subtle), #fff);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
}

.features-bottom-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow-xs);
}

.features-bottom-pill i {
    color: var(--primary);
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .features-category { margin-bottom: 48px; }
    .features-category-head h3 { font-size: 1.25rem; }
    .features-bottom-band { margin-top: 40px; }
}
/* end enhanced features section */

/* ---------- How it works timeline ---------- */
.hiw-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Vertical spine line behind the numbered markers */
.hiw-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 27px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 60%, transparent 100%);
    opacity: 0.18;
    border-radius: 2px;
}

.hiw-step {
    position: relative;
    display: flex;
    gap: 24px;
    padding: 0 0 28px 0;
    align-items: flex-start;
}

.hiw-step:last-child { padding-bottom: 0; }

.hiw-marker {
    position: relative;
    flex: 0 0 56px;
    height: 56px;
    display: grid;
    place-items: center;
}

.hiw-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30), 0 0 0 6px #fff;
    z-index: 1;
}

.hiw-card {
    flex: 1;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
}

.hiw-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.hiw-card-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}

.hiw-card-head .feat-icon-pro {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    font-size: 1.15rem;
    flex: 0 0 44px;
}

.hiw-eyebrow {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hiw-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin: 2px 0 0;
    letter-spacing: -0.01em;
}

.hiw-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0 0 14px;
    line-height: 1.6;
}

.hiw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ----- Closing CTA banner under the timeline ----- */
.hiw-cta {
    margin-top: 48px;
    padding: 28px 32px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.10), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.10), transparent 50%),
        linear-gradient(180deg, #ffffff, var(--bg-subtle));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.hiw-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-600);
    background: var(--primary-50);
    border-radius: var(--r-pill);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hiw-cta-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.hiw-cta-sub {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 4px;
}

.hiw-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hiw-timeline::before { left: 19px; }
    .hiw-marker { flex-basis: 40px; height: 40px; }
    .hiw-num { width: 36px; height: 36px; font-size: 0.9rem; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30), 0 0 0 4px #fff; }
    .hiw-step { gap: 16px; padding-bottom: 20px; }
    .hiw-card { padding: 18px 18px; }
    .hiw-card-head { gap: 12px; }
    .hiw-card-head .feat-icon-pro { width: 40px; height: 40px; flex-basis: 40px; font-size: 1.05rem; }
    .hiw-title { font-size: 1rem; }
    .hiw-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
    .hiw-cta-actions { width: 100%; }
    .hiw-cta-actions .btn { flex: 1; }
}
/* end how it works timeline */

/* ---------- FAQ accordion ---------- */
.faq-accordion .accordion-item {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl) !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--tx), border-color var(--tx);
}

.faq-accordion .accordion-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-item:last-of-type { margin-bottom: 0; }

.faq-accordion .accordion-header { margin: 0; }

.faq-accordion .accordion-button {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    letter-spacing: -0.005em;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 0 !important;
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(180deg, var(--primary-50), #fff);
    color: var(--text);
}

.faq-accordion .accordion-button::after {
    background-image: none;
    content: "\F282"; /* bi-plus -> we use rotation trick below; simpler: hide and use ::before chevron */
    display: none;
}

.faq-accordion .accordion-button {
    position: relative;
    padding-right: 56px;
}

.faq-accordion .accordion-button > i.bi-chevron-down { display: none; }

.faq-accordion .accordion-button::before {
    content: "\F282"; /* bi-chevron-down */
    font-family: "bootstrap-icons";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transition: transform var(--tx);
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
}

.faq-accordion .accordion-button:not(.collapsed)::before {
    transform: translateY(-50%) rotate(0deg);
    color: var(--primary);
}

.faq-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-50), #fff);
    color: var(--primary);
    font-size: 1.05rem;
    border: 1px solid rgba(37, 99, 235, 0.10);
}

.faq-accordion .accordion-button:not(.collapsed) .faq-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.faq-accordion .accordion-body {
    padding: 4px 22px 22px 72px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.faq-still-stuck {
    margin-top: 32px;
    padding: 20px 24px;
    border-radius: var(--r-xl);
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.08), transparent 60%),
        linear-gradient(180deg, #fff, var(--bg-subtle));
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .faq-accordion .accordion-button { padding: 16px 52px 16px 16px; font-size: 0.95rem; gap: 12px; }
    .faq-accordion .accordion-button::before { right: 16px; }
    .faq-accordion .accordion-body { padding: 4px 16px 18px 64px; }
    .faq-still-stuck { flex-direction: column; align-items: stretch; text-align: center; }
}
/* end FAQ accordion */

/* ---------- Marketing footer ---------- */
.marketing-footer {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.marketing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-col .brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--tx);
}

.footer-list a:hover {
    color: var(--primary-600);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1rem;
    flex: 0 0 16px;
}

.footer-contact a {
    color: var(--text);
}

.footer-contact a:hover {
    color: var(--primary-600);
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--tx), background var(--tx), border-color var(--tx), transform var(--tx);
}

.footer-social-link:hover {
    color: var(--primary-600);
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-1px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px;
    color: var(--text-muted);
    font-size: 0.825rem;
}

.footer-bottom-copy { color: var(--text-muted); }

.footer-bottom-legal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--tx);
}

.footer-bottom-legal a:hover { color: var(--primary-600); }

.footer-sep { color: var(--text-soft); }

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
/* end marketing footer */

/* ---------- Legal modals (Privacy / Terms / AUP) ---------- */
.legal-modal .modal-content {
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.legal-modal-header {
    border-bottom: 1px solid var(--border-soft);
    background: linear-gradient(180deg, #ffffff, var(--bg-subtle));
    align-items: flex-start;
}

.legal-modal-header .modal-title {
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 1.25rem;
    margin-top: 4px;
}

.legal-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-modal-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 6px;
}

.legal-modal-body {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.65;
    padding: 22px 24px;
    max-height: 70vh;
}

.legal-modal-body h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin: 22px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-soft);
    letter-spacing: -0.005em;
}

.legal-modal-body h6:first-child { margin-top: 0; }

.legal-modal-body p {
    color: var(--text-muted);
    margin: 0 0 10px;
}

.legal-modal-body p strong {
    color: var(--text);
    font-weight: 600;
}

.legal-modal-body ul {
    color: var(--text-muted);
    margin: 0 0 14px;
    padding-left: 22px;
}

.legal-modal-body ul li {
    margin-bottom: 4px;
}

.legal-modal-body a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
}

.legal-modal-body a:hover { text-decoration: underline; }

.legal-modal-footer {
    border-top: 1px solid var(--border-soft);
    background: var(--bg-subtle);
}

@media (max-width: 600px) {
    .legal-modal-header .modal-title { font-size: 1.1rem; }
    .legal-modal-body { padding: 18px 18px; font-size: 0.9rem; max-height: 65vh; }
}
/* end legal modals */

/* ---------- Trusted by sales teams ---------- */
.trusted-section {
    position: relative;
    padding: 56px 24px 64px;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.06), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    overflow: hidden;
}

.trusted-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.trusted-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.trusted-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 12px 0 0;
    color: var(--text);
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trusted-stat {
    position: relative;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
}

.trusted-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.trusted-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.trusted-num {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
}

.trusted-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 991px) {
    .trusted-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .trusted-title { font-size: 1.4rem; }
    .trusted-num { font-size: 2rem; }
}

@media (max-width: 480px) {
    .trusted-grid { grid-template-columns: 1fr; }
    .trusted-section { padding: 40px 16px 48px; }
}
/* end trusted by sales teams */

/* ============================================================
   HERO SCREENSHOT + PRODUCT TOUR
   ============================================================ */

/* ---------- Enlarged hero screenshot ---------- */
.hero-screenshot-wrap {
    position: relative;
    width: 100%;
}

/* Soft brand glow behind the hero screenshot */
.hero-screenshot-glow {
    position: absolute;
    inset: -30px -20px -40px -20px;
    z-index: 0;
    background:
        radial-gradient(circle at 30% 0%, rgba(124, 58, 237, 0.18), transparent 55%),
        radial-gradient(circle at 70% 100%, rgba(37, 99, 235, 0.22), transparent 60%);
    filter: blur(20px);
    pointer-events: none;
}

/* ---------- Browser-style frame (re-used by hero + product tour) ---------- */
.browser-frame {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25), 0 12px 32px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #F8FAFC, #F1F5F9);
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dot-red    { background: #FF5F57; }
.browser-dot-amber  { background: #FEBC2E; }
.browser-dot-green  { background: #28C840; }

.browser-url {
    flex: 1;
    margin-left: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.browser-url i { color: var(--success); font-size: 0.75rem; }

.browser-body { background: linear-gradient(180deg, #F8FAFC, #FFFFFF); }

/* Hero-specific frame ratio */
.hero-browser-frame {
    transform: translateY(0);
    transition: transform var(--tx);
}

.hero-browser-frame:hover {
    transform: translateY(-2px);
}

.mock-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
}

.mock-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.mock-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2px;
}

.mock-stat-success { color: var(--success); }

.hero-log {
    margin-top: 12px;
    background: #0F172A;
    color: #CBD5E1;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.7;
    max-height: 132px;
    overflow: hidden;
}

.hero-log-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    margin-right: 8px;
    letter-spacing: 0.04em;
}

.log-ok   { background: rgba(16, 185, 129, 0.18); color: #34D399; }
.log-dial { background: rgba(37, 99, 235, 0.18);  color: #60A5FA; }
.log-vm   { background: rgba(6, 182, 212, 0.18);  color: #67E8F9; }

/* ---------- Product tour section ---------- */
.product-tour {
    padding: 80px 24px 96px;
    background:
        radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.05), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.06), transparent 50%),
        var(--bg);
}

.product-tour-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.product-tour-head {
    text-align: center;
    margin-bottom: 40px;
}

.product-tour-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.product-tour-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
    padding: 6px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.tour-tab {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background var(--tx), color var(--tx), box-shadow var(--tx);
    white-space: nowrap;
}

.tour-tab i { font-size: 1rem; }

.tour-tab:hover { color: var(--text); }

.tour-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30);
}

.product-tour-stage {
    position: relative;
}

.tour-pane { display: none; }
.tour-pane.active { display: block; }

.product-browser-frame {
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.28), 0 18px 40px rgba(15, 23, 42, 0.12);
}

.product-tour-cta {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- App mock (sidebar + main) ---------- */
.app-mock {
    display: flex;
    min-height: 520px;
    background: var(--bg);
}

.app-mock-sidebar {
    flex: 0 0 220px;
    background: var(--bg-sidebar);
    color: var(--text-on-dark);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sb-brand {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 8px;
}

.sb-brand i { color: var(--primary); }

.sb-section {
    color: var(--text-on-dark-muted);
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 12px 10px 6px;
}

.sb-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text-on-dark);
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
}

.sb-link i { color: var(--text-on-dark-muted); font-size: 0.95rem; }

.sb-link.active {
    background: var(--bg-sidebar-active);
    color: #fff;
}

.sb-link.active i { color: var(--primary); }

.app-mock-main {
    flex: 1;
    padding: 20px 24px;
    overflow: hidden;
}

.app-mock-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 16px;
    flex-wrap: wrap;
}

.app-mock-crumbs {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.app-mock-h {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
    letter-spacing: -0.01em;
}

/* Generic chip used inside the mocks */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text);
}

.chip i { font-size: 0.85rem; color: var(--primary); }

.chip-success { background: var(--success-50); border-color: rgba(16,185,129,0.20); color: #047857; }
.chip-info    { background: var(--info-50);    border-color: rgba(6,182,212,0.20);  color: #0E7490; }

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
}

.chip-dot.pulse {
    box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
    animation: chipPulse 1.6s infinite;
}

@keyframes chipPulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
    70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* KPI grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.kpi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-xs);
}

.kpi-label {
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: -0.02em;
}

.kpi-trend {
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kpi-trend.up { color: var(--success); }

/* Two-column panel grid */
.two-col {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
}

.panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow-xs);
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.panel-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

/* Charts */
.chart-mock {
    height: 140px;
    background: linear-gradient(180deg, #F8FAFC, #FFFFFF);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 8px;
}

.chart-svg { width: 100%; height: 100%; display: block; }

.bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 100%;
    padding: 6px 4px;
}

.bars span {
    flex: 1;
    height: var(--h, 50%);
    background: linear-gradient(180deg, #2563EB, #7C3AED);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
}

/* Donut chart wrap */
.donut-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
}

.donut {
    width: 130px;
    height: 130px;
    flex: 0 0 130px;
}

.donut-legend {
    flex: 1;
    display: grid;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text);
}

.donut-legend > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.donut-legend strong { margin-left: auto; color: var(--text-muted); font-weight: 600; }

.sw {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

/* Simple list rows (progress) */
.list-rows { display: grid; gap: 10px; }
.list-rows .row {
    display: grid;
    grid-template-columns: 1.4fr 2fr auto;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.row-name { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.row-bar {
    height: 8px;
    background: var(--bg-subtle);
    border-radius: 999px;
    overflow: hidden;
}
.row-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 999px;
}
.row-pct { font-size: 0.78rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Mock data table */
.mock-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}

.mock-table thead th {
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.mock-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.mock-table tbody tr:last-child td { border-bottom: 0; }
.mock-table tbody tr:hover { background: var(--primary-50); }

.mock-table .badge { font-weight: 600; font-size: 0.7rem; padding: 4px 8px; border-radius: 6px; }

/* ---------- Agent screen specifics ---------- */
.agent-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
}

.agent-call {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 14px;
    align-items: center;
}

.agent-avatar {
    grid-row: span 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.agent-caller .agent-name { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.agent-caller .agent-num  { font-family: 'JetBrains Mono', monospace; color: var(--text); font-size: 0.95rem; }
.agent-caller .agent-meta { color: var(--text-muted); font-size: 0.78rem; margin-top: 4px; display:flex; gap:10px; flex-wrap:wrap; }

.agent-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.ac-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text);
    transition: background var(--tx), border-color var(--tx), color var(--tx);
}

.ac-btn:hover { background: var(--bg-subtle); }
.ac-end {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
    width: 64px;
    margin-left: auto;
}

.disp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.disp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: background var(--tx), border-color var(--tx), color var(--tx);
}

.disp:hover { background: var(--bg-subtle); }
.disp i { font-size: 0.95rem; }
.disp-success { background: var(--success-50); border-color: rgba(16,185,129,0.30); color: #047857; }
.disp-warn    { background: var(--warning-50); border-color: rgba(245,158,11,0.30);  color: #92400E; }
.disp-danger  { background: var(--danger-50);  border-color: rgba(239,68,68,0.30);   color: #B91C1C; }

.disp-notes {
    width: 100%;
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text);
    resize: none;
    background: #fff;
}

.disp-notes:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow); }

.lead-context {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.lead-context > div { display: grid; gap: 2px; }
.lc-k { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.lc-v { font-size: 0.88rem; color: var(--text); font-weight: 500; }

/* ---------- Lead import specifics ---------- */
.import-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
}

.dropzone {
    border: 2px dashed var(--border-strong);
    background: linear-gradient(180deg, #FFFFFF, var(--primary-50));
    text-align: center;
    padding: 28px 22px;
}

.dz-icon {
    font-size: 2.2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.dz-title { font-weight: 600; color: var(--text); font-size: 1rem; }
.dz-sub { color: var(--text-muted); font-size: 0.82rem; margin: 4px 0 12px; }
.dz-btn { padding: 6px 14px; }
.dz-files { margin-top: 16px; display: grid; gap: 8px; }

.dz-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: left;
}

.dz-file i { color: var(--primary); font-size: 1.1rem; }
.dz-fname { font-weight: 600; color: var(--text); font-size: 0.85rem; }
.dz-fmeta { color: var(--text-muted); font-size: 0.78rem; margin-left: 6px; }
.dz-file .badge { margin-left: auto; }

.map-rows { display: grid; gap: 8px; }
.map-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 8px 12px;
}
.map-src { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--text-muted); }
.map-dst { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; color: var(--text); font-weight: 600; text-align: right; }
.map-row i { color: var(--text-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .product-tour { padding: 56px 16px 64px; }
    .product-tour-title { font-size: 1.6rem; }
    .app-mock { min-height: auto; }
    .app-mock-sidebar { display: none; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
    .agent-grid { grid-template-columns: 1fr; }
    .import-grid { grid-template-columns: 1fr; }
    .lead-context { grid-template-columns: repeat(2, 1fr); }
    .hero-screenshot-wrap { margin-top: 32px; }
}

@media (max-width: 600px) {
    .product-tour-tabs { border-radius: var(--r-md); padding: 4px; gap: 4px; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
    .tour-tab { padding: 8px 12px; font-size: 0.82rem; }
    .browser-url { font-size: 0.68rem; padding: 5px 10px; }
    .browser-bar { padding: 8px 10px; }
    .app-mock-main { padding: 14px 14px; }
    .app-mock-h { font-size: 1.05rem; }
    .kpi-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .kpi-value { font-size: 1.25rem; }
    .mock-table { font-size: 0.75rem; }
    .mock-table thead th, .mock-table tbody td { padding: 8px 10px; }
    .disp-grid { grid-template-columns: 1fr 1fr; }
    .lead-context { grid-template-columns: 1fr 1fr; }
    .donut-wrap { flex-direction: column; }
    .donut { width: 110px; height: 110px; flex-basis: 110px; }
}
/* end hero screenshot + product tour */

/* ---------- Why auto dialing matters (call center stats) ---------- */
.why-section {
    padding: 80px 24px 96px;
    background:
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.07), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.why-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.why-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.why-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-top: 12px;
    color: var(--text);
}

.why-lead {
    color: var(--text-muted);
    margin-top: 12px;
}

.why-lead strong { color: var(--text); font-weight: 600; }

/* ---- Before / after infographic ---- */
.why-infographic {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
}

.agent-day-card {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
}

.agent-day-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.agent-day-card-featured {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, #ffffff, var(--success-50));
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.12), 0 4px 8px rgba(16, 185, 129, 0.08);
}

.agent-day-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--success-50);
    color: #047857;
    margin-bottom: 18px;
}

.agent-day-tag-muted {
    background: var(--bg-subtle);
    color: var(--text-muted);
}

.agent-day-tag i { color: #10B981; }

.agent-day-donut {
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.adon {
    width: 180px;
    height: 180px;
}

.adon-num {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    fill: var(--text);
    letter-spacing: -0.02em;
}

.adon-num-success { fill: #047857; }
.adon-num-muted   { fill: var(--text-muted); }

.adon-lbl {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 600;
    fill: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.agent-day-legend {
    display: grid;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text);
    text-align: left;
    max-width: 240px;
    margin: 0 auto;
}

.agent-day-legend > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agent-day-legend strong { margin-left: auto; color: var(--text-muted); font-weight: 600; }

.why-arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.why-arrow-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    transform: translateY(-50%);
}

.why-arrow-pill {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.30);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.why-arrow-pill i { font-size: 1.1rem; }

/* ---- Industry stat tiles ---- */
.why-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.why-stat {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 22px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
}

.why-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.why-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.15rem;
}

.why-grad-rose    { background: linear-gradient(135deg, #FB7185, #EF4444); box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25); }
.why-grad-blue    { background: linear-gradient(135deg, #3B82F6, #2563EB); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25); }
.why-grad-emerald { background: linear-gradient(135deg, #34D399, #10B981); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25); }
.why-grad-amber   { background: linear-gradient(135deg, #FBBF24, #F59E0B); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25); }

.why-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.why-stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

/* ---- Closing takeaways row ---- */
.why-takeaways {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.why-take {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow-xs);
}

.why-take i { color: var(--success); font-size: 1rem; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .why-section { padding: 56px 16px 64px; }
    .why-title { font-size: 1.6rem; }
    .why-infographic {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-arrow { min-width: 0; height: 56px; }
    .why-arrow-line {
        left: 50%;
        right: auto;
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, transparent, var(--primary), var(--secondary), transparent);
        transform: translateX(-50%);
    }
    .why-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .why-stats { grid-template-columns: 1fr; }
    .adon { width: 150px; height: 150px; }
}
/* end why auto dialing matters */

/* ---------- Ready to dial CTA (before pricing) ---------- */
.ready-cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 16px;
}

.ready-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: 56px 40px;
    text-align: center;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.18), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.12), transparent 45%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 30px 60px -20px rgba(37, 99, 235, 0.45),
                0 12px 32px rgba(124, 58, 237, 0.25);
}

/* Decorative soft orbs in the corners */
.ready-cta-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    opacity: 0.45;
}

.ready-cta-decor-a {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -80px;
    background: rgba(255, 255, 255, 0.25);
}

.ready-cta-decor-b {
    width: 220px;
    height: 220px;
    bottom: -100px;
    left: -60px;
    background: rgba(16, 185, 129, 0.35);
}

.ready-cta-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.ready-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: var(--r-pill);
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ready-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 16px 0 12px;
    line-height: 1.1;
}

.ready-cta-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
    line-height: 1.55;
}

.ready-cta-sub strong { color: #fff; font-weight: 600; }

.ready-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* Override the standard buttons to read well on the gradient background */
.ready-cta-actions .btn-primary {
    background: #fff;
    border-color: #fff;
    color: var(--primary-600);
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.ready-cta-actions .btn-primary:hover,
.ready-cta-actions .btn-primary:focus {
    background: var(--primary-50);
    border-color: var(--primary-50);
    color: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

.ready-cta-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ready-cta-actions .btn-secondary:hover,
.ready-cta-actions .btn-secondary:focus {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    transform: translateY(-1px);
}

.ready-cta-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
}

.ready-cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ready-cta-trust i { color: #6EE7B7; font-size: 1rem; }

@media (max-width: 768px) {
    .ready-cta-section { padding: 24px 16px 8px; }
    .ready-cta-card { padding: 40px 24px; }
    .ready-cta-title { font-size: 1.75rem; }
    .ready-cta-sub { font-size: 1rem; }
    .ready-cta-actions { flex-direction: column; }
    .ready-cta-actions .btn { width: 100%; }
    .ready-cta-trust { gap: 14px; font-size: 0.8rem; }
}
/* end ready to dial CTA */

/* ---------- Trust & security ---------- */
.trust-section {
    padding: 72px 24px 88px;
    background:
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.05), transparent 55%),
        radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.05), transparent 55%),
        linear-gradient(180deg, var(--bg-subtle) 0%, #ffffff 100%);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.trust-eyebrow {
    background: var(--success-50);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.20);
    border-radius: var(--r-pill);
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trust-eyebrow i { color: #10B981; }

.trust-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 12px;
}

.trust-lead {
    color: var(--text-muted);
    margin-top: 12px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.trust-card {
    position: relative;
    display: flex;
    gap: 16px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 22px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--tx), box-shadow var(--tx), border-color var(--tx);
    overflow: hidden;
}

.trust-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity var(--tx);
    pointer-events: none;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.30);
}

.trust-card:hover::before { opacity: 1; }

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.15rem;
    flex: 0 0 44px;
}

.trust-grad-blue    { background: linear-gradient(135deg, #3B82F6, #2563EB); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25); }
.trust-grad-violet  { background: linear-gradient(135deg, #A78BFA, #7C3AED); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25); }
.trust-grad-emerald { background: linear-gradient(135deg, #34D399, #10B981); box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25); }
.trust-grad-amber   { background: linear-gradient(135deg, #FBBF24, #F59E0B); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25); }
.trust-grad-cyan    { background: linear-gradient(135deg, #22D3EE, #06B6D4); box-shadow: 0 6px 16px rgba(6, 182, 212, 0.25); }
.trust-grad-rose    { background: linear-gradient(135deg, #FB7185, #EF4444); box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25); }

.trust-card-body {
    flex: 1;
    position: relative;
}

.trust-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.trust-card-head h4 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.01em;
}

.trust-check {
    color: var(--success);
    font-size: 1rem;
    flex: 0 0 16px;
}

.trust-card-body p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0 0 12px;
    line-height: 1.55;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--success-50);
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: #047857;
    font-size: 0.72rem;
    font-weight: 500;
}

.trust-chip i { font-size: 0.85rem; color: #10B981; }

/* Bottom 'commitments' strip */
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-xs);
}

.trust-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
}

.trust-strip-item i {
    color: var(--success);
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .trust-section { padding: 56px 16px 64px; }
    .trust-title { font-size: 1.6rem; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-strip { padding: 16px 16px; }
}
/* end trust & security */
