:root {
    --bg-main: #eef4fb;
    --bg-surface: rgba(255, 255, 255, 0.78);
    --bg-surface-strong: #ffffff;
    --text-main: #172033;
    --text-soft: #536179;
    --navy: #15213a;
    --navy-strong: #0d1528;
    --blue: #38bdf8;
    --blue-strong: #2563eb;
    --blue-soft: rgba(56, 189, 248, 0.16);
    --blue-glow: rgba(96, 165, 250, 0.3);
    --line: rgba(21, 33, 58, 0.1);
    --shadow-soft: 0 18px 45px rgba(28, 46, 86, 0.12);
    --shadow-strong: 0 24px 60px rgba(12, 22, 43, 0.22);
}

body[data-theme="dark"] {
    --bg-main: #08111f;
    --bg-surface: rgba(9, 18, 33, 0.84);
    --bg-surface-strong: #0f1b31;
    --text-main: #edf4ff;
    --text-soft: #9db0c9;
    --navy: #dbe7ff;
    --navy-strong: #f8fbff;
    --blue-soft: rgba(56, 189, 248, 0.12);
    --line: rgba(148, 163, 184, 0.18);
    --shadow-soft: 0 20px 45px rgba(2, 6, 23, 0.4);
    --shadow-strong: 0 24px 60px rgba(2, 6, 23, 0.52);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 26%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 24%),
        linear-gradient(180deg, #f7fbff 0%, var(--bg-main) 100%);
}

body.account-modal-open {
    overflow: hidden;
}

main {
    position: relative;
}

.services-menu-button {
    position: fixed;
    top: calc(50% + 2.45rem);
    left: 0;
    transform: translateY(-50%);
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 7.8rem;
    padding: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(227, 238, 255, 0.96));
    color: var(--text-main);
    border-radius: 0 22px 22px 0;
    cursor: pointer;
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: var(--shadow-strong);
    transition: left 0.35s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.services-menu-button:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(210, 226, 255, 0.98));
    box-shadow: 0 28px 48px rgba(28, 46, 86, 0.2);
}

.services-menu-button:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.75);
    outline-offset: 3px;
}

.services-menu-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.services-menu-icon span {
    display: block;
    width: 1.2rem;
    height: 0.16rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.services-sidebar {
    position: fixed;
    top: 4.9rem;
    left: 0;
    width: 300px;
    height: calc(100vh - 4.9rem);
    padding: 1.6rem 1.35rem 1.5rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 244, 255, 0.98)),
        linear-gradient(180deg, #ffffff, #dbeafe);
    color: var(--text-main);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 900;
    border-right: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    overflow-y: auto;
    overflow-x: visible;
    overscroll-behavior: contain;
    box-shadow:
        inset 0 18px 20px -20px rgba(255, 255, 255, 0.8),
        inset 0 -24px 24px -24px rgba(148, 163, 184, 0.32),
        var(--shadow-strong);
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, 0.45) rgba(15, 23, 42, 0.06);
}

.services-sidebar::-webkit-scrollbar {
    width: 10px;
}

.services-sidebar::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.06);
    border-radius: 999px;
}

.services-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.7), rgba(37, 99, 235, 0.85));
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.services-sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(37, 99, 235, 0.9));
}

.services-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.22), transparent 28%),
        linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03));
    pointer-events: none;
}

body.services-menu-open .services-sidebar {
    transform: translateX(0);
}

body.services-menu-open .services-menu-button {
    left: 300px;
}

body.services-menu-open .services-menu-icon span:nth-child(1) {
    transform: translateY(0.61rem) rotate(45deg);
}

body.services-menu-open .services-menu-icon span:nth-child(2) {
    opacity: 0;
}

body.services-menu-open .services-menu-icon span:nth-child(3) {
    transform: translateY(-0.61rem) rotate(-45deg);
}

.services-sidebar-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    padding-right: 2.5rem;
    position: relative;
    z-index: 1;
}

.services-sidebar-kicker {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-strong);
    margin-bottom: 0.7rem;
}

.services-sidebar-header h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
    line-height: 1.1;
}

.services-sidebar-intro {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-soft);
}

.services-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.services-sidebar-nav a {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.82rem 0.9rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(231, 240, 255, 0.95));
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.services-sidebar-nav strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
}

.services-sidebar-nav span {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.services-sidebar-nav a:hover {
    background: linear-gradient(180deg, rgba(191, 219, 254, 0.8), rgba(147, 197, 253, 0.5));
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 10px 24px rgba(28, 46, 86, 0.14);
    transform: translateX(6px);
}

.services-sidebar-panel {
    margin-top: auto;
    padding: 0.9rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(219, 234, 254, 0.88));
    border: 1px solid rgba(37, 99, 235, 0.12);
    position: relative;
    z-index: 1;
}

