/* Digital Resume Builder - pure black + professional emerald accent */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-rgb: 16, 185, 129;
    --accent: #10b981;
    --bg-base: #000000;
    --bg-light: #1a1a1a;
    --surface: #111111;
    --surface-hover: #1a1a1a;
    --cta-gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --cta-gradient-hover: linear-gradient(135deg, var(--primary-dark) 0%, #047857 100%);
    --cta-border: var(--primary);
    --text-dark: #ffffff;
    --text-muted: #9ca3af;
    --white: #111111;
    --border: #2a2a2a;
    --success: #34d399;
    --danger: #f87171;
    --link-blue: var(--primary-light);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hero-gradient: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    --section-gradient: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    --accent-glow: 0 0 20px rgba(var(--primary-rgb), 0.25);
}

* {
    box-sizing: border-box;
}

html {
    background: #000000;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: #000000;
}

.site-body {
    min-height: 100vh;
    background: var(--bg-base);
    color-scheme: dark;
}

/* Buttons - Resume.io style */
.btn-cta, .btn-primary.landing-cta {
    background: var(--cta-gradient);
    border: none;
    color: #fff !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--accent-glow);
}

.btn-cta:hover, .btn-primary.landing-cta:hover {
    background: var(--cta-gradient-hover);
    color: #fff !important;
    box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.45);
    transform: translateY(-1px);
}

.btn-outline-cta {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--cta-border);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
}

.btn-outline-cta:hover {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-primary {
    background-color: var(--primary) !important;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    color: var(--text-dark) !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-right: 1rem;
    flex-shrink: 0;
}

.site-logo {
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* Professional brand: icon + typography */
.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1;
}

.site-brand-icon {
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px;
}

.site-brand-name {
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.site-brand-my {
    color: var(--text-dark);
}

.site-brand-resumes {
    color: var(--primary-light);
}

.site-brand-sm .site-brand-icon { height: 30px; }
.site-brand-sm .site-brand-name { font-size: 1rem; }

.site-brand-md .site-brand-icon { height: 34px; }
.site-brand-md .site-brand-name { font-size: 1.15rem; }

.site-brand-lg .site-brand-icon { height: 40px; }
.site-brand-lg .site-brand-name { font-size: 1.3rem; }

.auth-logo {
    margin-bottom: 0.75rem !important;
}

.navbar-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 10px;
    position: relative;
}

.navbar-brand .logo-icon::after {
    content: '';
    width: 18px;
    height: 22px;
    background: #fff;
    border-radius: 2px;
    display: block;
    box-shadow: inset 0 -8px 0 rgba(var(--primary-rgb), 0.35);
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
}

.navbar .nav-link:hover {
    color: var(--primary) !important;
}

/* App pages - same layout & color scheme as landing */
.app-page {
    background: var(--bg-base);
    min-height: 100vh;
}

body.site-body:has(.app-page) {
    background: var(--bg-base);
}

.app-nav {
    background: var(--surface) !important;
    box-shadow: 0 1px 0 var(--border);
    padding: 0.75rem 0;
}

.app-nav .navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.app-nav .nav-link {
    color: var(--text-dark) !important;
    font-size: 0.95rem;
}

.app-nav .btn-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.app-nav .btn-outline-cta {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Auth pages - same theme */
.auth-wrapper {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-gradient);
    padding: 2rem 1.5rem;
}

.auth-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand .site-brand-link {
    text-decoration: none;
}

.admin-sidebar-brand a {
    display: flex;
    align-items: center;
}

.auth-card {
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 560px;
}

.auth-card .card-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.auth-card .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--text-dark);
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    background: var(--bg-light);
    color: var(--text-dark);
}

.auth-card .btn-cta {
    width: 100%;
    padding: 0.75rem;
}

.auth-card .btn-primary {
    width: 100%;
    padding: 0.75rem;
}

.auth-card a {
    color: var(--primary);
    font-weight: 600;
}

.auth-card a:hover {
    color: var(--primary-dark);
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 2.75rem;
}

.password-toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: var(--primary);
    outline: none;
}

