/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    --navy:      #F8F6FF;
    --navy-light:#EDE9FF;
    --navy-card: #FFFFFF;
    --cyan:      #8B5CF6;
    --cyan-dim:  #7C3AED;
    --white:     #1A0A2E;
    --muted:     #6E5F8B;
    --border:    rgba(139,92,246,.18);
    --glow:      0 0 24px rgba(139,92,246,.18);
    --shadow:    0 8px 32px rgba(139,92,246,.1);
    --font-head: 'DM Serif Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --radius:    10px;
    --transition:.25s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--white); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 600; transition: var(--transition); white-space: nowrap; }
.btn--primary { background: linear-gradient(135deg, var(--cyan), var(--cyan-dim)); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(139,92,246,.45); }
.btn--ghost { border: 1px solid var(--border); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: background var(--transition), padding var(--transition); }
.navbar.scrolled { background: rgba(248,246,255,.96); backdrop-filter: blur(12px); padding: 12px 0; border-bottom: 1px solid var(--border); }
.navbar__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.navbar__logo { font-family: var(--font-head); font-size: 22px; font-weight: 700; }
.navbar__logo-dot { color: var(--cyan); }
.navbar__links { display: flex; gap: 32px; margin-left: auto; }
.navbar__links a { color: var(--muted); font-size: 15px; transition: color var(--transition); }
.navbar__links a:hover { color: var(--white); }
.navbar__actions { display: flex; gap: 12px; }
.navbar__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.navbar__hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; padding: 120px 24px 80px; }
.hero__container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(139,92,246,.1); border: 1px solid var(--border); border-radius: 20px; padding: 6px 16px; font-size: 13px; color: var(--cyan); margin-bottom: 24px; }
.hero__badge-dot { width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; }
.hero h1 { font-family: var(--font-head); font-size: clamp(40px, 5vw, 62px); line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__sub { color: var(--muted); font-size: 18px; max-width: 460px; margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.hero__stat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero__stat::before { content: '✓'; color: var(--cyan); font-weight: 700; }

/* CV Mockup */
.hero__mockup { position: relative; }
.mockup-card { background: var(--navy-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.mockup-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.mockup-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), #4F46E5); }
.mockup-name { font-weight: 700; font-size: 14px; }
.mockup-title { font-size: 11px; color: var(--muted); }
.mockup-bar { height: 8px; background: rgba(139,92,246,.1); border-radius: 4px; margin-bottom: 8px; }
.mockup-bar--short { width: 60%; }
.mockup-bar--medium { width: 80%; }
.mockup-bar--long { width: 95%; }
.mockup-bar--accent { background: rgba(139,92,246,.3); width: 45%; }
.mockup-section-label { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--cyan); text-transform: uppercase; margin: 16px 0 8px; }
.mockup-tag { display: inline-block; background: rgba(139,92,246,.12); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; font-size: 10px; color: var(--cyan); margin: 2px; }
.mockup-floating { position: absolute; background: var(--navy-card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow); }
.mockup-floating--1 { top: -20px; right: -20px; font-size: 11px; animation: float 4s ease-in-out infinite .5s; }
.mockup-floating--2 { bottom: 20px; left: -30px; font-size: 11px; animation: float 5s ease-in-out infinite 1s; }
.mockup-pill { display: flex; align-items: center; gap: 6px; }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.mockup-dot--yellow { background: #F59E0B; }

/* Particles */
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle { position: absolute; border-radius: 50%; opacity: .15; animation: particleFloat linear infinite; }
.particle:nth-child(1)  { width:4px; height:4px; background:var(--cyan); left:10%; animation-duration:20s; animation-delay:0s;  top:20%; }
.particle:nth-child(2)  { width:2px; height:2px; background:var(--cyan); left:25%; animation-duration:15s; animation-delay:2s;  top:60%; }
.particle:nth-child(3)  { width:6px; height:6px; background:var(--cyan); left:50%; animation-duration:25s; animation-delay:4s;  top:30%; }
.particle:nth-child(4)  { width:3px; height:3px; background:var(--white); left:70%; animation-duration:18s; animation-delay:1s;  top:70%; }
.particle:nth-child(5)  { width:4px; height:4px; background:var(--cyan); left:85%; animation-duration:22s; animation-delay:3s;  top:45%; }
.particle:nth-child(6)  { width:2px; height:2px; background:var(--white); left:40%; animation-duration:16s; animation-delay:6s;  top:80%; }
.particle:nth-child(7)  { width:5px; height:5px; background:var(--cyan); left:60%; animation-duration:24s; animation-delay:8s;  top:15%; }
.particle:nth-child(8)  { width:3px; height:3px; background:var(--cyan); left:15%; animation-duration:19s; animation-delay:5s;  top:85%; }

/* ── Hero Picker — Template Strip Variant ─────────────────────── */
.hero--picker { padding-bottom: 60px; }

.hero__container--picker {
    max-width: 1340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.hero__pitch { max-width: 700px; }
.hero__pitch h1 { margin-bottom: 16px; }
.hero__pitch .hero__sub { margin: 0 auto 0; }

/* Strip wrapper: arrows + scrollable track */
.hero__strip-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 36px 0 28px;
}

/* Scrollable track — hides scrollbar but allows touch scroll */
.strip-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    padding: 8px 2px 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.strip-track::-webkit-scrollbar { display: none; }

/* Individual strip card */
.strip-card {
    flex: 0 0 178px;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.strip-card:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-4px); }
.strip-card .template-preview { height: 196px; }

.strip-card__overlay {
    position: absolute;
    inset: 0;
    bottom: 44px;
    background: rgba(5,10,24,.82);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 2;
}
.strip-card:hover .strip-card__overlay { opacity: 1; }

.strip-card__info {
    padding: 9px 11px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    height: 44px;
}
.strip-card__name {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.strip-card__tag {
    font-size: 10px;
    background: rgba(139,92,246,.12);
    color: var(--cyan);
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.strip-card__tag--gold   { background: rgba(201,168,76,.12); color: #C9A84C; }
.strip-card__tag--purple { background: rgba(124,58,237,.15); color: #A78BFA; }

/* Prev / Next arrows */
.strip-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 1px solid var(--border);
    color: var(--white);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding-bottom: 1px;
}
.strip-arrow:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow); }
.strip-arrow:disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }

/* CTA row below the strip */
.hero__picker-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 32px;
}

/* Centre the stats row in picker mode */
.hero--picker .hero__stats { justify-content: center; }

/* ── Features ───────────────────────────────────────────────── */
.section { padding: 100px 24px; }
.section__container { max-width: 1200px; margin: 0 auto; }
.section__label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin-bottom: 12px; }
.section__title { font-family: var(--font-head); font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.section__sub { color: var(--muted); font-size: 17px; max-width: 540px; line-height: 1.7; }
.section__header { margin-bottom: 60px; }

.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #C4B5FD; border: 1px solid rgba(139,92,246,.35); border-radius: var(--radius); padding: 32px; transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 0 32px rgba(139,92,246,.35), 0 8px 24px rgba(139,92,246,.2); background: #B39DFB; }
.feature-icon { width: 48px; height: 48px; background: #FFFFFF; border: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(139,92,246,.15); }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── How It Works ───────────────────────────────────────────── */
.how-it-works { background: var(--navy-light); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(to right, var(--cyan), transparent); z-index: 0; }
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step__num { width: 80px; height: 80px; border-radius: 50%; background: var(--navy-card); border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 28px; color: var(--cyan); margin: 0 auto 20px; box-shadow: var(--glow); }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Template Showcase (iframe-based realistic previews) ─────── */
.templates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.template-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}
.template-card:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-5px); }

