/* Free Cv — Public Site Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --fc-primary: #1d4ed8;
    --fc-primary-dark: #1e3a8a;
    --fc-primary-light: #3b82f6;
    --fc-accent: #0ea5e9;
    --fc-success: #059669;
    --fc-warning: #d97706;
    --fc-danger: #dc2626;
    --fc-text: #0f172a;
    --fc-text-muted: #64748b;
    --fc-border: #e2e8f0;
    --fc-bg: #f8fafc;
    --fc-surface: #ffffff;
    --fc-radius: 12px;
    --fc-radius-lg: 16px;
    --fc-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --fc-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --fc-shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --fc-nav-height: 72px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--fc-text);
    background-color: var(--fc-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

main {
    flex: 1;
}

a {
    color: var(--fc-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--fc-primary-dark);
}

/* ── Navbar ── */
.site-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--fc-border);
    min-height: var(--fc-nav-height);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-navbar .container {
    min-height: var(--fc-nav-height);
    display: flex;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fc-text) !important;
    letter-spacing: -0.02em;
    text-decoration: none !important;
}

.site-brand:hover {
    color: var(--fc-primary) !important;
}

.site-brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.site-navbar .nav-link {
    color: var(--fc-text-muted) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--fc-primary) !important;
    background: rgba(29, 78, 216, 0.06);
}

.site-navbar .btn-nav-cta {
    padding: 0.5rem 1.25rem !important;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 8px;
    margin-left: 0.5rem;
}

