/* NextVev — refined landing */

:root {
    --bg: #eef1f8;
    --bg-deep: #e2e8f4;
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.78);
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.08);
    --accent: #4f46e5;
    --accent-2: #0891b2;
    --accent-soft: rgba(79, 70, 229, 0.1);
    --accent-glow: rgba(79, 70, 229, 0.28);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #0891b2 100%);
    --gradient-subtle: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 16px 48px rgba(15, 23, 42, 0.09);
    --shadow-hover: 0 24px 56px rgba(79, 70, 229, 0.14);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --max: 720px;
    --max-wide: 1080px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 120% 70% at 50% -25%, rgba(79, 70, 229, 0.14), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 0%, rgba(124, 58, 237, 0.1), transparent 50%),
        radial-gradient(ellipse 45% 35% at 0% 30%, rgba(8, 145, 178, 0.09), transparent 45%),
        linear-gradient(180deg, #f8fafc 0%, var(--bg) 35%, #e8edf5 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.28);
    outline-offset: 2px;
}

.wrap {
    width: min(var(--max-wide), calc(100% - 2rem));
    margin-inline: auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header__inner {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.header__link:hover {
    color: var(--accent);
    background: rgba(79, 70, 229, 0.06);
}

.header__btn {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--gradient-hero);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.4);
}

.header__logout {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.46rem 0.85rem;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.header__logout:hover {
    border-color: rgba(79, 70, 229, 0.35);
    color: #4f46e5;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo__img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

@media (max-width: 840px) {
    .header__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.7rem;
    }

    .header__nav {
        width: 100%;
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .header__link,
    .header__btn,
    .header__logout {
        font-size: 0.82rem;
    }
}

/* Hero */
.hero {
    position: relative;
    padding: clamp(2rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 3.75rem);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.07) 0%, transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(8, 145, 178, 0.06) 0%, transparent 38%);
    pointer-events: none;
}

.hero__shell {
    position: relative;
}

.hero__card {
    position: relative;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: linear-gradient(165deg, #ffffff 0%, #fafbff 50%, #f4f6fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: calc(var(--radius-lg) + 4px);
    box-shadow:
        var(--shadow-md),
        0 0 0 1px rgba(79, 70, 229, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.2), transparent);
    border-radius: 1px;
    pointer-events: none;
}

.hero__top {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
    margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 900px) {
    .hero__top {
        grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
        gap: 2.5rem;
    }
}

.hero__main {
    min-width: 0;
}

.hero__eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b21b6;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(8, 145, 178, 0.1));
    border-radius: 999px;
    border: 1px solid rgba(79, 70, 229, 0.18);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08);
}

.hero__title {
    margin: 0 0 1.125rem;
    font-size: clamp(2rem, 4.8vw, 2.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.038em;
    max-width: 22ch;
}

@media (max-width: 599px) {
    .hero__title {
        max-width: none;
    }
}

.hero__gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__intro {
    margin: 0 0 1.5rem;
    font-size: 1.09375rem;
    font-weight: 450;
    color: var(--text-muted);
    line-height: 1.72;
    max-width: 36rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.35rem;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
    color: #fff;
    background: var(--gradient-hero);
    box-shadow: 0 10px 28px rgba(79, 70, 229, 0.32);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(79, 70, 229, 0.38);
}

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn--ghost:hover {
    border-color: rgba(79, 70, 229, 0.35);
    background: #fff;
    transform: translateY(-1px);
}

.hero__highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.hero__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.hero__highlights strong {
    color: var(--text);
    font-weight: 700;
}

.hero__hi-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.05rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: #15803d;
    background: rgba(22, 163, 74, 0.12);
    border-radius: 6px;
}

