:root {
    --ink: #111827;
    --muted: #64748b;
    --violet: #5b5cf0;
    --violet2: #7c3aed;
    --line: #e7e8ef;
    --green: #10b981;
    --amber: #f59e0b;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.site-container {
    width: calc(100% - 64px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}
.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #111827, #5b5cf0);
    display: grid;
    place-items: center;
    color: #fff;
}
.logo-mark svg {
    width: 20px;
}
nav a {
    transition: 0.2s;
}
nav a:hover {
    color: #4f46e5;
}
.hero-section {
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, #ede9fe 0, transparent 30%),
    linear-gradient(180deg, #fffdf8 0, #fff 100%);
}
.eyebrow,
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #ddd6fe;
    background: #f5f3ff;
    color: #5b21b6;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
}
.eyebrow svg {
    width: 17px;
}
.display-title {
    font-size: 68px;
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 900;
}
.display-title span {
    color: #5b5cf0;
}
.hero-copy {
    font-size: 20px;
    line-height: 1.7;
    color: #596579;
    max-width: 820px;
}
.btn-primary,
.btn-secondary,
.btn-dark {
    height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    transition: 0.2s;
}
.btn-primary {
    background: #5b5cf0;
    color: white;
    box-shadow: 0 12px 28px #5b5cf03a;
}
.btn-primary:hover {
    transform: translateY(-2px);
    background: #4f46e5;
}
.btn-secondary {
    background: white;
    border: 1px solid #d9dce6;
}
.btn-dark {
    background: #111827;
    color: white;
}
.btn-primary svg {
    width: 18px;
}
.hero-visual {
    height: 520px;
    position: relative;
    display: grid;
    place-items: center;
}
.ai-orb {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #6d5dfc, #111827);
    color: #fff;
    box-shadow: 0 35px 80px #6d5dfc4d;
    z-index: 3;
}
.ai-orb svg {
    width: 74px;
    height: 74px;
}
.orbit {
    position: absolute;
    border: 1px dashed #a5b4fc;
    border-radius: 50%;
}
.orbit-one {
    width: 330px;
    height: 330px;
}
.orbit-two {
    width: 455px;
    height: 455px;
    opacity: 0.5;
}
.floating-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 235px;
    box-shadow: 0 18px 45px #3341551c;
    z-index: 5;
}
.floating-card b,
.floating-card small {
    display: block;
}
.floating-card b {
    font-size: 14px;
}
.floating-card small {
    font-size: 14px;
    color: #64748b;
    margin-top: 3px;
}
.fc-a {
    top: 65px;
    left: 0;
}
.fc-b {
    right: -48px;
    top: 164px;
}
.fc-c {
    bottom: 50px;
    left: 35px;
}
.mini-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}
.mini-icon svg {
    width: 19px;
}
.violet {
    background: #ede9fe;
    color: #6d28d9;
}
.green {
    background: #d1fae5;
    color: #047857;
}
.amber {
    background: #fef3c7;
    color: #b45309;
}
.section-pad {
    padding: 40px 0;
}
.section-heading {
    max-width: 760px;
}
.section-heading.center {
    text-align: center;
    margin: auto;
}
.section-heading span,
.panel-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    color: #5b5cf0;
}
.section-heading h2,
.concept-panel h2,
.sticky-card h2,
.validation-section h2 {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 900;
    margin-top: 10px;
}
.section-heading p,
.concept-panel > p,
.sticky-card > p {
    font-size: 17px;
    line-height: 1.7;
    color: #64748b;
    margin-top: 16px;
}
.problem-card,
.feature-card,
.benefit,
.match-column {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 10px 35px #0f172a0a;
}
.problem-icon,
.feature-card > svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 14px;
    background: #fee2e2;
    color: #dc2626;
}
.problem-card h3,
.feature-card h3,
.benefit h3 {
    font-size: 18px;
    font-weight: 850;
    margin-top: 20px;
}
.problem-card p,
.feature-card p,
.benefit p {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin-top: 8px;
}
.soft-violet {
    background: #f7f6ff;
}
.flow-grid {
    display: grid;
    grid-template-columns: 1fr 45px 1fr 45px 1fr 45px 1fr 45px 1fr;
    align-items: center;
}
.flow-step {
    background: #fff;
    border: 1px solid #e3e0ff;
    border-radius: 22px;
    padding: 24px;
    min-height: 210px;
    position: relative;
}
.flow-step > b {
    position: absolute;
    right: 18px;
    top: 14px;
    color: #c4b5fd;
    font-size: 14px;
}
.flow-step > svg {
    width: 42px;
    height: 42px;
    color: #5b5cf0;
    margin-top: 12px;
}
.flow-step h3 {
    font-weight: 900;
    font-size: 18px;
    margin-top: 20px;
}
.flow-step p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    margin-top: 7px;
}
.flow-arrow {
    display: grid;
    place-items: center;
    color: #a5b4fc;
}
/* New flow styles */
.flow-container {
    width: 100%;
}
.flow-card {
    background: #fff;
    border: 1px solid #e3e0ff;
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s;
}
.flow-card:hover {
    transform: translateY(-5px);
}
.flow-num {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 12px;
    font-weight: 900;
    color: #c4b5fd;
}
.flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}
.flow-icon i {
    width: 24px;
    height: 24px;
}
.flow-icon.client { background: #eff6ff; color: #2563eb; }
.flow-icon.ai { background: #f5f3ff; color: #7c3aed; }
.flow-icon.fund { background: #ecfdf5; color: #10b981; }
.flow-icon.match { background: #fff7ed; color: #f59e0b; }
.flow-icon.shortlist { background: #fdf2f8; color: #db2777; }
.flow-icon.choice { background: #f0fdf4; color: #16a34a; }
.flow-icon.work { background: #eef2ff; color: #4f46e5; }

.flow-card h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 4px;
}
.flow-card b {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    display: block;
    margin-bottom: 8px;
    color: #111827;
}
.flow-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}
.flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    color: #cbd5e1;
}
.flow-connector i {
    width: 20px;
}

@media (max-width: 1024px) {
    .flow-container .grid-cols-7 {
        grid-template-columns: 1fr;
    }
    .flow-connector {
        height: 40px;
        transform: rotate(90deg);
    }
    .flow-card {
        min-height: auto;
    }
}
.concept-panel {
    border-radius: 28px;
    padding: 38px;
}
.dark-panel {
    background: linear-gradient(145deg, #111827, #242653);
    color: white;
}
.dark-panel > p {
    color: #cbd5e1;
}
.fund-box {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    padding: 18px;
    border-radius: 18px;
    background: #ffffff10;
    border: 1px solid #ffffff1c;
}
.fund-box svg {
    color: #34d399;
}
.fund-box b,
.fund-box small {
    display: block;
}
.fund-box small {
    color: #cbd5e1;
    margin-top: 4px;
    line-height: 1.5;
}
.feature-card > svg {
    background: #eef2ff;
    color: #4f46e5;
}
.soft-blue {
    background: #f4f9ff;
}
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.timeline-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #5b5cf0, #10b981);
    left: 15%;
    right: 15%;
    top: 90px;
}
.timeline-item {
    position: relative;
    text-align: center;
    z-index: 2;
}
.timeline-item > span {
    display: inline-block;
    background: #fff;
    border: 1px solid #dbeafe;
    color: #2563eb;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    border: 6px solid #eff6ff;
    margin: 12px auto;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 35px #2563eb1c;
}
.avatar-placeholder svg {
    width: 34px;
    color: #4f46e5;
}
.timeline-item h3 {
    font-weight: 900;
    font-size: 18px;
}
.timeline-item p {
    font-size: 14px;
    color: #64748b;
    max-width: 260px;
    margin: 6px auto;
    line-height: 1.55;
}
.note-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid #dbeafe;
    background: white;
    border-radius: 18px;
}
.note-strip svg {
    color: #2563eb;
}
.note-strip span {
    margin-left: auto;
    color: #64748b;
    font-size: 14px;
}
.green-tag {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}
.sticky-card h2 em {
    font-style: normal;
    color: #059669;
}
.quote-box {
    margin-top: 28px;
    padding: 22px;
    border-left: 4px solid #10b981;
    background: #ecfdf5;
    border-radius: 0 16px 16px 0;
    font-weight: 800;
    line-height: 1.55;
}
.benefit span {
    font-size: 12px;
    font-weight: 900;
    color: #10b981;
}
.soft-amber {
    background: #fffaf0;
}
.match-head {
    display: flex;
    gap: 14px;
    align-items: center;
}
.match-head > svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    background: #f5f3ff;
    color: #6d28d9;
    border-radius: 12px;
}
.match-head small {
    color: #94a3b8;
    font-weight: 800;
}
.match-head h3 {
    font-weight: 900;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.chips span {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
}
.match-column.selected {
    text-align: center;
    background: #111827;
    color: white;
}
.selected .match-head {
    justify-content: center;
}
.selected .match-head > svg {
    background: #ffffff15;
    color: #34d399;
}
.selected .match-head small {
    color: #94a3b8;
}
.score-ring {
    width: 110px;
    height: 110px;
    border: 8px solid #34d399;
    border-left-color: #ffffff20;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 25px auto 14px;
    font-size: 34px;
    font-weight: 900;
}
.score-ring small {
    font-size: 14px;
}
.selected p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.55;
}
.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.principles-grid div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    background: #fff7f7;
    border: 1px solid #fee2e2;
    border-radius: 14px;
    font-size: 14px;
}
.principles-grid svg {
    width: 18px;
    color: #ef4444;
}
.validation-section {
    background: linear-gradient(135deg, #fff7ed, #fff, #f5f3ff);
    border-top: 1px solid #f1e8dd;
}
.amber-tag {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}
.validation-copy {
    font-size: 18px;
    line-height: 1.7;
    color: #64748b;
    margin-top: 18px;
    max-width: 820px;
}
.validation-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
}
.validation-stats div:not(.plus) {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.validation-stats b {
    font-size: 38px;
    font-weight: 950;
    color: #5b5cf0;
}
.validation-stats span {
    font-size: 14px;
    color: #64748b;
}
.validation-stats .plus {
    font-size: 28px;
    color: #cbd5e1;
}
.microcopy {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 14px;
}
.idea-character {
    height: 330px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.bulb {
    position: absolute;
    top: 0;
    color: #f59e0b;
    filter: drop-shadow(0 8px 12px #f59e0b55);
}
.bulb svg {
    width: 60px;
    height: 60px;
}
.character-head {
    width: 100px;
    height: 100px;
    background: #ffd7bd;
    border-radius: 50%;
    position: relative;
    margin-top: 50px;
    border: 6px solid white;
    box-shadow: 0 12px 30px #33415520;
}
.character-head span {
    position: absolute;
    width: 9px;
    height: 9px;
    background: #1f2937;
    border-radius: 50%;
    top: 42px;
}
.character-head span:first-child {
    left: 28px;
}
.character-head span:nth-child(2) {
    right: 28px;
}
.character-head b {
    position: absolute;
    width: 28px;
    height: 10px;
    border-bottom: 3px solid #7c2d12;
    border-radius: 50%;
    bottom: 22px;
    left: 30px;
}
.character-body {
    width: 190px;
    height: 145px;
    margin-top: -5px;
    border-radius: 70px 70px 22px 22px;
    background: linear-gradient(145deg, #5b5cf0, #312e81);
    display: grid;
    place-items: center;
    color: white;
}
.character-body svg {
    width: 70px;
    height: 70px;
}
.footer {
    background: #0f172a;
    color: #fff;
}
.footer p {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 5px;
}
.footer small {
    color: #64748b;
}
@media (max-width: 1100px) {
    .display-title {
        font-size: 54px;
    }
    .flow-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
    .flow-arrow {
        display: none;
    }
    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.badge-danger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    background: #fee2e2;
    color: #ef4444 !important;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
}
.badge-blue {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    background: #e0e7ff;
    color: #4338ca !important;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
}

/* Новые стили для кнопок-карточек */
.btn-card {
    display: inline-flex;
    align-items: center;
    padding: 16px 20px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 16px;
    min-width: 280px;
}

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

.btn-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.btn-card-icon i {
    width: 24px;
    height: 24px;
}

.btn-card-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.btn-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.btn-card-subtitle {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 2px;
}

.btn-card-arrow {
    width: 20px;
    height: 20px;
}

/* Синяя тема (Я клиент) */
.btn-card-primary {
    background: #4338ca;
    color: white;
    box-shadow: 0 10px 25px rgba(67, 56, 202, 0.2);
}

.btn-card-primary .btn-card-icon {
    background: rgba(255, 255, 255, 0.15);
}

/* Белая тема (Я фрилансер) */
.btn-card-outline {
    background: white;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn-card-outline .btn-card-icon {
    background: #eef2ff;
    color: #4338ca;
}

.btn-card-outline .btn-card-subtitle {
    color: #64748b;
}

.btn-card-outline .btn-card-arrow {
    color: #111827;
}

/* AI Budget Block */
.budget-info-card {
    background: #fff;
    border: 1px solid #e3e0ff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(91, 92, 240, 0.05);
}
.budget-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}
.budget-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.budget-steps {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 24px;
}
.budget-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.budget-step i {
    width: 18px;
    height: 18px;
}
.budget-step.active {
    background: #f5f3ff;
    border-color: #c4b5fd;
    color: #5b5cf0;
}
.budget-arrow {
    color: #cbd5e1;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .budget-steps {
        flex-wrap: wrap;
    }
    .budget-arrow {
        display: none;
    }
    .budget-step {
        width: 100%;
    }
}