*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-bg: #0a0a0f;
    --color-text: #f0f0f0;
    --color-muted: #8888aa;
    --color-accent: #89AACC;
    --color-accent-2: #6C63FF;
    --color-accent-3: #3f37c9;
    --color-teal: #4ECDC4;

    --glass-bg: rgba(15, 15, 22, 0.4);
    --glass-bg-2: rgba(15, 15, 22, 0.5);
    --glass-border: rgba(255, 255, 255, 0.12);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.5);

    --radius-glass: 20px;
    --radius-sm: 14px;
    --radius-pill: 60px;

    --transition: all 0.3s ease;
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

    --font-sans: 'Vazirmatn', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
    -webkit-text-size-adjust: 100%;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: var(--color-bg);
}

.bg__image {
    position: absolute;
    inset: -0.1%;
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(0.5);
    animation: bgFloat 18s ease-in-out infinite alternate;
    filter: saturate(0.85) contrast(1.05);
    opacity: 0.75;
    will-change: transform, filter;
}

@keyframes bgFloat {
    0% {
        transform: scale(1.05) translate(-2%, -2%) rotate(-1deg);
        filter: saturate(0.85) contrast(1.05) brightness(1);
    }
    50% {
        transform: scale(1.18) translate(2%, 1.5%) rotate(0.5deg);
        filter: saturate(1) contrast(1.1) brightness(1.1);
    }
    100% {
        transform: scale(1.1) translate(-1%, 2%) rotate(-0.5deg);
        filter: saturate(0.9) contrast(1.08) brightness(1.05);
    }
}

.bg__veil {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    will-change: transform, opacity;
}

.bg__orb--1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.55), transparent 70%);
    top: -180px; right: -160px;
    animation: orbFloat1 12s ease-in-out infinite alternate;
}

.bg__orb--2 {
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(137, 170, 204, 0.5), transparent 70%);
    bottom: -140px; left: -120px;
    opacity: 0.28;
    animation: orbFloat2 15s ease-in-out infinite alternate;
}

.bg__orb--3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.35), transparent 70%);
    top: 45%; left: 40%;
    opacity: 0.15;
    animation: orbFloat3 20s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0%   { transform: translate(0, 0) scale(1);                  opacity: 0.35; }
    50%  { transform: translate(-120px, 180px) scale(1.5);       opacity: 0.55; }
    100% { transform: translate(80px, 60px) scale(1.2);          opacity: 0.45; }
}

@keyframes orbFloat2 {
    0%   { transform: translate(0, 0) scale(1);                  opacity: 0.28; }
    50%  { transform: translate(150px, -140px) scale(1.6);       opacity: 0.5; }
    100% { transform: translate(-80px, -50px) scale(1.3);        opacity: 0.4; }
}

@keyframes orbFloat3 {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg);         opacity: 0.15; }
    50%  { transform: translate(-200px, -100px) scale(2) rotate(180deg);  opacity: 0.35; }
    100% { transform: translate(100px, 150px) scale(1.4) rotate(360deg);  opacity: 0.25; }
}

.bg__noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 640px;
    z-index: 1000;
    padding: 0 10px;
    border-radius: var(--radius-glass);

    background: rgba(15, 15, 22, 0.4);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 15, 22, 0.55);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    top: 16px;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6px;
    width: 100%;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo__image {
    display: block;
    height: 50px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 0 rgba(137, 170, 204, 0));
}

.logo:hover .logo__image {
    transform: scale(1.08);
    filter: drop-shadow(0 0 30px rgba(137, 170, 204, 0.15))
            drop-shadow(0 0 60px rgba(137, 170, 204, 0.05));
}

.nav {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: #89AACC;
    transition: var(--transition);
}

.nav__link:hover { color: #ffffff; }
.nav__link:hover::after,
.nav__link.active {
    width: 100%;
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    order: 3;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 4px;
    transition: var(--transition);
}

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    z-index: 2000;
    pointer-events: none;
}

.page-progress__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #89AACC, #6C63FF);
    box-shadow: 0 0 12px rgba(137, 170, 204, 0.5);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0 100px 100px 0;
}

.status-chip {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px 10px 14px;

    background: rgba(15, 15, 22, 0.4);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.status-chip.hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.status-chip__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-teal);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 20px rgba(78, 205, 196, 0.2); }
}

.main {
    position: relative;
    z-index: 2;
    padding: 40px 40px 120px;
}

.hero {
    max-width: 880px;
    margin: 0 auto;
    padding: 60px 0 100px;
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;

    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(137, 170, 204, 0.18);
    border-radius: 50px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero__eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-teal);
    animation: dotPulse 2s ease-in-out infinite;
}