/* Hero decorative panel */
.hero__visual {
    position: relative;
    min-height: 260px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(79, 70, 229, 0.06) 0%, rgba(8, 145, 178, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
    overflow: hidden;
    isolation: isolate;
}

@media (max-width: 899px) {
    .hero__visual {
        min-height: 220px;
        max-width: 420px;
        margin-inline: auto;
    }
}

.hero__blob {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    background: var(--gradient-hero);
    opacity: 0.35;
    filter: blur(48px);
    border-radius: 50%;
    z-index: 0;
}

.hero__float {
    position: absolute;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.hero__float--1 {
    top: 12%;
    left: 8%;
    max-width: 11rem;
    animation: hero-float 6s ease-in-out infinite;
}

.hero__float--2 {
    bottom: 18%;
    right: 10%;
    max-width: 11.5rem;
    animation: hero-float 7s ease-in-out infinite 0.8s;
}

.hero__float--3 {
    top: 38%;
    right: 6%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    animation: hero-float 5.5s ease-in-out infinite 0.4s;
}

.hero__float-tag {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.hero__float-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.hero__float-ring {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #4f46e5, #7c3aed, #0891b2, #4f46e5);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.hero__float-stat {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.hero__float-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

@media (prefers-reduced-motion: reduce) {
    .hero__float--1,
    .hero__float--2,
    .hero__float--3 {
        animation: none;
    }
}

/* Pillars */
.pillars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

@media (min-width: 700px) {
    .pillars {
        grid-template-columns: 1fr 1fr;
        gap: 1.1rem 1.35rem;
    }
}

.pillars__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.3rem 1.4rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pillars__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.18);
}

.pillars__num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fff;
    background: var(--gradient-hero);
    border-radius: 12px;
    box-shadow: 0 6px 16px var(--accent-glow);
}

.pillars__item strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.96875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pillars__item p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.62;
}

/* Projects */
.projects {
    position: relative;
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    scroll-margin-top: 5rem;
}

.projects::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: min(900px, 100%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section__kicker {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-2);
}

.section__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.55rem, 3.2vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.section__lead {
    margin: 0 0 2rem;
    max-width: 40rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.section__lead strong {
    color: var(--text);
    font-weight: 700;
}

.catalog-filter {
    margin: 0 0 1.2rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.catalog-filter__controls {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.catalog-filter__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.catalog-filter__input {
    width: min(460px, 100%);
    flex: 1;
    min-width: 240px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.72rem 0.9rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
}

.catalog-filter__input:focus {
    outline: 2px solid rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.45);
}

.catalog-filter__meta {
    margin: 0.55rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.catalog-filter__button {
    border: 0;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-hero);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-filter__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.26);
}

.checkout-email {
    margin: 0 0 1.25rem;
}

.checkout-email__label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.checkout-email__input {
    width: min(420px, 100%);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
}

.checkout-email__input:focus {
    outline: 2px solid rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.45);
}

.auth-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(8, 145, 178, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
}

.auth-banner__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 42rem;
}

.auth-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-banner__link {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: var(--gradient-hero);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-banner__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.auth-banner__out {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.auth-banner__out:hover {
    border-color: rgba(79, 70, 229, 0.25);
}

.project-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

/* Tablet and desktop: max 2 cards per row; lone card spans full width */
@media (min-width: 720px) {
    .project-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-list > .project-card:only-child {
        grid-column: 1 / -1;
    }
}

.project-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem 1.25rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0.95;
}

.project-card:nth-child(1)::before {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.project-card:nth-child(2)::before {
    background: linear-gradient(90deg, #0891b2, #06b6d4);
}

.project-card:nth-child(3)::before {
    background: linear-gradient(90deg, #db2777, #f472b6);
}

.project-card:nth-child(4)::before {
    background: linear-gradient(90deg, #ea580c, #fbbf24);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.15);
}

.project-card__title {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.project-card__text {
    margin: 0 0 1.125rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.project-card__attractive {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.15rem;
}

.project-card__attractive .project-card__text {
    flex: 1 1 200px;
    min-width: 0;
    margin: 0 0 0.35rem;
}

.project-card__attractive .project-card__know-more {
    flex: 0 0 auto;
    align-self: center;
    margin: 0 0 0.25rem;
}

.project-card__proof {
    margin: 0 0 1rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.09) 0%, rgba(251, 191, 36, 0.06) 100%);
    border: 1px solid rgba(245, 158, 11, 0.22);
}

.project-card__proof-line {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #92400e;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.project-card__proof-line + .project-card__proof-line {
    margin-top: 0.35rem;
}

.project-card__proof-line--secondary {
    font-weight: 600;
    color: #a16207;
    font-size: 0.78rem;
}

.project-card__deliverables {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, rgba(8, 145, 178, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.18);
}

.project-card__deliverables-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #4338ca;
}

.project-card__deliverables-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text);
}

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

.project-card__deliverables-list li {
    position: relative;
    margin: 0.28rem 0 0 0.1rem;
    padding-left: 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-muted);
}

.project-card__deliverables-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 800;
    font-size: 0.85rem;
}

