/* ============================================================
   W6W — Global Styles
   ============================================================ */

:root {
    --bg: #070a0f;
    --bg-soft: #0c1118;
    --bg-card: #0e141d;
    --bg-card-hover: #121a25;
    --bg-input: #080c12;

    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.14);

    --text: #f2f5f8;
    --text-secondary: #a7b0bc;
    --text-muted: #687382;

    --green: #19e68c;
    --green-dark: #0d9d60;
    --green-glow: rgba(25, 230, 140, 0.7);

    --blue: #4c8dff;
    --danger: #ff5c6c;
    --danger-glow: rgba(255, 92, 108, 0.7);

    --max-width: 1180px;
    --radius: 16px;
    --radius-small: 10px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================
   ФОН С ВОДЯНЫМ ЗНАКОМ (ГИСТОГРАММА + ГРАФИК)
   ============================================================ */

body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Водяной знак — текст + график */
body::before {
    content: '📊 w6w AUTOTRADING';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Roboto Mono', monospace;
    font-size: 140px;
    font-weight: 800;
    color: rgba(25, 230, 140, 0.025);
    letter-spacing: 12px;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

body::after {
    content: '📈';
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 220px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Все контентные блоки поверх водяного знака */
header,
main,
footer,
.container,
.hero,
.section,
.dashboard-main,
.auth-main,
.instructions-hero,
.instructions-section,
.pricing-hero,
.pricing-section,
.cta-section,
.dashboard-container,
.auth-container,
.instructions-container,
.pricing-container {
    position: relative;
    z-index: 1;
}

/* ============================================================
   БАЗОВЫЕ СТИЛИ
   ============================================================ */

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

/* ============================================================
   КНОПКИ
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-small {
    padding: 9px 16px;
    font-size: 13px;
}

.btn-medium {
    padding: 12px 20px;
    font-size: 14px;
}

.btn-large {
    min-height: 54px;
    padding: 0 28px;
    font-size: 15px;
}

.btn-primary {
    background: var(--green);
    color: #06110c;
}

.btn-primary:hover {
    background: #39ee9f;
    box-shadow: 0 0 24px rgba(25, 230, 140, 0.25);
}

.btn-primary:disabled {
    background: #0d9d60;
    box-shadow: none;
}

.btn-outline {
    border-color: var(--border-bright);
    color: var(--text);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    border-color: var(--border);
    color: var(--text-secondary);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-bright);
    background: rgba(255, 255, 255, 0.02);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #ff6b7a;
    box-shadow: 0 0 24px rgba(255, 92, 108, 0.25);
}

.btn-success {
    background: var(--green);
    color: #06110c;
}

.btn-success:hover {
    background: #39ee9f;
    box-shadow: 0 0 24px rgba(25, 230, 140, 0.25);
}

/* ============================================================
   ХЕДЕР
   ============================================================ */

.site-header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 10, 15, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ============================================================
   ЛОГОТИП
   ============================================================ */

.logo-w6w {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-w6w .icon-w {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #19e68c, #4c8dff);
    border-radius: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #080b12;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(25, 230, 140, 0.25);
    font-family: 'Roboto Mono', monospace;
    transition: transform 0.2s ease;
}

.logo-w6w:hover .icon-w {
    transform: scale(1.05);
}

.logo-w6w .text-w {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-w6w .text-w .main-w {
    font-family: 'Roboto Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #19e68c;
    text-shadow: 0 0 30px rgba(25, 230, 140, 0.15);
    line-height: 1;
    display: flex;
    align-items: center;
}

.logo-w6w .text-w .main-w .cursor {
    display: inline-block;
    width: 2px;
    height: 0.85em;
    background: #19e68c;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

.logo-w6w .text-w .sub-w {
    font-size: 7px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7a8799;
    line-height: 1.2;
    margin-top: 2px;
    font-family: Inter, -apple-system, sans-serif;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .logo-w6w .icon-w {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .logo-w6w .text-w .main-w {
        font-size: 22px;
    }
    .logo-w6w .text-w .main-w .cursor {
        height: 0.8em;
    }
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a.active {
    color: var(--green);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ
   ============================================================ */

.mobile-menu-button {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-button span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border);
    background: rgba(7, 10, 15, 0.95);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-menu a {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--text);
}

.mobile-menu .mobile-register {
    color: var(--green);
    font-weight: 700;
}

/* ============================================================
   СТРАНИЦЫ АВТОРИЗАЦИИ
   ============================================================ */

.auth-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.auth-main::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(25, 230, 140, 0.055);
    filter: blur(100px);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
}

.auth-card {
    padding: 42px 40px 40px;
    border: 1px solid var(--border-bright);
    border-radius: 18px;
    background: rgba(14, 20, 29, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.auth-heading {
    text-align: center;
}

.auth-heading .eyebrow {
    justify-content: center;
}

.auth-heading h1 {
    margin-top: 14px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.auth-heading p {
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.auth-header-text {
    color: var(--text-muted);
    font-size: 11px;
}

.auth-header-actions {
    align-items: center;
}

.auth-footer {
    border-top: 1px solid var(--border);
}

.auth-footer .footer-bottom {
    min-height: 58px;
}

.auth-form {
    margin-top: 32px;
}

/* ============================================================
   ФОРМЫ
   ============================================================ */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--border-bright);
    border-radius: 9px;
    outline: none;
    background: var(--bg-input);
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    height: auto;
    min-height: 100px;
    padding: 12px 15px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(25, 230, 140, 0.65);
    box-shadow: 0 0 0 3px rgba(25, 230, 140, 0.08);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 92, 108, 0.08);
}

.form-hint {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.5;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.form-label-row label {
    margin-bottom: 0;
}

.form-link {
    color: var(--green);
    font-size: 10px;
    transition: opacity 0.2s ease;
}

.form-link:hover {
    opacity: 0.75;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 50px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--green);
}

.btn-submit {
    width: 100%;
    min-height: 52px;
    border: none;
}

.form-message {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
}

.form-message.error {
    display: block;
    border: 1px solid rgba(255, 92, 108, 0.25);
    background: rgba(255, 92, 108, 0.06);
    color: #ff8793;
}

.form-message.success {
    display: block;
    border: 1px solid rgba(25, 230, 140, 0.2);
    background: rgba(25, 230, 140, 0.06);
    color: var(--green);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 27px 0 17px;
    color: var(--text-muted);
    font-size: 10px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--border);
}

.auth-divider span {
    white-space: nowrap;
}

.auth-secondary-button {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.auth-secondary-button:hover {
    color: var(--text);
    border-color: var(--border-bright);
    background: rgba(255, 255, 255, 0.025);
}

.auth-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--text-muted);
    text-align: center;
    font-size: 10px;
}

.auth-security span {
    font-size: 13px;
}

.auth-security p {
    max-width: 320px;
}

/* ============================================================
   УТИЛИТЫ
   ============================================================ */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green-glow);
    flex-shrink: 0;
}

.large-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #777;
    flex-shrink: 0;
}

/* ============================================================
   ГЛАВНАЯ — HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 670px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-glow-one {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -180px;
    background: rgba(25, 230, 140, 0.09);
}

.hero-glow-two {
    width: 450px;
    height: 450px;
    right: -180px;
    bottom: -200px;
    background: rgba(76, 141, 255, 0.08);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
    padding: 30px 0;
}

.hero h1 {
    margin-top: 22px;
    font-size: clamp(46px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.hero-arrow {
    color: var(--green);
    font-weight: 400;
}

.hero-subtitle {
    max-width: 590px;
    margin-top: 28px;
    font-size: 22px;
    line-height: 1.4;
    color: var(--text);
}

.hero-description {
    max-width: 570px;
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 12px;
}

.hero-note span {
    color: var(--green);
    margin-right: 5px;
}

.hero-terminal {
    display: flex;
    justify-content: center;
}

.terminal-window {
    width: 100%;
    max-width: 470px;
    border: 1px solid var(--border-bright);
    border-radius: 14px;
    overflow: hidden;
    background: #090d13;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-3deg);
}

.terminal-header {
    height: 46px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #343b45;
}

.terminal-dots span:first-child {
    background: #e25f67;
}

.terminal-dots span:nth-child(2) {
    background: #d8a73c;
}

.terminal-dots span:nth-child(3) {
    background: #39bd73;
}

.terminal-title {
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.terminal-body {
    padding: 28px;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 13px;
}

.terminal-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 7px 0;
}

.terminal-muted {
    color: var(--text-muted);
}

.terminal-url {
    color: #8ab4ff;
}

.terminal-buy {
    color: var(--green);
    font-weight: 700;
}

.terminal-success {
    color: var(--green);
}

.terminal-separator {
    height: 1px;
    margin: 15px 0;
    background: var(--border);
}

.terminal-time {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 10px;
}

/* ============================================================
   ГЛАВНАЯ — TRUST BAR
   ============================================================ */

.trust-bar {
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.trust-inner {
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.trust-item strong {
    font-size: 13px;
}

.trust-item span {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-arrow {
    color: var(--green);
    font-size: 18px;
}

/* ============================================================
   ГЛАВНАЯ — СЕКЦИИ
   ============================================================ */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    margin-top: 15px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.section-heading p {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 16px;
}

/* ============================================================
   ГЛАВНАЯ — FEATURES
   ============================================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-card {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(25, 230, 140, 0.18);
    border-radius: 10px;
    background: rgba(25, 230, 140, 0.07);
    color: var(--green);
    font-size: 20px;
}

.feature-card h3 {
    margin-top: 28px;
    font-size: 17px;
}

.feature-card p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

/* ============================================================
   ГЛАВНАЯ — HOW IT WORKS
   ============================================================ */

.how-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.step:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.step-number {
    color: var(--green);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.step h3 {
    margin-top: 35px;
    font-size: 16px;
}

.step p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

/* ============================================================
   ГЛАВНАЯ — CTA
   ============================================================ */

.cta-section {
    padding: 80px 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 55px;
    border: 1px solid rgba(25, 230, 140, 0.18);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(25, 230, 140, 0.08), rgba(76, 141, 255, 0.04));
}

.cta-card h2 {
    max-width: 650px;
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.cta-card p {
    margin-top: 12px;
    color: var(--text-secondary);
}

/* ============================================================
   ФУТЕР
   ============================================================ */

.site-footer {
    border-top: 1px solid var(--border);
    background: #05080c;
}

.footer-inner {
    padding: 60px 0;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links h4 {
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--text);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
}

.footer-main .footer-bottom {
    border-top: 1px solid var(--border);
}

/* ============================================================
   СТРАНИЦА ТАРИФОВ
   ============================================================ */

.pricing-hero {
    padding: 90px 20px 55px;
    text-align: center;
}

.pricing-heading {
    max-width: 720px;
    margin: 0 auto;
}

.pricing-heading h1 {
    margin-top: 15px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.pricing-heading h1 span {
    color: var(--green);
}

.pricing-heading p {
    max-width: 580px;
    margin: 20px auto 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.pricing-section {
    padding: 20px 20px 100px;
}

.pricing-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(350px, 460px) 1fr;
    gap: 70px;
    align-items: start;
}

.pricing-card {
    position: relative;
    padding: 36px;
    border: 1px solid var(--border-bright);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(25, 230, 140, 0.07), rgba(14, 20, 29, 0.96) 35%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}

.pricing-card.featured {
    border-color: rgba(25, 230, 140, 0.35);
}

.pricing-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.pricing-label {
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.pricing-card h2 {
    margin-top: 8px;
    font-size: 24px;
}

.pricing-badge {
    padding: 6px 9px;
    border: 1px solid rgba(25, 230, 140, 0.25);
    border-radius: 5px;
    color: var(--green);
    background: rgba(25, 230, 140, 0.07);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.price {
    display: flex;
    align-items: baseline;
    margin-top: 30px;
}

.price-number {
    font-size: 62px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -3px;
}

.price-currency {
    margin-left: 7px;
    font-size: 28px;
    font-weight: 700;
}

.price-period {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 11px;
}

.pricing-divider {
    height: 1px;
    margin: 27px 0;
    background: var(--border);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 12px;
}

.features-list .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(25, 230, 140, 0.1);
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
}

.pricing-button {
    width: 100%;
    margin-top: 12px;
    min-height: 52px;
    justify-content: center;
}

.pricing-note {
    margin-top: 15px;
    color: var(--text-muted);
    text-align: center;
    font-size: 9px;
    line-height: 1.5;
}

.pricing-info {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding-top: 8px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.info-card:hover {
    border-color: var(--border-bright);
    background: rgba(255, 255, 255, 0.025);
}

.info-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(25, 230, 140, 0.18);
    border-radius: 8px;
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
}

.info-card h3 {
    font-size: 13px;
}

.info-card p {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.55;
}

.pricing-faq {
    padding: 90px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.01);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.faq-item {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.012);
    transition: border-color 0.25s ease;
}

.faq-item:hover {
    border-color: var(--border-bright);
}

.faq-item h3 {
    font-size: 13px;
    line-height: 1.4;
}

.faq-item p {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.65;
}

/* ============================================================
   ЛИЧНЫЙ КАБИНЕТ
   ============================================================ */

.dashboard-page {
    min-height: 100vh;
}

.dashboard-main {
    padding: 65px 20px 100px;
}

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.dashboard-heading h1 {
    margin-top: 10px;
    font-size: 38px;
    letter-spacing: -1.5px;
}

.dashboard-heading p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 12px;
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text-muted);
    font-size: 10px;
    white-space: nowrap;
}

.dashboard-section {
    margin-bottom: 42px;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.section-label {
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.section-title-row h2 {
    margin-top: 7px;
    font-size: 21px;
    letter-spacing: -0.5px;
}

.dashboard-user {
    max-width: 170px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   КАРТОЧКА ПОДПИСКИ
   ============================================================ */

.subscription-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 27px 30px;
    border: 1px solid var(--border-bright);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.015);
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 13px;
}

.subscription-status strong {
    display: block;
    color: var(--text);
    font-size: 15px;
}

.subscription-status span:last-child {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 10px;
}

.subscription-description {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 11px;
}

.subscription-action .btn {
    min-width: 190px;
    justify-content: center;
}

/* ============================================================
   ПАНЕЛИ В ЛИЧНОМ КАБИНЕТЕ
   ============================================================ */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 45px;
}

.dashboard-panel {
    min-height: 330px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.012);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.panel-header h2 {
    margin-top: 7px;
    font-size: 20px;
}

.panel-lock {
    opacity: 0.5;
    font-size: 14px;
}

.connection-status {
    padding: 5px 8px;
    border-radius: 5px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    font-size: 8px;
}

.locked-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    text-align: center;
}

.locked-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    opacity: 0.7;
}

.locked-content h3 {
    font-size: 13px;
}

.locked-content p {
    max-width: 270px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.text-button {
    display: inline-block;
    margin-top: 15px;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.text-button:hover {
    opacity: 0.75;
}

/* ============================================================
   WEBHOOK
   ============================================================ */

.webhook-content {
    padding-top: 20px;
}

.webhook-url-box {
    padding: 16px;
    border: 1px solid rgba(25, 230, 140, 0.2);
    border-radius: 10px;
    background: rgba(25, 230, 140, 0.04);
}

.webhook-label {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.webhook-url-box code {
    display: block;
    color: var(--green);
    font-family: monospace;
    font-size: 11px;
    word-break: break-all;
    margin-bottom: 12px;
}

.webhook-url-box .btn {
    font-size: 10px;
}

.webhook-info {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 9px;
}

/* ============================================================
   НАСТРОЙКИ БРОКЕРА
   ============================================================ */

.broker-content {
    padding-top: 20px;
}

.broker-description p {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
}

.broker-fields {
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.broker-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.broker-field:last-child {
    border-bottom: none;
}

.broker-field span {
    color: var(--text-muted);
    font-size: 9px;
}

.broker-field strong {
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 500;
}

.broker-button {
    width: 100%;
    margin-top: 15px;
    justify-content: center;
}

/* ============================================================
   QUICK START
   ============================================================ */

.quick-start-section {
    margin-bottom: 0;
}

.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.quick-card {
    min-height: 160px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.012);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.quick-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.quick-number {
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.quick-card h3 {
    margin-top: 18px;
    font-size: 12px;
}

.quick-card p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.6;
}

/* ============================================================
   СТРАНИЦА ПЛАТЕЖЕЙ
   ============================================================ */

.payment-summary {
    margin-bottom: 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 11px;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-total {
    background: rgba(25, 230, 140, 0.05);
    color: var(--text);
    font-weight: 700;
}

.payment-total strong {
    color: var(--green);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-method:hover {
    border-color: var(--border-bright);
    background: rgba(255, 255, 255, 0.02);
}

.payment-method input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--green);
    cursor: pointer;
    flex-shrink: 0;
}

.payment-method input[type="radio"]:checked+span {
    color: var(--green);
}

.payment-method:has(input:checked) {
    border-color: rgba(25, 230, 140, 0.4);
    background: rgba(25, 230, 140, 0.05);
}

.payment-method span {
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.card-details {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.012);
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 9px;
    text-align: center;
}

.payment-security span {
    font-size: 12px;
}

/* ============================================================
   СТРАНИЦА ИНСТРУКЦИИ
   ============================================================ */

.instructions-hero {
    padding: 85px 20px 70px;
    border-bottom: 1px solid var(--border);
}

.instructions-hero-inner {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: center;
}

.instructions-hero h1 {
    max-width: 650px;
    margin-top: 15px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.instructions-hero h1 span {
    color: var(--green);
}

.instructions-hero p {
    max-width: 600px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.75;
}

.flow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 9px;
    white-space: nowrap;
}

.flow-node span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 800;
}

.flow-node-main span {
    border-color: rgba(25, 230, 140, 0.4);
    background: rgba(25, 230, 140, 0.08);
    color: var(--green);
}

.flow-line {
    width: 35px;
    height: 1px;
    background: var(--border-bright);
}

.instructions-section {
    padding: 80px 20px;
}

.instructions-container {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 65px;
}

.instructions-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
}

.instructions-sidebar-title {
    margin-bottom: 16px;
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.instructions-sidebar a {
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 9px;
    transition: color 0.2s ease;
}

.instructions-sidebar a:hover {
    color: var(--green);
}

.instructions-content {
    min-width: 0;
}

.instruction-step {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 25px;
    padding-bottom: 65px;
    margin-bottom: 65px;
    border-bottom: 1px solid var(--border);
}

.instruction-step:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.instruction-step .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(25, 230, 140, 0.25);
    border-radius: 10px;
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
}

.step-body h2 {
    margin-top: 9px;
    font-size: 25px;
    letter-spacing: -0.5px;
}

.step-body>p {
    max-width: 650px;
    margin-top: 13px;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.7;
}

.instruction-box {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.012);
}

.instruction-box-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(25, 230, 140, 0.2);
    border-radius: 8px;
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
}

.instruction-box strong {
    font-size: 11px;
}

.instruction-box p {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.6;
}

.warning-box,
.success-box {
    margin: 23px 0;
    padding: 17px;
    border-radius: 9px;
}

.warning-box {
    border: 1px solid rgba(245, 180, 60, 0.2);
    background: rgba(245, 180, 60, 0.035);
}

.warning-title,
.success-title {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.warning-title {
    color: #e9ad45;
}

.warning-box p,
.success-box p {
    margin-top: 7px;
    color: var(--text-secondary);
    font-size: 9px;
    line-height: 1.6;
}

.success-box {
    border: 1px solid rgba(25, 230, 140, 0.2);
    background: rgba(25, 230, 140, 0.035);
}

.success-title {
    color: var(--green);
}

.small-note {
    color: var(--text-muted) !important;
    font-size: 9px !important;
}

.webhook-example {
    margin: 25px 0;
    overflow: hidden;
    border: 1px solid rgba(25, 230, 140, 0.25);
    border-radius: 9px;
    background: #090d12;
}

.webhook-example-header {
    display: flex;
    justify-content: space-between;
    padding: 9px 13px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1px;
}

.webhook-example-header span:last-child {
    color: var(--green);
}

.webhook-example code {
    display: block;
    padding: 18px 15px;
    overflow-x: auto;
    color: var(--green);
    font-family: monospace;
    font-size: 10px;
    white-space: nowrap;
}

.tradingview-steps {
    margin-top: 25px;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
}

.tradingview-steps div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 10px;
}

.tradingview-steps div:last-child {
    border-bottom: none;
}

.tradingview-steps span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(25, 230, 140, 0.08);
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
}

.subheading {
    margin-top: 28px;
    font-size: 13px;
}

.code-block {
    margin-top: 12px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #080c11;
}

.code-block pre {
    margin: 0;
    padding: 18px;
    color: #b8c7d5;
    font-family: monospace;
    font-size: 10px;
    line-height: 1.7;
}

.test-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 25px 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.012);
}