/* Dashboard - same theme */
.dashboard-hero {
    background: var(--surface);
    color: var(--text-dark);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.dashboard-hero h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.dashboard-hero p {
    opacity: 0.9;
    margin: 0;
    color: var(--text-muted);
}

.dashboard-hero .btn-cta {
    background: var(--cta-gradient);
    color: #fff !important;
}

.dashboard-hero .btn-cta:hover {
    background: var(--cta-gradient-hover) !important;
    color: #fff !important;
}

.dashboard-hero .btn-outline-cta {
    border-color: var(--border);
    color: var(--text-dark);
}

.dashboard-hero .btn-outline-cta:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.resume-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.resume-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.35);
}

.resume-card .card-body {
    padding: 1.25rem;
}

.resume-card .template-badge {
    background: var(--cta-gradient);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: none;
}

.resume-card .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.resume-card .btn-outline-primary:hover {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.resume-card .btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-muted);
}

.resume-card .btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.btn-create-resume {
    background: var(--cta-gradient);
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    border: none;
}

.btn-create-resume:hover {
    background: var(--cta-gradient-hover);
    color: white !important;
}

/* Builder layout - same card style */
.builder-sidebar {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 1rem;
}

.builder-sidebar .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.builder-sidebar .nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.builder-sidebar .nav-link.active {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding-left: calc(1.25rem - 3px);
    font-weight: 600;
}

.builder-tabs-wrap {
    margin: -0.25rem 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.builder-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.375rem;
    min-width: max-content;
}

.builder-tab {
    border: 1px solid var(--border);
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.builder-tab:hover {
    color: var(--text-dark);
    border-color: rgba(var(--primary-rgb), 0.4);
}

.builder-tab.active {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
}

.builder-section-desc {
    margin: -0.5rem 0 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.builder-section-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
}

.builder-section-footer .btn {
    min-width: 140px;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.section-visibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
}

.section-visibility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8125rem;
    color: var(--text-dark);
    margin: 0;
}

.section-visibility-item:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
}

.section-visibility-item .form-check-input {
    margin: 0;
    flex-shrink: 0;
}

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

.builder-sidebar-actions .btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.4rem 0.35rem;
    border-radius: 4px !important;
    white-space: nowrap;
    text-align: center;
}

.builder-content {
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
}

.builder-content .section-title {
    color: var(--text-dark);
    border-bottom-color: rgba(var(--primary-rgb), 0.35);
}

/* Builder entry lists & forms */
.builder-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.builder-list .list-group-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--text-dark);
}

.builder-list .list-group-item:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
}

.builder-list-item-text {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.45;
    word-break: break-word;
    padding-right: 0.25rem;
}

.builder-list-item-actions {
    display: flex;
    flex-shrink: 0;
    gap: 0.375rem;
}

.builder-list-item-actions .btn {
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Builder buttons: same corner radius (Bootstrap default 6px − 2px) */
.builder-content .btn,
.builder-content .btn-cta,
.builder-content .btn-outline-cta {
    border-radius: 4px !important;
}

.btn-add-entry {
    font-weight: 600;
}

.builder-entry-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.builder-entry-form .card-body {
    padding: 1rem 1.125rem;
}

.builder-entry-form .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}