.hero__title {
    font-size: clamp(2.6rem, 8vw, 5.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: #ffffff;
}
.hero__title-line { display: block; }

.hero__title-line em {
    font-style: normal;
    background: linear-gradient(135deg, #ffffff 20%, var(--color-accent) 60%, var(--color-accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.9;
    max-width: 540px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 70px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

.hero__scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent);
}

.form-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step {
    position: relative;
    padding: 36px 34px;

    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-glass);
    overflow: hidden;

    transition: border-color 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(137, 170, 204, 0.03);
}

.step:hover {
    border-color: rgba(137, 170, 204, 0.28);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 12px 44px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 0 80px rgba(137, 170, 204, 0.06);
}

.no-js .step { opacity: 1; transform: none; }
.js .step { opacity: 0; }
.js .step.visible,
.step.visible { opacity: 1; }

.step::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity 0.8s ease;
}
.step.visible::before { opacity: 0.7; }

.step__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.step__num {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent-3));
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
    font-family: var(--font-sans);
}

.step__headings { flex: 1; min-width: 0; }

.step__title {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 3px;
}

.step__sub {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.step__status {
    flex-shrink: 0;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    font-weight: 500;
    transition: var(--transition);
}

.step__status.filled {
    color: var(--color-accent);
    background: rgba(137, 170, 204, 0.12);
    border-color: rgba(137, 170, 204, 0.35);
    box-shadow: 0 0 15px rgba(137, 170, 204, 0.1);
}

.step__section { margin-top: 28px; }
.step__section:first-of-type { margin-top: 0; }

.step__section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 14px;
    padding-inline-start: 2px;
    letter-spacing: 0.3px;
}

.step__section-title::before {
    content: '';
    width: 3px;
    height: 12px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-2));
    border-radius: 2px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.field-row:last-child { margin-bottom: 0; }

.field {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);

    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.field--full { margin-top: 12px; }

.field:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.22);
}