.services-sidebar-panel-label {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-strong);
    margin-bottom: 0.65rem;
}

.services-sidebar-progress,
.services-sidebar-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.services-sidebar-progress {
    font-weight: 700;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
}

.services-sidebar-progress span:last-child {
    color: var(--blue-strong);
}

.services-sidebar-progress-bar {
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.services-sidebar-progress-bar span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7dd3fc, #2563eb);
}

.services-sidebar-panel-date {
    font-size: 0.82rem;
    color: var(--text-soft);
}

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

header {
    background: rgba(21, 33, 58, 0.9);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1400;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    width: 100%;
    margin: 0;
    padding: 0.9rem 1.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.05;
}

.logo {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7dd3fc;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.header-tools {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 0.85rem;
}

.account-menu {
    position: relative;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3rem;
    padding: 0.45rem 0.6rem 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.theme-toggle-button {
    position: relative;
    min-height: 3rem;
    min-width: 8.6rem;
    padding: 0.7rem 1.15rem 0.7rem 3.15rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.26), rgba(37, 99, 235, 0.16));
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.theme-toggle-button::before {
    content: "☾";
    position: absolute;
    left: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(191, 219, 254, 0.9));
    color: #1d4ed8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 16px rgba(8, 15, 30, 0.18);
    font-size: 1rem;
}

.theme-toggle-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.34), rgba(56, 189, 248, 0.2));
    box-shadow: 0 16px 26px rgba(11, 25, 60, 0.18);
}

.language-switcher span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.language-select {
    min-width: 4.8rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    color-scheme: light;
}

.language-select option {
    background: #ffffff;
    color: #172033;
}

.account-button {
    min-height: 3rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.26);
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.2), rgba(37, 99, 235, 0.12));
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.account-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.3), rgba(37, 99, 235, 0.18));
    box-shadow: 0 16px 26px rgba(11, 25, 60, 0.18);
}

.account-button[data-state="connected"] {
    padding-right: 2.4rem;
    position: relative;
}

.account-button[data-state="connected"]::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease;
}

.account-menu.is-open .account-button[data-state="connected"]::after {
    transform: translateY(-35%) rotate(225deg);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 13rem;
    padding: 0.45rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(21, 33, 58, 0.96), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 45px rgba(8, 15, 30, 0.26);
    display: grid;
    gap: 0.45rem;
}

.account-dropdown[hidden] {
    display: none !important;
}

.account-dropdown-button {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.7rem 0.95rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.account-dropdown-button:hover {
    background: rgba(125, 211, 252, 0.18);
    transform: translateY(-1px);
}

.verify-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.verify-layout {
    width: min(100%, 460px);
}

.verify-card {
    padding: 1.8rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 34px 70px rgba(8, 15, 30, 0.2);
}

.verify-kicker {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-strong);
    margin-bottom: 0.75rem;
}

.verify-card h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 0.9rem;
    color: var(--text-main);
}

.verify-intro {
    color: var(--text-soft);
    margin-bottom: 1.3rem;
}

.verify-form {
    display: grid;
    gap: 1rem;
}

.verify-field {
    display: grid;
    gap: 0.45rem;
}

.verify-field span {
    font-weight: 700;
    color: var(--text-main);
}

.verify-field input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(248, 250, 252, 0.9);
    font: inherit;
}

.verify-feedback {
    min-height: 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-soft);
}

.verify-feedback.is-error {
    color: #dc2626;
}

.verify-feedback.is-success {
    color: #15803d;
}

.verify-submit {
    min-height: 3.1rem;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.verify-back-link {
    display: inline-flex;
    margin-top: 1.25rem;
    color: var(--blue-strong);
    font-weight: 700;
}

.account-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1800;
    background: rgba(8, 15, 30, 0.52);
    backdrop-filter: blur(8px);
}

.account-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 430px);
    padding: 1.6rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 34px 70px rgba(8, 15, 30, 0.28);
    z-index: 1900;
}

.account-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 0;
    background: rgba(21, 33, 58, 0.08);
    color: var(--navy);
    font-size: 1.25rem;
    cursor: pointer;
}

.account-modal-kicker {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-strong);
    margin-bottom: 0.75rem;
}

.account-modal h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.account-modal-intro {
    color: var(--text-soft);
    margin-bottom: 1.3rem;
}

.account-modal-note {
    margin-bottom: 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--text-soft);
    font-size: 0.92rem;
}