.builder-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.builder-form-actions .btn {
    min-width: 72px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Quill rich text — dark theme */
.builder-content .builder-quill-editor {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.builder-content .ql-toolbar.ql-snow {
    background: var(--surface);
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 6px 8px;
}

.builder-content .ql-container.ql-snow {
    background: #000000;
    border: none;
    color: #ffffff;
    font-size: 0.875rem;
    height: auto !important;
    min-height: 150px;
    max-height: 220px;
    overflow: hidden;
}

.builder-content .ql-editor {
    background: #000000;
    color: #ffffff;
    min-height: 150px;
    max-height: 220px;
    height: auto !important;
    overflow-y: auto;
    line-height: 1.5;
    scrollbar-width: thin;
    scrollbar-color: var(--border) #000000;
}

.builder-content .builder-quill-editor--tall .ql-container.ql-snow,
.builder-content .builder-quill-editor--tall .ql-editor {
    min-height: 180px;
    max-height: 260px;
}

.builder-content .builder-quill-editor--tall .ql-editor {
    min-height: 180px;
}

.builder-content .ql-editor::-webkit-scrollbar {
    width: 6px;
}

.builder-content .ql-editor::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.builder-content .ql-editor::-webkit-scrollbar-track {
    background: #000000;
}

.builder-content .ql-editor.ql-blank::before {
    color: var(--text-muted);
    font-style: normal;
}

.builder-content .ql-snow .ql-stroke {
    stroke: #d1d5db;
}

.builder-content .ql-snow .ql-fill {
    fill: #d1d5db;
}

.builder-content .ql-snow .ql-picker {
    color: #d1d5db;
}

.builder-content .ql-snow .ql-picker-options {
    background: var(--surface);
    border-color: var(--border);
}

.builder-content .ql-snow a {
    color: var(--primary-light);
}

.builder-list-empty {
    padding: 0.5rem 0.75rem;
    border: 1px dashed var(--border);
    border-radius: 8px;
    text-align: center;
}

.builder-entry-form .btn-outline-secondary {
    border-color: var(--border);
    color: var(--text-muted);
}

.builder-entry-form .btn-outline-secondary:hover {
    background: var(--surface);
    border-color: var(--text-muted);
    color: var(--text-dark);
}

.preview-panel {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    min-height: 400px;
}

.preview-panel iframe {
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Form sections */
.section-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.2);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.add-another {
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
}

.add-another:hover {
    text-decoration: underline;
}

.list-group-item {
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 8px;
}

.alert-success {
    background: rgba(52, 211, 153, 0.12);
    border-color: var(--success);
    color: #a7f3d0;
}

.alert-danger {
    background: rgba(248, 113, 113, 0.12);
    border-color: var(--danger);
    color: #fecaca;
}

.alert-info {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Template selector */
.template-picker-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding: 4px;
    margin: -4px;
    border-radius: 12px;
}

.template-picker-scroll::-webkit-scrollbar {
    width: 6px;
}

.template-picker-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.template-option {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    height: 100%;
    background: var(--bg-light);
}

.template-option:hover {
    border-color: var(--primary-light);
    background: rgba(var(--primary-rgb), 0.08);
}

.template-option.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 0 0 1px rgba(var(--primary-rgb), 0.25);
}

.template-option .tpl-preview {
    height: 72px;
    background: #0a0a0a;
    border-radius: 6px;
    padding: 6px;
    margin-bottom: 8px;
    overflow: hidden;
}

.template-option .tpl-mini {
    background: #fff;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    font-size: 4px;
}

.template-option .tpl-mini-head {
    height: 30%;
    background: var(--primary);
}

.template-option .tpl-mini-line {
    height: 3px;
    background: #e5e7eb;
    margin: 3px 4px;
    border-radius: 1px;
}

.template-option .tpl-mini-line.short {
    width: 55%;
}

.template-option .tpl-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 2px;
}

.template-option .tpl-style {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.template-option .theme-dot {
    display: none;
}

.template-option .template-paid-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.65rem;
}

.template-option.template-locked {
    opacity: 0.85;
}

.template-option.template-locked:hover {
    border-color: #f59e0b;
}

/* Resume preview in builder */
.resume-preview-page {
    max-width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    background: white;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 24px;
    font-size: 11px;
}

/* ========== Landing (ResumeBuilder.com style) ========== */
.landing-page {
    background: var(--bg-base);
    min-height: 100vh;
}

body.site-body:has(.landing-page) {
    background: var(--bg-base);
}

.landing-nav {
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
}

.landing-nav .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #333 !important;
}

.landing-nav .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
}

.landing-nav .nav-link:hover {
    color: var(--primary) !important;
}

.landing-nav .btn-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

/* Hero */
.landing-hero {
    background: var(--hero-gradient);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.landing-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    bottom: -50px;
    right: 10%;
    pointer-events: none;
}

.landing-hero h1 {
    font-weight: 700;
    font-size: 2.75rem;
    color: #333;
    line-height: 1.2;
}

.landing-hero .lead {
    font-size: 1.15rem;
    color: #555;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.landing-hero .btn-cta {
    padding: 0.75rem 1.75rem;
    font-size: 1.05rem;
}

.landing-hero .btn-outline-cta {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
}

/* Intro section: stats + trust + description */
.landing-intro {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, #f8f9fc 0%, #fff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.intro-card {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem 2rem 2.75rem;
}

.intro-stats-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.intro-stat {
    text-align: center;
}

.intro-stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--cta-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.intro-stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.35rem;
    letter-spacing: 0.01em;
}

.intro-stat-divider {
    display: none;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12), transparent);
}

@media (min-width: 576px) {
    .intro-stat-divider {
        display: block;
    }
}

.intro-trust-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}