.site-navbar .dropdown-menu {
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    box-shadow: var(--fc-shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.site-navbar .dropdown-item {
    border-radius: 6px;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.site-navbar .dropdown-item:hover {
    background: rgba(29, 78, 216, 0.06);
    color: var(--fc-primary);
}

/* ── Alerts ── */
.alert-container {
    padding-top: 1rem;
}

.alert {
    border: none;
    border-radius: var(--fc-radius);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ── Buttons ── */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5625rem 1.25rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--fc-primary);
    border-color: var(--fc-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--fc-primary-dark);
    border-color: var(--fc-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.btn-outline-primary {
    color: var(--fc-primary);
    border-color: var(--fc-border);
    background: var(--fc-surface);
}

.btn-outline-primary:hover {
    background: rgba(29, 78, 216, 0.06);
    border-color: var(--fc-primary);
    color: var(--fc-primary);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 10px;
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    border-radius: 6px;
}

/* ── Cards ── */
.card {
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    background: var(--fc-surface);
    box-shadow: var(--fc-shadow);
    overflow: hidden;
}

.card-header {
    background: var(--fc-surface);
    border-bottom: 1px solid var(--fc-border);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--fc-bg);
    border-top: 1px solid var(--fc-border);
    padding: 1rem 1.5rem;
}

/* ── Page Layout ── */
.page-section {
    padding: 2.5rem 0 4rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1,
.page-header h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--fc-text);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    color: var(--fc-text-muted);
    font-size: 1.0625rem;
    margin-bottom: 0;
}

/* ── Hero ── */
.hero-section {
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(29, 78, 216, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--fc-text);
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--fc-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fc-text);
    letter-spacing: -0.02em;
}

.hero-stat span {
    font-size: 0.875rem;
    color: var(--fc-text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup {
    width: 100%;
    max-width: 440px;
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    box-shadow: var(--fc-shadow-lg);
    overflow: hidden;
}

.hero-mockup-header {
    background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
    padding: 1.5rem;
    color: #fff;
}

.hero-mockup-header h4 {
    font-weight: 700;
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.hero-mockup-header p {
    margin: 0;
    opacity: 0.85;
    font-size: 0.85rem;
}

.hero-mockup-body {
    padding: 1.5rem;
}

.hero-mockup-line {
    height: 8px;
    background: var(--fc-border);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.hero-mockup-line.short { width: 60%; }
.hero-mockup-line.medium { width: 80%; }
.hero-mockup-line.accent { background: rgba(29, 78, 216, 0.2); width: 40%; }

.hero-image {
    width: 100%;
    max-width: 440px;
    border-radius: var(--fc-radius-lg);
    border: 1px solid var(--fc-border);
    box-shadow: var(--fc-shadow-lg);
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* ── Features ── */
.features-section {
    padding: 4rem 0;
    background: var(--fc-surface);
    border-top: 1px solid var(--fc-border);
    border-bottom: 1px solid var(--fc-border);
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fc-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--fc-text-muted);
    max-width: 560px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: var(--fc-bg);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
    border-color: rgba(29, 78, 216, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--fc-primary);
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--fc-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-section {
    padding: 4rem 0;
}

.cta-banner {
    background: linear-gradient(135deg, var(--fc-primary-dark) 0%, var(--fc-primary) 50%, var(--fc-accent) 100%);
    border-radius: var(--fc-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 1.75rem;
    font-size: 1.0625rem;
}

.cta-banner .btn-light {
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 10px;
}

/* ── Auth Pages ── */
.auth-wrapper {
    min-height: calc(100vh - var(--fc-nav-height) - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
}

.auth-card {
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    box-shadow: var(--fc-shadow-md);
    overflow: hidden;
}

.auth-card-header {
    text-align: center;
    padding: 2rem 2rem 0;
}

.auth-card-header .auth-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--fc-primary);
    margin-bottom: 1rem;
}

.auth-card-header h2 {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.auth-card-header p {
    color: var(--fc-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.auth-card .card-body {
    padding: 1.75rem 2rem 2rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--fc-text);
    margin-bottom: 0.375rem;
}

.form-control,
.form-select {
    border: 1px solid var(--fc-border);
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--fc-primary-light);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

/* ── Template Cards ── */
.template-card {
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-lg);
}

.template-card .position-relative {
    height: 200px;
    overflow: hidden;
    background: var(--fc-bg);
}

.template-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.template-card .badge {
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4em 0.75em;
    border-radius: 6px;
}

.filter-card {
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border: 2px dashed var(--fc-border);
    border-radius: var(--fc-radius-lg);
    background: var(--fc-surface);
}

.empty-state-icon {
    font-size: 3.5rem;
    color: var(--fc-border);
    margin-bottom: 1.25rem;
}

.empty-state h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--fc-text-muted);
    margin-bottom: 1.5rem;
}

/* ── Tables ── */
.table {
    font-size: 0.9375rem;
}

.table thead th {
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fc-text-muted);
    border-bottom-width: 1px;
    padding: 1rem 1.25rem;
    background: var(--fc-bg);
}

.table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-color: var(--fc-border);
}

.table-hover tbody tr:hover {
    background: rgba(29, 78, 216, 0.03);
}

/* ── Legal Pages ── */
.legal-page {
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 2.5rem;
}

.legal-page h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.legal-page h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page p {
    color: var(--fc-text-muted);
    line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
    background: var(--fc-text);
    color: rgba(255, 255, 255, 0.75);
    margin-top: auto;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: 1rem;
}

.footer-brand-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--fc-primary-light) 0%, var(--fc-accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 2.5rem;
    font-size: 0.875rem;
}

/* ── Captcha ── */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: var(--fc-bg);
    border: 1px solid var(--fc-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.captcha-question {
    font-size: 0.9375rem;
    color: var(--fc-text);
    white-space: nowrap;
}

.captcha-question strong {
    color: var(--fc-primary);
    font-size: 1.1rem;
}

.captcha-input {
    max-width: 120px;
    flex: 1;
    min-width: 80px;
}

/* ── Hero Enhancements ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(29, 78, 216, 0.08);
    color: var(--fc-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-visual {
    position: relative;
}

.hero-float-card {
    position: absolute;
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-radius: 10px;
    padding: 0.625rem 1rem;
    box-shadow: var(--fc-shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.hero-float-1 {
    top: 10%;
    left: -5%;
    animation: float 3s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 15%;
    right: -5%;
    animation: float 3s ease-in-out infinite 1.5s;
}

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

/* ── Trust Strip ── */
.trust-strip {
    background: var(--fc-surface);
    border-top: 1px solid var(--fc-border);
    border-bottom: 1px solid var(--fc-border);
    padding: 1.25rem 0;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fc-text-muted);
}

.trust-item i {
    color: var(--fc-primary);
    font-size: 1.1rem;
}

/* ── How It Works ── */
.how-section {
    padding: 5rem 0;
    background: var(--fc-bg);
}

.steps-row {
    position: relative;
}

.step-card {
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fc-shadow-md);
}

.step-card-highlight {
    border-color: rgba(29, 78, 216, 0.3);
    box-shadow: var(--fc-shadow-md);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--fc-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--fc-primary);
    margin: 1rem 0 1.25rem;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--fc-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ── Document Types ── */
.doctypes-section {
    padding: 5rem 0;
    background: var(--fc-surface);
}

.doctype-card {
    background: var(--fc-bg);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 1.5rem;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
}

.doctype-card:hover {
    border-color: rgba(29, 78, 216, 0.25);
    box-shadow: var(--fc-shadow-md);
}

.doctype-card-accent {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-color: rgba(29, 78, 216, 0.2);
}

.doctype-icon {
    width: 48px;
    height: 48px;
    background: var(--fc-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--fc-primary);
    margin-bottom: 1rem;
    box-shadow: var(--fc-shadow);
}

.doctype-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.doctype-card p {
    color: var(--fc-text-muted);
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.doctype-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--fc-primary);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.doctype-tag.free {
    background: var(--fc-success);
}

/* ── Benefits ── */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--fc-bg) 0%, var(--fc-surface) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefits-list li i {
    font-size: 1.35rem;
    color: var(--fc-success);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.benefits-list li strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.2rem;
}

