/* ═══════════════════════════════════════════════════════════════════════
   Profine — style.css v4.0 (Enterprise SaaS Design System)
   Theme: Silicon Valley Clean Tech | Madu Technologies · Production-Grade
   Canadian Minimalism · High-Contrast Onyx & Cobalt
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
    /* ── Grayscale (Onyx) ──────────────────────────────────────────────── */
    --slate-950: #09090b; --slate-925: #0c0c0f; --slate-900: #18181b;
    --slate-875: #1f1f23; --slate-800: #27272a; --slate-750: #303033;
    --slate-700: #3f3f46; --slate-600: #52525b; --slate-500: #71717a;
    --slate-400: #a1a1aa; --slate-300: #d4d4d8; --slate-200: #e4e4e7;
    --slate-150: #ececef; --slate-100: #f4f4f5; --slate-50:  #fafafa;

    /* ── Primary Accent (Profine Blue) ──────────────────────────────────── */
    --accent-900: #0f2942; --accent-800: #1a3f5c; --accent-700: #2d5a7b;
    --accent-600: #3678a9; --accent-500: #4889b8; --accent-400: #7bb1d4;
    --accent-300: #9cc7e2; --accent-200: #bdd8ec; --accent-100: #e0eff7;
    --accent-50:  #f0f7fb;
    --accent-primary: #5A9AC7; --accent-hover: #4889b8;
    --accent-light: var(--accent-50); --accent-ring: rgba(90, 154, 199, .18);

    /* ── Legacy Indigo Aliases (backward compat) ───────────────────────── */
    --indigo-900: var(--accent-900); --indigo-700: var(--accent-700);
    --indigo-600: var(--accent-600); --indigo-500: var(--accent-500);
    --indigo-400: var(--accent-400); --indigo-300: var(--accent-300);
    --indigo-200: var(--accent-200); --indigo-100: var(--accent-100);
    --indigo-50:  var(--accent-50);

    /* ── Semantics ─────────────────────────────────────────────────────── */
    --color-success: #16a34a; --color-success-bg: #f0fdf4; --color-success-text: #15803d;
    --color-warn: #d97706; --color-warn-bg: #fffbeb; --color-warn-text: #b45309;
    --color-danger: #dc2626; --color-danger-bg: #fef2f2; --color-danger-text: #b91c1c;
    --color-info: #2563eb; --color-info-bg: #eff6ff; --color-info-text: #1d4ed8;

    /* ── Functional Mappings ───────────────────────────────────────────── */
    --bg-body: var(--slate-50); --bg-base: var(--slate-50);
    --bg-surface: #ffffff; --bg-surface-hover: var(--slate-50);
    --bg-surface-active: var(--slate-100); --bg-sidebar: var(--slate-950);
    --bg-overlay: rgba(9, 9, 11, 0.7);
    --surface-elevated: #ffffff;
    --border-soft: var(--slate-200); --border-strong: var(--slate-300);
    --border-medium: var(--slate-300);
    --text-primary: var(--slate-900); --text-secondary: var(--slate-600);
    --text-muted: var(--slate-400);
    --accent: var(--accent-primary);

    /* ── Typography Hierarchy ──────────────────────────────────────────── */
    --fs-xxxs: 10px; --fs-xxs: 11px; --fs-xs: 12px; --fs-sm: 14px;
    --fs-md: 16px; --fs-lg: 18px; --fs-xl: 20px; --fs-2xl: 24px;
    --fs-3xl: 30px; --fs-4xl: 36px; --fs-5xl: 48px;
    --lh-extra-tight: 1.1; --lh-tight: 1.25; --lh-snug: 1.375;
    --lh-normal: 1.5; --lh-relaxed: 1.625; --lh-loose: 1.75;
    --lh-extra-loose: 2;
    --fw-extra-light: 200; --fw-light: 300; --fw-regular: 400;
    --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700;
    --fw-extra-bold: 800; --fw-black: 900;

    /* ── Font Stacks ───────────────────────────────────────────────────── */
    --font-display: 'Syne', 'Manrope', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* ── Spacing & Grid ────────────────────────────────────────────────── */
    --space-xxxxs: 2px; --space-xxxs: 4px; --space-xxs: 6px;
    --space-xs: 8px; --space-sm: 12px; --space-md: 16px;
    --space-lg: 24px; --space-xl: 32px; --space-2xl: 40px;
    --space-3xl: 48px; --space-4xl: 64px; --space-5xl: 80px;
    --space-6xl: 96px;
    --grid-gap: var(--space-md);

    /* ── Layout ─────────────────────────────────────────────────────────── */
    --navbar-h: 64px; --sidebar-w: 316px;

    /* ── Border Radius ─────────────────────────────────────────────────── */
    --r-xxs: 2px; --r-xs: 3px; --r-sm: 5px; --r-md: 8px;
    --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px; --r-3xl: 24px;
    --r-full: 9999px;

    /* ── Shadows ────────────────────────────────────────────────────────── */
    --shadow-xxs: 0 1px 1px rgba(9, 9, 11, .03);
    --shadow-xs: 0 1px 2px rgba(9, 9, 11, .05);
    --shadow-sm: 0 1px 3px rgba(9, 9, 11, .08), 0 1px 2px rgba(9, 9, 11, .04);
    --shadow-md: 0 4px 12px rgba(9, 9, 11, .08), 0 2px 4px rgba(9, 9, 11, .04);
    --shadow-lg: 0 10px 30px rgba(9, 9, 11, .10), 0 4px 8px rgba(9, 9, 11, .05);
    --shadow-xl: 0 20px 50px rgba(9, 9, 11, .12), 0 8px 16px rgba(9, 9, 11, .06);
    --shadow-2xl: 0 25px 60px rgba(9, 9, 11, .16);
    --shadow-3xl: 0 35px 80px rgba(9, 9, 11, .20);
    --shadow-primary: 0 4px 20px rgba(90, 154, 199, .28);
    --shadow-indigo: var(--shadow-primary);

    /* ── Transitions ───────────────────────────────────────────────────── */
    --t-extra-fast: 60ms ease; --t-fast: 90ms ease;
    --t-base: 160ms ease; --t-slow: 300ms cubic-bezier(.4, 0, .2, 1);
    --t-spring: 400ms cubic-bezier(.34, 1.56, .64, 1);
    --t-ease-out: cubic-bezier(0, 0, .2, 1);
    --transition-default: all 160ms ease;

    /* ── Z-Index Stack ─────────────────────────────────────────────────── */
    --z-dropdown: 50; --z-sticky: 60; --z-fixed: 70;
    --z-sidebar: 80; --z-modal-backdrop: 90; --z-modal: 100;
    --z-popover: 110; --z-tooltip: 120; --z-toast: 9999;

    /* ── Breakpoints (reference only — use in media queries) ───────────── */
    --breakpoint-xs: 380px; --breakpoint-sm: 640px;
    --breakpoint-md: 768px; --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px; --breakpoint-2xl: 1536px;
    --breakpoint-3xl: 1920px;

    /* ── Accessibility ─────────────────────────────────────────────────── */
    --focus-ring-width: 2px; --focus-ring-offset: 2px;
    --focus-ring-color: var(--accent-primary);
    --focus-ring-inset: 0 0 0 2px var(--accent-primary);
    --scrollbar-width: 5px;

    /* ── Resume-Specific Tokens ────────────────────────────────────────── */
    --resume-subtitle-fs: 10pt; --resume-loose-lh: 1.7;
    --resume-section-gap: 18pt;
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-size: 16px; }
body { font-family: var(--font-body); font-size: var(--fs-sm); line-height: var(--lh-relaxed); color: var(--text-primary); background: var(--bg-body); min-height: 100vh; display: flex; flex-direction: column; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.012'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; transition: var(--transition-default); }
select, textarea, input { font-family: var(--font-body); transition: border-color var(--t-base), box-shadow var(--t-base); }
::-webkit-scrollbar { width: var(--scrollbar-width); height: var(--scrollbar-width); }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--slate-400); }
:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: var(--focus-ring-offset); border-radius: var(--r-sm); }
::selection { background: var(--accent-100); color: var(--accent-900); }
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   FULL-SCREEN DOCUMENT EDITOR MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.doc-modal { position: fixed; inset: 0; z-index: 1000; display: flex; }
.doc-modal.hidden { display: none !important; }
.doc-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); animation: fadeIn var(--t-base); }
.doc-modal-container { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--bg-base); animation: slideUp var(--t-slow); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Modal Header */
.doc-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: var(--bg-surface); border-bottom: 1px solid var(--border-soft); flex-shrink: 0; }
.doc-header-left { display: flex; align-items: center; gap: 16px; }
.doc-close-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-md); font-size: 13px; font-weight: 600; color: var(--text-secondary); background: var(--slate-100); transition: all var(--t-base); }
.doc-close-btn:hover { background: var(--slate-200); color: var(--text-primary); }
.doc-title-group { display: flex; flex-direction: column; gap: 2px; }
.doc-modal-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-primary); }
.doc-modal-subtitle { font-size: 12px; color: var(--text-muted); }
.doc-header-right { display: flex; align-items: center; gap: 12px; }
.doc-template-selector { display: flex; align-items: center; gap: 8px; }
.doc-template-selector label { font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.doc-select { height: 36px; padding: 0 32px 0 12px; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--bg-surface); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; appearance: none; font-size: 13px; font-weight: 500; color: var(--text-primary); cursor: pointer; min-width: 160px; }
.doc-select:hover { border-color: var(--slate-300); }
.doc-select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-ring); }
.doc-action-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--r-md); font-size: 13px; font-weight: 600; transition: all var(--t-base); }
.doc-download-btn { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-soft); }
.doc-download-btn:hover { background: var(--slate-50); border-color: var(--slate-300); }
.doc-save-btn { background: var(--accent-primary); color: #fff; box-shadow: var(--shadow-primary); }
.doc-save-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Modal Body */
.doc-modal-body { display: flex; flex: 1; overflow: hidden; }
.doc-editor-pane { display: flex; flex-direction: column; width: 45%; min-width: 400px; max-width: 600px; background: var(--bg-surface); border-right: 1px solid var(--border-soft); }
.doc-editor-toolbar { display: flex; align-items: center; gap: 4px; padding: 10px 16px; background: var(--slate-50); border-bottom: 1px solid var(--border-soft); }
.doc-editor-toolbar .ql-formats { display: flex; gap: 2px; margin-right: 8px; padding-right: 8px; border-right: 1px solid var(--border-soft); }
.doc-editor-toolbar .ql-formats:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.doc-editor-toolbar button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); transition: all var(--t-fast); }
.doc-editor-toolbar button:hover { background: var(--slate-200); }
.doc-editor-toolbar button.ql-active { background: var(--accent-light); color: var(--accent-primary); }
.doc-editor-toolbar select { height: 32px; padding: 0 24px 0 10px; border: 1px solid var(--border-soft); border-radius: var(--r-sm); background: var(--bg-surface); font-size: 12px; cursor: pointer; }
.doc-quill-editor { flex: 1; overflow-y: auto; }
.doc-quill-editor .ql-editor { min-height: 100%; padding: 24px; font-size: 14px; line-height: 1.7; }
.doc-quill-editor .ql-editor p { margin-bottom: 12px; }
.doc-quill-editor .ql-editor h1 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.doc-quill-editor .ql-editor h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 20px 0 12px; color: var(--text-primary); }
.doc-quill-editor .ql-editor h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin: 16px 0 8px; color: var(--text-secondary); }
.doc-quill-editor .ql-editor ul, .doc-quill-editor .ql-editor ol { margin: 12px 0; padding-left: 24px; }
.doc-quill-editor .ql-editor li { margin-bottom: 6px; }