/* iframe preview area — maintains A4 aspect ratio */
.template-card__preview {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 794 / 980;
    background: #e8eef4;
    flex-shrink: 0;
}
.tpl-iframe-wrap {
    position: absolute;
    inset: 0;
    background: #fff;
}
.tpl-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 794px;
    height: 1123px;
    border: none;
    pointer-events: none;
    transform-origin: top left;
    display: block;
}

/* Hover overlay */
.template-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,10,24,.78);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity .25s ease;
}
.template-card:hover .template-card__overlay { opacity: 1; }

/* Card footer */
.template-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.tpl-footer__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    display: block;
    line-height: 1.3;
}
.tpl-footer__cat {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-top: 2px;
    text-transform: capitalize;
}

/* Badges */
.template-badge { font-size: 11px; background: rgba(139,92,246,.12); color: var(--cyan); padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }

/* ── Pricing ────────────────────────────────────────────────── */
.pricing { background: var(--navy-light); }
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.plan-card { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; position: relative; transition: var(--transition); }
.plan-card:hover { transform: translateY(-4px); }
.plan-card--featured { border-color: var(--cyan); box-shadow: var(--glow); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--cyan), var(--cyan-dim)); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; white-space: nowrap; letter-spacing: .5px; }
.plan-name { font-family: var(--font-head); font-size: 20px; margin-bottom: 8px; }
.plan-desc { color: var(--muted); font-size: 13px; margin-bottom: 20px; min-height: 40px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-price__amount { font-family: var(--font-head); font-size: 42px; line-height: 1; }
.plan-price__cents { font-size: 22px; font-family: var(--font-head); }
.plan-price__currency { font-size: 18px; color: var(--muted); }
.plan-cycle { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.plan-credits { display: flex; align-items: center; gap: 8px; background: rgba(139,92,246,.08); border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; margin-bottom: 24px; font-size: 14px; font-weight: 600; }
.plan-credits__icon { color: var(--cyan); }
.plan-cta { display: block; width: 100%; padding: 13px; text-align: center; border-radius: 8px; font-weight: 600; transition: var(--transition); }
.plan-cta--primary { background: linear-gradient(135deg, var(--cyan), var(--cyan-dim)); color: #fff; }
.plan-cta--primary:hover { box-shadow: 0 4px 20px rgba(139,92,246,.4); transform: translateY(-1px); }
.plan-cta--ghost { border: 1px solid var(--border); color: var(--white); }
.plan-cta--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.pricing__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 32px; }

/* ── About ──────────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__text p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.about__values { display: flex; flex-direction: column; gap: 24px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon { width: 44px; height: 44px; background: rgba(139,92,246,.1); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.value-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.value-item p { font-size: 13px; color: var(--muted); }

/* ── Contact ────────────────────────────────────────────────── */
.contact { background: var(--navy-light); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item { display: flex; gap: 14px; align-items: center; }
.contact__item-icon { width: 44px; height: 44px; background: rgba(139,92,246,.1); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact__item-text h4 { font-size: 14px; font-weight: 600; }
.contact__item-text p { font-size: 13px; color: var(--muted); }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.form-control { background: var(--navy-card); border: 1px solid var(--border); border-radius: 8px; padding: 13px 16px; color: var(--white); font-size: 15px; font-family: var(--font-body); transition: border-color var(--transition); outline: none; resize: vertical; }
.form-control:focus { border-color: var(--cyan); }
.form-control::placeholder { color: rgba(136,153,187,.5); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: #EDE9FF; border-top: 1px solid var(--border); padding: 60px 24px 32px; }
.footer__container { max-width: 1200px; margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-logo { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.footer__brand-tagline { color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer__col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color var(--transition); }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__copy { color: var(--muted); font-size: 13px; }
.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal-links a { color: var(--muted); font-size: 13px; transition: color var(--transition); }
.footer__legal-links a:hover { color: var(--white); }

/* ── Policy Pages ───────────────────────────────────────────── */
.policy-hero { padding: 140px 24px 60px; text-align: center; border-bottom: 1px solid var(--border); background: var(--navy-light); }
.policy-hero__container { max-width: 800px; margin: 0 auto; }
.policy-hero h1 { font-family: var(--font-head); font-size: clamp(32px, 4vw, 52px); margin-bottom: 12px; }
.policy-hero p { color: var(--muted); font-size: 15px; }
.policy-content { padding: 80px 24px; }
.policy-content__container { max-width: 800px; margin: 0 auto; }
.policy-section { margin-bottom: 48px; }
.policy-section h2 { font-family: var(--font-head); font-size: 24px; color: var(--cyan); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.policy-section h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; margin-top: 20px; color: var(--white); }
.policy-section p { color: var(--muted); line-height: 1.8; margin-bottom: 12px; font-size: 15px; }
.policy-section ul, .policy-section ol { color: var(--muted); font-size: 15px; line-height: 1.8; padding-left: 24px; margin-bottom: 12px; }
.policy-section li { margin-bottom: 6px; }
.policy-highlight { background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.3); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; }
.policy-highlight p { color: var(--white) !important; margin: 0 !important; font-weight: 500; }
.policy-highlight--danger { background: rgba(239,68,68,.08) !important; border-color: rgba(239,68,68,.35) !important; }
.policy-highlight--danger p { color: #F87171 !important; }
.policy-highlight--success { background: rgba(34,197,94,.08) !important; border-color: rgba(34,197,94,.3) !important; }
.policy-highlight--success p { color: #4ADE80 !important; }
.policy-toc { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 48px; }
.policy-toc h3 { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.policy-toc ol { padding-left: 20px; }
.policy-toc li { margin-bottom: 8px; }
.policy-toc a { color: var(--cyan); font-size: 14px; }
.policy-toc a:hover { text-decoration: underline; }

/* ── Flash messages ─────────────────────────────────────────── */
.flash { padding: 14px 20px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.flash--success { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3); color: #4ADE80; }
.flash--error   { background: rgba(239,68,68,.15);  border: 1px solid rgba(239,68,68,.3);  color: #F87171; }
.flash--warning { background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: #FBD271; }
.flash--info    { background: rgba(139,92,246,.15);  border: 1px solid var(--border);       color: var(--cyan); }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}
@keyframes particleFloat {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: .15; }
    90%  { opacity: .15; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .navbar__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(248,246,255,.99); border-bottom: 1px solid var(--border); padding: 20px 24px; flex-direction: column; gap: 20px; }
    .navbar__links.open { display: flex; }
    .navbar__actions { display: none; }
    .navbar__hamburger { display: flex; }

    .hero__container { grid-template-columns: 1fr; gap: 48px; text-align: center; padding-top: 80px; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__mockup { max-width: 360px; margin: 0 auto; }
    .hero__sub { margin: 0 auto 36px; }

    .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
    .steps::before { display: none; }

    .features__grid { grid-template-columns: 1fr; }
    .templates__grid { grid-template-columns: repeat(2, 1fr); }
    .pricing__grid { grid-template-columns: 1fr; }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__top { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .btn--lg { padding: 13px 24px; font-size: 15px; }
    .templates__grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   TEMPLATES SECTION — FEATURED SHOWCASE + ALL GRID + MODAL
   ════════════════════════════════════════════════════════════════ */

/* ── Featured Showcase ──────────────────────────────────────── */
.featured-showcase { margin-bottom: 80px; }
.featured-showcase__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px; }
.featured-showcase__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.featured-card { background: var(--navy-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: var(--transition); }
.featured-card:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-6px); }
.featured-card__preview { position: relative; height: 340px; overflow: hidden; }
.featured-card__preview .template-preview { height: 340px; }

.featured-card__overlay { position: absolute; inset: 0; background: rgba(5,10,24,.8); backdrop-filter: blur(4px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; transition: opacity var(--transition); }
.featured-card:hover .featured-card__overlay { opacity: 1; }
.featured-card__info { padding: 20px 22px; border-top: 1px solid var(--border); }
.featured-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.featured-card__desc { color: var(--muted); font-size: 13px; line-height: 1.65; }

.featured-tag { font-size: 11px; font-weight: 700; background: rgba(139,92,246,.12); color: var(--cyan); padding: 3px 10px; border-radius: 20px; }
.featured-tag--gold { background: rgba(245,158,11,.12); color: #F59E0B; }

.template-badge--gold   { background: rgba(245,158,11,.12); color: #F59E0B; border-color: rgba(245,158,11,.25); }
.template-badge--purple { background: rgba(124,58,237,.15); color: #A78BFA; border-color: rgba(124,58,237,.3); }
.template-badge--navy   { background: rgba(30,42,74,.5); color: #94A3B8; border-color: rgba(94,113,152,.4); }

/* ── All Templates Header + Filters ────────────────────────── */
.all-templates__header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.all-templates__title { font-family: var(--font-head); font-size: 22px; }

.template-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--border); cursor: pointer; transition: var(--transition); font-family: var(--font-body); }
.filter-btn:hover { border-color: var(--cyan); color: var(--white); }
.filter-btn--active { background: var(--cyan); color: #fff; border-color: var(--cyan); }

/* ── Template Card Overlay (hover) ──────────────────────────── */
.template-card__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 52px; background: rgba(5,10,24,.82); backdrop-filter: blur(3px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity var(--transition); z-index: 2; }
.template-card:hover .template-card__overlay { opacity: 1; }
.btn--sm { padding: 9px 20px !important; font-size: 13px !important; }

/* ── Templates CTA ──────────────────────────────────────────── */
.templates__cta { text-align: center; margin-top: 48px; padding: 40px 32px; background: var(--navy-light); border: 1px solid var(--border); border-radius: var(--radius); }
.templates__cta p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }

/* ── View All Templates CTA (homepage) ──────────────────────── */
.templates-view-all { text-align: center; margin-top: 48px; padding: 48px 32px; background: linear-gradient(135deg, rgba(139,92,246,.08) 0%, rgba(0,212,255,.06) 100%); border: 1px solid rgba(139,92,246,.2); border-radius: var(--radius); }
.templates-view-all__text { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.templates-view-all__text strong { color: var(--white); }

/* ════════════════════════════════════════════════════════════════
   TEMPLATE PREVIEW DESIGNS — All 11 Actual Templates
   ════════════════════════════════════════════════════════════════ */

/* ── 1. ATS Professional ─────────────────────────────────────── */
.template-preview--ats-professional { background:#fff; flex-direction:column; }
.tmp-ats-topbar  { height:4px; background:#1B3A6B; flex-shrink:0; }
.tmp-ats-header  { padding:12px 14px 8px; border-bottom:1px solid #E5E7EB; flex-shrink:0; }
.tmp-ats-name    { height:9px; background:#1B3A6B; border-radius:2px; width:56%; margin-bottom:4px; }
.tmp-ats-role    { height:4px; background:#4B6FA5; border-radius:2px; width:38%; margin-bottom:5px; }
.tmp-ats-contact { height:3px; background:#CBD5E1; border-radius:2px; width:80%; }
.tmp-ats-body    { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-ats-lbl     { height:5px; background:#1B3A6B; border-radius:2px; width:36%; margin-bottom:3px; }
.tmp-ats-rule    { height:1px; background:#1B3A6B; margin-bottom:6px; }
.tmp-ats-head    { height:5px; background:#374151; border-radius:2px; width:64%; margin-bottom:3px; }
.tmp-ats-date    { height:3px; background:#94A3B8; border-radius:2px; width:42%; margin-bottom:3px; }
.tmp-ats-line    { height:3px; background:#E5E7EB; border-radius:2px; margin-bottom:3px; }
.tmp-ats-sep     { height:6px; }

/* ── 2. Executive Elite ──────────────────────────────────────── */
.template-preview--executive-elite { background:#fff; flex-direction:column; }
.tmp-ee-header  { background:#0D1B2A; padding:14px 14px 12px; flex-shrink:0; }
.tmp-ee-name    { height:10px; background:rgba(255,255,255,.92); border-radius:1px; width:60%; margin-bottom:4px; }
.tmp-ee-role    { height:4px; background:#C9A84C; border-radius:1px; width:42%; margin-bottom:4px; }
.tmp-ee-contact { height:3px; background:rgba(255,255,255,.28); border-radius:1px; width:75%; }
.tmp-ee-goldbar { height:3px; background:linear-gradient(to right,#C9A84C,#A07820,transparent); flex-shrink:0; }
.tmp-ee-body    { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-ee-lbl     { height:5px; background:#0D1B2A; border-radius:1px; width:38%; margin-bottom:2px; }
.tmp-ee-rule    { height:1px; background:#C9A84C; width:38%; margin-bottom:6px; opacity:.5; }
.tmp-ee-head    { height:5px; background:#374151; border-radius:1px; width:66%; margin-bottom:3px; }
.tmp-ee-date    { height:3px; background:#C9A84C; border-radius:1px; width:40%; margin-bottom:3px; opacity:.7; }
.tmp-ee-line    { height:3px; background:#E5E7EB; border-radius:1px; margin-bottom:3px; }
.tmp-ee-sep     { height:6px; }
.tmp-ee-ach     { background:#F8F6EE; border-left:3px solid #C9A84C; padding:5px 8px; margin-top:6px; }
.tmp-ee-ach-line{ height:3px; background:#C9A84C; border-radius:1px; margin-bottom:3px; opacity:.5; }

/* ── 3. Modern Two Column ────────────────────────────────────── */
.template-preview--modern-two-column { background:#F0F9FF; flex-direction:row; }
.tmp-mtc-sidebar { width:35%; background:#0891B2; padding:13px 10px; overflow:hidden; flex-shrink:0; }
.tmp-mtc-avatar  { width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.28); margin:0 auto 7px; border:2px solid rgba(255,255,255,.55); }
.tmp-mtc-name    { height:6px; background:rgba(255,255,255,.9); border-radius:2px; width:82%; margin:0 auto 3px; }
.tmp-mtc-role    { height:3px; background:rgba(255,255,255,.55); border-radius:2px; width:58%; margin:0 auto 8px; }
.tmp-mtc-sep     { height:1px; background:rgba(255,255,255,.2); margin:5px 0; }
.tmp-mtc-lbl     { height:3px; background:rgba(255,255,255,.55); border-radius:2px; width:52%; margin-bottom:4px; }
.tmp-mtc-line    { height:3px; background:rgba(255,255,255,.22); border-radius:2px; margin-bottom:3px; }
.tmp-mtc-main    { flex:1; padding:12px 10px; overflow:hidden; }
.tmp-mtc-mlbl    { height:4px; background:#0891B2; border-radius:2px; width:40%; margin-bottom:5px; opacity:.8; }
.tmp-mtc-head    { height:5px; background:#0C4A6E; border-radius:2px; width:82%; margin-bottom:3px; }
.tmp-mtc-date    { height:3px; background:#0891B2; border-radius:2px; width:44%; margin-bottom:3px; opacity:.7; }
.tmp-mtc-mline   { height:3px; background:#CBD5E1; border-radius:2px; margin-bottom:3px; }
.tmp-mtc-sep2    { height:1px; background:#BAE6FD; margin:5px 0; }

/* ── 4. Tech Stack ───────────────────────────────────────────── */
.template-preview--tech-stack { background:#fff; flex-direction:column; }
.tmp-ts-header  { background:#0F172A; padding:12px 14px 10px; flex-shrink:0; }
.tmp-ts-name    { height:8px; background:rgba(255,255,255,.9); border-radius:2px; width:52%; margin-bottom:4px; }
.tmp-ts-role    { height:4px; background:#10B981; border-radius:2px; width:36%; margin-bottom:4px; opacity:.85; }
.tmp-ts-contact { height:3px; background:rgba(255,255,255,.25); border-radius:2px; width:72%; }
.tmp-ts-body    { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-ts-lbl     { height:4px; background:#10B981; border-radius:2px; width:36%; margin-bottom:4px; opacity:.8; }
.tmp-ts-line    { height:3px; background:#E5E7EB; border-radius:2px; margin-bottom:3px; }
.tmp-ts-sep     { height:1px; background:#F3F4F6; margin:6px 0; }
.tmp-ts-head    { height:5px; background:#374151; border-radius:2px; width:68%; margin-bottom:3px; }
.tmp-ts-date    { height:3px; background:#10B981; border-radius:2px; width:38%; margin-bottom:3px; opacity:.6; }
.tmp-ts-tags    { display:flex; gap:4px; flex-wrap:wrap; margin-top:5px; }
.tmp-ts-tag     { height:11px; background:rgba(16,185,129,.1); border:1px solid rgba(16,185,129,.35); border-radius:3px; flex:0 0 36px; }
.tmp-ts-tag:nth-child(2) { flex-basis:44px; }
.tmp-ts-tag:nth-child(3) { flex-basis:28px; }

/* ── 5. Graduate Pro ─────────────────────────────────────────── */
.template-preview--graduate-pro { background:#fff; flex-direction:column; }
.tmp-gp-topbar  { height:5px; background:#059669; flex-shrink:0; }
.tmp-gp-header  { padding:10px 14px 8px; text-align:center; border-bottom:1px solid #D1FAE5; flex-shrink:0; }
.tmp-gp-name    { height:9px; background:#064E3B; border-radius:2px; width:52%; margin:0 auto 4px; }
.tmp-gp-role    { height:4px; background:#059669; border-radius:2px; width:38%; margin:0 auto 4px; opacity:.8; }
.tmp-gp-contact { height:3px; background:#D1FAE5; border-radius:2px; width:68%; margin:0 auto; }
.tmp-gp-body    { padding:9px 14px; flex:1; overflow:hidden; }
.tmp-gp-lbl     { height:5px; background:#059669; border-radius:2px; width:38%; margin-bottom:3px; opacity:.85; }
.tmp-gp-rule    { height:1px; background:#D1FAE5; margin-bottom:6px; }
.tmp-gp-head    { height:5px; background:#064E3B; border-radius:2px; width:70%; margin-bottom:3px; }
.tmp-gp-date    { height:3px; background:#059669; border-radius:2px; width:40%; margin-bottom:3px; opacity:.6; }
.tmp-gp-line    { height:3px; background:#E5E7EB; border-radius:2px; margin-bottom:3px; }
.tmp-gp-sep     { height:6px; }

/* ── 6. Freelancer Plus ──────────────────────────────────────── */
.template-preview--freelancer-plus { background:#fff; flex-direction:column; }
.tmp-fp-header    { background:#EA580C; padding:13px 14px 11px; flex-shrink:0; }
.tmp-fp-name      { height:9px; background:rgba(255,255,255,.95); border-radius:2px; width:55%; margin-bottom:4px; }
.tmp-fp-role      { height:4px; background:rgba(255,255,255,.65); border-radius:2px; width:38%; margin-bottom:4px; }
.tmp-fp-contact   { height:3px; background:rgba(255,255,255,.35); border-radius:2px; width:72%; }
.tmp-fp-body      { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-fp-lbl       { height:5px; background:#EA580C; border-radius:2px; width:36%; margin-bottom:3px; opacity:.85; }
.tmp-fp-rule      { height:1px; background:#FFEDD5; margin-bottom:5px; }
.tmp-fp-head      { height:5px; background:#374151; border-radius:2px; width:66%; margin-bottom:3px; }
.tmp-fp-date      { height:3px; background:#EA580C; border-radius:2px; width:40%; margin-bottom:3px; opacity:.6; }
.tmp-fp-line      { height:3px; background:#F3F4F6; border-radius:2px; margin-bottom:3px; }
.tmp-fp-sep       { height:5px; }
.tmp-fp-portfolio { display:grid; grid-template-columns:1fr 1fr 1fr; gap:3px; margin-top:6px; }
.tmp-fp-port-item { height:18px; background:#FFF7ED; border:1px solid #FFEDD5; border-radius:2px; }

/* ── 7. Creative Edge ────────────────────────────────────────── */
.template-preview--creative-edge { background:#fff; flex-direction:row; }
.tmp-ce-stripe  { width:7px; background:#7C3AED; flex-shrink:0; }
.tmp-ce-main    { flex:1; padding:14px 12px; overflow:hidden; }
.tmp-ce-name    { height:9px; background:#1F1147; border-radius:2px; width:62%; margin-bottom:4px; }
.tmp-ce-role    { height:4px; background:#7C3AED; border-radius:2px; width:44%; margin-bottom:5px; opacity:.8; }
.tmp-ce-contact { height:3px; background:#D1D5DB; border-radius:2px; width:76%; margin-bottom:8px; }
.tmp-ce-rule    { height:1px; background:#EDE9FE; margin-bottom:6px; }
.tmp-ce-lbl     { height:5px; background:#7C3AED; border-radius:2px; width:34%; margin-bottom:4px; opacity:.85; }
.tmp-ce-head    { height:5px; background:#374151; border-radius:2px; width:68%; margin-bottom:3px; }
.tmp-ce-date    { height:3px; background:#7C3AED; border-radius:2px; width:38%; margin-bottom:3px; opacity:.6; }
.tmp-ce-line    { height:3px; background:#E5E7EB; border-radius:2px; margin-bottom:3px; }
.tmp-ce-sep     { height:6px; }
.tmp-ce-chips   { display:flex; gap:3px; flex-wrap:wrap; margin-top:4px; }
.tmp-ce-chip    { height:10px; background:#F5F3FF; border:1px solid #DDD6FE; border-radius:10px; flex:0 0 32px; }
.tmp-ce-chip:nth-child(2) { flex-basis:44px; }
.tmp-ce-chip:nth-child(3) { flex-basis:28px; }

/* ── 8. Remote Ready ─────────────────────────────────────────── */
.template-preview--remote-ready { background:#fff; flex-direction:column; }
.tmp-rr-header  { background:#0C4A6E; padding:13px 14px 10px; flex-shrink:0; }
.tmp-rr-name    { height:8px; background:rgba(255,255,255,.92); border-radius:2px; width:54%; margin-bottom:4px; }
.tmp-rr-role    { height:4px; background:rgba(56,189,248,.85); border-radius:2px; width:38%; margin-bottom:4px; }
.tmp-rr-contact { height:3px; background:rgba(255,255,255,.28); border-radius:2px; width:72%; }
.tmp-rr-tags    { display:flex; gap:4px; margin-top:6px; }
.tmp-rr-tag     { height:10px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:3px; flex:0 0 38px; }
.tmp-rr-tag:nth-child(2) { flex-basis:32px; }
.tmp-rr-tag:nth-child(3) { flex-basis:44px; }
.tmp-rr-body    { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-rr-lbl     { height:4px; background:#0C4A6E; border-radius:2px; width:36%; margin-bottom:4px; opacity:.75; }
.tmp-rr-rule    { height:1px; background:#E0F2FE; margin-bottom:5px; }
.tmp-rr-head    { height:5px; background:#374151; border-radius:2px; width:66%; margin-bottom:3px; }
.tmp-rr-date    { height:3px; background:#38BDF8; border-radius:2px; width:38%; margin-bottom:3px; opacity:.65; }
.tmp-rr-line    { height:3px; background:#E5E7EB; border-radius:2px; margin-bottom:3px; }
.tmp-rr-sep     { height:6px; }

/* ── 9. AI Expert ────────────────────────────────────────────── */
.template-preview--ai-expert { background:#fff; flex-direction:column; }
.tmp-ai-header  { background:#0A0F1E; padding:14px 14px 10px; flex-shrink:0; }
.tmp-ai-name    { height:8px; background:rgba(255,255,255,.9); border-radius:2px; width:54%; margin-bottom:4px; }
.tmp-ai-role    { height:4px; background:#00D4FF; border-radius:2px; width:38%; margin-bottom:4px; opacity:.85; }
.tmp-ai-contact { height:3px; background:rgba(255,255,255,.22); border-radius:2px; width:70%; }
.tmp-ai-circuit { display:flex; gap:5px; margin-top:6px; align-items:center; }
.tmp-ai-dot     { width:4px; height:4px; border-radius:50%; background:#00D4FF; opacity:.7; flex-shrink:0; }
.tmp-ai-wire    { height:1px; background:rgba(139,92,246,.35); flex:1; }
.tmp-ai-body    { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-ai-lbl     { height:4px; background:#00D4FF; border-radius:2px; width:34%; margin-bottom:4px; opacity:.7; }
.tmp-ai-rule    { height:1px; background:#F0F4FF; margin-bottom:5px; }
.tmp-ai-head    { height:5px; background:#374151; border-radius:2px; width:66%; margin-bottom:3px; }
.tmp-ai-date    { height:3px; background:#00D4FF; border-radius:2px; width:36%; margin-bottom:3px; opacity:.55; }
.tmp-ai-line    { height:3px; background:#E5E7EB; border-radius:2px; margin-bottom:3px; }
.tmp-ai-sep     { height:6px; }
.tmp-ai-chips   { display:flex; gap:3px; flex-wrap:wrap; margin-top:4px; }
.tmp-ai-chip    { height:11px; background:rgba(139,92,246,.08); border:1px solid rgba(139,92,246,.25); border-radius:3px; flex:0 0 40px; }
.tmp-ai-chip:nth-child(2) { flex-basis:32px; }
.tmp-ai-chip:nth-child(3) { flex-basis:48px; }

/* ── 10. Corporate Classic ───────────────────────────────────── */
.template-preview--corporate-classic { background:#fff; flex-direction:column; }
.tmp-cc-header  { background:#F9FAFB; padding:13px 14px 10px; border-bottom:2px solid #1E3A5F; flex-shrink:0; }
.tmp-cc-name    { height:10px; background:#1E3A5F; border-radius:1px; width:52%; margin-bottom:4px; }
.tmp-cc-role    { height:4px; background:#4B6A92; border-radius:1px; width:36%; margin-bottom:4px; }
.tmp-cc-contact { height:3px; background:#CBD5E1; border-radius:1px; width:78%; }
.tmp-cc-body    { padding:10px 14px; flex:1; overflow:hidden; }
.tmp-cc-lbl     { height:5px; background:#1E3A5F; border-radius:1px; width:38%; margin-bottom:3px; }
.tmp-cc-rule    { height:1px; background:#1E3A5F; margin-bottom:6px; }
.tmp-cc-head    { height:5px; background:#374151; border-radius:1px; width:65%; margin-bottom:3px; }
.tmp-cc-date    { height:3px; background:#94A3B8; border-radius:1px; width:40%; margin-bottom:3px; }
.tmp-cc-line    { height:3px; background:#E2E8F0; border-radius:1px; margin-bottom:3px; }
.tmp-cc-sep     { height:6px; }

/* ── 11. Profile Modern (Photo CV) ──────────────────────────── */
.template-preview--profile-modern { background:#EFF6FF; flex-direction:row; }
.tmp-pm-sidebar { width:32%; background:#1D4ED8; padding:12px 9px; overflow:hidden; flex-shrink:0; display:flex; flex-direction:column; align-items:center; }
.tmp-pm-avatar  { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.25); border:2px solid rgba(255,255,255,.55); margin-bottom:7px; overflow:hidden; position:relative; }
.tmp-pm-avatar::after { content:''; position:absolute; bottom:0; left:0; right:0; height:55%; background:rgba(255,255,255,.18); border-radius:50% 50% 0 0; }
.tmp-pm-name    { height:6px; background:rgba(255,255,255,.9); border-radius:2px; width:84%; margin-bottom:3px; }
.tmp-pm-role    { height:3px; background:rgba(255,255,255,.55); border-radius:2px; width:62%; margin-bottom:8px; }
.tmp-pm-sep     { height:1px; background:rgba(255,255,255,.18); margin:4px 0; width:100%; }
.tmp-pm-lbl     { height:3px; background:rgba(255,255,255,.5); border-radius:2px; width:52%; margin-bottom:4px; }
.tmp-pm-sline   { height:3px; background:rgba(255,255,255,.2); border-radius:2px; margin-bottom:3px; width:84%; }
.tmp-pm-main    { flex:1; padding:12px 10px; overflow:hidden; }
.tmp-pm-mlbl    { height:4px; background:#1D4ED8; border-radius:2px; width:40%; margin-bottom:5px; opacity:.8; }
.tmp-pm-head    { height:5px; background:#1E40AF; border-radius:2px; width:80%; margin-bottom:3px; }
.tmp-pm-date    { height:3px; background:#1D4ED8; border-radius:2px; width:42%; margin-bottom:3px; opacity:.65; }
.tmp-pm-mline   { height:3px; background:#BFDBFE; border-radius:2px; margin-bottom:3px; }
.tmp-pm-sep2    { height:1px; background:#DBEAFE; margin:5px 0; }

/* ════════════════════════════════════════════════════════════════
   TEMPLATE PREVIEW MODAL
   ════════════════════════════════════════════════════════════════ */
.tpl-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tpl-modal__backdrop { position: absolute; inset: 0; background: rgba(5,8,18,.88); backdrop-filter: blur(10px); }
.tpl-modal__panel { position: relative; background: var(--navy-card); border: 1px solid var(--border); border-radius: 16px; width: 100%; max-width: 900px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 32px 100px rgba(0,0,0,.8); animation: modalSlideIn .3s cubic-bezier(.34,1.56,.64,1); }
@keyframes modalSlideIn { from { opacity: 0; transform: scale(.92) translateY(28px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.tpl-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 28px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.tpl-modal__title-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tpl-modal__title { font-family: var(--font-head); font-size: 22px; }
.tpl-modal__close { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--muted); font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-family: inherit; flex-shrink: 0; }
.tpl-modal__close:hover { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.4); color: #F87171; }

.tpl-modal__body { display: flex; gap: 28px; padding: 28px; overflow-y: auto; flex: 1; min-height: 0; }

/* Scrollable iframe preview in modal */
.tpl-modal__preview-wrap {
    flex: 1;
    min-height: 500px;
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid var(--border);
    background: #fff;
    position: relative;
}
.tpl-modal-iframe {
    display: block;
    border: none;
    transform-origin: top left;
}

.tpl-modal__info { width: 220px; flex-shrink: 0; }
.tpl-modal__info-title { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tpl-info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; }
.tpl-info-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.tpl-check { color: #22C55E; font-weight: 700; font-size: 14px; flex-shrink: 0; }

.tpl-modal__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-top: 1px solid var(--border); flex-shrink: 0; flex-wrap: wrap; }
.tpl-modal__note { color: var(--muted); font-size: 13px; }

/* ── Responsive for template section ─────────────────────────── */
@media (max-width: 1100px) {
    .templates__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .tpl-modal__info { display: none; }
    .tpl-modal__body { padding: 20px; }
}
@media (max-width: 640px) {
    .templates__grid { grid-template-columns: 1fr; }
    .all-templates__header { flex-direction: column; align-items: flex-start; }
    .tpl-modal__panel { max-width: 95vw; border-radius: 12px; }
    .tpl-modal__footer { flex-direction: column; align-items: flex-start; }
    .tpl-modal__preview-wrap { min-height: 300px; }
    .template-filters { gap: 6px; }
    .filter-btn { padding: 7px 14px; font-size: 12px; }
    .tpl-modal__header { padding: 16px 20px; }
    .tpl-modal__body { padding: 16px; }
    .tpl-modal__footer { padding: 16px 20px; }
}

/* ════════════════════════════════════════════════════════════════
   HERO TEMPLATE PICKER — BetterCV-style
   ════════════════════════════════════════════════════════════════ */

.hero--picker { padding: 110px 0 56px; min-height: auto; }
.hero__container--picker { grid-template-columns: 1fr; gap: 32px; text-align: center; max-width: 100%; padding: 0; }

/* Headline block */
.hero__pitch { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.hero__pitch h1 { font-family: var(--font-head); font-size: clamp(34px, 4.5vw, 58px); line-height: 1.15; margin-bottom: 18px; }
.hero__pitch .hero__sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 0; line-height: 1.7; }
.hero__pitch .hero__badge { margin-bottom: 22px; }

/* Strip wrapper */
.hero__strip-wrap { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 24px; }

/* Scrollable track */
.strip-track { display: flex; gap: 14px; overflow-x: hidden; scroll-behavior: smooth; flex: 1; padding: 14px 4px 18px; }

/* Individual strip card */
.strip-card { flex: 0 0 160px; background: var(--navy-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: var(--transition); position: relative; }
.strip-card:hover { border-color: var(--cyan); box-shadow: var(--glow); transform: translateY(-6px) scale(1.02); }
.strip-card .template-preview { height: 206px; }

/* Strip card bottom info bar */
.strip-card__info { padding: 9px 12px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.strip-card__name { font-size: 11px; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip-card__tag { font-size: 9px; font-weight: 700; background: rgba(139,92,246,.1); color: var(--cyan); padding: 2px 7px; border-radius: 10px; white-space: nowrap; flex-shrink: 0; }
.strip-card__tag--gold   { background: rgba(245,158,11,.12); color: #F59E0B; }
.strip-card__tag--purple { background: rgba(124,58,237,.15); color: #A78BFA; }

/* Hover overlay on strip card */
.strip-card__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 42px; background: rgba(5,10,24,.86); backdrop-filter: blur(3px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity var(--transition); z-index: 2; }
.strip-card:hover .strip-card__overlay { opacity: 1; }

/* Arrow buttons */
.strip-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-card); border: 1px solid var(--border); color: var(--white); font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); flex-shrink: 0; font-family: sans-serif; }
.strip-arrow:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow); }
.strip-arrow:disabled { opacity: 0.25; cursor: default; pointer-events: none; }

/* CTA row below strip */
.hero__picker-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; padding: 0 24px; }

/* Stats row */
.hero--picker .hero__stats { justify-content: center; border-top: 1px solid var(--border); padding-top: 24px; margin: 0 24px; }

/* ── Strip responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .strip-card { flex: 0 0 148px; }
    .strip-card .template-preview { height: 192px; }
}
@media (max-width: 768px) {
    .strip-card { flex: 0 0 136px; }
    .strip-card .template-preview { height: 176px; }
    .strip-arrow { width: 38px; height: 38px; font-size: 22px; }
    .hero__pitch h1 { font-size: 28px; }
    .hero--picker { padding: 100px 0 48px; }
}
@media (max-width: 480px) {
    .strip-card { flex: 0 0 124px; }
    .strip-card .template-preview { height: 158px; }
    .strip-arrow { display: none; }
    .strip-track { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
    .hero__strip-wrap { padding: 0 16px; }
    .hero--picker .hero__stats { margin: 0 16px; }
    .hero__picker-cta { padding: 0 16px; }
}

/* ════════════════════════════════════════════════════════════════
   HOMEPAGE HERO — Split Content + Visual Layout
   ════════════════════════════════════════════════════════════════ */

/* Content column text overrides */
.hero__content .hero__badge { margin-bottom: 28px; }
.hero__content h1 em { font-style: normal; color: var(--cyan); }
.hero__content .hero__sub { margin-bottom: 28px; }
.hero__content .hero__actions { margin-bottom: 0; }

/* ── Trust Pill Row ──────────────────────────────────────────── */
.hero__trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139,92,246,.07);
    border: 1px solid rgba(139,92,246,.18);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}
.trust-pill__check { color: var(--cyan); font-weight: 700; }

/* ── Social Proof Row ────────────────────────────────────────── */
.hero__social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.hero__avatars { display: flex; align-items: center; }
.hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--navy);
    margin-left: -10px;
    flex-shrink: 0;
}
.hero__avatars .hero__avatar:first-child { margin-left: 0; }
.hero__stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; line-height: 1.4; }
.hero__proof-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
.hero__proof-label strong { color: var(--white); }

/* ── Hero Visual — right column ──────────────────────────────── */
.hero__visual { position: relative; }

/* Browser window frame */
.hero-browser {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(139,92,246,.15);
    animation: float 7s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
.hero-browser__bar {
    background: var(--navy-light);
    border-bottom: 1px solid var(--border);
    border-radius: 14px 14px 0 0;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-browser__dots { display: flex; gap: 5px; flex-shrink: 0; }
.hero-browser__dots span { display: block; width: 10px; height: 10px; border-radius: 50%; }
.hero-browser__dots span:nth-child(1) { background: #FF5F57; }
.hero-browser__dots span:nth-child(2) { background: #FEBC2E; }
.hero-browser__dots span:nth-child(3) { background: #28C840; }
.hero-browser__url {
    flex: 1;
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ════════════════════════════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════════════════════════════ */

.faq-section { background: var(--navy-light); }

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin-bottom: 56px;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__q {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 22px 40px 22px 0;
    cursor: pointer;
    position: relative;
    line-height: 1.4;
    transition: color var(--transition);
}

.faq__q:hover { color: var(--cyan); }

.faq__q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--cyan);
    line-height: 1;
    transition: transform 0.25s ease;
}

.faq__q[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq__q[aria-expanded="true"] { color: var(--cyan); }

.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__a.open {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq__a p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.faq__cta {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 16px;
}

.faq__cta p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .faq__grid { grid-template-columns: 1fr; gap: 0; }
    .faq__q { font-size: 15px; padding: 18px 36px 18px 0; }
}
.hero-browser__body {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f4f8;
    border-radius: 0 0 13px 13px;
}
.hero-tpl-wrap { position: absolute; inset: 0; background: #fff; overflow: hidden; }
.hero-tpl-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 794px;
    height: 1123px;
    border: none;
    pointer-events: none;
    transform-origin: top left;
    display: block;
}

/* ── Floating Info Cards ─────────────────────────────────────── */
.hero-float {
    position: absolute;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    white-space: nowrap;
    z-index: 10;
}
.hero-float--ats {
    top: 18px; right: 16px;
    animation: float 5s ease-in-out infinite .4s;
}
.hero-float--ai {
    top: 40%; left: 16px;
    animation: float 6s ease-in-out infinite 1.3s;
}
.hero-float--pdf {
    bottom: 18px; right: 16px;
    animation: float 4.8s ease-in-out infinite .9s;
}
.hero-float__icon {
    font-size: 18px;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(139,92,246,.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-float__icon--green { background: rgba(34,197,94,.15); color: #22C55E; font-size: 17px; font-weight: 700; }
.hero-float__label { font-size: 12px; font-weight: 700; color: var(--white); line-height: 1.3; }
.hero-float__val { font-size: 20px; font-weight: 800; color: #22C55E; line-height: 1; margin-top: 2px; }
.hero-float__sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Typing dots animation */
.hero-float__typing { display: flex; gap: 4px; align-items: center; margin-top: 6px; }
.hero-float__typing span {
    display: block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--cyan); opacity: .4;
    animation: typingBounce 1.4s ease-in-out infinite;
}
.hero-float__typing span:nth-child(2) { animation-delay: .2s; }
.hero-float__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* ── Hero responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero__trust-row { justify-content: center; }
    .hero__social-proof { justify-content: center; }
    .hero__visual { max-width: 480px; margin: 0 auto; }
    .hero-float--ai { display: none; }
    .hero-float--ats { top: 10px; right: 10px; }
    .hero-float--pdf { bottom: 10px; right: 10px; }
}
@media (max-width: 480px) {
    .hero__visual { max-width: 340px; }
    .hero-float--ats { display: none; }
    .hero-float--pdf { padding: 9px 12px; }
    .hero-float__sub { display: none; }
}