.benefits-list li span {
    font-size: 0.875rem;
    color: var(--fc-text-muted);
    line-height: 1.5;
}

.benefits-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--fc-surface);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--fc-shadow);
    transition: transform 0.2s ease;
}

.benefits-stat-card:hover {
    transform: translateX(8px);
}

.benefits-stat-card i {
    font-size: 1.75rem;
    color: var(--fc-primary);
}

.benefits-stat-card strong {
    display: block;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.benefits-stat-card span {
    font-size: 0.8125rem;
    color: var(--fc-text-muted);
}

/* ── Testimonials ── */
.testimonials-section {
    padding: 5rem 0;
    background: var(--fc-surface);
    border-top: 1px solid var(--fc-border);
}

.testimonial-card {
    background: var(--fc-bg);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius-lg);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.testimonial-card:hover {
    box-shadow: var(--fc-shadow-md);
}

.testimonial-featured {
    background: linear-gradient(135deg, var(--fc-primary-dark) 0%, var(--fc-primary) 100%);
    border-color: transparent;
    color: #fff;
}

.testimonial-featured p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-featured .testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-featured .testimonial-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--fc-text-muted);
    flex: 1;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-accent) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--fc-text-muted);
}

/* ── FAQ ── */
.faq-section {
    padding: 5rem 0;
    background: var(--fc-bg);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--fc-surface);
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 1.125rem 1.25rem;
    background: var(--fc-surface);
    color: var(--fc-text);
    box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(29, 78, 216, 0.04);
    color: var(--fc-primary);
}

.faq-accordion .accordion-body {
    font-size: 0.9375rem;
    color: var(--fc-text-muted);
    line-height: 1.7;
    padding: 0 1.25rem 1.25rem;
}

/* ── CTA Enhancements ── */
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta-banner .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta-banner .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

/* ── Preview (editor) ── */
.preview-container {
    min-height: 800px;
    background: var(--fc-bg);
    padding: 2rem;
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-border);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 2.5rem 0 3rem;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .site-navbar .navbar-collapse {
        padding: 1rem 0;
    }

    .site-navbar .nav-link {
        padding: 0.625rem 0.75rem !important;
    }

    .site-navbar .btn-nav-cta {
        margin: 0.5rem 0 0;
        display: block;
        text-align: center;
    }

    .page-section {
        padding: 2rem 0 3rem;
    }

    .legal-page {
        padding: 1.5rem;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .benefits-visual {
        order: -1;
    }

    .hero-float-1,
    .hero-float-2 {
        display: none;
    }

    .trust-strip-inner {
        gap: 1rem;
    }

    .doctypes-section .section-title,
    .benefits-section .section-title {
        text-align: center !important;
    }

    .doctypes-section .text-lg-start {
        text-align: center !important;
    }

    .doctypes-section .btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    .cta-actions .btn-lg {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-actions .btn-lg {
        width: 100%;
    }

    .template-card .card-footer .d-flex {
        flex-direction: column;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .dashboard-header .btn {
        width: 100%;
    }
}

/* ── Print ── */
@media print {
    .no-print,
    .site-navbar,
    .site-footer,
    .ad-wrapper-top,
    .ad-wrapper-bottom,
    .ad-wrapper-content,
    .cookie-consent {
        display: none !important;
    }
}

/* ── AdSense ── */
.ad-wrapper-top,
.ad-wrapper-bottom,
.ad-wrapper-content {
    max-width: 100%;
    overflow: hidden;
}

.ad-slot {
    min-height: 90px;
    margin: 0.75rem 0;
    text-align: center;
    background: var(--fc-bg);
    border: 1px dashed var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 0.5rem;
    overflow: hidden;
}

.ad-slot:empty {
    display: none;
}

.ad-slot-auto {
    min-height: 0;
    border: none;
    padding: 0;
    background: transparent;
}

/* ── Cookie Consent ── */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.97);
    color: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent p {
    margin: 0;
    font-size: 0.875rem;
    flex: 1;
    min-width: 240px;
}

.cookie-consent a {
    color: #93c5fd;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* ── Contact Page ── */
.contact-info-card {
    background: var(--fc-bg);
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 1.25rem;
    text-align: center;
    height: 100%;
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--fc-primary);
    margin-bottom: 0.5rem;
}

.contact-info-card h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fc-text-muted);
    margin-bottom: 0.5rem;
}

.about-page .page-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-page .page-content ul {
    color: var(--fc-text-muted);
    line-height: 1.8;
}