.account-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    padding: 0.3rem;
    border-radius: 18px;
    background: rgba(21, 33, 58, 0.05);
}

.account-mode-button {
    min-height: 2.9rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text-soft);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.account-mode-button.is-active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.12));
    color: var(--blue-strong);
}

.account-form {
    display: grid;
    gap: 1rem;
}

.account-field {
    display: grid;
    gap: 0.45rem;
}

.account-signup-only[hidden] {
    display: none !important;
}

.account-field span {
    font-weight: 700;
    color: var(--text-main);
}

.account-field input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(248, 250, 252, 0.9);
    font: inherit;
}

.account-feedback {
    min-height: 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-soft);
}

.account-feedback.is-error {
    color: #dc2626;
}

.account-feedback.is-success {
    color: #15803d;
}

.account-submit {
    min-height: 3.1rem;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    cursor: pointer;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 82vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 2.5rem;
    padding: 5.5rem 2rem 4.5rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.28), transparent 22%),
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.2), transparent 24%),
        linear-gradient(135deg, #2155d6 0%, #1d4ed8 48%, #153caa 100%);
    color: #ffffff;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    z-index: -1;
}

.hero::before {
    width: 18rem;
    height: 18rem;
    top: 8%;
    left: -4rem;
    background: rgba(125, 211, 252, 0.14);
}

.hero::after {
    width: 26rem;
    height: 26rem;
    right: -8rem;
    bottom: -10rem;
    background: rgba(255, 255, 255, 0.08);
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 680px;
    justify-self: end;
}

.hero-kicker,
.section-kicker,
.objective-label,
.hero-card-label {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1rem;
}

.hero h1 {
    max-width: 11ch;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 0.98;
    margin-bottom: 1.1rem;
}

.hero p {
    max-width: 700px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff, #dbeafe);
    color: #1d4ed8;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    box-shadow: 0 18px 30px rgba(10, 25, 59, 0.18);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    background: linear-gradient(180deg, #ffffff, #bfdbfe);
    transform: translateY(-3px);
    box-shadow: 0 22px 34px rgba(10, 25, 59, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

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

.hero-metrics article {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-metrics strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.hero-metrics span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
}

.hero-visual {
    min-height: 32rem;
    justify-self: start;
    width: min(100%, 520px);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
}

.hero-orb-one {
    width: 10rem;
    height: 10rem;
    top: 1rem;
    right: 2rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
}

.hero-orb-two {
    width: 16rem;
    height: 16rem;
    bottom: 0;
    left: -2rem;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.22), transparent 65%);
}

.hero-card {
    position: absolute;
    border-radius: 28px;
    padding: 1.4rem;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 50px rgba(11, 25, 60, 0.24);
}

.hero-card-main {
    top: 2rem;
    left: 1rem;
    width: min(100%, 350px);
}

.hero-card-side {
    right: 0;
    bottom: 2rem;
    width: min(100%, 300px);
}

.hero-card-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.75rem;
}

.hero-card strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-card-progress {
    width: 100%;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.hero-card-progress span {
    display: block;
    width: 63%;
    height: 100%;
    background: linear-gradient(90deg, #7dd3fc, #ffffff);
    border-radius: inherit;
    box-shadow: 0 0 24px var(--blue-glow);
}

.hero-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-card li {
    position: relative;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-card li::before {
    content: "";
    position: absolute;
    top: 0.6rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #7dd3fc;
    box-shadow: 0 0 14px rgba(125, 211, 252, 0.45);
}

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-kicker {
    font-size: 0.82rem;
    color: var(--blue-strong);
    margin-bottom: 0.85rem;
}

.objective-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: center;
}

.objective-copy {
    max-width: 640px;
}

.objective-card {
    padding: 1.75rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--shadow-soft);
}

.objective-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.objective-label {
    font-size: 0.76rem;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
}

.objective-topline strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.5rem;
}

.objective-progress {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.09), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(56, 189, 248, 0.12);
    margin-bottom: 1.2rem;
}

.objective-progress-track {
    height: 0.95rem;
    border-radius: 999px;
    background: rgba(21, 33, 58, 0.08);
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.objective-progress-track span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.26);
}

.objective-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.objective-stats article {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.03);
}

.objective-stats span {
    display: block;
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
}

.objective-stats strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
}

.section h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section p {
    font-size: 1.05rem;
    color: var(--text-soft);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    padding: 1.65rem;
    scroll-margin-top: 6rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 22px 40px rgba(28, 46, 86, 0.16);
}

.service-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

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

.account-space {
    display: grid;
    gap: 1.75rem;
}

.account-space-copy {
    max-width: 760px;
}

