:root {
    --navy: #10213f;
    --muted: #60708c;
    --blue: #28a8f0;
    --purple: #8d6bff;
    --mint: #41d7a4;
    --cream: #fffaf0;
    --ice: #eef9ff;
    --line: rgba(16, 33, 63, 0.1);
    --shadow: 0 18px 50px rgba(32, 73, 121, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--navy);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

.narrow {
    max-width: 820px;
}

.section {
    padding: 88px 0;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 16px;
    z-index: 100;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--line);
}

.skip-link:focus {
    left: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.nav-shell {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 10px 25px rgba(40, 168, 240, 0.22);
}

.primary-nav,
.menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

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

.menu a {
    color: #203453;
    font-size: 14px;
    font-weight: 700;
}

.menu a:hover {
    color: var(--blue);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    margin: 4px auto;
    background: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: var(--radius);
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.btn-gradient {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    box-shadow: 0 14px 30px rgba(83, 119, 246, 0.26);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: var(--navy);
    background: rgba(255, 255, 255, 0.7);
}

.btn-light {
    background: #ffffff;
    color: var(--navy);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 72px;
    background:
        linear-gradient(120deg, rgba(238, 249, 255, 0.95), rgba(255, 250, 240, 0.9) 47%, rgba(244, 238, 255, 0.88));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: center;
    gap: 54px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #2774bb;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    line-height: 1.08;
}

h1 {
    max-width: 740px;
    font-size: clamp(42px, 6vw, 74px);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
}

h3 {
    font-size: 20px;
}

.hero-sub,
.page-hero p,
.section-head p {
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.country-ticker {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-top: 30px;
    overflow: hidden;
}

.country-ticker span,
.icon-row span,
.pill-grid a,
.category-row span {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    color: #2a4265;
    font-size: 13px;
    font-weight: 800;
}

.country-ticker span {
    animation: ticker 14s linear infinite;
}

.hero-visual {
    position: relative;
    min-height: 510px;
}

.hero-visual img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dashboard-card,
.chat-bubble,
.animated-panel {
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.dashboard-card {
    position: absolute;
    min-width: 154px;
    padding: 16px;
}

.dashboard-card span,
.progress-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-card strong {
    display: block;
    margin-top: 5px;
    font-size: 24px;
}

.score-card {
    top: 28px;
    left: -14px;
}

.progress-card {
    right: -6px;
    top: 136px;
}

.float-c {
    left: 40px;
    bottom: 72px;
}

.float-d {
    right: 40px;
    bottom: 36px;
}

.chat-bubble {
    position: absolute;
    left: 50%;
    bottom: 150px;
    padding: 12px 16px;
    color: #23405e;
    font-weight: 800;
    transform: translateX(-50%);
}

.progress-card i,
.page-progress i {
    display: block;
    width: 180px;
    height: 9px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #e8eff8;
}

.progress-card b,
.page-progress b {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mint), var(--blue), var(--purple));
    animation: confidence 2.4s ease both;
}

.float-a {
    animation: floatA 5.5s ease-in-out infinite;
}

.float-b {
    animation: floatB 6s ease-in-out infinite;
}

.float-c,
.float-d {
    animation: floatA 6.6s ease-in-out infinite;
}

.chat-bubble {
    animation: chatPop 3s ease-in-out infinite;
}

.audience-strip {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.audience-strip .container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: center;
}

.audience-strip p {
    margin: 0;
    color: #2e4465;
    font-weight: 800;
}

.icon-row,
.pill-grid,
.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soft-band {
    background: linear-gradient(180deg, #f4fbff, #fffaf0);
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.pain-grid,
.card-grid,
.steps,
.pricing-grid,
.before-after {
    display: grid;
    gap: 18px;
}

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

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four,
.pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: steps;
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.center {
    margin-top: 28px;
    text-align: center;
}

.mini-card,
.feature-card,
.tool-card,
.country-card,
.template-card,
.price-card,
.post-card,
.step-card,
.faq-item,
.before-after article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(32, 73, 121, 0.08);
}

.mini-card,
.feature-card,
.tool-card,
.country-card,
.template-card,
.post-card,
.step-card,
.before-after article {
    padding: 22px;
}

.feature-card,
.tool-card,
.country-card,
.template-card,
.post-card {
    min-height: 190px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.tool-card:hover,
.country-card:hover,
.template-card:hover,
.post-card:hover {
    border-color: rgba(40, 168, 240, 0.42);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.card-icon {
    width: 42px;
    height: 42px;
    display: block;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(40, 168, 240, 0.18), rgba(141, 107, 255, 0.22)), linear-gradient(45deg, var(--mint), transparent);
}

.tool-card p,
.country-card p,
.template-card p,
.post-card p,
.mini-card p,
.step-card p,
.feature-card p {
    color: var(--muted);
}

.step-card span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--radius);
    color: #ffffff;
    background: var(--navy);
    font-weight: 800;
}

.pill-grid a:hover {
    color: #ffffff;
    background: var(--navy);
}

.before-after {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after span {
    display: inline-block;
    margin-bottom: 10px;
    color: #2774bb;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.price-card {
    padding: 26px;
}

.price-card strong {
    display: block;
    margin: 14px 0;
    font-size: 28px;
}

.price-card ul,
.check-list {
    padding-left: 20px;
}

.price-card li,
.check-list li {
    margin-bottom: 8px;
    color: #344765;
}

.price-card.is-featured {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(155deg, var(--blue), var(--purple));
    transform: translateY(-8px);
}

.price-card.is-featured h3,
.price-card.is-featured h2,
.price-card.is-featured strong,
.price-card.is-featured li {
    color: #ffffff;
}

.price-card.is-featured .btn-gradient {
    color: var(--navy);
    background: #ffffff;
}

.faq-item {
    margin-bottom: 12px;
    padding: 18px 20px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-item p,
.disclaimer,
.prose p {
    color: var(--muted);
}

.disclaimer {
    padding: 18px;
    border-left: 4px solid var(--purple);
    background: #ffffff;
    border-radius: var(--radius);
}

.final-cta {
    padding: 78px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #188bd9, #7b5cf1 62%, #31c595);
    text-align: center;
}

.final-cta h2,
.final-cta p {
    color: #ffffff;
}

.final-cta p {
    max-width: 720px;
    margin: 14px auto 28px;
    font-size: 18px;
}

.site-footer {
    padding: 58px 0 26px;
    background: #0f1d35;
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 30px;
}

.footer-grid h2 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 15px;
}

.footer-grid a {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-brand {
    color: #ffffff;
}

.newsletter label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.newsletter div {
    display: flex;
    gap: 8px;
}

.newsletter input {
    min-width: 0;
    flex: 1;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.contact-form {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #2a4265;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy);
    font: inherit;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.socials {
    display: flex;
    gap: 8px;
}

.socials a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
}

.page-hero {
    background: linear-gradient(120deg, var(--ice), #ffffff 50%, #f3eeff);
    text-align: center;
}

.page-hero .btn {
    margin-top: 20px;
}

.animated-panel {
    position: relative;
    min-height: 320px;
    padding: 24px;
    background: linear-gradient(140deg, rgba(238, 249, 255, 0.92), rgba(255, 255, 255, 0.88));
}

.resume-preview {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.resume-preview.after {
    margin-top: 16px;
    border-color: rgba(65, 215, 164, 0.55);
    animation: slideCompare 3.2s ease-in-out infinite alternate;
}

.page-progress {
    margin-top: 20px;
}

.legal h2,
.prose h2 {
    margin-top: 28px;
    margin-bottom: 10px;
}

.article-cta {
    margin-top: 36px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--ice);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-90px); }
}

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

@keyframes floatB {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(10px) translateX(-6px); }
}

@keyframes chatPop {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.04); }
}

@keyframes confidence {
    from { width: 20%; }
    to { width: 78%; }
}

@keyframes slideCompare {
    from { transform: translateX(0); }
    to { transform: translateX(12px); }
}

@media (max-width: 980px) {
    .primary-nav {
        position: absolute;
        inset: 74px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #ffffff;
        box-shadow: var(--shadow);
    }

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

    .menu {
        display: grid;
        gap: 12px;
    }

    .nav-toggle {
        display: block;
    }

    .hero-grid,
    .split,
    .audience-strip .container,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-visual img {
        height: 420px;
    }

    .card-grid,
    .four,
    .steps,
    .pricing-grid,
    .before-after,
    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .section {
        padding: 62px 0;
    }

    h1 {
        font-size: 40px;
    }

    .hero {
        padding-top: 68px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-actions,
    .newsletter div,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .card-grid,
    .four,
    .steps,
    .pricing-grid,
    .before-after,
    .pain-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 380px;
    }

    .hero-visual img {
        height: 360px;
    }

    .dashboard-card {
        position: static;
        margin: 10px 0;
    }

    .chat-bubble {
        left: 18px;
        right: 18px;
        bottom: 22px;
        text-align: center;
        transform: none;
    }

    .chat-bubble {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