.field:focus-within {
    border-color: rgba(137, 170, 204, 0.55);
    background: rgba(137, 170, 204, 0.05);
    box-shadow:
        0 0 0 3px rgba(137, 170, 204, 0.1),
        0 0 30px rgba(137, 170, 204, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.field.error {
    border-color: #ff5a7a !important;
    background: rgba(255, 90, 122, 0.06) !important;
    box-shadow:
        0 0 0 3px rgba(255, 90, 122, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.field__input {
    flex: 1;
    width: 100%;
    padding: 17px 20px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.96rem;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.field__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.field__input--ltr {
    direction: ltr;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.field__input--area {
    resize: none;
    min-height: 130px;
    line-height: 1.9;
    padding: 18px 20px;
    font-family: var(--font-sans);
}

.opts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.opts--budget { grid-template-columns: repeat(2, 1fr); }
.opts--time   { grid-template-columns: repeat(2, 1fr); }
.opts--source { grid-template-columns: repeat(3, 1fr); }

.opt {
    cursor: pointer;
    display: block;
    position: relative;
}

.opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.opt__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;

    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    min-height: 60px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.opt__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(137, 170, 204, 0.1), rgba(108, 99, 255, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.opt:hover .opt__card {
    border-color: rgba(137, 170, 204, 0.28);
    background: rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.opt:hover .opt__card::before { opacity: 0.6; }

.opt input[type="radio"]:checked + .opt__card {
    border-color: rgba(137, 170, 204, 0.6);
    background: rgba(137, 170, 204, 0.08);
    box-shadow:
        0 0 0 3px rgba(137, 170, 204, 0.12),
        0 8px 28px rgba(137, 170, 204, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.opt input[type="radio"]:checked + .opt__card::before { opacity: 1; }

.opt__title {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    position: relative;
    z-index: 1;
}

.opt__sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-inline-start: auto;
    padding-inline-start: 8px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.opt__mark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    position: relative;
    transition: var(--transition-spring);
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.opt__mark::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
    box-shadow: 0 0 10px rgba(137, 170, 204, 0.4);
    transform: scale(0);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.opt input[type="radio"]:checked + .opt__card .opt__mark {
    border-color: var(--color-accent);
    background: rgba(137, 170, 204, 0.15);
}
.opt input[type="radio"]:checked + .opt__card .opt__mark::after {
    transform: scale(1);
}

.step--submit {
    padding: 42px 38px;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(137, 170, 204, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(137, 170, 204, 0.22);
}
.step--submit::before {
    left: 0; right: 0;
    opacity: 1;
}
.step--submit .step__head {
    text-align: start;
}

.submit__desc {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.85;
    max-width: 460px;
    margin: 8px auto 30px;
    font-weight: 300;
}

.submit__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent-3));
    color: #ffffff;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-spring);
    box-shadow: 0 4px 30px rgba(108, 99, 255, 0.3);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.submit__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    border-radius: var(--radius-pill);
}

.submit__btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 50px rgba(108, 99, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.1);
}
.submit__btn:hover::before { transform: translateX(100%); }
.submit__btn:active { transform: translateY(-1px) scale(0.97); }
.submit__btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.submit__btn-text,
.submit__btn-icon { position: relative; z-index: 1; }

.submit__btn-icon {
    display: grid;
    place-items: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.submit__btn:hover .submit__btn-icon { transform: translateX(-6px) scale(1.1); }

.submit__btn.loading .submit__btn-text,
.submit__btn.loading .submit__btn-icon { opacity: 0; }

.submit__btn.loading::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 2;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.submit__hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
}

.success {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
    padding: 140px 24px 80px;
    position: relative;
    z-index: 3;
}
.success.active { display: flex; }

.success__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 100%;
    padding: 54px 40px;

    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);

    border: 1px solid rgba(137, 170, 204, 0.25);
    border-radius: var(--radius-glass);
    text-align: center;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(137, 170, 204, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(137, 170, 204, 0.04);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.success__box::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.7;
}

.success__check {
    width: 82px; height: 82px;
    margin: 0 auto 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent-3));
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.4);
    flex-shrink: 0;
}

.success__title {
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #ffffff;
}

.success__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.85;
    margin-bottom: 30px;
    font-weight: 300;
}

.success__code {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 32px;
    background: rgba(137, 170, 204, 0.06);
    border: 1px dashed rgba(137, 170, 204, 0.35);
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    min-width: 240px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.success__code-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1.5px;
    font-weight: 500;
    text-transform: uppercase;
}

.success__code-value {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 3px;
    direction: ltr;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(137, 170, 204, 0.35);
}

.success__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    min-width: 180px;
    min-height: 48px;
    border-radius: var(--radius-pill);
    background: rgba(137, 170, 204, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(137, 170, 204, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-spring);
    margin-top: 4px;
    opacity: 1 !important;
    visibility: visible !important;
}

.success__btn:hover {
    border-color: var(--color-accent);
    background: rgba(137, 170, 204, 0.15);
    color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(137, 170, 204, 0.25);
}

.footer {
    padding: 48px 0 32px;
    background: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer__social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

button.footer__social-link {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.footer__social-link:hover {
    color: #89AACC;
    background: rgba(137, 170, 204, 0.06);
    transform: translateY(-2px);
}

.footer__social-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer__social-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, 0.04);
}

.footer__social-link:hover .footer__social-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.footer__nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.footer__nav-link:hover { color: #ffffff; }

.footer__divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin: 32px 0 24px;
}

.footer__bottom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__copy {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer__copy-brand {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.phone-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-modal.active {
    opacity: 1;
    visibility: visible;
}

.phone-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.phone-modal__content {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 40px 30px 32px;
    background: rgba(20, 20, 30, 0.85);
    border: 1px solid rgba(137, 170, 204, 0.2);
    border-radius: var(--radius-glass);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    transform: scale(0.85) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    isolation: isolate;
    overflow: hidden;
}

.phone-modal.active .phone-modal__content {
    transform: scale(1) translateY(0);
}

.phone-modal__content::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 0%, rgba(108, 99, 255, 0.15), transparent 60%);
    filter: blur(60px);
    z-index: -1;
    animation: modalGlow 6s ease-in-out infinite alternate;
}

@keyframes modalGlow {
    0% { transform: translate(-20%, -10%) scale(1); opacity: 0.5; }
    100% { transform: translate(20%, 10%) scale(1.2); opacity: 1; }
}

.phone-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.phone-modal__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: rotate(90deg);
}

.phone-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.3);
    animation: phoneIconPulse 2.5s ease-in-out infinite;
}

@keyframes phoneIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(108, 99, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 15px 50px rgba(108, 99, 255, 0.5); }
}

.phone-modal__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.phone-modal__subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 22px;
    line-height: 1.6;
}