.account-space-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.account-summary-card,
.payment-card,
.purchase-history-card {
    padding: 1.7rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: var(--shadow-soft);
}

.account-summary-card,
.payment-card {
    min-height: 100%;
}

.account-summary-label {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-strong);
    margin-bottom: 0.85rem;
}

.account-summary-card h3,
.payment-card h3,
.purchase-history-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.55rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.account-summary-text,
.payment-card-text,
.purchase-history-note {
    color: var(--text-soft);
}

.account-summary-action,
.payment-custom-button,
.payment-quick-button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.account-summary-action {
    margin-top: 1.25rem;
    min-height: 3.05rem;
    padding: 0.85rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.12));
    color: var(--blue-strong);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.payment-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.2rem 0 0.85rem;
}

.payment-quick-button,
.payment-custom-button {
    min-height: 3rem;
    border-radius: 16px;
    background: rgba(21, 33, 58, 0.05);
    color: var(--text-main);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.payment-quick-button:hover,
.payment-custom-button:hover,
.account-summary-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(11, 25, 60, 0.12);
}

.payment-custom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
}

.payment-custom-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(248, 250, 252, 0.9);
    font: inherit;
}

.payment-custom-button {
    min-width: 11.75rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}

.payment-feedback {
    min-height: 1.5rem;
    margin-top: 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-soft);
}

.payment-feedback.is-error {
    color: #dc2626;
}

.payment-feedback.is-success {
    color: #15803d;
}

.purchase-history-card {
    display: grid;
    gap: 1.2rem;
}

.purchase-history-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.purchase-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.purchase-item,
.purchase-empty {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.purchase-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
}

.purchase-item-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.purchase-item-meta {
    font-size: 0.92rem;
    color: var(--text-soft);
}

.purchase-item-amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.14));
    color: var(--blue-strong);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.purchase-empty {
    color: var(--text-soft);
}

.purchase-empty strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

body[data-theme="dark"] {
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent 26%),
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 24%),
        linear-gradient(180deg, #071120 0%, var(--bg-main) 100%);
}

body[data-theme="dark"] header {
    background: rgba(3, 10, 20, 0.9);
    border-bottom-color: rgba(148, 163, 184, 0.12);
}

body[data-theme="dark"] .services-menu-button {
    background: linear-gradient(180deg, rgba(14, 23, 42, 0.96), rgba(22, 37, 65, 0.96));
    color: #ffffff;
    border-color: rgba(125, 211, 252, 0.12);
}

body[data-theme="dark"] .services-menu-button:hover {
    background: linear-gradient(180deg, rgba(25, 42, 78, 0.98), rgba(20, 33, 58, 0.98));
    box-shadow: 0 28px 48px rgba(12, 22, 43, 0.28);
}

body[data-theme="dark"] .services-menu-icon span {
    background: linear-gradient(90deg, #ffffff, #7dd3fc);
}

body[data-theme="dark"] .services-sidebar {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(27, 52, 118, 0.96)),
        linear-gradient(180deg, #0f172a, #1e3a8a);
    color: #ffffff;
    border-right-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 18px 20px -20px rgba(255, 255, 255, 0.26),
        inset 0 -24px 24px -24px rgba(10, 18, 37, 0.8),
        var(--shadow-strong);
    scrollbar-color: rgba(125, 211, 252, 0.45) rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .services-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

body[data-theme="dark"] .services-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.7), rgba(37, 99, 235, 0.7));
    border-color: rgba(15, 23, 42, 0.4);
}

body[data-theme="dark"] .services-sidebar::before {
    background:
        radial-gradient(circle at top left, rgba(125, 211, 252, 0.14), transparent 28%),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03));
}

body[data-theme="dark"] .services-sidebar-kicker {
    color: #7dd3fc;
}

body[data-theme="dark"] .services-sidebar-intro,
body[data-theme="dark"] .services-sidebar-nav span,
body[data-theme="dark"] .services-sidebar-panel-date {
    color: rgba(255, 255, 255, 0.72);
}

body[data-theme="dark"] .services-sidebar-nav a {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .services-sidebar-nav a:hover {
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.24), rgba(37, 99, 235, 0.16));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

body[data-theme="dark"] .services-sidebar-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    border-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .services-sidebar-panel-label {
    color: #bfdbfe;
}

body[data-theme="dark"] .services-sidebar-progress span:last-child {
    color: #7dd3fc;
}