/* Preview Pane */
.doc-preview-pane { flex: 1; display: flex; flex-direction: column; background: var(--slate-100); overflow: hidden; }
.doc-preview-label { padding: 12px 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); background: var(--slate-50); border-bottom: 1px solid var(--border-soft); }
.doc-a4-paper { flex: 1; overflow: auto; padding: 40px; display: flex; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESUME TEMPLATES - A4 PAPER STYLING
   ═══════════════════════════════════════════════════════════════════════════ */

/* Base A4 Paper */
.resume-a4 { width: 210mm !important; min-height: 297mm !important; box-sizing: border-box; overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); padding: 20mm; margin: 0 auto; font-size: 11pt; line-height: 1.5; color: #1a1a1a; }
.resume-a4 .job-item { break-inside: avoid; }

/* ─── TEMPLATE 1: ATS STANDARD (Minimalist) ──────────────────────────────── */
.template-ats-standard { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.template-ats-standard .resume-header { text-align: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid #1a1a1a; }
.template-ats-standard .resume-name { font-size: 24pt; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; color: #000; }
.template-ats-standard .resume-contact { font-size: 10pt; color: #444; line-height: 1.6; }
.template-ats-standard .resume-section { margin-bottom: 20px; }
.template-ats-standard .section-title { font-size: 12pt; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #000; padding-bottom: 4px; margin-bottom: 12px; color: #000; }
.template-ats-standard .summary-text { font-size: 10.5pt; line-height: 1.6; color: #333; }
.template-ats-standard .skills-row { font-size: 10.5pt; line-height: 1.8; }
.template-ats-standard .skills-row strong { color: #000; }
.template-ats-standard .job-item { margin-bottom: 16px; }
.template-ats-standard .job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.template-ats-standard .job-title { font-size: 11pt; font-weight: 700; color: #000; }
.template-ats-standard .job-date { font-size: 10pt; color: #666; font-style: italic; }
.template-ats-standard .job-company { font-size: 10.5pt; font-style: italic; color: #444; margin-bottom: 6px; }
.template-ats-standard .job-bullets { margin: 0; padding-left: 20px; }
.template-ats-standard .job-bullets li { font-size: 10pt; margin-bottom: 4px; line-height: 1.5; color: #333; }

/* ─── TEMPLATE 2: SKILL INTENSIVE SPLIT (Two-col, skills sidebar) ────────── */
.template-skill-intensive-split { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.template-skill-intensive-split .resume-header { text-align: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid #2563eb; }
.template-skill-intensive-split .resume-name { font-size: 22pt; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #000; margin-bottom: 6px; }
.template-skill-intensive-split .resume-contact { font-size: 9.5pt; color: #555; }
.template-skill-intensive-split .resume-body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.template-skill-intensive-split .sidebar-column { padding-right: 16px; border-right: 2px solid #dbeafe; }
.template-skill-intensive-split .sidebar-section { margin-bottom: 20px; }
.template-skill-intensive-split .sidebar-section-title { font-size: 10pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #1e3a8a; padding-bottom: 4px; margin-bottom: 8px; border-bottom: 2px solid #2563eb; }
.template-skill-intensive-split .sidebar-skills { font-size: 9.5pt; color: #333; }
.template-skill-intensive-split .skill-list-item { padding: 3px 0; border-bottom: 1px dotted #e2e8f0; line-height: 1.4; }
.template-skill-intensive-split .main-column { padding-left: 8px; }
.template-skill-intensive-split .resume-section { margin-bottom: 18px; }
.template-skill-intensive-split .section-title { font-size: 11pt; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #1e3a8a; padding-bottom: 4px; margin-bottom: 10px; border-bottom: 2px solid #2563eb; }
.template-skill-intensive-split .summary-text { font-size: 10pt; line-height: 1.6; color: #334155; }
.template-skill-intensive-split .job-item { margin-bottom: 16px; page-break-inside: avoid; }
.template-skill-intensive-split .job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.template-skill-intensive-split .job-title { font-size: 11pt; font-weight: 700; color: #1e293b; }
.template-skill-intensive-split .job-date { font-size: 9pt; color: #2563eb; font-weight: 500; }
.template-skill-intensive-split .job-company { font-size: 10pt; color: #64748b; margin-bottom: 6px; font-style: italic; }
.template-skill-intensive-split .job-bullets { margin: 0; padding-left: 18px; }
.template-skill-intensive-split .job-bullets li { font-size: 9.5pt; margin-bottom: 3px; line-height: 1.5; color: #475569; }

/* ─── TEMPLATE 3: BOLD COLUMN PROFESSIONAL (Bold uppercase two-col) ──────── */
.template-bold-column-professional { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.template-bold-column-professional .resume-header { text-align: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 3px solid #0f172a; }
.template-bold-column-professional .resume-name { font-size: 24pt; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; color: #000; margin-bottom: 6px; }
.template-bold-column-professional .resume-contact { font-size: 9.5pt; color: #555; }
.template-bold-column-professional .resume-body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.template-bold-column-professional .sidebar-column { padding-right: 16px; border-right: 2px solid #334155; }
.template-bold-column-professional .sidebar-section { margin-bottom: 20px; }
.template-bold-column-professional .sidebar-section-title { font-size: 10pt; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: #0f172a; padding-bottom: 4px; margin-bottom: 8px; border-bottom: 2px solid #334155; }
.template-bold-column-professional .sidebar-skills { font-size: 9.5pt; color: #333; }
.template-bold-column-professional .skill-list-item { padding: 3px 0; line-height: 1.4; }
.template-bold-column-professional .main-column { padding-left: 8px; }
.template-bold-column-professional .resume-section { margin-bottom: 18px; }
.template-bold-column-professional .section-title { font-size: 11pt; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: #0f172a; padding-bottom: 4px; margin-bottom: 10px; border-bottom: 2px solid #334155; }
.template-bold-column-professional .summary-text { font-size: 10pt; line-height: 1.6; color: #334155; }
.template-bold-column-professional .job-item { margin-bottom: 16px; page-break-inside: avoid; }
.template-bold-column-professional .job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.template-bold-column-professional .job-title { font-size: 11pt; font-weight: 700; color: #000; text-transform: uppercase; }
.template-bold-column-professional .job-date { font-size: 9pt; color: #475569; font-weight: 500; }
.template-bold-column-professional .job-company { font-size: 10pt; color: #475569; margin-bottom: 6px; }
.template-bold-column-professional .job-bullets { margin: 0; padding-left: 18px; }
.template-bold-column-professional .job-bullets li { font-size: 9.5pt; margin-bottom: 3px; line-height: 1.5; color: #475569; }

/* ─── TEMPLATE 4: EXPERIENCE HEAVY CLASSIC (Single-col chronological) ────── */
.template-experience-heavy-classic { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.template-experience-heavy-classic .resume-header { text-align: center; margin-bottom: 14px; padding-bottom: 12px; }
.template-experience-heavy-classic .resume-name { font-size: 24pt; font-weight: 600; color: #000; margin-bottom: 4px; }
.template-experience-heavy-classic .resume-contact { font-size: 9.5pt; color: #555; margin-bottom: 6px; }
.template-experience-heavy-classic .summary-section { text-align: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #e2e8f0; }
.template-experience-heavy-classic .summary-text { font-size: 10pt; line-height: 1.6; color: #333; }
.template-experience-heavy-classic .resume-section { margin-bottom: 18px; }
.template-experience-heavy-classic .section-title { font-size: 12pt; font-weight: 700; text-transform: uppercase; color: #000; padding-bottom: 4px; margin-bottom: 10px; border-bottom: 2px solid #000; }
.template-experience-heavy-classic .skills-row { font-size: 10pt; line-height: 1.8; color: #333; }
.template-experience-heavy-classic .job-item { margin-bottom: 16px; page-break-inside: avoid; }
.template-experience-heavy-classic .job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.template-experience-heavy-classic .job-title { font-size: 11pt; font-weight: 700; color: #000; }
.template-experience-heavy-classic .job-date { font-size: 9pt; font-weight: 600; text-transform: uppercase; color: #475569; }
.template-experience-heavy-classic .job-company { font-size: 10pt; color: #333; margin-bottom: 6px; }
.template-experience-heavy-classic .job-bullets { margin: 0; padding-left: 20px; }
.template-experience-heavy-classic .job-bullets li { font-size: 10pt; margin-bottom: 4px; line-height: 1.5; color: #333; }

/* ─── TEMPLATE 5: EXECUTIVE SUMMARY FOCUS (Exec credentials sidebar) ─────── */
.template-executive-summary-focus { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.template-executive-summary-focus .resume-header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #ccc; }
.template-executive-summary-focus .resume-name { font-family: 'Playfair Display', Georgia, serif; font-size: 26pt; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #000; margin-bottom: 4px; }
.template-executive-summary-focus .resume-contact { font-size: 9.5pt; color: #555; }
.template-executive-summary-focus .resume-body { display: grid; grid-template-columns: 190px 1fr; gap: 28px; }
.template-executive-summary-focus .sidebar-column { padding-right: 16px; border-right: 1px solid #ccc; }
.template-executive-summary-focus .sidebar-section { margin-bottom: 20px; }
.template-executive-summary-focus .sidebar-section-title { font-size: 10pt; font-weight: 700; text-transform: uppercase; color: #000; padding-bottom: 3px; margin-bottom: 8px; border-bottom: 1px solid #999; }
.template-executive-summary-focus .sidebar-contact { font-size: 9pt; line-height: 1.8; color: #555; }
.template-executive-summary-focus .sidebar-skills { font-size: 9pt; color: #333; }
.template-executive-summary-focus .skill-list-item { padding: 2px 0; line-height: 1.4; }
.template-executive-summary-focus .main-column { padding-left: 8px; }
.template-executive-summary-focus .resume-section { margin-bottom: 20px; }
.template-executive-summary-focus .section-title { font-family: 'Playfair Display', Georgia, serif; font-size: 12pt; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #000; padding-bottom: 4px; margin-bottom: 10px; border-bottom: 1px solid #ccc; }
.template-executive-summary-focus .summary-text { font-size: 10pt; line-height: 1.7; color: #333; }
.template-executive-summary-focus .job-item { margin-bottom: 18px; page-break-inside: avoid; }
.template-executive-summary-focus .job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.template-executive-summary-focus .job-title { font-family: 'Playfair Display', Georgia, serif; font-size: 11pt; font-weight: 600; color: #000; text-transform: uppercase; }
.template-executive-summary-focus .job-date { font-size: 9pt; color: #666; }
.template-executive-summary-focus .job-company { font-size: 10pt; color: #475569; margin-bottom: 6px; }
.template-executive-summary-focus .job-bullets { margin: 0; padding-left: 18px; }
.template-executive-summary-focus .job-bullets li { font-size: 9.5pt; margin-bottom: 4px; line-height: 1.6; color: #333; }

/* ─── TEMPLATE 6: DIGITAL CAREER MODERN (Modern tech career) ─────────────── */
.template-digital-career-modern { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.template-digital-career-modern .resume-header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 3px solid #2563eb; }
.template-digital-career-modern .resume-name { font-size: 26pt; font-weight: 800; color: #000; text-transform: uppercase; margin-bottom: 4px; }
.template-digital-career-modern .resume-contact { font-size: 9pt; color: #555; }
.template-digital-career-modern .resume-body { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.template-digital-career-modern .sidebar-column { padding-right: 12px; }
.template-digital-career-modern .sidebar-section { margin-bottom: 20px; }
.template-digital-career-modern .sidebar-section-title { font-size: 10pt; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #1e293b; padding-bottom: 4px; margin-bottom: 8px; border-bottom: 2px solid #2563eb; }
.template-digital-career-modern .skill-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.template-digital-career-modern .skill-tag { font-size: 8.5pt; padding: 3px 10px; background: #f1f5f9; color: #334155; border-radius: 4px; font-weight: 500; }
.template-digital-career-modern .main-column { padding-left: 16px; border-left: 1px solid #e2e8f0; }
.template-digital-career-modern .resume-section { margin-bottom: 18px; }
.template-digital-career-modern .section-title { font-size: 11pt; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #1e293b; padding-bottom: 4px; margin-bottom: 10px; border-bottom: 2px solid #2563eb; }
.template-digital-career-modern .summary-text { font-size: 10pt; line-height: 1.6; color: #334155; }
.template-digital-career-modern .job-item { margin-bottom: 16px; page-break-inside: avoid; }
.template-digital-career-modern .job-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.template-digital-career-modern .job-title { font-size: 11pt; font-weight: 700; color: #000; }
.template-digital-career-modern .job-date { font-size: 9pt; color: #2563eb; font-weight: 500; }
.template-digital-career-modern .job-company { font-size: 10pt; color: #2563eb; margin-bottom: 6px; }
.template-digital-career-modern .job-bullets { margin: 0; padding-left: 18px; }
.template-digital-career-modern .job-bullets li { font-size: 9.5pt; margin-bottom: 3px; line-height: 1.5; color: #475569; }

/* Cover Letter Template */
.template-cover-letter { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; padding: 15mm; }
.template-cover-letter .cl-header { text-align: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.template-cover-letter .cl-name { font-size: 18pt; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.template-cover-letter .cl-contact { font-size: 10pt; color: #64748b; }
.template-cover-letter .cl-date { font-size: 11pt; color: #475569; margin-bottom: 20px; }
.template-cover-letter .cl-body { font-size: 11pt; line-height: 1.7; color: #334155; }
.template-cover-letter .cl-body p { margin-bottom: 14px; }
.template-cover-letter .cl-signature { margin-top: 32px; }
.template-cover-letter .cl-signature-name { font-size: 12pt; font-weight: 600; color: #1a1a1a; }

/* Doc Preview Box (in workspace) */
.doc-preview-box { background: var(--bg-surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 16px; min-height: 200px; max-height: 300px; overflow: auto; margin-bottom: 12px; }
.doc-preview-placeholder { text-align: center; color: var(--text-muted); font-size: 13px; padding: 40px 20px; }

/* ═══════════════════════════════════════════════════════════════════════════
   DASHBOARD VIEW
   ═══════════════════════════════════════════════════════════════════════════ */
.dashboard-layout { flex: 1; padding: 24px; overflow-y: auto; }
.dashboard-container { max-width: 1200px; margin: 0 auto; }
.dashboard-header { margin-bottom: 24px; }
.dashboard-header h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.dashboard-header p { font-size: 14px; color: var(--text-secondary); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dashboard-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; color: var(--text-muted); }
.dashboard-empty svg { margin-bottom: 16px; opacity: 0.5; }
.dashboard-empty p { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.dashboard-empty span { font-size: 13px; }
.dashboard-card { background: var(--bg-surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 16px; transition: all var(--t-base); cursor: pointer; }
.dashboard-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dashboard-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.dashboard-card-type { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 99px; }
.dashboard-card-type.cover-letter { background: var(--accent-light); color: var(--accent-primary); }
.dashboard-card-type.resume { background: var(--color-success-bg); color: var(--color-success); }
.dashboard-card-date { font-size: 11px; color: var(--text-muted); }
.dashboard-card-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.dashboard-card-company { font-size: 12px; color: var(--text-secondary); margin-bottom: 12px; }
.dashboard-card-actions { display: flex; gap: 8px; }
.dashboard-card-btn { flex: 1; padding: 8px; font-size: 12px; font-weight: 500; border-radius: var(--r-md); border: 1px solid var(--border-soft); background: var(--bg-surface); color: var(--text-secondary); transition: all var(--t-fast); }
.dashboard-card-btn:hover { background: var(--slate-50); border-color: var(--slate-300); }

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: 360px; width: calc(100vw - 48px); }
.toast { display: flex; align-items: flex-start; gap: 11px; padding: 13px 16px; background: var(--slate-900); color: #fff; border-radius: var(--r-lg); box-shadow: 0 8px 30px rgba(15, 23, 42, .25), 0 2px 8px rgba(15, 23, 42, .15); pointer-events: all; animation: toast-in var(--t-slow) both; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); }
.toast::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 99px 0 0 99px; }
.toast--success::before { background: var(--color-success); }
.toast--danger::before { background: var(--color-danger); }
.toast--warn::before { background: var(--color-warn); }
.toast--info::before { background: var(--accent-400); }
.toast__icon { flex-shrink: 0; margin-top: 1px; width: 18px; height: 18px; }
.toast--success .toast__icon { color: #4ade80; }
.toast--danger .toast__icon { color: #f87171; }
.toast--warn .toast__icon { color: #fbbf24; }
.toast--info .toast__icon { color: var(--accent-300); }
.toast__body { flex: 1; min-width: 0; }
.toast__title { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #fff; }
.toast__sub { font-size: 12px; color: var(--slate-400); margin-top: 2px; line-height: 1.5; }
.toast__close { flex-shrink: 0; color: var(--slate-500); padding: 2px; border-radius: var(--r-sm); transition: color var(--t-fast); cursor: pointer; }
.toast__close:hover { color: #fff; }
.toast.toast--removing { animation: toast-out var(--t-base) both; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px) scale(.96); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(0) scale(1); max-height: 120px; margin-bottom: 0; } to { opacity: 0; transform: translateX(20px) scale(.96); max-height: 0; margin-bottom: -10px; } }

/* ═══════════════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════════════ */
.navbar { position: sticky; top: 0; z-index: 100; height: var(--navbar-h); background: rgba(255, 255, 255, .88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(226, 232, 240, .7); box-shadow: 0 1px 0 rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .03); }
.navbar-inner { display: flex; align-items: center; gap: 14px; height: 100%; padding: 0 20px; max-width: 1800px; margin: 0 auto; }
.navbar-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; user-select: none; cursor: pointer; text-decoration: none; }
.brand-logo { display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 6px rgba(37, 99, 235, .32)); transition: transform var(--t-spring); }
.brand-logo:hover { transform: rotate(-5deg) scale(1.08); }
.brand-logo--sm { filter: none; }
.brand-name { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--slate-900); letter-spacing: -.4px; }
.brand-ai { background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-700) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; }
.navbar-nav { display: flex; flex-shrink: 0; }
.nav-tabs { display: flex; align-items: center; gap: 2px; background: var(--slate-100); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 3px; }
.nav-tab { display: flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: calc(var(--r-lg) - 2px); font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: all var(--t-base); white-space: nowrap; }
.nav-tab:hover:not(.active) { color: var(--text-primary); background: rgba(255, 255, 255, .7); }
.nav-tab.active { background: var(--bg-surface); color: var(--accent-primary); box-shadow: var(--shadow-sm); font-weight: var(--fw-semibold); }
.nav-tab svg { flex-shrink: 0; }
.navbar-actions { flex: 1; display: flex; justify-content: flex-end; overflow: hidden; }
.filter-controls { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; overflow: auto; }
.filter-group { flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.filter-label { font-size: 11px; font-weight: 600; color: var(--text-muted); white-space: nowrap; letter-spacing: .02em; }
.filter-select-wrapper { position: relative; display: flex; align-items: center; }
.filter-select { height: 32px; padding: 0 28px 0 10px; border: 1px solid var(--border-soft); border-radius: var(--r-full); background: var(--bg-surface); appearance: none; -webkit-appearance: none; -moz-appearance: none; font-size: 12px; font-weight: 600; color: var(--text-primary); cursor: pointer; transition: all var(--t-base); box-shadow: var(--shadow-xxs); }
.filter-select:hover { border-color: var(--accent-300); background: var(--accent-50); color: var(--accent-700); }
.filter-select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-ring); }
.filter-chevron { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-muted); transition: color var(--t-base); }
.filter-select-wrapper:hover .filter-chevron { color: var(--accent-primary); }

/* Mobile toggle */
.mobile-menu-btn { display: none; flex-direction: column; gap: 4px; padding: 6px; margin-left: auto; border-radius: var(--r-sm); transition: background var(--t-fast); }
.mobile-menu-btn:hover { background: var(--slate-100); }
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 99px; transition: all var(--t-base); }
.mobile-filters-btn { display: none; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-md); font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--slate-100); border: 1px solid var(--border-soft); margin-left: auto; }
.mobile-filters-btn.has-filters { color: var(--accent-primary); border-color: var(--accent-300); background: var(--accent-light); }
.filter-active-dot { width: 6px; height: 6px; background: var(--accent-primary); border-radius: 50%; display: none; }
.mobile-filters-btn.has-filters .filter-active-dot { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   VIEW PANELS
   ═══════════════════════════════════════════════════════════════════════════ */
#app-workspace { display: flex; flex-direction: column; min-height: 100vh; padding-top: var(--navbar-h); }
.view-panel { flex: 1; animation: fadeInView var(--t-slow) both; }
.view-panel.hidden { display: none !important; }
@keyframes fadeInView { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════════════
   DISCOVERY LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.discovery-main { display: flex; align-items: stretch; width: 100%; height: calc(100vh - var(--navbar-h)); overflow: hidden; gap: 0; }
.job-list-column { width: 35%; flex-shrink: 0; display: flex; flex-direction: column; background: var(--bg-surface); border-right: 1px solid var(--border-soft); overflow: hidden; }
.job-feed-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; flex-shrink: 0; border-bottom: 1px solid var(--border-soft); gap: 8px; }
.filters-trigger-btn { display: none; }
.custom-job-trigger {
    margin-left: auto;
    margin-right: 12px;
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
    min-width: max-content;
    white-space: nowrap;
}
.job-workspace { flex: 1; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--bg-base); }
.job-workspace #activeJobState { display: flex; flex-direction: column; flex: 1; min-height: 0; height: 100%; }
.job-workspace .job-header-bar { flex-shrink: 0; }
.job-workspace .workspace-split { flex: 1; overflow: hidden; display: flex; align-items: stretch; }
.job-workspace .empty-state { flex: 1; }

.app-layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; grid-template-rows: auto 1fr; min-height: calc(100vh - var(--navbar-h) - 53px); overflow: hidden; }
.mobile-queue-toggle { display: none; grid-column: 1 / -1; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-surface); border-bottom: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; color: var(--accent-primary); transition: background var(--t-base); }
.mobile-queue-toggle:hover { background: var(--accent-light); }

/* Sidebar */
.job-queue { grid-row: 1 / -1; border-right: 1px solid var(--border-soft); background: var(--bg-surface); display: flex; flex-direction: column; height: calc(100vh - var(--navbar-h)); position: sticky; top: var(--navbar-h); overflow: hidden; overscroll-behavior: contain; }
.sidebar-overlay { display: none; }
.sidebar-inner { display: flex; flex-direction: column; height: 100%; overflow: hidden; }

/* Resume upload */
.resume-upload-section { padding: 14px; border-bottom: 1px solid var(--border-soft); flex-shrink: 0; background: var(--slate-50); }
.upload-header { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px; }
.upload-accordion-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0; }
.upload-accordion-chevron { transition: transform var(--t-base); }
.upload-accordion-trigger[aria-expanded="true"] .upload-accordion-chevron { transform: rotate(180deg); }
.upload-dropzone { position: relative; border: 1.5px dashed var(--border-medium); border-radius: var(--r-md); margin-bottom: 8px; background: #fff; transition: all var(--t-base); overflow: hidden; }
.upload-dropzone:hover { border-color: var(--accent-primary); background: var(--accent-50); box-shadow: 0 0 0 4px var(--accent-ring); }
.upload-dropzone.drag-active { border-color: var(--accent-primary); background: var(--accent-50); box-shadow: 0 0 0 4px var(--accent-ring); }
#resumeUpload { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-label { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 14px 8px; cursor: pointer; }
.upload-icon { color: var(--text-muted); transition: color var(--t-base), transform var(--t-spring); }
.upload-dropzone:hover .upload-icon { color: var(--accent-primary); transform: translateY(-2px); }
.upload-text { font-size: 11.5px; color: var(--text-secondary); text-align: center; font-weight: 500; }
.btn-upload { height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 8px 14px; border-radius: var(--r-md); background: var(--accent-primary); color: #fff; font-size: 13px; font-weight: var(--fw-semibold); transition: all var(--t-base); box-shadow: var(--shadow-primary); position: relative; overflow: hidden; }
.btn-upload:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 99, 235, .35); }
.btn-upload:active:not(:disabled) { transform: translateY(0); }
.btn-upload:disabled { opacity: .45; cursor: not-allowed; }
.upload-status { display: block; margin-top: 7px; font-size: 11px; color: var(--text-muted); text-align: center; font-weight: 500; }

/* Queue header */
.queue-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; flex-shrink: 0; }
.queue-header h2 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-primary); letter-spacing: -.1px; }
.job-count-badge { background: var(--accent-primary); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-full); letter-spacing: .01em; }
.cards-container { flex: 1; overflow-y: auto; padding: 0 6px 14px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; touch-action: pan-y; }

/* Skeleton */
.skeleton-list { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.skeleton-card { height: 76px; border-radius: var(--r-md); background: linear-gradient(90deg, var(--slate-100) 0%, var(--slate-50) 40%, var(--slate-100) 80%); background-size: 250% 100%; animation: shimmer 1.8s ease-in-out infinite; }
.skeleton-card:nth-child(2) { animation-delay: .15s; }
.skeleton-card:nth-child(3) { animation-delay: .3s; }
.skeleton-card:nth-child(4) { animation-delay: .45s; }
.skeleton-card:nth-child(5) { animation-delay: .6s; }
@keyframes shimmer { 0% { background-position: 250% 0; } 100% { background-position: -250% 0; } }

/* Job cards */
.job-card { position: relative; padding: 11px 12px; border: 1px solid transparent; border-radius: var(--r-md); cursor: pointer; transition: box-shadow var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); margin-bottom: 3px; animation: cardEnter var(--t-slow) both; }
@keyframes cardEnter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.job-card:hover { background: var(--slate-50); border-color: var(--border-soft); transform: translateX(3px); box-shadow: var(--shadow-xs); }
.job-card.selected { background: var(--accent-50); border-color: var(--accent-400); box-shadow: 0 0 0 1px var(--accent-400), var(--shadow-xs); }
.job-card-title { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; padding-right: 48px; line-height: 1.4; }
.job-card.selected .job-card-title { color: var(--accent-700); }
.job-card-company { font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-bottom: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.meta-chip.custom-chip { font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 4px; border: 1px solid; white-space: nowrap; }
.custom-job-delete-btn { flex-shrink: 0; width: 28px; height: 28px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.custom-job-delete-btn:hover { background: #fee2e2; color: #dc2626; }
.job-card-meta { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.match-badge { position: absolute; top: 11px; right: 10px; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-full); background: var(--slate-100); color: var(--text-secondary); border: 1px solid var(--border-soft); font-family: var(--font-display); }
.job-card.selected .match-badge { background: var(--accent-100); color: var(--accent-700); border-color: var(--accent-300); }

/* Empty state */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 400px; padding: 40px; text-align: center; }
.empty-illustration { margin-bottom: 24px; opacity: .65; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.empty-state h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; letter-spacing: -.3px; }
.empty-state p { font-size: 14px; color: var(--text-secondary); max-width: 340px; line-height: 1.75; }

/* Job header bar */
.job-header-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; background: var(--bg-surface); border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; position: relative; }
.job-header-bar::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-200), transparent); opacity: .6; }
.job-header-left { flex: 1; min-width: 0; }
.job-header-left h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-primary); letter-spacing: -.4px; line-height: 1.3; margin-bottom: 9px; white-space: normal; overflow: visible; }
.job-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.meta-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; background: var(--slate-100); border: 1px solid var(--border-soft); font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.listing-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--accent-primary); padding: 3px 10px; border-radius: var(--r-full); border: 1px solid var(--accent-300); background: var(--accent-50); transition: all var(--t-base); }
.listing-link:hover { background: var(--accent-100); border-color: var(--accent-primary); transform: translateY(-1px); box-shadow: var(--shadow-xs); }
.job-header-right { display: flex; align-items: center; flex-shrink: 0; }
.status-control { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.status-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.status-dropdown { height: 34px; padding: 0 32px 0 12px; border: 1.5px solid var(--border-medium); border-radius: var(--r-md); background: var(--bg-surface); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; appearance: none; font-size: 13px; font-weight: 600; color: var(--text-primary); cursor: pointer; transition: all var(--t-base); box-shadow: var(--shadow-xs); }
.status-dropdown:hover { border-color: var(--accent-primary); }
.status-dropdown:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-ring); }
.status-dropdown[data-status="Queue"] { border-color: var(--slate-300); }
.status-dropdown[data-status="Applied"] { border-color: var(--color-success); color: var(--color-success); }
.status-dropdown[data-status="Interviewing"] { border-color: var(--color-info); color: var(--color-info); }
.status-dropdown[data-status="Offer"] { border-color: var(--accent-primary); color: var(--accent-primary); }
.status-dropdown[data-status="Rejected"] { border-color: var(--color-danger); color: var(--color-danger); }

/* Split pane */
.workspace-split { display: flex; align-items: stretch; width: 100%; flex: 1; min-height: 0; position: relative; }
.strategy-panel {
    width: 38%;
    flex: 0 0 auto;
    order: 3;
    padding: 0;
    overflow: hidden;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-soft);
    border-right: none;
    display: flex;
    flex-direction: column;
}
.panel-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 16px 20px; 
    border-bottom: 1px solid var(--border-soft); 
    background: var(--bg-surface);
    flex-shrink: 0;
}
.panel-title { 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--text-primary); 
    margin: 0; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.panel-toggle-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 28px; 
    height: 28px; 
    background: none; 
    border: none; 
    color: var(--text-secondary); 
    cursor: pointer; 
    border-radius: 6px; 
    transition: all var(--t-fast);
    padding: 0;
}
.panel-toggle-btn:hover { 
    background: var(--slate-100); 
    color: var(--text-primary);
}
.panel-toggle-btn svg { 
    transition: transform var(--t-fast);
}
.panel-toggle-btn.collapsed svg { 
    transform: rotate(-90deg);
}
.panel-content { 
    flex: 1; 
    overflow-y: auto; 
    padding: 20px;
}
.panel-separator {
    width: 6px;
    background: var(--border-soft);
    cursor: col-resize;
    flex-shrink: 0;
    order: 2;
    z-index: 10;
    transition: background var(--t-fast);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.panel-separator::after {
    content: '';
    width: 2px;
    height: 40px;
    background: var(--slate-300);
    border-radius: 99px;
    transition: all var(--t-fast);
}
.panel-separator:hover, .panel-separator.dragging { background: var(--accent-100); }
.panel-separator:hover::after, .panel-separator.dragging::after { background: var(--accent-primary); opacity: 0.8; }

/* Column separator between job list and workspace */
.col-separator {
    width: 16px;
    background: var(--border-soft);
    cursor: col-resize;
    flex-shrink: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background var(--t-fast);
    user-select: none;
    border-left: 1px solid var(--border-soft);
    border-right: 1px solid var(--border-soft);
    background: var(--slate-50);
}
.col-separator:hover { background: var(--accent-100); }
.col-sep-btn {
    width: 20px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: white;
    border: 1px solid var(--border-soft);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--t-fast);
    z-index: 11;
    padding: 0;
    box-shadow: var(--shadow-xs);
}
.col-sep-btn:hover { background: var(--accent-50); color: var(--accent-primary); border-color: var(--accent-200); }
.col-sep-btn svg { flex-shrink: 0; transition: transform var(--t-fast); }
.col-separator.list-collapsed .col-sep-btn svg { transform: rotate(180deg); }
.strategy-panel.collapsed .panel-content { display: none; }
.context-panel {
    flex: 1;
    min-width: 0;
    order: 1;
    padding: 0;
    background: var(--bg-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.strategy-panel .panel-content,
.context-panel .panel-content { min-height: 0; }
.context-panel.collapsed .panel-content { display: none; }
.section-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.section-label { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 0; }
.section-label-row + .description-content { /* when label-row is used, label already has no margin */ }
.btn-summarize { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 600; color: var(--accent-primary); background: var(--accent-50); border: 1px solid var(--accent-200); cursor: pointer; transition: all var(--t-base); }
.btn-summarize:hover { background: var(--accent-100); border-color: var(--accent-primary); transform: translateY(-1px); box-shadow: var(--shadow-xs); }
.btn-summarize:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-summarize.loading { animation: pulse-glow 1.5s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } 50% { box-shadow: 0 0 12px 2px rgba(37, 99, 235, .2); } }
.jd-summary-panel { background: var(--accent-50); border: 1px solid var(--accent-200); border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 16px; animation: fadeInView var(--t-slow) both; }
.jd-summary-header { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-700); margin-bottom: 10px; }
.btn-close-summary { margin-left: auto; font-size: 16px; color: var(--accent-400); background: none; border: none; cursor: pointer; padding: 0 2px; line-height: 1; transition: color var(--t-fast); }
.btn-close-summary:hover { color: var(--accent-700); }
.jd-summary-content { font-size: 13px; line-height: 1.7; color: var(--text-primary); }
.jd-summary-content ul { margin: 6px 0; padding-left: 18px; }
.jd-summary-content li { margin-bottom: 4px; }
.jd-summary-content strong { color: var(--accent-800); }
.description-content { font-size: 13.5px; line-height: 1.9; color: var(--text-secondary); white-space: pre-wrap; word-break: break-word; font-weight: 400; }

/* AI Panel */
.btn-generate { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 12px 18px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-700) 100%); color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; box-shadow: var(--shadow-primary); transition: all var(--t-base); position: relative; overflow: hidden; }
.btn-generate::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, transparent 60%); pointer-events: none; }
.btn-generate:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37, 99, 235, .42); }
.btn-generate:active:not(:disabled) { transform: translateY(0); }
.btn-generate:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

/* Loading */
.loading-state { display: flex; align-items: center; gap: 14px; padding: 20px 4px 10px; animation: fadeInView var(--t-slow) both; }
.loading-spinner { flex-shrink: 0; position: relative; width: 36px; height: 36px; }
.spinner-track { position: absolute; inset: 0; border: 3px solid var(--accent-100); border-radius: 50%; }
.spinner-ring { position: absolute; inset: 0; border: 3px solid transparent; border-top-color: var(--accent-primary); border-right-color: var(--accent-300); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin-icon { animation: spin .75s linear infinite; }
.loading-title { font-size: 13.5px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.loading-sub { font-size: 12px; color: var(--text-secondary); }

/* ATS Dashboard */
.ai-results-panel { animation: fadeInView var(--t-slow) both; }
.ats-dashboard { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.ats-score-box, .skills-gap-box { padding: 13px 15px; background: var(--slate-50); border: 1px solid var(--border-soft); border-radius: var(--r-lg); transition: box-shadow var(--t-base); }
.ats-score-box:hover, .skills-gap-box:hover { box-shadow: var(--shadow-sm); }
.ats-score-box h4, .skills-gap-box h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-muted); margin-bottom: 8px; }
.score-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.score-label-row h4 { margin-bottom: 0; }
.score-text { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--text-primary); letter-spacing: -.6px; transition: color var(--t-slow); }
.progress-bar { width: 100%; height: 6px; background: var(--slate-200); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: var(--r-full); background: linear-gradient(90deg, var(--accent-primary), var(--accent-700)); transition: width 1s cubic-bezier(.4, 0, .2, 1); width: 0%; }
.skills-list { display: flex; flex-wrap: wrap; gap: 5px; min-height: 24px; }
.skill-pill { font-size: 11px; font-weight: 500; padding: 4px 10px; background: var(--color-danger-bg); color: var(--color-danger); border-radius: 99px; }

/* Tabs */
.tabs { display: flex; gap: 2px; background: var(--slate-100); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 3px; margin-bottom: 12px; }
.tab-btn { flex: 1; padding: 8px 12px; border-radius: calc(var(--r-lg) - 2px); font-size: 12.5px; font-weight: 500; color: var(--text-secondary); transition: all var(--t-base); text-align: center; }
.tab-btn:hover:not(.active) { color: var(--text-primary); background: rgba(255, 255, 255, .7); }
.tab-btn.active { background: var(--bg-surface); color: var(--accent-primary); box-shadow: var(--shadow-sm); font-weight: var(--fw-semibold); }
.tab-content { animation: fadeInView var(--t-slow) both; }
.tab-content.hidden { display: none; }

/* Content actions */
.content-actions { display: flex; gap: 8px; margin-top: 12px; }
.btn-secondary { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-soft); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--text-primary); transition: var(--transition-default); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-surface-hover); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.btn-success { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; border-radius: var(--r-md); background: var(--color-success); color: #fff; font-size: 13px; font-weight: 600; transition: all var(--t-base); box-shadow: 0 2px 8px rgba(22, 163, 74, .25); }
.btn-success:hover { background: #15803d; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22, 163, 74, .35); }
.action-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-soft); }

/* ═══════════════════════════════════════════════════════════════════════════
   KANBAN BOARD
   ═══════════════════════════════════════════════════════════════════════════ */
.kanban-layout { flex: 1; padding: 20px; overflow-x: auto; }
.kanban-board { display: flex; gap: 16px; min-width: max-content; }
.kanban-column { width: 280px; flex-shrink: 0; background: var(--slate-100); border-radius: var(--r-xl); display: flex; flex-direction: column; overflow: hidden; }
.column-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg-surface); border-bottom: 1px solid var(--border-soft); }
.col-title { display: flex; align-items: center; gap: 8px; }
.col-title h3 { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.col-dot { width: 8px; height: 8px; border-radius: 50%; }
.col-dot--queue { background: var(--slate-400); }
.col-dot--applied { background: var(--color-success); }
.col-dot--interviewing { background: var(--color-info); }
.col-dot--offer { background: var(--accent-primary); }
.col-dot--rejected { background: var(--color-danger); }
.col-count { font-size: 11px; font-weight: 700; padding: 2px 8px; background: var(--slate-100); color: var(--text-secondary); border-radius: 99px; }
.dropzone { flex: 1; padding: 10px; min-height: 200px; overflow-y: auto; }
.dropzone.drag-over { background: var(--accent-50); }
.kanban-card { background: var(--bg-surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 12px; margin-bottom: 8px; cursor: grab; transition: all var(--t-base); box-shadow: var(--shadow-xs); }
.kanban-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kanban-card:active { cursor: grabbing; }

/* ═══════════════════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--bg-overlay); backdrop-filter: blur(4px); }
.modal-overlay.hidden { display: none !important; }
.modal-content { width: 100%; max-width: 600px; max-height: 90vh; background: var(--bg-surface); border-radius: var(--r-lg); border: 1px solid var(--border-soft); box-shadow: var(--shadow-lg); overflow: hidden; animation: modalIn var(--t-slow); padding: 0; }
@keyframes modalIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.modal-header h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-primary); }
.btn-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); font-size: 20px; color: var(--text-muted); transition: all var(--t-fast); }
.btn-close:hover { background: var(--slate-100); color: var(--text-primary); }
.modal-body { padding: 20px; }
.modal-input, .modal-textarea { width: 100%; padding: var(--space-sm) var(--space-md); border: 1px solid var(--slate-300); border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--text-primary); background: var(--bg-surface); transition: var(--transition-default); margin-bottom: 12px; }
.modal-input:focus, .modal-textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-light); }
.modal-textarea { min-height: 160px; resize: vertical; }
.modal-footer { padding: 12px 20px 20px; }
.btn-primary { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px 20px; border-radius: var(--r-md); background: var(--accent-primary); color: #fff; font-size: var(--fs-sm); font-weight: var(--fw-semibold); transition: var(--transition-default); box-shadow: var(--shadow-sm); border: none; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-primary); }
.btn-primary:active { transform: scale(0.98); }
.btn-icon-small { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--text-muted); transition: all var(--t-fast); }
.btn-icon-small:hover { background: var(--slate-100); color: var(--accent-primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE FILTER SHEET
   ═══════════════════════════════════════════════════════════════════════════ */
.filter-sheet-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); z-index: 150; opacity: 0; visibility: hidden; transition: all var(--t-slow); }
.filter-sheet-backdrop.open { opacity: 1; visibility: visible; }
.filter-sheet { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-surface); border-radius: var(--r-2xl) var(--r-2xl) 0 0; padding: 20px; z-index: 160; transform: translateY(100%); transition: transform var(--t-slow); max-height: 85vh; overflow-y: auto; }
.filter-sheet.open { transform: translateY(0); }
.filter-sheet-handle { width: 40px; height: 4px; background: var(--slate-300); border-radius: 99px; margin: 0 auto 16px; }
.filter-sheet-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-sheet-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-primary); }
.filter-sheet-reset { font-size: 13px; font-weight: 600; color: var(--accent-primary); }
.filter-sheet-row { margin-bottom: 16px; }
.filter-sheet-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.filter-sheet-select { width: 100%; height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--border-soft); border-radius: var(--r-md); background: var(--bg-surface); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; appearance: none; font-size: 14px; color: var(--text-primary); }
.filter-sheet-apply { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: var(--r-lg); background: var(--accent-primary); color: #fff; font-size: 15px; font-weight: var(--fw-semibold); margin-top: 8px; box-shadow: var(--shadow-primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
/* ── Resume Vault ─────────────────────────────────────────────────────────── */
.vault-layout { flex: 1; padding: 24px; overflow-y: auto; }
.vault-container { max-width: 960px; margin: 0 auto; }
.vault-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.vault-header h2 { font-size: 22px; font-weight: 700; color: var(--text-primary); margin: 0 0 4px; }
.vault-header p { font-size: 13px; color: var(--text-muted); margin: 0; }
.vault-upload-section { margin-bottom: 32px; }
.vault-dropzone { position: relative; border: 2px dashed var(--border-medium); border-radius: var(--r-lg); background: var(--bg-surface); transition: all var(--t-base); overflow: hidden; }
.vault-dropzone:hover, .vault-dropzone.drag-active { border-color: var(--accent-primary); background: var(--accent-50); box-shadow: 0 0 0 4px var(--accent-ring); }
.vault-dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.vault-upload-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px 24px; cursor: pointer; pointer-events: none; }
.vault-upload-icon { color: var(--accent-primary); transition: transform var(--t-base); }
.vault-dropzone:hover .vault-upload-icon { transform: translateY(-3px); }
.vault-upload-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.vault-upload-hint { font-size: 12px; color: var(--text-muted); }
.vault-upload-feedback { margin-top: 10px; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-md); }
.vault-upload-feedback.success { background: var(--color-success-bg); color: var(--color-success); }
.vault-upload-feedback.error { background: #fee2e2; color: var(--color-danger); }
.vault-grid-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vault-grid-header h3 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 0; }
.vault-count-badge { font-size: 11px; font-weight: 700; color: var(--text-muted); background: var(--slate-100); padding: 3px 9px; border-radius: 99px; }
.vault-empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 48px 24px; color: var(--text-muted); text-align: center; }
.vault-empty p { font-size: 15px; font-weight: 600; color: var(--text-secondary); margin: 0; }
.vault-empty span { font-size: 13px; }
.vault-card { background: var(--bg-surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 16px; transition: all var(--t-base); display: flex; flex-direction: column; gap: 12px; }
.vault-card.is-active { border-color: var(--accent-primary); box-shadow: 0 0 0 2px var(--accent-ring); }
.vault-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vault-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.vault-card-name { font-size: 14px; font-weight: 600; color: var(--text-primary); word-break: break-word; }
.vault-card-date { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.vault-active-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; background: var(--accent-primary); padding: 3px 8px; border-radius: var(--r-full); white-space: nowrap; flex-shrink: 0; }
.vault-card-actions { display: flex; gap: 8px; }
.vault-card-btn { flex: 1; padding: 7px 10px; font-size: 12px; font-weight: 500; border-radius: var(--r-md); border: 1px solid var(--border-soft); background: var(--bg-surface); color: var(--text-secondary); cursor: pointer; transition: all var(--t-fast); }
.vault-card-btn:hover { background: var(--slate-50); border-color: var(--slate-300); }
.vault-card-btn.activate { color: var(--accent-primary); border-color: var(--accent-ring); }
.vault-card-btn.activate:hover { background: var(--accent-50); }
.vault-card-btn.delete { color: var(--color-danger); }
.vault-card-btn.delete:hover { background: #fee2e2; }

.app-footer { background: var(--bg-surface); border-top: 1px solid var(--border-soft); padding: 16px 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1800px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.footer-copy { font-size: 12px; color: var(--text-muted); margin-left: 8px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; font-weight: 500; color: var(--text-secondary); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--accent-primary); }
.footer-social { display: flex; gap: 8px; }
.social-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); color: var(--text-muted); transition: all var(--t-base); }
.social-icon:hover { background: var(--slate-100); color: var(--accent-primary); }

/* Mobile back button */
.mobile-back-btn { display: none; align-items: center; gap: 6px; padding: 12px 20px; background: var(--bg-surface); border-bottom: 1px solid var(--border-soft); font-size: 13px; font-weight: 600; color: var(--accent-primary); }

/* Bottom nav — hidden on desktop, activated by media query */
.mobile-bottom-nav { display: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .filter-controls { display: none; }
    .mobile-filters-btn { display: flex; }
    .doc-modal-body { flex-direction: column; }
    .doc-editor-pane { width: 100%; max-width: none; height: 50%; border-right: none; border-bottom: 1px solid var(--border-soft); }
    .doc-preview-pane { height: 50%; }
    .resume-a4 { transform: scale(0.7); transform-origin: top center; }
    .discovery-main { flex-direction: column; height: auto; overflow: visible; }
    .col-separator { width: 100%; height: 12px; flex-direction: row; border-left: none; border-right: none; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
    .job-list-column { width: 100%; height: 100%; border-right: none; border-bottom: 1px solid var(--border-soft); }
    .workspace-split { flex-direction: column; }
    .strategy-panel { width: 100%; order: 3; border-left: none; border-top: 1px solid var(--border-soft); }
    .panel-separator { height: 6px; width: 100%; cursor: row-resize; order: 2; }
    .context-panel { order: 1; }
}

@media (max-width: 768px) {
    :root { --navbar-h: 56px; }
    .navbar-inner { padding: 0 12px; gap: 8px; }
    .navbar-nav { display: none !important; }
    .filter-controls { display: none !important; }
    .mobile-filters-btn { display: flex; }
    .navbar-actions { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
    #auth-container { margin-right: 0 !important; }

    /* ── DISCOVERY MOBILE LAYOUT ── */
    .discovery-main { height: auto; overflow: visible; flex-direction: column; }
    .job-feed-header {
        flex-wrap: wrap;
        align-items: center;
    }
    .col-separator { display: none; }
    .job-list-column { width: 100%; height: auto; max-height: 45vh; overflow-y: auto; border-right: none; }
    #viewDiscovery.detail-view .job-list-column { display: none; }
    .job-workspace { width: 100%; height: auto; max-height: none; overflow-y: auto; }
    #viewDiscovery:not(.detail-view) .job-workspace { display: none; }
    #viewDiscovery.detail-view .job-workspace { display: flex; flex: 1; height: auto; max-height: none; overflow-y: auto; }
    .modal-overlay { padding: 12px; }
    .modal-content {
        max-width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: var(--r-lg);
    }
    .modal-header { padding: 14px 16px; }
    .modal-body { padding: 14px 16px; }
    .modal-footer { padding: 10px 16px 16px; }
    .modal-textarea { min-height: 140px; }
    .workspace-split { flex-direction: column; }
    .strategy-panel {
        width: 100%;
        order: 3;
        height: auto;
        max-height: none;
        position: relative;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-top: 1px solid var(--border-soft);
        padding: 0;
    }
    .panel-separator { display: none; }
    .context-panel {
        order: 1;
        width: 100%;
        height: auto;
        max-height: none;
        padding: 0;
        overflow: visible;
    }
    .workspace-split {
        overflow: visible;
    }
    .panel-content {
        overflow: visible;
        flex: none;
    }
    .strategy-panel, .context-panel {
        height: auto;
        min-height: auto;
    }
    .job-workspace .workspace-split {
        flex-direction: column;
        overflow: visible;
    }
    .description-content {
        max-height: none;
        overflow: visible;
    }

    /* ── KANBAN MOBILE LAYOUT ── */
    .kanban-layout { padding: 12px; }
    .kanban-board { gap: 12px; }
    .kanban-column { width: 240px; }

    /* ── BOTTOM NAVIGATION BAR ── */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 95;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-soft);
        box-shadow: 0 -4px 20px rgba(15,23,42,0.08);
        height: 62px;
        align-items: stretch;
    }
    .mobile-bottom-nav .nav-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px;
        border-radius: 0;
        font-size: 10px;
        font-weight: 600;
        color: var(--text-muted);
        background: transparent;
        transition: all var(--t-base);
        letter-spacing: 0.01em;
        white-space: nowrap;
        position: relative;
    }
    .mobile-bottom-nav .nav-tab svg { width: 20px; height: 20px; flex-shrink: 0; }
    .mobile-bottom-nav .nav-tab.active { color: var(--accent-primary); background: transparent; box-shadow: none; }
    .mobile-bottom-nav .nav-tab.active::before {
        content: '';
        position: absolute;
        top: 0; left: 50%;
        transform: translateX(-50%);
        width: 32px; height: 2px;
        background: var(--accent-primary);
        border-radius: 0 0 4px 4px;
    }

    /* Push content above bottom nav */
    #app-workspace { padding-bottom: 62px; }
    .app-footer { margin-bottom: 62px; }

    /* ── RESPONSIVE SECTIONS ── */
    .view-panel { min-height: calc(100vh - var(--navbar-h) - 62px); }
    
    /* ATS Panel responsive */
    .strategy-panel { max-height: none; }
    .ai-results-panel { max-height: none; }
    .tabs { flex-wrap: wrap; }
    .btn-generate { padding: 10px 16px; font-size: 13px; }
    
    /* Content actions responsive */
    .content-actions { flex-wrap: wrap; }
    .btn-secondary, .btn-success { flex: 1; min-width: 140px; }
    
    /* ATS Score box responsive */
    .ats-dashboard { gap: 8px; }
    .ats-score-box, .skills-gap-box { padding: 10px 12px; }
    .score-text { font-size: 18px; }
    .skills-list { gap: 4px; }
    .skill-pill { font-size: 10px; padding: 3px 8px; }

    /* Filters trigger button is needed */
    .filters-trigger-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-md); font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--slate-100); border: 1px solid var(--border-soft); transition: all var(--t-base); cursor: pointer; }
    .filters-trigger-btn:hover { background: var(--slate-200); color: var(--text-primary); }
    .custom-job-trigger {
        order: 3;
        margin: 0;
        flex: 1 1 100%;
        justify-content: center;
    }

    /* ── MOBILE BACK BUTTON ── */
    .mobile-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: var(--slate-100);
        border: 1px solid var(--border-soft);
        border-radius: var(--r-md);
        font-size: 13px;
        font-weight: 600;
        color: var(--text-secondary);
        cursor: pointer;
        margin-bottom: 8px;
    }

    /* ── JOB QUEUE DRAWER ── */
    .app-layout { grid-template-columns: 1fr; }

    .job-queue {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        /* Stop above bottom nav so it doesn't overlap */
        bottom: 62px;
        height: auto !important;
        width: 88%;
        max-width: 340px;
        z-index: 90;
        transform: translateX(-100%);
        transition: transform var(--t-slow);
        box-shadow: var(--shadow-lg);
        /* Critical: allow internal scroll without body lock */
        overflow: hidden;
        overscroll-behavior: contain;
    }
    .job-queue.drawer-open { transform: translateX(0); }

    /* Cards must scroll on touch */
    .job-queue .cards-container {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .job-queue .sidebar-inner {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    /* Overlay covers full viewport (must be outside transformed job-queue to work) */
    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        bottom: 62px; /* stop above bottom nav */
        background: rgba(15,23,42,.5);
        z-index: 85; /* above drawer (90 is drawer, but overlay only covers outside area) */
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--t-slow), visibility var(--t-slow);
        pointer-events: none;
    }
    .sidebar-overlay.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }

    /* "Browse Jobs" toggle bar */
    .mobile-queue-toggle {
        display: flex;
        background: var(--accent-primary);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        padding: 11px 16px;
        gap: 8px;
        border-radius: 0;
        width: 100%;
    }
    .mobile-queue-toggle:hover { background: var(--accent-hover); }

    /* ── LAYOUT FIXES ── */
    .workspace-split { flex-direction: column; }
    .strategy-panel { width: 100%; position: relative; max-height: none; border-right: none; border-bottom: 1px solid var(--border-soft); }
    .mobile-back-btn { display: flex; }
    .job-header-bar { flex-direction: column; gap: 12px; }
    .job-header-right { width: 100%; }
    .status-control { align-items: flex-start; width: 100%; }
    .status-dropdown { width: 100%; }
    .kanban-column { width: 260px; }
    .doc-modal-header { flex-wrap: wrap; gap: 12px; }
    .doc-header-right { width: 100%; justify-content: flex-end; }
    .resume-a4 { transform: scale(0.5); transform-origin: top center; padding: 10mm; }
    .template-skill-intensive-split .resume-body { grid-template-columns: 1fr; }
    .template-skill-intensive-split .sidebar-column { border-right: none; padding-right: 0; }
    .template-bold-column-professional .resume-body { grid-template-columns: 1fr; }
    .template-bold-column-professional .sidebar-column { border-right: none; padding-right: 0; }
    .template-executive-summary-focus .resume-body { grid-template-columns: 1fr; }
    .template-executive-summary-focus .sidebar-column { border-right: none; padding-right: 0; }
    .template-digital-career-modern .resume-body { grid-template-columns: 1fr; }
    .template-digital-career-modern .main-column { border-left: none; padding-left: 0; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
    .doc-editor-toolbar { flex-wrap: wrap; }
    .doc-editor-toolbar .ql-formats { margin-right: 4px; padding-right: 4px; }
    .doc-action-btn span { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
}

/* Print styles for PDF generation */
@media print {
    .resume-a4 { transform: scale(1) !important; box-shadow: none !important; margin: 0 !important; width: 210mm !important; min-height: 297mm !important; padding: 15mm; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESUME TEMPLATE CARDS (5-card grid)
   ═══════════════════════════════════════════════════════════════════════════ */
.template-cards-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 16px 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.template-cards-container::-webkit-scrollbar {
    height: 6px;
}

.template-cards-container::-webkit-scrollbar-track {
    background: var(--slate-100);
    border-radius: 99px;
}

.template-cards-container::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 99px;
}

.template-card {
    flex: 0 0 200px;
    background: var(--bg-surface);
    border: 2px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: 12px;
    cursor: pointer;
    transition: all var(--t-base);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.template-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-ring), var(--shadow-md);
    transform: translateY(-4px);
}

.template-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-align: center;
    padding: 4px 8px;
    background: var(--slate-50);
    border-radius: var(--r-md);
}

.template-card-preview {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--r-md);
    background: var(--slate-100);
    position: relative;
}

.template-card-preview-inner {
    transform: scale(0.28);
    transform-origin: top left;
    width: 357%;
    height: 357%;
    pointer-events: none;
}

.template-card-industry {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESUME PREVIEW MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.resume-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-preview-modal.hidden {
    display: none !important;
}

.resume-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
}

.resume-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--slate-100);
}

.resume-preview-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
    transition: all var(--t-base);
    box-shadow: var(--shadow-md);
}

.resume-preview-close:hover {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border-color: var(--color-danger);
}

.resume-preview-content {
    flex: 1;
    overflow: auto;
    padding: 80px 40px 40px;
    display: flex;
    justify-content: center;
}

.resume-preview-paper {
    background: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.resume-preview-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 14px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-soft);
}

.resume-preview-toolbar-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-toolbar-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.preview-toolbar-select {
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
}

.preview-color-input {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-sm);
    cursor: pointer;
    padding: 0;
    background: none;
}

.resume-preview-toolbar-sep {
    width: 1px;
    height: 28px;
    background: var(--border-soft);
    margin: 0 4px;
}

.resume-preview-paper[contenteditable="true"] {
    outline: none;
    cursor: text;
}

.resume-preview-paper[contenteditable="true"]:focus {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), 0 0 0 2px var(--accent-primary);
}

.resume-preview-editable-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    padding: 4px 0 0;
    opacity: 0.8;
}

.resume-preview-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-base);
    min-width: 120px;
}

.resume-preview-btn-primary {
    background: var(--accent-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-indigo);
}

.resume-preview-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.resume-preview-btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-soft);
}

.resume-preview-btn-secondary:hover {
    background: var(--slate-50);
    border-color: var(--slate-300);
}

@media (max-width: 768px) {
    .template-card {
        flex: 0 0 160px;
    }
    
    .template-card-preview {
        height: 220px;
    }
    
    .resume-preview-content {
        padding: 60px 16px 16px;
    }
    
    .resume-preview-toolbar {
        padding: 12px;
    }

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

/* ═══════════════════════════════════════════════════════════════════════
   PROFINE — ELITE LANDING PAGE STYLES
   Architecture: CSS Variables → Component-based → Responsive
   Madu Technologies · Silicon Valley Clean Tech
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── LANDING PAGE VARIABLES ──────────────────────────────────────────── */
:root {
    /* Landing page semantic overrides */
    --bg-primary: #ffffff;
    --bg-secondary: var(--slate-50);
    --accent-secondary: var(--accent-700);
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-700) 100%);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radii */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Landing page shadows */
    --shadow-glow: 0 0 40px -10px var(--accent-500);
    --shadow-glow-lg: 0 0 60px -15px var(--accent-500);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── AMBIENT BACKGROUND ───────────────────────────────────────────────── */
.landing-ambient {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.ambient-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-400) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.ambient-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-300) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, var(--slate-200) 1px, transparent 1px),
        linear-gradient(to bottom, var(--slate-200) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ─── NAVIGATION ───────────────────────────────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all var(--transition-base);
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.landing-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.landing-logo:hover {
    opacity: 0.8;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
    transition: transform var(--transition-spring);
}

.landing-logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-wordmark {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ─── LANDING PAGE BUTTONS (scoped) ────────────────────────────────────── */
.landing-page .btn-ghost,
.landing-page .btn-secondary,
.landing-page .btn-primary,
.state-section .btn-ghost,
.state-section .btn-secondary,
.state-section .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.625rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.landing-page .btn-ghost,
.state-section .btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.landing-page .btn-ghost:hover,
.state-section .btn-ghost:hover {
    background: var(--slate-100);
    color: var(--text-primary);
}

.landing-page .btn-secondary,
.state-section .btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.landing-page .btn-secondary:hover,
.state-section .btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--slate-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.landing-page .btn-primary,
.state-section .btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 1px 3px 0 rgb(37 99 235 / 0.3), 0 1px 2px -1px rgb(37 99 235 / 0.3);
}

.landing-page .btn-primary:hover,
.state-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.3), 0 4px 6px -4px rgb(37 99 235 / 0.3);
}

.landing-page .btn-primary:active,
.state-section .btn-primary:active {
    transform: translateY(0);
}

.btn-glow {
    position: relative;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--accent-gradient);
    border-radius: inherit;
    opacity: 0;
    filter: blur(8px);
    z-index: -1;
    transition: opacity var(--transition-base);
}

.btn-glow:hover::before {
    opacity: 0.5;
}

.btn-large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-xl);
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    transition: transform var(--transition-base);
}

.landing-page .btn-primary:hover .btn-arrow,
.state-section .btn-primary:hover .btn-arrow {
    transform: translateX(3px);
}

/* ─── HERO SECTION ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: calc(72px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    margin-bottom: var(--space-2xl);
}

.hero-badge-container {
    margin-bottom: var(--space-xl);
    display: flex;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-700);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hero-badge:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-500);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--accent-500);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

.badge-arrow {
    opacity: 0.6;
    transition: transform var(--transition-base);
}

.hero-badge:hover .badge-arrow {
    transform: translateX(3px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.title-highlight {
    position: relative;
    display: inline-block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto var(--space-xl);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.social-proof-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.company-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-base);
}

.company-logos:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

.company-logo {
    height: 24px;
    width: auto;
    color: var(--slate-600);
    transition: all var(--transition-base);
}

.company-logo:hover {
    color: var(--slate-900);
    transform: scale(1.05);
}

/* ─── DASHBOARD VISUAL ─────────────────────────────────────────────────── */
.hero-visual {
    width: 100%;
    max-width: 1100px;
    position: relative;
    perspective: 1000px;
}

.dashboard-container {
    position: relative;
    transform: rotateX(5deg) scale(0.95);
    transform-origin: center top;
    transition: transform var(--transition-slow);
}

.hero-visual:hover .dashboard-container {
    transform: rotateX(0deg) scale(1);
}

.dashboard-frame {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.05),
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(37, 99, 235, 0.1) inset;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: left;
}

.browser-chrome {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--slate-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.browser-address {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.375rem var(--space-sm);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-200);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 420px;
}

.dash-sidebar {
    background: var(--slate-50);
    border-right: 1px solid var(--slate-200);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dash-nav-item.active {
    background: white;
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
}

.dash-section {
    margin-top: var(--space-md);
}

.dash-section-title {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
}

.dash-job-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.dash-job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
}

.dash-company-logo {
    width: 24px;
    height: 24px;
    background: var(--accent-100);
    color: var(--accent-700);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.dash-match-score {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
}

.dash-match-score.high { background: #dcfce7; color: #166534; }
.dash-match-score.medium { background: #fef3c7; color: #92400e; }

.dash-job-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dash-job-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dash-main {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.dash-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.dash-meta-row {
    display: flex;
    gap: var(--space-sm);
}

.dash-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dash-chip.remote {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #166534;
}

.dash-btn-primary {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--accent-gradient);
    color: white;
}

.dash-ats-panel {
    background: linear-gradient(135deg, var(--accent-50) 0%, white 100%);
    border: 1px solid var(--accent-200);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
}

.ats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.ats-label { font-size: 0.875rem; font-weight: 600; color: var(--accent-900); }
.ats-score { font-size: 1.5rem; font-weight: 800; color: var(--accent-primary); }

.ats-bar {
    height: 8px;
    background: var(--accent-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.ats-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-500), var(--accent-700));
    border-radius: var(--radius-full);
    width: 92%;
}

.ats-keywords {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.keyword-missing, .keyword-found {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}
.keyword-missing { background: #fee2e2; color: #991b1b; }
.keyword-found { background: #dcfce7; color: #166534; }

/* Floating Cards */
.float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: float-card 6s ease-in-out infinite;
    z-index: 10;
}

.float-card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 20%;
    left: -30px;
    animation-delay: -3s;
}

.float-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-100);
    color: var(--accent-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-icon.success {
    background: #dcfce7;
    color: #166534;
}

.float-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.float-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.float-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-primary);
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .dashboard-content { grid-template-columns: 1fr; }
    .dash-sidebar, .float-card { display: none; }
    .hero-title { font-size: 1.75rem; }
    .hero-stats { gap: var(--space-lg); padding: var(--space-md) var(--space-lg); }
    .hero-stat-number { font-size: 1.25rem; }
}




/* ── Profile Page ──────────────────────────────────────────────────────────── */
.profile-layout { flex: 1; padding: 24px; overflow-y: auto; }
.profile-container { max-width: 620px; margin: 0 auto; }
.profile-card { background: var(--bg-surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.profile-card-header { padding: 24px 28px 16px; border-bottom: 1px solid var(--border-soft); }
.profile-card-header h2 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin: 0 0 4px; }
.profile-card-header p { font-size: 13px; color: var(--text-muted); margin: 0; }
.profile-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.profile-field { display: flex; flex-direction: column; gap: 6px; }
.profile-field label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.profile-input, .profile-textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: var(--r-md); font-size: 14px; color: var(--text-primary); background: var(--bg-surface); transition: all var(--t-base); }
.profile-input:focus, .profile-textarea:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-ring); }
.profile-textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.profile-input::placeholder, .profile-textarea::placeholder { color: var(--text-muted); }

@media (max-width: 640px) {
    .profile-layout { padding: 16px; }
    .profile-card-header, .profile-card-body { padding-left: 20px; padding-right: 20px; }
}

/* User Button Force Display */
.user-button-container, #auth-container { min-width: 36px; height: 36px; display: flex !important; align-items: center; justify-content: center; }


/* ═══════════════════════════════════════════════════════════════════════════
   DOCUMENT EDITOR MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet and below: Stack editor above preview */
@media (max-width: 1024px) {
    .doc-modal-body {
        flex-direction: column !important;
        overflow-y: auto !important;
    }
    
    .doc-editor-pane {
        width: 100% !important;
        max-width: none !important;
        height: 50vh !important;
        min-height: 300px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-soft) !important;
    }
    
    .doc-preview-pane {
        height: auto !important;
        min-height: 50vh !important;
    }
    
    /* Prevent A4 paper from causing horizontal scroll */
    .doc-a4-paper {
        padding: 20px !important;
        display: flex !important;
        justify-content: center !important;
        overflow-x: hidden !important;
    }
    
    .resume-a4 {
        transform: scale(0.65) !important;
        transform-origin: top center !important;
        margin: 0 auto !important;
    }
    
    /* Fix header wrapping on smaller screens */
    .doc-modal-header {
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 12px 16px !important;
    }
    
    .doc-header-right {
        width: 100% !important;
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    /* Ensure template select doesn't break layout */
    .doc-template-selector {
        flex: 1 !important;
        min-width: 140px !important;
    }
    
    .doc-template-selector select {
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* Smaller buttons on tablet */
    .doc-action-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

/* Mobile phones */
@media (max-width: 640px) {
    .doc-modal-container {
        height: 100% !important;
        max-height: 100vh !important;
    }
    
    .doc-editor-pane {
        height: 45vh !important;
        min-height: 250px !important;
    }
    
    .doc-preview-pane {
        min-height: 55vh !important;
    }
    
    /* Further scale down A4 preview */
    .resume-a4 {
        transform: scale(0.45) !important;
        transform-origin: top center !important;
        margin-bottom: -150px !important; /* Compensate for scale whitespace */
    }
    
    /* Simplified header for mobile */
    .doc-modal-header {
        padding: 10px 12px !important;
    }
    
    .doc-modal-title {
        font-size: 14px !important;
    }
    
    .doc-modal-subtitle {
        font-size: 11px !important;
        max-width: 200px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Icon-only buttons on very small screens */
    .doc-action-btn span {
        display: none !important;
    }
    
    .doc-action-btn svg {
        margin: 0 !important;
    }
    
    /* Ensure toolbar wraps properly */
    .doc-editor-toolbar {
        flex-wrap: wrap !important;
        gap: 4px !important;
        padding: 8px !important;
    }
    
    .doc-editor-toolbar .ql-formats {
        margin-right: 4px !important;
        padding-right: 4px !important;
    }
    
    /* Adjust editor padding */
    .doc-quill-editor .ql-editor {
        padding: 16px !important;
        font-size: 13px !important;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .resume-a4 {
        transform: scale(0.38) !important;
    }
    
    .doc-header-left {
        width: 100% !important;
    }
    
    .doc-close-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* Landscape mode optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .doc-modal-body {
        flex-direction: row !important;
    }
    
    .doc-editor-pane {
        width: 50% !important;
        height: 100% !important;
        border-right: 1px solid var(--border-soft) !important;
        border-bottom: none !important;
    }
    
    .doc-preview-pane {
        width: 50% !important;
        height: 100% !important;
    }
    
    .resume-a4 {
        transform: scale(0.5) !important;
    }
}

/* Prevent horizontal scroll on entire modal */
.doc-modal {
    overflow-x: hidden !important;
}

/* Ensure backdrop covers on mobile */
@media (max-width: 1024px) {
    .doc-modal-backdrop {
        position: fixed !important;
    }
}


.resume-name {
  font-size: var(--resume-name-fs);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: var(--resume-name-lh);
  color: var(--resume-text);
  margin: 0 0 6pt 0;
}

.resume-contact {
  font-size: 9.8pt;
  color: var(--resume-light);
  line-height: 1.4;
  margin: 0 0 18pt 0;
}

.section-title {
  font-size: 11.6pt;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--resume-text);
  margin: 20pt 0 8pt;
  padding-bottom: 5pt;
  border-bottom: 1.5pt solid var(--resume-accent);
}

.job-header {
  font-size: var(--resume-title-fs);
  font-weight: 700;
  color: var(--resume-text);
  margin: 14pt 0 3pt;
}

.job-meta {
  font-size: var(--resume-company-fs);
  color: var(--resume-subtext);
  font-weight: 400;
  margin-bottom: 6pt;
}

.job-date {
  float: right;
  font-size: var(--resume-date-fs);
  color: var(--resume-light);
  font-weight: 500;
}

ul.resume-bullets {
  margin: 6pt 0 10pt 18pt;
  padding: 0;
}

ul.resume-bullets > li {
  font-size: var(--resume-body-fs);
  line-height: var(--resume-body-lh);
  margin-bottom: 5pt;
  color: #1e293b;
}


:root {
  --resume-text:        #0f172a;
  --resume-subtext:     #475569;
  --resume-light:       #64748b;
  --resume-accent:      #2563eb;     /* cobalt blue — Profine brand */
  --resume-accent-dark: #1d4ed8;
  --resume-rule:        #e2e8f0;

  --resume-name-fs:     30pt;
  --resume-title-fs:    13.5pt;
  --resume-company-fs:  10.8pt;
  --resume-date-fs:     10.5pt;
  --resume-body-fs:     10.9pt;
  --resume-small-fs:    9.8pt;

  --resume-name-lh:     1.05;
  --resume-body-lh:     1.48;
  --resume-tight-lh:    1.32;
}


/* ─── RESUME SHARED STYLES ──────────────────────────────────────────────── */
.resume-name {
    font-size: var(--resume-name-fs);
    font-weight: 800;
    letter-spacing: -0.5pt;
    line-height: var(--resume-name-lh);
    color: var(--resume-text);
    margin: 0 0 6pt 0;
}

.resume-contact {
    font-size: 9.8pt;
    color: var(--resume-light);
    line-height: 1.4;
    margin: 0 0 18pt 0;
}

.section-title {
    font-size: 11.6pt;
    font-weight: 700;
    letter-spacing: 0.6pt;
    text-transform: uppercase;
    color: var(--resume-text);
    margin: 20pt 0 8pt;
    padding-bottom: 5pt;
    border-bottom: 1.5pt solid var(--resume-accent);
}

.job-header {
    font-size: var(--resume-title-fs);
    font-weight: 700;
    color: var(--resume-text);
    margin: 14pt 0 3pt;
}

.job-meta {
    font-size: var(--resume-company-fs);
    color: var(--resume-subtext);
    font-weight: 400;
    margin-bottom: 6pt;
}

.job-date {
    float: right;
    font-size: var(--resume-date-fs);
    color: var(--resume-light);
    font-weight: 500;
}

ul.resume-bullets {
    margin: 6pt 0 10pt 18pt;
    padding: 0;
}

ul.resume-bullets > li {
    font-size: var(--resume-body-fs);
    line-height: var(--resume-body-lh);
    margin-bottom: 5pt;
    color: #1e293b;
}

.summary-text {
    font-size: var(--resume-body-fs);
    line-height: var(--resume-body-lh);
    color: var(--resume-subtext);
}

.skills-row {
    font-size: var(--resume-small-fs);
    line-height: var(--resume-tight-lh);
    color: var(--resume-light);
}

.skill-list-item {
    font-size: var(--resume-small-fs);
    margin-bottom: 4pt;
    color: var(--resume-subtext);
}

.skill-tag {
    display: inline-block;
    font-size: 9.5pt;
    padding: 3pt 8pt;
    margin: 0 4pt 6pt 0;
    background: var(--slate-100);
    border-radius: 4pt;
    color: var(--resume-subtext);
}


.template-ats-standard,
.template-experience-heavy-classic {
    font-family: 'Inter', Helvetica, Arial, sans-serif;  /* Premium font stack */
    max-width: 8.27in;  /* A4 width optimization */
    margin: 0 auto;
    padding: 0.65in;  /* Safer PDF margins */
}

.template-skill-intensive-split .resume-body,
.template-bold-column-professional .resume-body,
.template-executive-summary-focus .resume-body,
.template-digital-career-modern .resume-body {
    display: flex;
    gap: 28pt;
}

.template-skill-intensive-split .sidebar-column,
.template-bold-column-professional .sidebar-column,
.template-executive-summary-focus .sidebar-column,
.template-digital-career-modern .sidebar-column {
    width: 220pt;  /* Wider for premium spacing */
    flex-shrink: 0;
}

.template-skill-intensive-split .main-column,
.template-bold-column-professional .main-column,
.template-executive-summary-focus .main-column,
.template-digital-career-modern .main-column {
    flex: 1;
}

.template-executive-summary-focus .sidebar-contact {
    font-size: var(--resume-small-fs);
    line-height: 1.4;
}

.template-digital-career-modern .skill-tags {
    display: flex;
    flex-wrap: wrap;
}

/* ─── LANDING PAGE v5.1 ─────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-xl) var(--space-2xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: -0.02em;
}
.hero-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-soft);
}

.features {
    padding: 72px 40px;
    background: white;
}
.features-header {
    text-align: center;
    margin-bottom: 48px;
}
.features-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-primary);
    margin-bottom: 8px;
}
.features-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.feature-step {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-50);
    color: var(--accent-primary);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    border-radius: var(--r-md);
    margin-bottom: 14px;
    border: 1px solid var(--accent-200);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.trusted {
    padding: 48px 40px;
    text-align: center;
    background: var(--slate-50);
}
.trusted p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.company-logos-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}
.company-logos-row span {
    font-weight: 600;
    font-size: 14px;
    color: var(--slate-400);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.final-cta {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e2937 100%);
    color: white;
}
.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.5vw, 30px);
    margin-bottom: 12px;
    color: white;
    letter-spacing: -0.02em;
}
.final-cta-sub {
    font-size: 15px;
    color: var(--slate-400);
    margin-bottom: 32px;
}

.app-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 28px 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    font-size: 13px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: var(--slate-200);
}


.btn-secondary, .btn-primary {
  white-space: nowrap; /* Prevents text from breaking */
  min-width: 80px; /* Ensures enough space */
}

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


.template-cover-letter .cl-name {
  font-size: 18pt; /* Smaller than default 30pt */
  line-height: 1.1;
}
.template-cover-letter .cl-contact {
  font-size: 10pt; /* Smaller */
  margin-top: 4pt;
}
.template-cover-letter .cl-header {
  margin-bottom: 12pt; /* Less space */
}

/* ═══════════════════════════════════════════════════════════════════════
   PROFINE — LANDING PAGE v6.0 (Split Screen Design)
   Theme: #5A9AC7 Profine Blue + White
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── LAYOUT ──────────────────────────────────────────────────────────── */
#landing-page:not(.hidden) { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }
.lp-wrapper { display: flex; flex: 1; flex-direction: row; min-height: 100vh; }

/* ─── LEFT PANEL ──────────────────────────────────────────────────────── */
.lp-left-panel { width: 45%; background: #fff; display: flex; flex-direction: column; }
.lp-left-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 64px; }
@media (max-width: 1280px) { .lp-left-inner { padding: 40px 48px; } }
@media (max-width: 1024px) { .lp-left-panel { width: 100%; } .lp-right-panel { display: none !important; } }

/* ─── LOGO ────────────────────────────────────────────────────────────── */
.lp-logo-wrap { margin-bottom: 36px; }
.lp-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lp-logo-icon { width: 44px; height: 44px; border-radius: 12px; background: #5A9AC7; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(90,154,199,0.3); flex-shrink: 0; }
.lp-logo-icon svg { width: 24px; height: 24px; color: white; }
.lp-logo-icon-white { background: rgba(255,255,255,0.25); }
.lp-logo-name { font-size: 22px; font-weight: 700; color: #0f2942; letter-spacing: -0.02em; line-height: 1.1; }
.lp-logo-sub { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: #4a7596; margin-top: 2px; }
.lp-logo-sub-white { color: rgba(255,255,255,0.8); }
.lp-logo-white .lp-logo-name { color: white; }

/* ─── FORM HEADER ─────────────────────────────────────────────────────── */
.lp-form-section { flex: 1; }
.lp-form-header { margin-bottom: 24px; }
.lp-form-header h1 { font-size: 28px; font-weight: 700; color: #0f2942; letter-spacing: -0.02em; margin-bottom: 6px; font-family: var(--font-body); }
.lp-form-header p { font-size: 14px; color: #4a7596; }

/* ─── SOCIAL BUTTONS ──────────────────────────────────────────────────── */
.lp-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.lp-social-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1.5px solid #bdd8ec; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 500; color: #0f2942; cursor: pointer; transition: all 0.15s ease; }
.lp-social-btn:hover { background: #e0eff7; border-color: rgba(90,154,199,0.5); }
.lp-social-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── DIVIDER ─────────────────────────────────────────────────────────── */
.lp-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.lp-divider-line { flex: 1; height: 1px; background: #bdd8ec; }
.lp-divider span { font-size: 12px; color: #4a7596; white-space: nowrap; padding: 0 4px; background: #fff; }

/* ─── FORM FIELDS ─────────────────────────────────────────────────────── */
.lp-form { display: flex; flex-direction: column; gap: 14px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-field > label { font-size: 13px; font-weight: 500; color: #0f2942; }
.lp-field-header { display: flex; align-items: center; justify-content: space-between; }
.lp-forgot-btn { font-size: 12px; color: #5A9AC7; font-weight: 500; background: none; border: none; cursor: pointer; padding: 0; }
.lp-forgot-btn:hover { color: #4889b8; text-decoration: underline; }
.lp-input-wrap { position: relative; }
.lp-input-wrap input { width: 100%; height: 44px; padding: 0 44px 0 40px; background: #f5fafd; border: 1.5px solid #bdd8ec; border-radius: 10px; font-size: 14px; color: #0f2942; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.lp-input-wrap input:focus { border-color: #5A9AC7; box-shadow: 0 0 0 3px rgba(90,154,199,0.15); }
.lp-input-wrap input::placeholder { color: #9cc7e2; }
.lp-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: #4a7596; pointer-events: none; }
.lp-eye-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #4a7596; padding: 0; display: flex; align-items: center; }
.lp-eye-btn:hover { color: #0f2942; }
.lp-eye-btn svg { width: 16px; height: 16px; }
.lp-remember { display: flex; align-items: center; gap: 8px; }
.lp-remember input[type="checkbox"] { width: 15px; height: 15px; accent-color: #5A9AC7; cursor: pointer; flex-shrink: 0; }
.lp-remember label { font-size: 13px; color: #4a7596; cursor: pointer; }
.lp-submit-btn { width: 100%; height: 44px; background: #5A9AC7; color: white; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 16px rgba(90,154,199,0.35); transition: background 0.15s, box-shadow 0.15s, transform 0.15s; margin-top: 2px; }
.lp-submit-btn:hover { background: #4889b8; box-shadow: 0 6px 20px rgba(90,154,199,0.4); transform: translateY(-1px); }
.lp-submit-btn:active { transform: translateY(0); }
.lp-signup-link { text-align: center; font-size: 14px; color: #4a7596; margin-top: 16px; }
.lp-signup-link button { color: #5A9AC7; font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; font-size: 14px; }
.lp-signup-link button:hover { color: #4889b8; text-decoration: underline; }

/* ─── TERMS ───────────────────────────────────────────────────────────── */
.lp-terms { margin-top: 24px; padding-top: 24px; border-top: 1px solid #bdd8ec; }
.lp-terms p { font-size: 12px; color: #4a7596; text-align: center; }
.lp-terms a { color: #5A9AC7; font-weight: 500; text-decoration: none; }
.lp-terms a:hover { text-decoration: underline; }

/* ─── RIGHT PANEL ─────────────────────────────────────────────────────── */
.lp-right-panel { flex: 1; background: #5A9AC7; position: relative; overflow: hidden; display: flex; }
.lp-showcase { position: relative; display: flex; flex-direction: column; width: 100%; padding: 32px 40px; color: white; overflow-y: auto; }
.lp-showcase-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lp-bg-blob { position: absolute; border-radius: 50%; filter: blur(60px); }
.lp-bg-blob-1 { width: 400px; height: 400px; background: rgba(255,255,255,0.12); top: -100px; right: -80px; }
.lp-bg-blob-2 { width: 350px; height: 350px; background: rgba(74,133,172,0.4); bottom: -80px; left: -60px; }
.lp-bg-blob-3 { width: 500px; height: 500px; background: rgba(255,255,255,0.05); top: 50%; left: 50%; transform: translate(-50%,-50%); }

/* Showcase header */
.lp-showcase-header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-shrink: 0; }
.lp-status-badge { display: flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.lp-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: lpPulse 2s ease-out infinite; flex-shrink: 0; }
@keyframes lpPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(1.3)} }

/* Showcase content */
.lp-showcase-content { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.lp-showcase-text { margin-bottom: 18px; }
.lp-showcase-text h1 { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; line-height: 1.25; margin-bottom: 10px; font-family: var(--font-body); }
.lp-showcase-text p { font-size: 14px; color: rgba(255,255,255,0.82); max-width: 480px; line-height: 1.6; }

/* Tabs */
.lp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.lp-tab { padding: 7px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.25); }
.lp-tab:hover { background: rgba(255,255,255,0.3); }
.lp-tab.active { background: white; color: #2d5a7b; box-shadow: 0 4px 12px rgba(0,0,0,0.12); border-color: transparent; }

/* Mockup container */
.lp-mockup-container { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border-radius: 16px; border: 1px solid rgba(255,255,255,0.2); padding: 18px; min-height: 255px; margin-bottom: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.lp-mockup { display: none; }
.lp-mockup.active { display: block; }
.lp-mockup-split { display: flex; gap: 14px; }

/* Resume mockup */
.lp-resume-preview { flex: 1; background: white; border-radius: 12px; padding: 14px; color: #0f2942; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.lp-resume-badge { font-size: 10px; font-weight: 600; background: rgba(90,154,199,0.15); color: #2d5a7b; display: inline-block; padding: 3px 8px; border-radius: 5px; margin-bottom: 10px; }
.lp-resume-name-bar { height: 13px; width: 110px; background: #0f2942; border-radius: 3px; margin-bottom: 5px; }
.lp-resume-sub-bar { height: 8px; width: 160px; background: #bdd8ec; border-radius: 3px; margin-bottom: 12px; }
.lp-resume-section { border-top: 1px solid #bdd8ec; padding-top: 9px; margin-bottom: 9px; }

.lp-line { height: 7px; border-radius: 3px; background: #e0eff7; margin-bottom: 5px; }
.lp-line-full { width: 100%; } .lp-line-5-6 { width: 83%; } .lp-line-4-6 { width: 67%; }
.lp-line-half { width: 50%; background: rgba(15,41,66,0.6); } .lp-line-short { width: 35%; background: rgba(74,117,150,0.3); }
.lp-skill-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.lp-skill-tags span { font-size: 9px; padding: 2px 7px; background: rgba(90,154,199,0.15); color: #2d5a7b; border-radius: 9999px; font-weight: 600; }
.lp-exp-item { display: flex; align-items: flex-start; gap: 7px; }
.lp-exp-bullet { width: 6px; height: 6px; border-radius: 50%; background: #5A9AC7; margin-top: 5px; flex-shrink: 0; }

/* Side panel */
.lp-side-panel { width: 170px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.lp-side-card { background: rgba(255,255,255,0.15); border-radius: 10px; padding: 12px; border: 1px solid rgba(255,255,255,0.2); }
.lp-side-title { font-size: 11px; font-weight: 600; margin-bottom: 9px; }
.lp-check-list { display: flex; flex-direction: column; gap: 6px; }
.lp-check-item { display: flex; align-items: center; gap: 6px; font-size: 10px; color: rgba(255,255,255,0.9); }
.lp-check { color: #4ade80; font-weight: 700; }
.lp-match-score { font-size: 24px; font-weight: 700; color: #4ade80; }
.lp-match-label { font-size: 10px; color: rgba(255,255,255,0.7); margin-top: 3px; }

/* ATS mockup */
.lp-ats-card { flex: 1; background: white; border-radius: 12px; padding: 14px; color: #0f2942; box-shadow: 0 4px 16px rgba(0,0,0,0.15); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lp-ats-label { font-size: 12px; color: #4a7596; font-weight: 500; margin-bottom: 10px; }
.lp-ats-circle-wrap { position: relative; width: 110px; height: 110px; margin-bottom: 10px; }
.lp-ats-svg { width: 100%; height: 100%; }
.lp-ats-score { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lp-ats-num { font-size: 30px; font-weight: 700; color: #0f2942; line-height: 1; }
.lp-ats-sub { font-size: 9px; color: #4a7596; }
.lp-ats-gain { font-size: 12px; color: #16a34a; font-weight: 500; }
.lp-keyword-list { display: flex; flex-direction: column; gap: 6px; }
.lp-keyword-item { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.9); gap: 6px; }
.lp-kw-found { color: #4ade80; font-weight: 700; }
.lp-kw-missing { color: #fbbf24; font-weight: 700; }

/* Pipeline mockup */
.lp-pipeline-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.lp-pipeline-title { font-size: 14px; font-weight: 600; color: white; }
.lp-pipeline-sub { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.lp-add-job-btn { display: flex; align-items: center; gap: 5px; padding: 6px 12px; background: white; color: #2d5a7b; border-radius: 8px; font-size: 12px; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); white-space: nowrap; }
.lp-pipeline-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.lp-pipeline-col { background: rgba(255,255,255,0.15); border-radius: 10px; padding: 9px; border: 1px solid rgba(255,255,255,0.2); }
.lp-col-header { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; margin-bottom: 8px; }
.lp-col-count { margin-left: auto; font-size: 10px; color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.2); padding: 1px 5px; border-radius: 4px; }
.lp-col-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.lp-col-dot-blue { background: #60a5fa; } .lp-col-dot-amber { background: #fbbf24; } .lp-col-dot-green { background: #4ade80; }
.lp-job-card { background: white; border-radius: 7px; padding: 8px; color: #0f2942; box-shadow: 0 2px 6px rgba(0,0,0,0.1); margin-bottom: 6px; display: flex; align-items: flex-start; gap: 7px; }
.lp-job-icon { width: 26px; height: 26px; border-radius: 6px; background: rgba(90,154,199,0.15); flex-shrink: 0; }
.lp-job-company { font-size: 10px; font-weight: 600; color: #0f2942; } .lp-job-role { font-size: 9px; color: #4a7596; margin-top: 1px; } .lp-job-loc { font-size: 9px; color: #4a7596; margin-top: 2px; }
.lp-pipeline-stats { display: flex; justify-content: center; gap: 32px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.2); }
.lp-stat { text-align: center; }
.lp-stat-num { font-size: 20px; font-weight: 700; color: white; }
.lp-stat-green { color: #4ade80; }
.lp-stat-label { font-size: 10px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* Feature grid */
.lp-feature-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 8px; }
.lp-feature-item { padding: 12px; border-radius: 10px; cursor: pointer; transition: all 0.2s ease; background: rgba(255,255,255,0.1); border: 1px solid transparent; }
.lp-feature-item:hover { background: rgba(255,255,255,0.15); }
.lp-feature-item.active { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.4); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.lp-feature-item svg { width: 16px; height: 16px; margin-bottom: 7px; display: block; }
.lp-feature-title { font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.lp-feature-desc { font-size: 10px; color: rgba(255,255,255,0.8); line-height: 1.4; }

/* Coming soon */
.lp-coming-soon { position: relative; z-index: 1; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.lp-coming-label { font-size: 10px; color: rgba(255,255,255,0.6); font-weight: 500; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.lp-coming-items { display: flex; gap: 20px; }
.lp-coming-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.7); }
.lp-coming-item svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ─── MOBILE FEATURES ─────────────────────────────────────────────────── */
.lp-mobile-features { display: none; background: #5A9AC7; padding: 28px 24px; }
@media (max-width: 1024px) { .lp-mobile-features { display: block; } }
.lp-mobile-text { text-align: center; color: white; margin-bottom: 18px; }
.lp-mobile-text h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.lp-mobile-text p { font-size: 14px; color: rgba(255,255,255,0.8); }
.lp-mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-mobile-card { background: rgba(255,255,255,0.15); border-radius: 12px; padding: 14px; border: 1px solid rgba(255,255,255,0.2); }
.lp-mobile-card > div:first-child { font-size: 13px; font-weight: 600; color: white; margin-bottom: 4px; }
.lp-mobile-card > div:last-child { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */
.lp-footer { background: #0f2942; color: white; }
.lp-footer-features { border-bottom: 1px solid rgba(255,255,255,0.1); }
.lp-footer-features-inner { max-width: 1200px; margin: 0 auto; padding: 48px 32px; }
.lp-footer-header { text-align: center; margin-bottom: 32px; }
.lp-footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 9999px; background: rgba(90,154,199,0.2); color: #9cc7e2; font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.lp-footer-header h2 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin-bottom: 8px; font-family: var(--font-body); }
.lp-footer-header p { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto; font-size: 14px; }
.lp-footer-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .lp-footer-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-footer-cards { grid-template-columns: 1fr; } }
.lp-footer-card { padding: 18px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s ease; }
.lp-footer-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.lp-footer-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.lp-footer-card-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(90,154,199,0.2); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.lp-footer-card-badge { font-size: 11px; font-weight: 500; padding: 3px 8px; border-radius: 9999px; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
.lp-badge-new { background: rgba(74,222,128,0.2); color: #4ade80; }
.lp-footer-card h3 { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.lp-footer-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }
.lp-footer-trust { border-bottom: 1px solid rgba(255,255,255,0.1); }
.lp-footer-trust-inner { max-width: 1200px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-footer-trust-inner > div:first-child h3 { font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.lp-footer-trust-inner > div:first-child p { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 400px; }
.lp-trust-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.lp-trust-badges span { font-size: 13px; color: rgba(255,255,255,0.7); }
.lp-footer-links { border-bottom: 1px solid rgba(255,255,255,0.1); }
.lp-footer-links-inner { max-width: 1200px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .lp-footer-links-inner { grid-template-columns: 1fr 1fr; } }
.lp-footer-brand-col p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.lp-footer-tagline { margin-bottom: 6px; }
.lp-footer-location { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 0 !important; }
.lp-footer-link-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.lp-footer-link-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 9px; transition: color 0.15s; }
.lp-footer-link-col a:hover { color: white; }
.lp-footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 32px; }
.lp-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.lp-footer-bottom-inner span { font-size: 12px; color: rgba(255,255,255,0.5); }


/* ─── TOP NAV ───────────────────────────────────────────────────────────── */
.top-app-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 64px;
    background: #fff;
    border-bottom: 1px solid var(--border-soft);
    z-index: 90;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-shadow: var(--shadow-xs);
}
.top-nav-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-icon { width: 32px; height: 32px; background: var(--accent-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; }
.logo-icon svg { width: 18px; height: 18px; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text-primary); }

.top-nav-tabs {
    display: flex;
    gap: 8px;
    background: var(--slate-50);
    padding: 4px;
    border-radius: 9999px;
}
.nav-tab {
    padding: 8px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s;
}
.nav-tab.active {
    background: white;
    box-shadow: var(--shadow-sm);
    color: var(--accent-primary);
}

/* Avatar */
.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Avatar Dropdown */
.avatar-dropdown {
    position: absolute;
    top: 74px; right: 32px;
    background: white;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px 0;
    z-index: 200;
}
.avatar-dropdown button {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    font-size: 14px;
    background: none;
    border: none;
}
.avatar-dropdown button:hover { background: var(--slate-50); }

/* Top nav mobile */
@media (max-width: 768px) {
    .top-app-nav { padding: 0 16px; height: 56px; }
    .top-nav-tabs { display: none; }
    .top-nav-logo { width: auto; }
    .logo-text { font-size: 18px; }
}

/* SETTINGS HUB */
.settings-modal {
    position: fixed; inset: 0; z-index: 300;
    display: flex; align-items: center; justify-content: center;
}
.settings-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.settings-container {
    position: relative; z-index: 1;
    width: 900px; max-height: 88vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-3xl);
    display: flex;
    flex-direction: column;
}
.settings-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; border-bottom: 1px solid var(--border-soft);
    flex-shrink: 0;
}
.settings-header h2 { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.settings-close-btn { font-size: 24px; color: var(--text-muted); background: none; border: none; cursor: pointer; padding: 4px 8px; line-height: 1; }
.settings-close-btn:hover { color: var(--text-primary); }
.settings-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.settings-sidebar {
    background: var(--slate-50);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--border-soft);
    overflow-y: auto;
}
.settings-tab {
    padding: 12px 18px;
    text-align: left;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.settings-tab:hover { background: var(--slate-100); color: var(--text-primary); }
.settings-tab.active {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}
.settings-content {
    padding: 28px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.settings-tab-content { display: none; }
.settings-tab-content.active { display: block; }
.settings-tab-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.settings-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }

/* Settings Form */
.settings-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row > label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.settings-input {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--border-soft); border-radius: 8px;
    font-size: 14px; color: var(--text-primary);
    background: var(--bg-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.settings-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--accent-ring); }
.settings-input::placeholder { color: var(--text-muted); }
.radio-group { display: flex; gap: 20px; }
.radio-label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-primary); cursor: pointer; }
.settings-range { width: 100%; accent-color: var(--accent-primary); }
.btn-save-preferences {
    padding: 10px 24px; background: var(--accent-primary); color: #fff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.15s; align-self: flex-start;
}
.btn-save-preferences:hover { background: var(--accent-hover); }
.btn-save-preferences:disabled { opacity: 0.6; cursor: not-allowed; }

/* Vault dropzone in settings */
.vault-dropzone-content {
    padding: 32px 20px; text-align: center; cursor: pointer;
    border: 2px dashed var(--border-soft); border-radius: 12px;
    transition: border-color 0.15s, background 0.15s;
    color: var(--text-muted);
}
.vault-dropzone-content:hover { border-color: var(--accent-primary); background: var(--accent-50); }
.vault-dropzone-content svg { margin-bottom: 8px; }
.vault-dropzone-content p { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.vault-dropzone-content span { font-size: 12px; }
.vault-upload-feedback { padding: 8px 12px; border-radius: 8px; font-size: 13px; margin-top: 8px; }
.vault-upload-feedback.success { background: var(--color-success-bg); color: var(--color-success-text); }
.vault-upload-feedback.error { background: var(--color-danger-bg); color: var(--color-danger-text); }

/* Settings responsive */
@media (max-width: 768px) {
    .settings-container { width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
    .settings-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .settings-sidebar { flex-direction: row; overflow-x: auto; padding: 12px 16px; gap: 6px; border-right: none; border-bottom: 1px solid var(--border-soft); }
    .settings-tab { padding: 10px 16px; white-space: nowrap; font-size: 13px; }
    .settings-content { padding: 20px; }
}

/* Progressive Disclosure */
#commuteRow { transition: all 0.3s; }
.power-lane { margin-top: 24px; padding: 16px; background: #f8fafc; border-radius: 12px; }

/* Mobile Filters Trigger */
.filters-trigger-btn {
    display: inline-flex;
    background: var(--accent-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 600;
    margin-bottom: 16px;
}


/* ─── SCROLL LOCK FIX FOR WORKSPACE ─── */
.job-workspace {
    height: calc(100vh - var(--navbar-h));
    max-height: calc(100vh - var(--navbar-h));
}

.workspace-split {
    overflow: hidden;
}

.strategy-panel, .context-panel {
    height: 100%;
    min-height: 0;
}

.panel-content {
    flex: 1 1 0;
    min-height: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LANDING PAGE v7.0 — Full Redesign
   ═══════════════════════════════════════════════════════════════════════════ */
.landing-page { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }

/* Navigation */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(226,232,240,0.6); }
.lp-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.lp-nav-cta { padding: 8px 20px; background: var(--accent-primary); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all 0.15s; }
.lp-nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Hero */
.lp-hero { padding: 140px 24px 80px; background: linear-gradient(180deg, #f0f7fb 0%, #fff 100%); }
.lp-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.lp-badge { display: inline-block; padding: 6px 16px; background: var(--accent-50); color: var(--accent-primary); border: 1px solid var(--accent-200); border-radius: 99px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.lp-hero-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: #0f172a; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }
.lp-hero-sub { font-size: clamp(15px, 2vw, 18px); color: var(--text-secondary); line-height: 1.7; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.lp-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.lp-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-700)); color: #fff; border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 20px rgba(90,154,199,0.35); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(90,154,199,0.45); }
.lp-btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: #fff; color: var(--text-primary); border: 1px solid var(--border-soft); border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.lp-btn-secondary:hover { background: var(--slate-50); border-color: var(--slate-300); transform: translateY(-1px); }
.lp-btn-large { padding: 16px 36px; font-size: 16px; }
.lp-hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 20px 32px; background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.lp-stat { text-align: center; }
.lp-stat-num { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--accent-primary); }
.lp-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.lp-stat-divider { width: 1px; height: 36px; background: var(--border-soft); }

/* Features */
.lp-features { padding: 80px 24px; background: #fff; }
.lp-features-inner { max-width: 1100px; margin: 0 auto; }
.lp-section-eyebrow { display: block; text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-primary); margin-bottom: 12px; }
.lp-section-title { text-align: center; font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; color: #0f172a; letter-spacing: -0.02em; margin-bottom: 48px; }
.lp-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.lp-feature-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; padding: 28px; transition: transform 0.25s, box-shadow 0.25s; }
.lp-feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lp-feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent-50); border: 1px solid var(--accent-200); border-radius: 12px; color: var(--accent-primary); margin-bottom: 16px; }
.lp-feature-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.lp-feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* Trust line under hero CTA */
.lp-trust-line { font-size: 13px; color: var(--text-muted); text-align: center; margin-bottom: 32px; margin-top: -12px; }

/* ─── Social Proof ─────────────────────────────────────────────────────── */
.lp-social-proof { padding: 64px 24px; background: #fff; border-top: 1px solid var(--border-soft); }
.lp-social-proof-inner { max-width: 1100px; margin: 0 auto; }
.lp-social-proof-heading { text-align: center; font-size: 15px; font-weight: 600; color: var(--text-secondary); margin-bottom: 32px; letter-spacing: -0.01em; }
.lp-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-testimonial-card { background: var(--slate-50); border: 1px solid var(--border-soft); border-radius: 16px; padding: 28px; }
.lp-testimonial-text { font-size: 14px; color: var(--text-primary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.lp-testimonial-author { display: flex; align-items: center; gap: 12px; }
.lp-testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.lp-testimonial-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.lp-testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ─── How It Works Steps ───────────────────────────────────────────────── */
.lp-how-it-works { padding: 80px 24px; background: var(--slate-50); }
.lp-how-inner { max-width: 1000px; margin: 0 auto; }
.lp-steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.lp-step { text-align: center; flex: 1; max-width: 220px; }
.lp-step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 800; margin: 0 auto 16px; }
.lp-step h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.lp-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.lp-step-connector { width: 48px; height: 2px; background: var(--border-soft); margin-top: 24px; flex-shrink: 0; }

/* ─── Vision Timeline ──────────────────────────────────────────────────── */
.lp-vision { padding: 80px 24px; background: #fff; }
.lp-vision-inner { max-width: 720px; margin: 0 auto; }
.lp-vision-desc { text-align: center; font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 48px; }
.lp-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.lp-timeline-item { display: flex; gap: 24px; align-items: flex-start; }
.lp-timeline-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.lp-timeline-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.lp-timeline-line { width: 2px; height: 48px; background: var(--border-soft); }
.lp-timeline-done .lp-timeline-dot { background: var(--color-success); box-shadow: 0 0 0 4px rgba(22,163,74,0.15); }
.lp-timeline-next .lp-timeline-dot { background: var(--accent-primary); box-shadow: 0 0 0 4px rgba(90,154,199,0.15); }
.lp-timeline-future .lp-timeline-dot { background: var(--slate-300); box-shadow: 0 0 0 4px rgba(212,212,216,0.3); }
.lp-timeline-content { padding-bottom: 32px; }
.lp-timeline-badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 99px; margin-bottom: 8px; }
.lp-badge-live { background: rgba(22,163,74,0.1); color: var(--color-success); }
.lp-badge-soon { background: rgba(90,154,199,0.1); color: var(--accent-primary); }
.lp-badge-future { background: var(--slate-100); color: var(--text-muted); }
.lp-timeline-content h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.lp-timeline-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* CTA */
.lp-cta { padding: 80px 24px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); text-align: center; }
.lp-cta-inner { max-width: 600px; margin: 0 auto; }
.lp-cta h2 { font-family: var(--font-display); font-size: clamp(24px, 3.5vw, 32px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.lp-cta p { font-size: 16px; color: var(--slate-400); margin-bottom: 32px; line-height: 1.6; }
.lp-cta-trust { font-size: 13px; color: var(--slate-500); margin-top: -16px; }

/* Footer */
.lp-footer { background: var(--slate-900); color: var(--slate-400); padding: 48px 24px 0; }
.lp-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.lp-footer-brand { max-width: 280px; }
.lp-footer-brand p { font-size: 13px; line-height: 1.6; color: var(--slate-500); }
.lp-footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.lp-footer-col { display: flex; flex-direction: column; gap: 10px; }
.lp-footer-col h4 { font-size: 13px; font-weight: 700; color: var(--slate-300); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.lp-footer-col a { font-size: 13px; color: var(--slate-500); text-decoration: none; transition: color 0.15s; }
.lp-footer-col a:hover { color: var(--slate-200); }
.lp-footer-bottom { max-width: 1100px; margin: 0 auto; padding: 20px 0; }
.lp-footer-bottom p { font-size: 12px; color: var(--slate-600); }

/* Landing page mobile */
@media (max-width: 768px) {
    .lp-hero { padding: 100px 20px 60px; }
    .lp-hero-title { font-size: 28px; }
    .lp-hero-stats { gap: 20px; padding: 16px 20px; }
    .lp-stat-divider { display: none; }
    .lp-features { padding: 60px 20px; }
    .lp-features-grid { grid-template-columns: 1fr; }
    .lp-vision { padding: 60px 20px; }
    .lp-cta { padding: 60px 20px; }
    .lp-footer-inner { flex-direction: column; gap: 32px; }
    .lp-footer-links { gap: 32px; }
    .lp-hero-actions { flex-direction: column; align-items: center; }
    .lp-btn-primary, .lp-btn-secondary { width: 100%; justify-content: center; }
    .lp-testimonials-grid { grid-template-columns: 1fr; }
    .lp-steps-grid { flex-direction: column; align-items: center; }
    .lp-step-connector { width: 2px; height: 32px; }
    .lp-how-it-works { padding: 60px 20px; }
    .lp-social-proof { padding: 48px 20px; }
}

@media (max-width: 480px) {
    .lp-hero-title { font-size: 24px; }
    .lp-section-title { font-size: 22px; }
    .lp-feature-card { padding: 20px; }
}