.phone-modal__number {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 14px;
    background: rgba(137, 170, 204, 0.06);
    border: 1px solid rgba(137, 170, 204, 0.15);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    direction: ltr;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.phone-modal__number:hover {
    color: #89AACC;
    border-color: rgba(137, 170, 204, 0.4);
    background: rgba(137, 170, 204, 0.12);
    transform: scale(1.03);
}

.phone-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6C63FF, #3f37c9);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 25px rgba(108, 99, 255, 0.3);
}

.phone-modal__btn:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.45);
}

.phone-modal__btn svg { transition: transform 0.3s ease; }
.phone-modal__btn:hover svg { transform: rotate(-15deg) scale(1.1); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(108, 99, 255, 0.6), rgba(137, 170, 204, 0.6));
    border-radius: 10px;
    border: 2px solid rgba(10, 10, 15, 0.9);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(108, 99, 255, 0.9), rgba(137, 170, 204, 0.9));
}

@media (max-width: 900px) {
    .main { padding: 30px 24px 120px; }
    .opts--source { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { padding-top: 80px; }

    .bg__image {
        background-image: url('img/background2.png');
    }

    .header {
        width: calc(100% - 32px);
        max-width: 100%;
        top: 16px;
        border-radius: 16px;
        padding: 0 6px;
        text-align:center;
    }
    .header__container { padding: 10px 4px; }
    .hamburger { display: flex; }
    .nav {
        position: absolute;
        top: calc(100% + 12px);
        right: 0; left: 0;
        background: rgba(10, 10, 15, 0.92);
        backdrop-filter: blur(24px) saturate(220%);
        -webkit-backdrop-filter: blur(24px) saturate(220%);
        border-radius: var(--radius-glass);
        padding: 20px 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-glass);
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
        pointer-events: none;
        transition: var(--transition);
    }
    .nav.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
    .nav__list {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .nav__link {
        font-size: 1rem;
        padding: 8px 0;
        text-align: center;
    }
    .nav__link::after { display: none; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .logo__image {
        height: 32px;
        max-height: 36px;
    }

    .main { padding: 20px 16px 100px; }

    .hero { padding: 30px 0 60px; }
    .hero__title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero__scroll { margin-top: 50px; }

    .step {
        padding: 28px 22px;
        border-radius: 16px;
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
    }
    .step__head { gap: 12px; margin-bottom: 22px; }
    .step__num { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 10px; }
    .step__title { font-size: 1.15rem; }
    .step__sub { font-size: 0.82rem; }

    .field-row { grid-template-columns: 1fr; gap: 10px; }
    .field__input { padding: 15px 18px; font-size: 0.92rem; }
    .field__input--area { padding: 16px 18px; min-height: 120px; }

    .opts, .opts--budget, .opts--time { grid-template-columns: 1fr; }
    .opts--source { grid-template-columns: repeat(2, 1fr); }

    .step--submit { padding: 32px 22px; }
    .submit__btn { width: 100%; justify-content: center; padding: 16px 32px; }

    .success { padding: 100px 20px 60px; margin-top: 0; }
    .success__box { padding: 42px 24px; border-radius: 16px; }
    .success__btn { width: 100%; justify-content: center; }

    .status-chip {
        bottom: 18px;
        left: 18px;
        font-size: 0.74rem;
        padding: 8px 14px;
    }

    .footer { padding: 36px 0 24px; }
    .footer__top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .footer__social { gap: 8px; }
    .footer__social-link { width: 40px; height: 40px; }
    .footer__nav { gap: 24px; justify-content: center; }
    .footer__nav-link { font-size: 0.8rem; }
    .footer__divider { margin: 24px 0 16px; }
    .footer__copy { font-size: 0.7rem; text-align: center; }
}

@media (max-width: 480px) {
    body { padding-top: 70px; }

    .hero__title { font-size: 1.9rem; }
    .step { padding: 24px 18px; }
    .opts--source { grid-template-columns: 1fr; }
    .status-chip { display: none; }

    .logo__image {
        height: 28px;
        max-height: 32px;
    }

    .phone-modal__content {
        padding: 34px 22px 26px;
        max-width: 92%;
    }
    .phone-modal__number { font-size: 1.3rem; padding: 10px 18px; }
    .phone-modal__title { font-size: 1.15rem; }

    .footer__nav { gap: 16px; }
    .footer__nav-link { font-size: 0.75rem; }
    .footer__social-link { width: 36px; height: 36px; }
    .footer__social-link svg { width: 16px; height: 16px; }
    .footer__social-tooltip {
        font-size: 0.6rem;
        padding: 4px 14px;
        bottom: calc(100% + 10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .js .step { opacity: 1 !important; transform: none !important; filter: none !important; }
    .bg__image,
    .bg__orb { animation: none !important; }
}