body[data-theme="dark"] .services-sidebar-progress-bar {
    background: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .language-switcher,
body[data-theme="dark"] .theme-toggle-button {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .theme-toggle-button::before {
    content: "☀";
    background: linear-gradient(180deg, rgba(253, 224, 71, 0.96), rgba(251, 191, 36, 0.9));
    color: #78350f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 18px rgba(2, 6, 23, 0.3);
}

body[data-theme="dark"] .account-button {
    border-color: rgba(96, 165, 250, 0.34);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(30, 64, 175, 0.2));
}

body[data-theme="dark"] .objective-card,
body[data-theme="dark"] .service-card,
body[data-theme="dark"] .account-summary-card,
body[data-theme="dark"] .payment-card,
body[data-theme="dark"] .purchase-history-card,
body[data-theme="dark"] .verify-card,
body[data-theme="dark"] .account-modal {
    background: linear-gradient(180deg, rgba(12, 22, 40, 0.96), rgba(10, 18, 33, 0.98));
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .objective-stats article,
body[data-theme="dark"] .purchase-item,
body[data-theme="dark"] .purchase-empty,
body[data-theme="dark"] .account-modal-note,
body[data-theme="dark"] .verify-field input,
body[data-theme="dark"] .account-field input,
body[data-theme="dark"] .payment-custom-input,
body[data-theme="dark"] .payment-quick-button,
body[data-theme="dark"] .account-dropdown-button {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(148, 163, 184, 0.14);
    color: var(--text-main);
}

body[data-theme="dark"] .account-mode-switch {
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .account-mode-button {
    color: var(--text-soft);
}

body[data-theme="dark"] .account-mode-button.is-active,
body[data-theme="dark"] .account-summary-action,
body[data-theme="dark"] .purchase-item-amount {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(56, 189, 248, 0.16));
    color: #dbeafe;
}

body[data-theme="dark"] .section h2,
body[data-theme="dark"] .service-card h3,
body[data-theme="dark"] .account-summary-card h3,
body[data-theme="dark"] .payment-card h3,
body[data-theme="dark"] .purchase-history-card h3,
body[data-theme="dark"] .account-modal h2,
body[data-theme="dark"] .verify-card h1,
body[data-theme="dark"] .account-field span,
body[data-theme="dark"] .verify-field span,
body[data-theme="dark"] .purchase-item-title {
    color: var(--text-main);
}

body[data-theme="dark"] .section p,
body[data-theme="dark"] .account-summary-text,
body[data-theme="dark"] .payment-card-text,
body[data-theme="dark"] .purchase-history-note,
body[data-theme="dark"] .account-modal-intro,
body[data-theme="dark"] .account-modal-note,
body[data-theme="dark"] .verify-intro,
body[data-theme="dark"] .purchase-item-meta,
body[data-theme="dark"] .purchase-empty,
body[data-theme="dark"] .objective-label,
body[data-theme="dark"] .objective-stats span {
    color: var(--text-soft);
}

body[data-theme="dark"] .objective-progress,
body[data-theme="dark"] .account-modal-note {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(56, 189, 248, 0.08));
    border-color: rgba(96, 165, 250, 0.18);
}

body[data-theme="dark"] .objective-progress-track,
body[data-theme="dark"] .services-sidebar-progress-bar,
body[data-theme="dark"] .hero-card-progress {
    background: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] footer {
    background: linear-gradient(180deg, #060c18, #040914);
}

footer {
    background: linear-gradient(180deg, #111827, #0b1220);
    color: #ffffff;
    position: relative;
    z-index: 100;
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .services-menu-button {
        left: 0;
        top: calc(50% + 3.125rem);
        width: 3rem;
        height: 7rem;
    }

    body.services-menu-open .services-menu-button {
        left: min(82vw, 320px);
    }

    .services-sidebar {
        top: 6.25rem;
        width: min(82vw, 320px);
        height: calc(100vh - 6.25rem);
        padding-top: 1.25rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem;
    }

    .header-tools {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 4.5rem;
    }

    .hero-copy,
    .hero-visual {
        justify-self: stretch;
        width: 100%;
    }

    .hero-metrics,
    .objective-stats,
    .objective-topline,
    .objective-progress-meta {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-metrics {
        display: grid;
    }

    .hero-visual {
        min-height: 27rem;
    }

    .hero-card-main,
    .hero-card-side {
        position: absolute;
        width: calc(100% - 1rem);
    }

    .hero-card-main {
        top: 1rem;
        left: 0.5rem;
    }

    .hero-card-side {
        right: 0.5rem;
        bottom: 1rem;
    }

    .objective-section {
        grid-template-columns: 1fr;
    }

    .account-space-grid,
    .purchase-history-header,
    .payment-custom-row,
    .purchase-item {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .payment-quick-actions {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 1.5rem;
    }

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