@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('./fonts/Gilroy-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

:root,
html[data-mz-theme="dark"] {
    --mz-bg-page: #000123;
    --mz-text: #ffffff;
    --mz-surface: #000244;
    --mz-elevated: #000244;
    --mz-surface-deep: #000000;
    --mz-surface-muted: #00011c;
    --mz-nav-pill: #000000;
    --mz-nav-inactive: #000244;
    --mz-lang-hover: #000366;
    --mz-border: rgba(255, 255, 255, 0.08);
    --mz-border-soft: rgba(255, 255, 255, 0.05);
    --mz-border-medium: rgba(255, 255, 255, 0.1);
    --mz-muted: rgba(255, 255, 255, 0.7);
    --mz-muted-2: rgba(255, 255, 255, 0.55);
    --mz-muted-3: rgba(255, 255, 255, 0.45);
    --mz-muted-4: rgba(255, 255, 255, 0.4);
    --mz-shadow-dropdown: 0 4px 20px rgba(0, 0, 0, 0.4);
    --mz-accent: #2cdd82;
    --mz-on-accent: #000000;
    --mz-radius: 12px;
    --mz-radius-lg: 20px;
    --mz-input-bg: #000000;
    --mz-tooltip-bg: #0f172a;
    --mz-overlay-scrim: rgba(0, 1, 35, 0.88);
    --mz-pay-panel: rgba(0, 0, 0, 0.25);
}

html[data-mz-theme="light"] {
    --mz-bg-page: #f3f5f8;
    --mz-text: #0f172a;
    --mz-surface: #ffffff;
    --mz-elevated: #f8f9fb;
    --mz-surface-deep: #f8f9fb;
    --mz-surface-muted: #ffffff;
    --mz-nav-pill: #cbd5e1;
    --mz-nav-inactive: #f1f5f9;
    --mz-lang-hover: #e2e8f0;
    --mz-border: rgba(15, 23, 42, 0.1);
    --mz-border-soft: rgba(15, 23, 42, 0.06);
    --mz-border-medium: rgba(15, 23, 42, 0.12);
    --mz-muted: rgba(15, 23, 42, 0.68);
    --mz-muted-2: rgba(15, 23, 42, 0.52);
    --mz-muted-3: rgba(15, 23, 42, 0.42);
    --mz-muted-4: rgba(15, 23, 42, 0.38);
    --mz-shadow-dropdown: 0 8px 28px rgba(15, 23, 42, 0.1);
    --mz-accent: #2cdd82;
    --mz-on-accent: #0f172a;
    --mz-input-bg: #f8fafc;
    --mz-tooltip-bg: #ffffff;
    --mz-overlay-scrim: rgba(15, 23, 42, 0.45);
    --mz-pay-panel: rgba(15, 23, 42, 0.06);
}

html {
    height: 100%;
}

body {
    background-color: var(--mz-bg-page);
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Gilroy', sans-serif;
    color: var(--mz-text);
}

header {
    flex-shrink: 0;
    padding: 20px 40px;
}

#mz-root {
    flex: 1 0 auto;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Navigation Pill */
.nav-pill {
    background: var(--mz-nav-pill);
    padding: 6px;
    border-radius: 100px;
    display: flex;
    gap: 6px;
    border: 1px solid var(--mz-border-soft);
}

.nav-item {
    padding: 8px 24px;
    border-radius: 100px;
    text-decoration: none;
    color: var(--mz-text);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-item.active {
    background: var(--mz-accent);
    color: var(--mz-on-accent);
}

.nav-item.inactive {
    background: var(--mz-nav-inactive);
}

.nav-pill .nav-item.inactive:hover {
    opacity: 1;
    background-image: linear-gradient(90deg, #237249, #2cdd82, #5ae99a, #2cdd82, #237249);
    background-size: 220% auto;
    animation: mz-nav-shimmer 2.2s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes mz-nav-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 220% center; }
}

/* Language Selector */
.lang-selector-wrapper {
    position: relative;
    display: inline-block;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--mz-surface);
    border: 1px solid var(--mz-border-medium);
    border-radius: 12px;
    min-width: 80px;
    padding: 8px 0;
    z-index: 1000;
    margin-top: 8px;
    box-shadow: var(--mz-shadow-dropdown);
}

.lang-selector-wrapper.active .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--mz-muted);
    text-decoration: none;
    font-size: 14px;
    font-family: 'Gilroy', sans-serif;
    transition: all 0.3s ease;
}