.project-card__cv {
    margin: 0 0 1.125rem;
    padding: 0.9rem 1rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(8, 145, 178, 0.09) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.project-card__cv-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.project-card__cv-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4338ca;
}

.project-card__cv-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #0891b2);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.project-card__cv-copy {
    border: 1px solid rgba(67, 56, 202, 0.35);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    color: #3730a3;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.project-card__cv-copy:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.project-card__cv-list {
    margin: 0;
    padding: 0 0 0 1.1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-card__cv-list li {
    position: relative;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
    padding-left: 0.1rem;
}

.project-card__cv-list li::before {
    content: "→";
    position: absolute;
    left: -1rem;
    top: 0.05em;
    font-size: 0.75rem;
    font-weight: 800;
    color: #0891b2;
    opacity: 0.9;
}

.project-card__domain {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.project-card__price {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.project-card__actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.project-card__know-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    min-height: 2.5rem;
    padding: 0.62rem 1rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    color: #3730a3 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.26);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card__know-more:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #ede9fe 100%);
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.18);
}

.project-card__know-more::after {
    content: "→";
    font-size: 0.86rem;
    line-height: 1;
    opacity: 0.9;
}

/* Keep Know More as a styled button in all link states */
.project-card a.project-card__know-more,
.project-card a.project-card__know-more:link,
.project-card a.project-card__know-more:visited,
.project-card a.project-card__know-more:hover,
.project-card a.project-card__know-more:active {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    min-height: 2.5rem !important;
    padding: 0.62rem 1rem !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    color: #3730a3 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.26) !important;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.12) !important;
}

.project-card__coupon {
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.project-card__coupon-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.project-card__coupon-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.project-card__coupon-input {
    flex: 1 1 140px;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    font: inherit;
    font-size: 0.85rem;
    background: #f8fafc;
    color: var(--text);
}

.project-card__coupon-apply {
    border: 1px solid rgba(79, 70, 229, 0.35);
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4338ca;
    background: var(--surface);
    cursor: pointer;
    transition: background 0.2s;
}

.project-card__coupon-apply:hover {
    background: var(--accent-soft);
}

.project-card__coupon-hint {
    margin: 0;
    min-height: 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f766e;
}

.project-card__button {
    border: 0;
    border-radius: 999px;
    min-height: 2.5rem;
    padding: 0.7rem 1.05rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-hero);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 560px) {
    .project-card__footer {
        flex-direction: column;
        align-items: stretch;
    }
    .project-card__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }
    .project-card__know-more,
    .project-card__button {
        flex: 1;
        text-align: center;
    }
}

.project-card__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.26);
}

.project-card__button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.project-card__button:not(:disabled):hover {
    transform: translateY(-1px);
}

.project-card__cta-note {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f766e;
}

.payment-status {
    min-height: 1.5rem;
    margin: 1.25rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
}

.payment-status--loading {
    color: var(--accent-2);
}

.payment-status--success {
    color: #15803d;
    border-color: rgba(22, 163, 74, 0.2);
    background: rgba(22, 163, 74, 0.08);
}

.payment-status--error {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.06);
}

/* Closing */
.closing {
    padding: 2.5rem 0 4rem;
}

.closing__inner {
    text-align: center;
    padding: 2.25rem 1.75rem;
    max-width: 560px;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    background-image:
        linear-gradient(var(--surface), var(--surface)),
        var(--gradient-hero);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.closing__title {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.closing__text {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.closing__text strong {
    color: var(--text);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--text);
    color: #94a3b8;
}

.footer__inner {
    text-align: center;
}

.footer__copy {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
}

.floating-project-list {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    border-radius: 999px;
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    background: var(--gradient-hero);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-project-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.35);
}

@media (max-width: 640px) {
    .floating-project-list {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.62rem 0.82rem;
        font-size: 0.8rem;
    }
}