.intro-trust-icon {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.intro-trust {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.01em;
}

.intro-desc {
    text-align: center;
}

.intro-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.intro-desc p:last-child {
    margin-bottom: 0;
}

/* Hero right side image / illustration */
.hero-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.2);
}

.hero-illustration {
    max-width: 100%;
}

.hero-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

/* Section: world-class templates */
.landing-templates {
    background: var(--section-gradient);
    padding: 4rem 0 4.5rem;
}

.templates-overline {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.templates-heading {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.25rem;
    line-height: 1.35;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.template-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
    height: 100%;
}

.template-card:hover {
    transform: translateY(-5px);
    border-color: #e0e0e0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 6px 16px rgba(0, 0, 0, 0.05);
}

.template-card .template-header {
    padding: 1.1rem 1.25rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.template-header-1,
.template-header-2,
.template-header-3,
.template-header-4 {
    background: var(--cta-gradient);
}

.template-card .template-body {
    padding: 1.35rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.template-card .template-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.45;
}

.template-card .btn-use {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
}

.carousel-dots span.active {
    background: var(--cta-gradient);
    width: 26px;
    border-radius: 4px;
}

.templates-cta {
    text-align: center;
    margin-top: 1.75rem;
}

.btn-see-all {
    font-weight: 600;
    padding: 0.55rem 1.5rem;
}

/* Section: Get hired 36% faster */
.landing-features {
    padding: 4rem 0;
    background: #fff;
}

.landing-features h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 0.5rem;
}

.landing-features .disclaimer {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 2.5rem;
}

.landing-features .disclaimer a {
    color: var(--link-blue);
    text-decoration: underline;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--cta-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.landing-features .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.landing-features .card:hover {
    transform: translateY(-2px);
}

.landing-features .card-title {
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
}

.landing-features .card-text {
    color: #555;
    font-size: 0.95rem;
}

.landing-features .card-text a {
    color: var(--link-blue);
    text-decoration: underline;
}

.landing-features .btn-cta-wrap {
    text-align: center;
    margin-top: 2rem;
}

/* Footer - ResumeBuilder.com style */
.landing-footer {
    background: #fff;
    padding: 3rem 0 2rem;
    border-top: 1px solid #eee;
}

.landing-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
}

.landing-footer .footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
}

.landing-footer .trustpilot {
    margin-bottom: 1rem;
}

.landing-footer .trustpilot .stars {
    color: #00c58a;
}

.landing-footer .trustpilot small {
    color: #666;
    font-size: 0.85rem;
}

.landing-footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.landing-footer .social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f0f0f0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
}

.landing-footer .social-icons a:hover {
    background: #e0e0e0;
    color: var(--primary);
}

.landing-footer h6 {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.landing-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer ul li {
    margin-bottom: 0.5rem;
}

.landing-footer ul a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
}

.landing-footer ul a:hover {
    color: #333;
    text-decoration: underline;
}

.landing-footer .copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

/* Legacy / dashboard */
.landing-hero.legacy-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 0 0 24px 24px;
}

.landing-hero.legacy-hero h1 {
    color: #fff;
}

.stats-box {
    text-align: center;
    padding: 1rem;
}

.stats-box .number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

/* App navbar - Resume.io style (shared with landing) */
.rio-nav {
    background: #111111 !important;
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.rio-nav .navbar-brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark) !important;
}

.rio-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 0.85rem !important;
}

.rio-nav .nav-link:hover {
    color: var(--primary) !important;
}

.rio-nav .btn-sign-in {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.rio-nav .btn-sign-in:hover {
    color: var(--primary) !important;
}

.rio-nav .btn-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.app-nav {
    background: #111111 !important;
    box-shadow: none;
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
}

/* Bootstrap dark overrides */
.card {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-dark);
}

.form-control,
.form-select {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-dark);
    --bs-table-border-color: var(--border);
}

.table-light {
    --bs-table-bg: var(--bg-light);
    --bs-table-color: var(--text-dark);
}

.dropdown-menu {
    background: var(--surface);
    border-color: var(--border);
}

.dropdown-item {
    color: var(--text-dark);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary-light);
}

.list-group-item {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--text-dark);
}

.navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler-icon {
    filter: invert(1) opacity(0.8);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Utility */
.text-primary-custom {
    color: var(--primary) !important;
}

.bg-primary-custom {
    background: var(--primary) !important;
}
