:root {
    --bg-main: #28224E;
    --bg-deep: #1F1A44;
    --text-main: #E8E8E8;
    --text-soft: #CFCFD6;
    --accent: #FF8A00;
    --card: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.14);
    --shadow: 0 12px 34px rgba(7, 5, 24, 0.42);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 138, 0, 0.1), transparent 32%),
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.05), transparent 30%),
        linear-gradient(180deg, var(--bg-main) 0%, var(--bg-deep) 100%);
    min-height: 100vh;
    line-height: 1.45;
}

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

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(31, 26, 68, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.logo span {
    color: var(--accent);
}

.logo-image {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: contain;
}

.navbar-wordmark {
    width: 140px;
    height: auto;
    display: block;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    margin: 5px auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    font-size: 0.94rem;
    color: var(--text-soft);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 12px;
    padding: 0 22px;
    font-size: 0.94rem;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff8a00, #ff9f33);
    color: #1f1a44;
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.35);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #f7f7fa;
}

.page-hero {
    padding: 72px 0 28px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #ffb258;
    font-size: 0.78rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-soft);
    max-width: 62ch;
}

.section {
    padding: 34px 0 70px;
}

.section h2 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin-bottom: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.card h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.card p,
.card li {
    color: var(--text-soft);
}

.card ul {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.card li::before {
    content: "•";
    color: #ffb258;
    margin-right: 8px;
}

.faq-list {
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow);
}

.faq-list details {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 20px;
}

.faq-list details:first-child {
    border-top: 0;
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
}

.faq-list p {
    margin-top: 8px;
    color: var(--text-soft);
}

.data-list {
    display: grid;
    gap: 8px;
    color: var(--text-soft);
}

.data-list strong {
    color: #fff;
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.plans-table th,
.plans-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.plans-table th {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
}

.plans-table td {
    color: var(--text-soft);
}

.form-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px 0;
}

.form-card {
    width: min(560px, 92vw);
    background:
        linear-gradient(165deg, rgba(255, 138, 0, 0.12), rgba(255, 255, 255, 0.03)),
        rgba(31, 26, 68, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 26px;
}

.form-card h1 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    margin-bottom: 8px;
}

.form-intro {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.form-grid {
    display: grid;
    gap: 10px;
}

.form-progress {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    margin-bottom: 8px;
}

.form-progress-bar {
    height: 100%;
    width: 50%;
    border-radius: inherit;
    background: linear-gradient(135deg, #ff8a00, #ffb258);
    transition: width 0.25s ease;
}

.form-step-label {
    color: var(--text-soft);
    font-size: 0.86rem;
    margin-bottom: 10px;
}

.form-step {
    display: none;
    gap: 10px;
}

.form-step.is-active {
    display: grid;
}

.form-grid label {
    font-size: 0.86rem;
    color: var(--text-soft);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 0 12px;
    font: inherit;
}

.form-grid textarea {
    min-height: 96px;
    padding-top: 10px;
}

.check-line {
    margin-top: 4px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.subtle-link {
    color: var(--text-soft);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.form-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer {
    padding: 56px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 11, 35, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
}

.footer-grid h4 {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 0.91rem;
}

.footer-copy {
    color: var(--text-soft);
    font-size: 0.91rem;
    margin-top: 12px;
    max-width: 32ch;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-soft);
    font-size: 0.83rem;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .desktop-cta {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        background: rgba(31, 26, 68, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.25s ease;
    }

    .nav-links a {
        padding: 14px 4vw;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar.menu-open .nav-links {
        max-height: 380px;
    }

    .navbar.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.btn-primary.is-loading {
    position: relative;
    overflow: hidden;
    cursor: wait;
    pointer-events: none;
}

.btn-primary.is-loading .btn-submit-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
}

.btn-primary.is-loading .btn-submit-label::before {
    content: "";
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    border: 2px solid rgba(31, 26, 68, 0.22);
    border-top-color: #1f1a44;
    border-radius: 50%;
    animation: upnet-spin 0.65s linear infinite;
}

.btn-primary.is-loading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 38%;
    border-radius: 2px;
    background: linear-gradient(90deg, #1f1a44, #2d2658);
    animation: upnet-btn-bar 1.05s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes upnet-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes upnet-btn-bar {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(320%);
    }
}

.confirm-success-card {
    text-align: center;
    padding: 38px 28px 34px;
}

.confirm-success-card h1 {
    text-align: center;
}

.confirm-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 138, 0, 0.28), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 138, 0, 0.4);
    box-shadow: 0 10px 28px rgba(255, 138, 0, 0.12);
    display: grid;
    place-items: center;
}

.confirm-icon svg {
    width: 36px;
    height: 36px;
    color: var(--accent);
}

.confirm-success-card .form-intro {
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 26px;
    line-height: 1.55;
}

.confirm-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 640px) {
    .navbar-wordmark {
        width: 118px;
    }

    .page-hero {
        padding-top: 48px;
    }

    .section {
        padding-top: 22px;
        padding-bottom: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
