/* CVtoWebsite — Homepage */

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

:root {
    --white:      #ffffff;
    --surface:    #f8f7f5;
    --surface-2:  #f3f1ee;
    --border:     #e8e4df;
    --text:       #1a1714;
    --muted:      #6b6560;
    --accent:     #c47d2e;
    --accent-dark:#a86824;
    --accent-bg:  #fdf3e7;
    --nav-h:      64px;
    --shadow-sm:  0 1px 2px rgba(26, 23, 20, 0.04), 0 8px 24px rgba(26, 23, 20, 0.06);
    --shadow-md:  0 4px 6px rgba(26, 23, 20, 0.04), 0 20px 48px rgba(26, 23, 20, 0.08);
    --shadow-lg:  0 8px 16px rgba(26, 23, 20, 0.06), 0 32px 64px rgba(26, 23, 20, 0.1);
    --radius:     16px;
    --max:        1180px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--white);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* ── NAV ── */
.nav {
    position: sticky;
    top: 0;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.nav-logo {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.15rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-logo span { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-cta {
    background: var(--text) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    margin-left: 8px;
    font-weight: 600 !important;
    transition: opacity 0.15s !important;
}

.nav-cta:hover { opacity: 0.85 !important; background: var(--text) !important; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    padding: 7px 10px;
    color: var(--text);
}

.nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
}

.nav-drawer.open { display: block; }

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(300px, 82vw);
    background: var(--white);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
}

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

.drawer-brand {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.1rem;
    color: var(--text);
}

.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
}

.drawer-panel a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: 0.975rem;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 8px;
    transition: background 0.15s;
}

.drawer-panel a:hover { background: var(--surface); }

.drawer-cta {
    margin-top: 12px;
    background: var(--text) !important;
    color: var(--white) !important;
    text-align: center;
    font-weight: 600 !important;
    border-radius: 8px;
}

/* ── HERO SPLIT ── */
.hero-section {
    background: linear-gradient(180deg, #fffdfb 0%, var(--surface) 55%, var(--white) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 56px 40px 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: var(--accent-bg);
    border: 1px solid #f0dfc7;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.hero-title {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 52ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--text);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(26, 23, 20, 0.15);
}

.btn-hero-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 20px;
    background: var(--white);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: background 0.15s, border-color 0.15s;
}

.btn-hero-secondary:hover {
    background: var(--surface);
    border-color: #d8d2cb;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--muted);
}

.hero-trust-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

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

.hero-image-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-image-card::before {
    content: "";
    position: absolute;
    inset: -40px -20px auto auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(196, 125, 46, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* ── CV → WEBSITE FLOW ── */
.flow-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.flow-wrap {
    padding-top: 64px;
    padding-bottom: 64px;
}

.flow-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
}

.flow-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.flow-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-bg);
    border: 1px solid #f0dfc7;
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.flow-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.flow-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    opacity: 0.85;
}

/* ── CTA STRIP ── */
.cta-strip {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px 64px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 20px;
    align-items: stretch;
}

.cta-card {
    background: linear-gradient(135deg, var(--text) 0%, #2d2925 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-md);
}

.trust-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
}

.trust-box-title {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.3;
}

.trust-box-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-box-list li {
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.4;
}

/* ── AUDIENCE ── */
.audience-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
    border-top: 1px solid var(--border);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.audience-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s;
}

.audience-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.audience-card h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.audience-card p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-card h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 8px;
}

.cta-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 48ch;
}

.cta-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.btn-cta-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: var(--white);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: opacity 0.15s;
}

.btn-cta-light:hover { opacity: 0.92; }

.cta-login-link {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.cta-login-link a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── SECTIONS ── */
.section-wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 80px 40px;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 12px;
}

.section-heading {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 16px;
    max-width: 20ch;
}

.section-intro {
    font-size: 1rem;
    color: var(--muted);
    max-width: 56ch;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ── HOW IT WORKS ── */
.how-section {
    background: var(--white);
    border-top: 1px solid var(--border);
}

.how-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.step-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: box-shadow 0.15s, transform 0.15s;
}

.step-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-bg);
    border: 1px solid #f0d4ab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ── EXAMPLE PREVIEW ── */
.example-preview-wrap {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.example-preview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.example-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0dbd5;
}

.browser-dot:nth-child(1) { background: #f0b4a8; }
.browser-dot:nth-child(2) { background: #f0d9a8; }
.browser-dot:nth-child(3) { background: #b8dfc4; }

.browser-url {
    flex: 1;
    margin-left: 8px;
    padding: 5px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--muted);
}

.example-preview-body {
    padding: 28px 24px 24px;
}

.example-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-bg), #f0dfc7);
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(196, 125, 46, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.4rem;
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.example-name {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 1.35rem;
    color: var(--text);
    margin-bottom: 4px;
}

.example-role {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.example-sections {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.example-section-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.example-section-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

.example-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

/* ── PRICING ── */
.pricing-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
    border-top: 1px solid var(--border);
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-header .section-heading {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.pricing-header .section-intro {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
    position: relative;
}

.pricing-card.featured::before {
    content: "Most popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.pricing-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.pricing-label.featured-label { color: var(--accent); }

.pricing-price {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 2.4rem;
    color: var(--text);
    line-height: 1;
    margin-bottom: 6px;
}

.pricing-per {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.pricing-value {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-cta {
    margin-top: 28px;
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
}

.pricing-cta-outline {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
}

.pricing-cta-outline:hover { background: var(--surface); }

.pricing-cta-solid {
    background: var(--text);
    color: var(--white);
}

.pricing-cta-solid:hover { opacity: 0.9; }

/* ── TRUST BAR ── */
.trust-bar {
    max-width: var(--max);
    margin: 0 auto;
    padding: 32px 40px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px 40px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--muted);
    font-weight: 500;
}

.trust-item svg { color: var(--accent); }

/* ── FOOTER ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: var(--muted); }

.footer-links { display: flex; gap: 20px; }

.footer-links a {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 24px 56px;
    }

    .hero-content {
        max-width: none;
        text-align: center;
    }

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

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

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

    .hero-visual { order: -1; }

    .hero-image-card { max-width: 440px; margin: 0 auto; }

    .flow-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        padding: 2px 0;
    }

    .cta-strip {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .example-preview-wrap { position: static; }
}

@media (max-width: 768px) {
    .nav { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .cta-strip { padding: 0 16px 48px; }
    .cta-card { padding: 28px 24px; }
    .trust-box { padding: 22px 20px; }

    .section-wrap { padding: 56px 16px; }
    .flow-wrap { padding-top: 48px; padding-bottom: 48px; }

    .pricing-grid { grid-template-columns: 1fr; }

    .audience-grid { grid-template-columns: 1fr; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .trust-bar { padding: 28px 16px 40px; }
    .footer { padding: 20px 16px; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
