:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --muted-surface: #f1f5f9;
    --ink: #0f172a;
    --muted: #475569;
    --primary: #2f6cf6;
    --primary-soft: rgba(47, 108, 246, 0.1);
    --accent: #22c55e;
    --border: #e2e8f0;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    --radius: 16px;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', 'Manrope', serif;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 12px;
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.page-shell {
    min-height: 100vh;
    position: relative;
}

.page-backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(47, 108, 246, 0.08), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.08), transparent 24%),
        radial-gradient(circle at 70% 70%, rgba(15, 23, 42, 0.06), transparent 32%);
    pointer-events: none;
    z-index: 0;
}

.page-main {
    position: relative;
    z-index: 1;
    padding-bottom: 64px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(246, 248, 251, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand__glyph {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2f6cf6, #5eb9ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(47, 108, 246, 0.35);
}

.brand__name {
    font-size: 18px;
}

.header__controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    transition: all 0.2s ease;
}

.site-nav a:hover {
    color: var(--ink);
    background: var(--muted-surface);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #2f6cf6, #2956d9);
    color: #fff;
    box-shadow: 0 16px 40px rgba(47, 108, 246, 0.35);
    width: 100%;
    text-align: center;
}

.btn-primary:hover {
    box-shadow: 0 18px 46px rgba(47, 108, 246, 0.4);
}

.btn-ghost {
    background: rgba(47, 108, 246, 0.08);
    color: var(--ink);
    border-color: rgba(47, 108, 246, 0.16);
}

.btn-ghost:hover {
    background: rgba(47, 108, 246, 0.14);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    padding: 10px;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.section {
    padding: 70px 0;
    position: relative;
}

.section__header {
    max-width: 760px;
    margin-bottom: 28px;
}

.section__header .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 108, 246, 0.08);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.section__header p {
    font-size: 17px;
}

.surface {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--muted-surface);
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

.hero {
    padding: 72px 0 32px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
}

.hero__title {
    font-size: clamp(32px, 4vw, 46px);
    margin-bottom: 14px;
}

.hero__lede {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 18px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 10px;
}

.hero__panel {
    padding: 22px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.hero__preview--gallery {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.hero__preview-stack {
    position: relative;
    min-height: 330px;
}

.hero__preview-card {
    position: absolute;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.hero__preview-card img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__preview-card.is-primary {
    width: 70%;
    top: 0;
    left: 0;
    transform: rotate(-2deg);
    z-index: 3;
}

.hero__preview-card.is-secondary {
    width: 64%;
    top: 18%;
    right: 0;
    transform: rotate(3deg);
    z-index: 2;
}

.hero__preview-card.is-tertiary {
    width: 62%;
    bottom: -6%;
    left: 10%;
    transform: rotate(-1deg);
    z-index: 1;
    opacity: 0.96;
}

.hero__preview-caption {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.hero__preview-caption span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47, 108, 246, 0.08);
    color: #1d4ed8;
}

.hero__panel::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 18px;
    background: radial-gradient(circle at 20% 20%, rgba(47, 108, 246, 0.14), transparent 45%),
                radial-gradient(circle at 80% 30%, rgba(34, 197, 94, 0.12), transparent 35%);
    z-index: 0;
    pointer-events: none;
}

.hero__panel.hero__panel--gallery::after {
    inset: 14px;
    background: radial-gradient(circle at 15% 20%, rgba(47, 108, 246, 0.18), transparent 45%),
                radial-gradient(circle at 85% 25%, rgba(34, 197, 94, 0.16), transparent 40%);
}

.hero__panel-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.resume-preview {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.08);
}

.resume-preview .bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    margin-bottom: 12px;
}

.resume-preview .line {
    height: 6px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.2);
    margin-bottom: 6px;
}

.resume-preview .line.short {
    width: 65%;
}

.resume-preview .line.tiny {
    width: 35%;
}

.resume-panel__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.meta-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid var(--border);
}

.meta-card strong {
    display: block;
    color: var(--ink);
    margin-bottom: 6px;
}

.meta-card span {
    color: var(--muted);
    font-size: 14px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.stat {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
}

.stat-label {
    font-weight: 700;
    color: var(--muted);
}

.stat-copy {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(47, 108, 246, 0.08), transparent 70%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.card:hover::after {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card h3 {
    margin-bottom: 6px;
    font-size: 20px;
}

.card p {
    margin-bottom: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--muted-surface);
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
}

.template-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.template-card__thumb {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #f8fafc;
    margin-bottom: 12px;
}

.template-card__thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.template-card--coming {
    display: none;
    text-align: center;
}

.list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
}

.list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f6cf6, #6dd3ff);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.step {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.step strong {
    color: var(--ink);
}

.step .badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 8px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.quote {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 14px 44px rgba(15, 23, 42, 0.06);
}

.quote p {
    color: var(--ink);
}

.quote__meta {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 700;
}

.cta {
    padding: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    color: #fff;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.35);
    display: grid;
    gap: 14px;
}

.cta p {
    color: rgba(255, 255, 255, 0.92);
}

.cta .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.site-footer {
    position: relative;
    z-index: 1;
    padding: 32px 0 44px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.86);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: center;
}

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

.footer__links {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer__links a {
    color: var(--muted);
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

@media (max-width: 960px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__preview-stack {
        min-height: 280px;
    }

    .hero__preview-card {
        position: relative;
        width: 100%;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        margin-bottom: 12px;
    }

    .hero__preview-card.is-primary,
    .hero__preview-card.is-secondary,
    .hero__preview-card.is-tertiary {
        width: 100%;
        transform: none;
    }

    .hero__preview-card:last-child {
        margin-bottom: 0;
    }

    .site-nav {
        position: absolute;
        top: 70px;
        right: 20px;
        width: calc(100% - 40px);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .site-nav a {
        width: 100%;
    }

    .nav__cta {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 1.75rem);
    }

    .header__bar {
        padding: 14px 0;
    }

    .section {
        padding: 52px 0;
    }

    .hero {
        padding: 48px 0 24px;
        background: var(--muted-surface);
    }

    .hero__panel--gallery {
        display: none;
    }
}

@media (max-width: 640px) {
    .card-grid--templates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-card--coming {
        display: block;
    }
}



.hero--clean {
    padding-top: 60px;
}

.hero__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
}

.hero__lede {
    max-width: 520px;
    opacity: .9;
}

.hero__actions {
    margin-top: 24px;
    gap: 14px;
}

.hero__badge {
    margin-top: 14px;
    font-size: 13px;
    opacity: .7;
}

/* Stats */
.stat-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-value {
    font-size: 22px;
    font-weight: 600;
}

.stat-label {
    font-size: 13px;
    opacity: .75;
}

/* Preview */
.resume-preview--clean {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,.08);
}

.resume-header {
    height: 12px;
    width: 60%;
    background: #eaeaea;
    border-radius: 6px;
    margin-bottom: 14px;
}

.resume-line {
    height: 8px;
    background: #f1f1f1;
    border-radius: 6px;
    margin-bottom: 10px;
}

.resume-line.short {
    width: 70%;
}

.resume-meta {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    font-size: 12px;
    opacity: .7;
}

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