.lang-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-option:hover {
    background: var(--mz-border-soft);
    color: var(--mz-accent);
}

.lang-selector {
    background: var(--mz-surface);
    padding: 8px 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-selector:hover {
    background: var(--mz-lang-hover);
}

/* Main Hero Section */
.hero-section {
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 700px;
    gap: 15px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-main-card {
    background: var(--mz-surface);
    padding: 40px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-main-card h1 {
    font-size: 27px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-main-card h1 span {
    color: var(--mz-accent);
    font-size: 40px;
}

.hero-main-card p {
    font-size: 16px;
    color: var(--mz-muted);
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.btn {
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--mz-accent);
    color: var(--mz-on-accent);
}

.btn-secondary {
    border: 1px solid var(--mz-accent);
    color: var(--mz-text);
}

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

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-card {
    background: var(--mz-surface-deep);
    padding: 16px 20px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid var(--mz-border-soft);
}

.feature-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

html[data-mz-theme="light"] .feature-icon svg path,
html[data-mz-theme="light"] .feature-icon svg circle,
html[data-mz-theme="light"] .feature-icon svg rect,
html[data-mz-theme="light"] .feature-icon svg polygon {
    fill: var(--mz-text);
}

html[data-mz-theme="light"] .feature-icon svg path[fill="none"],
html[data-mz-theme="light"] .feature-icon svg circle[fill="none"] {
    fill: none;
    stroke: var(--mz-text);
}

html[data-mz-theme="light"] .feature-icon svg line,
html[data-mz-theme="light"] .feature-icon svg polyline,
html[data-mz-theme="light"] .feature-icon svg ellipse,
html[data-mz-theme="light"] .feature-icon svg [stroke]:not([stroke="none"]) {
    stroke: var(--mz-text);
}

html[data-mz-theme="light"] .feature-icon-tor svg circle:first-of-type {
    fill: transparent !important;
}

html[data-mz-theme="light"] .feature-icon-tor svg path {
    fill: var(--mz-text) !important;
}

.feature-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 13px;
    color: var(--mz-muted-2);
    line-height: 1.3;
}

/* Hero Images */
.hero-images {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 15px;
}

.hero-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 535px;
    /* Adjusted height to match content */
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Advantages Section */
.advantages-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.advantages-section h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.advantages-section h2 span {
    color: var(--mz-accent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    text-align: left;
}

.advantages-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.adv-card {
    background: var(--mz-surface);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.adv-card:hover {
    transform: translateY(-5px);
}

.adv-card-large {
    background: var(--mz-surface-muted);
    padding: 40px;
    flex: 1;
}

.adv-icon-sm {
    width: 40px;
    height: 40px;
}

.adv-icon-lg {
    width: 80px;
    height: 80px;
}

.adv-card h3 {
    font-size: 22px;
    font-weight: 700;
}

.adv-card p {
    font-size: 14px;
    color: var(--mz-muted-2);
    line-height: 1.5;
}

/* Steps Section */
.steps-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.steps-section h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.steps-section h2 span {
    color: var(--mz-accent);
}

.steps-container {
    background: var(--mz-surface-deep);
    border-radius: 15px;
    display: flex;
    padding: 60px 40px;
    text-align: left;
    border: 1px solid var(--mz-border-soft);
}

.step-item {
    flex: 1;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--mz-border-soft);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--mz-accent);
}

.step-item h3 {
    font-size: 28px;
    font-weight: 700;
}

.step-item p {
    font-size: 14px;
    color: var(--mz-muted-2);
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.faq-section h2 {
    font-size: 40px;
    margin-bottom: 50px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

details {
    background: var(--mz-bg-page);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--mz-border-medium);
}

details[open] {
    background: var(--mz-surface);
}

summary {
    padding: 24px 30px;
    list-style: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--mz-text);
    border-bottom: 2px solid var(--mz-text);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

details[open] summary::after {
    transform: rotate(-135deg);
}

.faq-content {
    padding: 0 30px 24px 30px;
    font-size: 16px;
    color: var(--mz-muted-2);
    line-height: 1.6;
}

/* Footer */
footer {
    flex-shrink: 0;
    background: var(--mz-surface-deep);
    padding: 30px 40px;
    border-top: 1px solid var(--mz-border-soft);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 700;
}

.copyright {
    font-size: 14px;
    color: var(--mz-muted-4);
}

.footer-center {
    align-self: center;
    text-align: center;
}

.signing-address {
    font-size: 14px;
    color: var(--mz-muted-4);
}

.footer-right nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.footer-right a {
    color: var(--mz-muted-2);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-right a:hover,
.footer-right a.active {
    color: var(--mz-text);
    font-weight: 700;
}

/* Support Page New Styles */
.support-page {
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    padding: 80px 20px;
}

.support-container {
    max-width: 1000px;
    width: 100%;
}

.support-main-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--mz-text);
    margin-bottom: 50px;
    text-align: left;
}

.support-form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.support-field-group {
    margin-bottom: 30px;
}

.support-field-group label {
    display: block;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--mz-text);
    margin-bottom: 15px;
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.support-select {
    width: 100%;
    background: var(--mz-input-bg);
    border: 1px solid var(--mz-border-medium);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.support-select option {
    background-color: #ffffff;
    color: #000000;
}

.select-chevron {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Input with Button */
.input-with-btn {
    display: flex;
    gap: 15px;
    background: var(--mz-input-bg);
    border: 1px solid var(--mz-border-medium);
    border-radius: 12px;
    padding: 8px 8px 8px 20px;
    align-items: center;
}

.support-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    padding: 10px 0;
}

.support-input:focus {
    outline: none;
}

.field-action-btn {
    background: var(--mz-accent);
    color: var(--mz-on-accent);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.field-action-btn:hover {
    opacity: 0.9;
}

/* File Upload */
.file-upload-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    cursor: pointer;
}

.file-name {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    color: var(--mz-muted-3);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Textarea */
.support-textarea {
    width: 100%;
    min-height: 250px;
    background: var(--mz-input-bg);
    border: 1px solid var(--mz-border-medium);
    border-radius: 12px;
    padding: 20px;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
    box-sizing: border-box;
}

.support-textarea:focus {
    outline: none;
    border-color: rgba(44, 221, 130, 0.35);
}

/* Footer & Submit */
.support-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.support-submit-btn {
    padding: 18px 60px;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .support-form-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.chevron-down {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.info-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.estimated-arrival {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: left;
    margin: 5px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 10px 0;
    position: relative;
}

/* Не display:none — иначе required нельзя сфокусировать при валидации */
.checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--mz-accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid var(--mz-on-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

.checkbox-wrapper input:checked + .checkmark::after {
    display: block;
}

.checkbox-label {
    font-size: 14px;
    color: var(--mz-muted);
}

.terms-link {
    color: var(--mz-accent);
    text-decoration: underline;
}

.terms-link:hover {
    opacity: 0.8;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
    padding: 14px 24px;
    font-size: 16px;
}

.ricochet-btn {
    width: auto;
    min-width: 180px;
    margin-top: 5px;
    padding: 12px 40px;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 500;
    align-self: center;
}

/* Status Page */
.status-page {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
}

.status-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 35px 50px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-form input {
    width: 100%;
    background: var(--mz-input-bg);
    border: 1px solid var(--mz-border-medium);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 5px;
}

.status-form select {
    width: 100%;
    background: var(--mz-input-bg);
    border: 1px solid var(--mz-border-medium);
    border-radius: 12px;
    padding: 18px 20px;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
}

.status-form select option {
    background-color: #ffffff;
    color: #000000;
}

.status-card h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 8px;
}

.status-subtitle {
    font-size: 14px;
    color: var(--mz-muted-2);
    margin-bottom: 20px;
}

.status-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    text-align: left;
    font-size: 13px;
    color: var(--mz-muted);
    margin-bottom: -5px;
}

.status-btn {
    width: auto;
    min-width: 120px;
    margin-top: 5px;
    padding: 10px 35px;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 500;
    align-self: center;
}

/* About Page */
.about-page {
    min-height: calc(100vh - 120px);
    padding: 30px 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    row-gap: 60px;
    margin-bottom: 20px;
}

.about-grid .about-img:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
}

.about-grid .about-img:nth-child(3) {
    grid-row: 2;
    grid-column: 1;
    height: 350px;
}

.about-grid .about-side-cards {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.about-card {
    background: var(--mz-surface);
    border-radius: 20px;
    padding: 15px;
    min-height: 140px;
}

.about-text-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--mz-text);
}

.about-text-card p {
    font-size: 14px;
    color: var(--mz-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-side-cards {
    display: flex;
    gap: 10px;
}

.about-small-card {
    background: var(--mz-surface-deep);
    border-radius: 20px;
    padding: 18px;
    border: 1px solid var(--mz-border-soft);
    min-height: 280px;
}

.about-small-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mz-text);
    margin-bottom: 8px;
}

.about-small-card p {
    font-size: 13px;
    color: var(--mz-muted-2);
    line-height: 1.4;
    margin-bottom: 6px;
}

.about-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Header Extra */
.nav-pill {
    margin-left: 100px;
    margin-right: 20px;
}

.tor-mirror-label {
    font-size: 12px;
    color: var(--mz-muted-4);
    font-family: 'Gilroy', sans-serif;
    margin-left: auto;
    margin-right: 5px;
}

.tor-mirror {
    font-size: 12px;
    color: var(--mz-accent);
    font-family: 'Gilroy', sans-serif;
    margin-right: 40px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tor-mirror:hover {
    opacity: 0.8;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* Footer Extra */
.alt-domain {
    font-size: 13px;
    color: var(--mz-muted-2);
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.alt-domain:hover {
    color: var(--mz-text);
    opacity: 1;
}

.signing-address-link {
    color: var(--mz-muted-2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.signing-address-link:hover {
    color: var(--mz-text);
}

.footer-center {
    text-align: center;
}

/* FAQ Page */
.faq-page {
    min-height: calc(100vh - 120px);
    padding: 40px 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.faq-page h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.faq-item {
    background: var(--mz-surface-deep);
    border-radius: 12px;
    padding: 15px 25px;
    text-align: left;
    border: 1px solid var(--mz-border-soft);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--mz-text);
    margin-bottom: 5px;
}

.faq-item p {
    font-size: 13px;
    color: var(--mz-muted-2);
    line-height: 1.5;
}

.faq-buttons {
    display: flex;
    justify-content: center;
}

/* Mix Page (Order Creation) */
.mix-page {
    min-height: calc(100vh - 120px);
    padding: 40px 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.mix-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mix-card {
    background: var(--mz-surface);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--mz-border-soft);
}

html[data-mz-theme="light"] .mix-card,
html[data-mz-theme="light"] .adv-card,
html[data-mz-theme="light"] .hero-main-card,
html[data-mz-theme="light"] .feature-card {
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
}

html[data-mz-theme="light"] .adv-card-large {
    border: 1px solid var(--mz-border-medium);
    border-left: 3px solid var(--mz-accent);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.09);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--mz-text);
}

.add-address, .shuffle-link {
    font-size: 14px;
    color: var(--mz-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.add-address:hover, .shuffle-link:hover {
    opacity: 0.8;
}

.address-input-row {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--mz-input-bg);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--mz-border-soft);
}

.address-number {
    color: var(--mz-muted-3);
    font-size: 14px;
    font-weight: 700;
}

.mix-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--mz-text);
    font-family: 'Gilroy', sans-serif;
    font-size: 15px;
    outline: none;
}

.address-percent {
    color: var(--mz-text);
    font-size: 14px;
    font-weight: 700;
}

.address-input-group {
    margin-bottom: 15px;
}

.delete-address {
    color: #FF4B2B;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
    margin-left: 20px;
    transition: opacity 0.3s;
}

.delete-address:hover {
    opacity: 0.8;
}

/* Distribution Slider */
.distribution-section {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.dist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dist-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--mz-text);
}

.dist-min {
    font-size: 13px;
    color: var(--mz-muted-3);
}

.multi-range-container {
    position: relative;
    height: 40px;
    margin: 20px 0;
    padding: 0 10px;
}

.range-track {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 6px;
    background: #2CDD82;
    transform: translateY(-50%);
    border-radius: 3px;
}

.range-handle {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.range-labels-nums {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
}

.range-label-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--mz-text);
    position: absolute;
    transform: translateX(-50%);
}

.dist-help {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 15px;
}

/* Range Slider Styles */
.range-slider-wrapper {
    margin-bottom: 10px;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    margin: 20px 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #2CDD82;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(44, 221, 130, 0.4);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.fee-value, .delay-value {
    color: var(--mz-text);
    font-size: 15px;
    font-weight: 700;
}

.fee-speed {
    color: #FFA500;
    font-size: 14px;
    font-weight: 700;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(44, 221, 130, 0.05);
    border: 1px solid rgba(44, 221, 130, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.green-text {
    color: #2CDD82;
    font-weight: 700;
}

.mix-bottom-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.view-calculator {
    font-size: 14px;
    color: var(--mz-text);
    cursor: pointer;
    text-decoration: underline;
}

.random-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tooltip Styles */
.tooltip-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 25px; /* Увеличил отступ еще больше */
}

.tooltip-container .info-icon {
    color: #2CDD82; /* Green color */
}

.tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: #000000;
    color: #ffffff;
    text-align: left;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 13px;
    line-height: 1.5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.control-label {
    font-size: 14px;
    color: var(--mz-text);
}

.mix-terms {
    margin: 10px 0;
}

.mix-proceed-btn {
    width: 160px;
    padding: 14px 0;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 20px;
}

.toggle-switch .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .slider {
    background-color: #2CDD82;
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(16px);
}

/* Payment Page Styles */
.payment-page {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
}

.payment-container {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Растягивает дочерние элементы по ширине */
}

.payment-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.letter-guarantee-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.letter-btn {
    background: #2CDD82; /* Зеленый в стиле сайта */
    color: #000000; /* Черный текст для лучшей читаемости на зеленом */
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

.payment-main-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.qr-info-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.qr-code-box {
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    width: 170px;
    height: 170px;
}

.qr-code-box img {
    width: 100%;
    height: 100%;
}

.payment-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-info-list li {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.payment-info-list li::before {
    content: '•';
    color: #2CDD82; /* Зеленый в стиле сайта */
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 14px;
}

.address-section {
    margin-top: 20px;
}

.address-label {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.address-copy-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.address-text {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    word-break: break-all;
}

.copy-icon-btn {
    background: none;
    border: none;
    color: #2CDD82; /* Зеленый в стиле сайта */
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.2s;
}

/* Status Card */
.status-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    margin: 0 auto;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #2CDD82;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.status-label {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.status-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-family: 'Gilroy', sans-serif;
}

.status-message {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    text-align: left; /* Alignment change to match header */
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.step-dot {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
}

.step-text {
    font-family: 'Gilroy', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.step-item.active .step-dot {
    background: var(--mz-text);
    border-color: var(--mz-text);
    color: var(--mz-on-accent);
}

.step-item.active .step-text {
    color: var(--mz-text);
}

/* Calculator Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--mz-surface);
    width: 90%;
    max-width: 500px;
    border-radius: 25px;
    padding: 30px;
    position: relative;
    border: 1px solid var(--mz-border-soft);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
}

.close-modal {
    width: 28px;
    height: 28px;
    background: #800080; /* Purple color from screenshot */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 0.8;
}

.calculator-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-field label {
    font-size: 16px;
    color: var(--mz-text);
    font-weight: 500;
}

.calc-field input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--mz-border-medium);
    color: var(--mz-text);
    font-size: 20px;
    font-family: 'Gilroy', sans-serif;
    padding: 10px 0;
    outline: none;
}

.calc-result {
    font-size: 20px;
    color: var(--mz-muted-2);
    padding: 10px 0;
    border-bottom: 1px solid var(--mz-border-medium);
}

/* Переключатель темы (шапка) */
.mz-theme-toggle {
    margin-left: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--mz-border-medium);
    background: var(--mz-surface);
    color: var(--mz-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mz-theme-toggle:hover {
    border-color: var(--mz-accent);
    color: var(--mz-accent);
}