.test-flow div:not(.test-arrow) {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.test-flow strong {
    color: var(--text-secondary);
    font-size: 10px;
}

.test-flow span {
    color: var(--text-muted);
    font-size: 8px;
}

.test-arrow {
    color: var(--green);
    font-size: 16px;
}

.instructions-cta {
    padding: 30px 20px 90px;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 1024px) {
    .hero-grid {
        gap: 50px;
    }
    .pricing-layout {
        gap: 40px;
    }
}

@media (max-width: 900px) {

    .main-nav,
    .header-actions {
        display: none;
    }
    .mobile-menu-button {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 90px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-content {
        max-width: 700px;
    }
    .terminal-window {
        transform: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .quick-start-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 520px;
    }
    .pricing-info {
        padding-top: 0;
    }

    .instructions-hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .flow-visual {
        justify-content: flex-start;
    }

    .instructions-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .instructions-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0 18px;
    }
    .instructions-sidebar-title {
        width: 100%;
    }
    .instructions-sidebar a {
        border-bottom: none;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 35px;
    }

    .dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .subscription-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .subscription-action,
    .subscription-action .btn {
        width: 100%;
    }

    .body::before {
        font-size: 80px;
        letter-spacing: 6px;
    }
    .body::after {
        font-size: 120px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .header-inner {
        height: 68px;
    }

    .hero {
        padding: 70px 0;
    }
    .hero h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-inner {
        gap: 14px;
    }
    .trust-item strong {
        font-size: 11px;
    }
    .trust-arrow {
        font-size: 12px;
    }

    .section {
        padding: 75px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 50px 0;
    }
    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }
    .cta-card .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-links div:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 3px;
        padding: 15px 0;
    }

    .auth-main {
        padding: 50px 14px;
        align-items: flex-start;
    }
    .auth-card {
        padding: 30px 22px;
    }
    .auth-header-text {
        display: none;
    }
    .auth-heading h1 {
        font-size: 27px;
    }

    .pricing-hero {
        padding-top: 65px;
    }
    .pricing-card {
        padding: 27px 22px;
    }
    .price-number {
        font-size: 52px;
    }
    .pricing-badge {
        font-size: 7px;
    }

    .dashboard-main {
        padding: 45px 14px 70px;
    }
    .dashboard-heading h1 {
        font-size: 30px;
    }
    .subscription-card {
        padding: 22px;
    }
    .dashboard-panel {
        padding: 21px;
    }
    .quick-start-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-user {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .payment-row {
        font-size: 10px;
        padding: 10px 12px;
    }

    .instructions-hero {
        padding-top: 55px;
    }
    .instructions-hero h1 {
        font-size: 37px;
    }
    .instructions-section {
        padding-top: 55px;
    }
    .instruction-step {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .instruction-step .step-number {
        width: 40px;
        height: 40px;
    }
    .step-body h2 {
        font-size: 22px;
    }
    .test-flow {
        flex-direction: column;
    }
    .test-arrow {
        transform: rotate(90deg);
    }

    .instructions-cta .cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }
    .cta-actions {
        width: 100%;
        flex-direction: column;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .body::before {
        font-size: 60px;
        letter-spacing: 4px;
    }
    .body::after {
        font-size: 80px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 34px;
        letter-spacing: -1.5px;
    }
    .auth-card {
        padding: 24px 16px;
    }

    .body::before {
        font-size: 40px;
        letter-spacing: 2px;
    }
    .body::after {
        font-size: 60px;
    }
}

/* ============================================================
   КУРСОР В ЛОГОТИПЕ (дубль для надежности)
   ============================================================ */

.logo-w6w .text-w .main-w .cursor {
    display: inline-block !important;
    width: 2px !important;
    height: 0.85em !important;
    background: #19e68c !important;
    margin-left: 2px !important;
    animation: blink 1s step-end infinite !important;
    vertical-align: text-bottom !important;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}