/* ============================================================
   login.css — Карточный цех: стили лендинга (landing page)
   Replaces Tailwind utility classes with semantic CSS + Bootstrap
   ============================================================ */

/* --- Custom Properties (Landing Palette — light theme) --- */
:root {
    --land-accent: #0A84FF;
    --land-text: #000;
    --land-text-muted: #6b7280;
    --land-text-dim: #9ca3af;
    --land-bg: #fff;
    --land-bg-card: #f9fafb;
    --land-border: #e5e7eb;
    --land-font: 'Inter', -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    --land-shadow-subtle: 0 1px 3px rgba(0,0,0,0.06);
    --land-shadow-float: 0 4px 20px rgba(0,0,0,0.08);
    --land-shadow-float-lg: 0 12px 40px rgba(0,0,0,0.12);
}

/* --- Body override for landing (logged-in mode) --- */
.login-page-override body,
body.landing-body {
    background: var(--land-bg);
    color: var(--land-text);
    font-family: var(--land-font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Logged-in overrides --- */
.login-logged-in-override {
    background: #fff !important;
    color: #000 !important;
}
.login-logged-in-override .header {
    background: rgba(255,255,255,0.85) !important;
}
.login-logged-in-wrapper {
    background: #fff;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}
/* Auth section for logged-in user: gradient instead of plain black */
.login-logged-in-wrapper .auth-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 0;
    max-width: none;
    margin: 0 0 60px;
    padding: 80px 40px;
    text-align: center;
}
.login-logged-in-wrapper .auth-section h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.login-logged-in-wrapper .auth-welcome-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.login-logged-in-wrapper .auth-welcome-actions .landing-btn {
    min-width: 160px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* --- Animations --- */
@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }
.anim-target { opacity: 0; transition: opacity 0.3s ease; }

/* --- Review slides --- */
.review-slide.hidden { display: none; }
.review-slide.active { display: block; }

/* --- Gradient accent text --- */
.gradient-text {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Step numbers with gradient --- */
.step-number {
    background: linear-gradient(135deg, #00b956 0%, #00D1FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.4;
}

/* ============================================================
   Landing Header
   ============================================================ */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--land-border);
}

.landing-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.landing-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    letter-spacing: -0.02em;
    color: var(--land-text);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.landing-burger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--land-text);
    cursor: pointer;
    padding: 4px;
}

/* Mobile menu */
.landing-mobile-menu {
    display: none;
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--land-border);
    padding: 12px;
    z-index: 40;
    flex-direction: column;
    gap: 4px;
}
.landing-mobile-menu.open { display: flex; }

.landing-mobile-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--land-text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.landing-mobile-menu a:hover {
    color: var(--land-text);
    background: var(--land-bg-card);
}

@media (max-width: 767.98px) {
    .landing-nav { display: none; }
    .landing-burger { display: block; }
}

/* ============================================================
   Buttons
   ============================================================ */
.landing-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 16px;
    background: var(--land-text);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--land-shadow-float);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.landing-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--land-shadow-float-lg);
    color: #fff;
}

.landing-btn-white {
    background: #fff;
    color: var(--land-text);
}
.landing-btn-white:hover {
    opacity: 0.9;
    color: var(--land-text);
}

.landing-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid var(--land-border);
    background: transparent;
    color: var(--land-text);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.landing-btn-outline:hover {
    border-color: var(--land-accent);
    color: var(--land-accent);
}

.landing-btn-outline-white {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}
.landing-btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ============================================================
   Hero Section
   ============================================================ */
.landing-hero {
    padding: 48px 20px 96px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.landing-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    padding: 0 8px;
}
.landing-hero .hero-subtitle {
    font-size: 18px;
    color: var(--land-text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.landing-hero .hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.landing-hero .hero-marketplaces {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    font-size: 18px;
    color: var(--land-text-dim);
}
.hero-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
    display: inline-block;
}

@media (min-width: 768px) {
    .landing-hero {
        padding: 64px 20px 112px;
    }
    .landing-hero h1 {
        font-size: 72px;
        padding: 0;
    }
}
@media (max-width: 767.98px) {
    .hero-marketplaces {
        gap: 12px;
        font-size: 15px;
    }
}

/* ============================================================
   Landing Section (generic)
   ============================================================ */
.landing-section {
    padding: 0 20px 96px;
}
.landing-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.landing-section-label {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--land-accent);
    letter-spacing: 0.01em;
    margin-bottom: 12px;
}
.landing-section-title {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    letter-spacing: -0.03em;
    margin-bottom: 48px;
}
@media (min-width: 768px) {
    .landing-section-title {
        font-size: 48px;
    }
}

/* ============================================================
   Landing Card (gray bg, rounded)
   ============================================================ */
.landing-card {
    background: var(--land-bg-card);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}
.landing-card:hover {
    transform: translateY(-4px);
}
.landing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.landing-card p {
    font-size: 14px;
    color: var(--land-text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Step card icon wrapper */
.landing-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--land-shadow-subtle);
    position: relative;
    z-index: 1;
}

/* Step number (absolute position) */
.landing-card .step-number {
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    user-select: none;
}

/* ============================================================
   Landing Grid (3 columns)
   ============================================================ */
.landing-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) {
    .landing-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================================
   Multi-Product Demo Section
   ============================================================ */
.multi-product-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--land-text-muted);
    max-width: 560px;
    margin: -32px auto 48px;
    line-height: 1.6;
}
.multi-product-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 700px;
    margin: 0 auto 48px;
}
.multi-product-befores {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}
.mp-before-item {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--land-border);
    box-shadow: var(--land-shadow-subtle);
    position: relative;
    background: var(--land-bg-card);
}
.mp-before-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mp-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--land-text-dim);
    background: var(--land-bg-card);
}
.mp-placeholder-active .mp-placeholder {
    display: flex;
}
.mp-placeholder-active img {
    display: none !important;
}
.multi-product-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--land-shadow-float);
}
.multi-product-after {
    flex-shrink: 0;
    width: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--land-border);
    box-shadow: var(--land-shadow-float-lg);
    position: relative;
    background: var(--land-bg-card);
}
.multi-product-after img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}
.mp-placeholder-after {
    aspect-ratio: 3/4;
    font-size: 15px;
}
.mp-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.mp-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--land-text);
}

@media (max-width: 576px) {
    .multi-product-demo {
        flex-direction: column;
        gap: 20px;
    }
    .multi-product-befores {
        flex-direction: row;
        gap: 8px;
    }
    .mp-before-item {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }
    .multi-product-arrow {
        transform: rotate(90deg);
        width: 40px;
        height: 40px;
    }
    .multi-product-after {
        width: 200px;
    }
    .mp-features {
        gap: 24px;
    }
    .mp-feature {
        font-size: 13px;
    }
}

/* ============================================================
   Before/After Section
   ============================================================ */
.before-after-row {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
@media (min-width: 768px) {
    .before-after-row { gap: 32px; }
}

.before-after-card {
    flex: 1;
    max-width: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--land-border);
    box-shadow: var(--land-shadow-float);
}
.before-after-card.after {
    box-shadow: var(--land-shadow-float-lg);
}
.before-after-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}
.before-after-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}
.before-after-badge-dark {
    background: rgba(0,0,0,0.6);
    color: #fff;
}
.before-after-badge-accent {
    background: var(--land-accent);
    color: #fff;
}

.before-after-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667EEA, #764BA2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--land-shadow-float);
}
@media (min-width: 768px) {
    .before-after-arrow {
        width: 64px;
        height: 64px;
    }
}

/* ============================================================
   Designer Pricing Table
   ============================================================ */
.designer-pricing-table {
    max-width: 800px;
    margin: 0 auto 32px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--land-border);
}
.designer-pricing-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.designer-pricing-table thead th {
    background: var(--land-bg-card);
    padding: 14px 16px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid var(--land-border);
    font-size: 14px;
    letter-spacing: 0.01em;
    color: var(--land-text-muted);
}
.designer-pricing-table thead th:first-child {
    text-align: left;
}
.designer-pricing-table thead th.col-highlight,
.designer-pricing-table tbody td.col-highlight {
    background: var(--land-accent);
    color: #fff;
    font-weight: 700;
    border-bottom-color: rgba(255,255,255,0.15);
}
.designer-pricing-table thead th.col-highlight {
    font-size: 15px;
}
.designer-pricing-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--land-border);
    text-align: center;
    color: var(--land-text-muted);
}
.designer-pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--land-text);
}
.designer-pricing-table tbody tr:last-child td {
    border-bottom: none;
}
@media (min-width: 768px) {
    .designer-pricing-table table { font-size: 16px; }
    .designer-pricing-table thead th { padding: 16px 20px; }
    .designer-pricing-table thead th.col-highlight { font-size: 16px; }
    .designer-pricing-table tbody td { padding: 16px 20px; }
}

/* Our pricing block */
.our-pricing-block {
    max-width: 800px;
    margin: 0 auto 24px;
    background: var(--land-bg-card);
    border: 2px solid var(--land-accent);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}
.our-pricing-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}
.our-pricing-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.our-pricing-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.our-pricing-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.our-pricing-label {
    font-size: 14px;
    color: var(--land-text-muted);
}
.our-pricing-divider {
    width: 1px;
    height: 40px;
    background: var(--land-border);
}
.our-pricing-perks {
    margin-top: 16px;
    font-size: 14px;
    color: var(--land-text-muted);
}
.infoslide-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: var(--land-text-dim);
    font-style: italic;
}
@media (min-width: 768px) {
    .our-pricing-block { padding: 36px 40px; }
    .our-pricing-header { font-size: 24px; }
    .our-pricing-value { font-size: 40px; }
    .our-pricing-label { font-size: 15px; }
    .our-pricing-row { gap: 40px; }
}

/* ============================================================
   Gallery Examples (landing)
   ============================================================ */
.landing-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 576px) {
    .landing-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.landing-gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--land-border);
    transition: transform 0.2s;
}
.landing-gallery-item:hover {
    transform: scale(1.02);
}
.landing-gallery-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

/* ============================================================
   Trust Stats
   ============================================================ */
.trust-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
@media (min-width: 768px) {
    .trust-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}
.trust-stat-number {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.trust-stat-label {
    font-size: 14px;
    color: var(--land-text-muted);
    line-height: 1.6;
}
.trust-description {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    color: var(--land-text-muted);
    line-height: 1.6;
}

/* ============================================================
   Audience Cards (icon on top)
   ============================================================ */
.audience-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}
.audience-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.audience-card p {
    font-size: 14px;
    color: var(--land-text-muted);
    line-height: 1.6;
}

/* ============================================================
   Features List
   ============================================================ */
.features-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--land-bg-card);
    border-radius: 16px;
}
.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--land-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   Reviews Carousel
   ============================================================ */
.review-carousel {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.review-card {
    text-align: center;
    padding: 40px;
    background: var(--land-bg-card);
    border-radius: 16px;
}
.review-card p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.review-author {
    font-size: 14px;
    color: var(--land-text-muted);
    font-weight: 600;
}
.review-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}
.review-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--land-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.review-nav-btn:hover {
    border-color: var(--land-accent);
    color: var(--land-accent);
}
.review-dots {
    display: flex;
    gap: 8px;
}
.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--land-border);
    cursor: pointer;
    transition: background 0.2s;
}
.review-dot.active {
    background: var(--land-accent);
}

/* ============================================================
   Pricing Section
   ============================================================ */
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    background: var(--land-bg-card);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--land-shadow-float-lg);
}
.pricing-price {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}
.pricing-per {
    font-size: 16px;
    color: var(--land-text-muted);
    margin-bottom: 20px;
}
.pricing-features {
    font-size: 15px;
    color: var(--land-text-muted);
    padding: 0;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--land-border);
    padding: 20px 0;
}
.faq-q {
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-icon {
    font-size: 20px;
    color: var(--land-text-dim);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-a {
    font-size: 14px;
    color: var(--land-text-muted);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-a {
    max-height: 500px;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* ============================================================
   Auth / Login Section (dark bg)
   ============================================================ */
.auth-section {
    background: #000;
    color: #fff;
    padding: 80px 20px;
}
.auth-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.auth-section h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #fff;
}
@media (min-width: 768px) {
    .auth-section h2 { font-size: 36px; }
}
.auth-section .auth-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    line-height: 1.6;
}
.auth-error {
    color: #f87171;
    font-size: 13px;
    text-align: center;
    padding: 10px 16px;
    background: rgba(153,27,27,0.2);
    border: 1px solid rgba(153,27,27,0.3);
    border-radius: 12px;
    margin-bottom: 16px;
}
.auth-step-text {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}
.auth-bot-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
}
.auth-qr {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--land-shadow-float-lg);
}
.auth-code-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.auth-code-input {
    width: 160px;
    padding: 12px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.auth-code-input:focus {
    border-color: var(--land-accent);
}
.auth-code-submit {
    padding: 12px 32px;
    border-radius: 12px;
    background: #fff;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.auth-code-submit:hover {
    opacity: 0.9;
}
.auth-code-error {
    margin-top: 12px;
    color: #f87171;
    font-size: 13px;
    padding: 10px 16px;
    background: rgba(153,27,27,0.2);
    border: 1px solid rgba(153,27,27,0.3);
    border-radius: 12px;
}
.auth-code-success {
    margin-top: 12px;
    color: var(--land-accent);
    font-size: 14px;
    font-weight: 600;
}
.auth-disabled {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Welcome block for logged-in users */
.auth-welcome-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.auth-credits {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
}
.auth-credits strong {
    color: var(--land-accent);
}

/* ============================================================
   Landing Footer
   ============================================================ */
.landing-footer {
    border-top: 1px solid var(--land-border);
    padding: 48px 20px;
}
.landing-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.landing-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
@media (max-width: 767.98px) {
    .landing-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479.98px) {
    .landing-footer-grid { grid-template-columns: 1fr; }
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.landing-footer-brand-name {
    font-size: 18px;
    font-weight: 700;
}
.landing-footer-desc {
    font-size: 14px;
    color: var(--land-text-muted);
}
.landing-footer-heading {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}
.landing-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.landing-footer-links a {
    font-size: 14px;
    color: var(--land-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.landing-footer-links a:hover {
    color: var(--land-text);
}
.landing-footer-bottom {
    border-top: 1px solid var(--land-border);
    padding-top: 24px;
    text-align: center;
}
.landing-footer-copy {
    font-size: 12px;
    color: var(--land-text-dim);
}

/* ============================================================
   Public pages (about, blog, faq, contacts, support, etc.)
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
.blog-card {
    background: var(--land-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--land-border);
    transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: var(--land-shadow-float); }
.blog-card-img {
    height: 160px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-placeholder { opacity: 0.5; }
.blog-card-body { padding: 1.5rem; cursor: pointer; }
.blog-card-date { font-size: 12px; color: var(--land-text-dim); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; line-height: 1.4; }
.blog-card-body p { font-size: 14px; color: var(--land-text-muted); line-height: 1.6; margin-bottom: 0; }
.blog-card-content { padding: 0 1.5rem 1.5rem; display: none; }
.blog-card.expanded .blog-card-content { display: block; }
.blog-card-content h4 { font-size: 16px; font-weight: 600; margin-top: 1.5rem; margin-bottom: 8px; }
.blog-card-content p { font-size: 14px; color: var(--land-text-muted); line-height: 1.7; }
.blog-card-content ul { list-style: disc; padding-left: 1.5rem; font-size: 14px; color: var(--land-text-muted); line-height: 1.7; }
.blog-card-content ul li { margin-bottom: 8px; }

/* ====== Blog article page ====== */
.blog-article-content { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.85; color: #374151; letter-spacing: -0.01em; }
.blog-article-content h2 { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: #111827; letter-spacing: -0.025em; margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #e5e7eb; }
.blog-article-content h3 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: #111827; letter-spacing: -0.02em; margin-top: 2rem; margin-bottom: 0.75rem; }
.blog-article-content h4 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: #111827; letter-spacing: -0.02em; margin-top: 1.75rem; margin-bottom: 0.6rem; }
.blog-article-content strong { font-weight: 700; color: #111827; }
.blog-article-content p { margin-bottom: 1rem; }
.blog-article-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-article-content ul li, .blog-article-content ol li { margin-bottom: 8px; }
.blog-article-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }

/* TOC */
.blog-toc { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.5rem 1.75rem; margin-bottom: 2rem; }
.blog-toc-title { font-size: 13px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.blog-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.blog-toc ol li { counter-increment: toc; margin-bottom: 6px; }
.blog-toc ol li::before { content: counter(toc) "."; color: #94a3b8; font-weight: 600; margin-right: 8px; font-size: 13px; }
.blog-toc a { color: #0A84FF; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.blog-toc a:hover { color: #0066CC; text-decoration: underline; }

/* Callout blocks */
.blog-callout { border-radius: 12px; padding: 1.15rem 1.35rem; margin: 1.5rem 0; font-size: 15px; line-height: 1.7; }
.blog-callout-blue { background: #eff6ff; border-left: 4px solid #3b82f6; }
.blog-callout-green { background: #f0fdf4; border-left: 4px solid #22c55e; }
.blog-callout-amber { background: #fffbeb; border-left: 4px solid #f59e0b; }
.blog-callout-red { background: #fef2f2; border-left: 4px solid #ef4444; }
.blog-callout p { margin-bottom: 0; }
.blog-callout p + p { margin-top: 0.5rem; }

/* Stat cards */
.blog-stat-row { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 14px; margin: 1.75rem 0; }
.blog-stat-card { background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%); border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.25rem 1rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: transform .2s, box-shadow .2s; }
.blog-stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(10,132,255,0.12); }
.blog-stat-num { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #0A84FF, #0066CC); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.03em; line-height: 1.2; }
.blog-stat-label { font-size: 13px; color: #64748b; margin-top: 6px; line-height: 1.4; }
@media (max-width: 600px) { .blog-stat-row { grid-template-columns: 1fr !important; } }

/* Tables — modern card style */
.blog-article-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.75rem 0; font-size: 14px; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.blog-article-content thead th { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); padding: 14px 18px; text-align: left; font-weight: 600; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; border: none; }
.blog-article-content thead th:first-child { border-top-left-radius: 11px; }
.blog-article-content thead th:last-child { border-top-right-radius: 11px; }
.blog-article-content tbody td { padding: 13px 18px; border-bottom: 1px solid #f1f5f9; color: #374151; font-size: 15px; }
.blog-article-content tbody tr:last-child td { border-bottom: none; }
.blog-article-content tbody tr:nth-child(even) { background: #f8fafc; }
.blog-article-content tbody tr:hover { background: #eff6ff; }
.blog-article-content tbody td:first-child { font-weight: 600; color: #1e293b; }

/* Comparison bar — visual CTR bars */
.blog-bar { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.blog-bar-label { font-size: 13px; font-weight: 600; color: #334155; min-width: 120px; }
.blog-bar-track { flex: 1; height: 28px; background: #f1f5f9; border-radius: 8px; overflow: hidden; position: relative; }
.blog-bar-fill { height: 100%; border-radius: 8px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-size: 12px; font-weight: 700; color: #fff; transition: width .6s ease; }
.blog-bar-fill-wb { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
.blog-bar-fill-ozon { background: linear-gradient(90deg, #0A84FF, #38bdf8); }

/* Funnel visual */
.blog-funnel { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 1.75rem 0; }
.blog-funnel-step { display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px 20px; font-size: 14px; font-weight: 600; color: #fff; border-radius: 10px; position: relative; line-height: 1.3; }
.blog-funnel-step.bf-1 { width: 100%; background: linear-gradient(135deg, #0A84FF, #0066CC); }
.blog-funnel-step.bf-2 { width: 82%; background: linear-gradient(135deg, #3b82f6, #2563eb); }
.blog-funnel-step.bf-3 { width: 64%; background: linear-gradient(135deg, #6366f1, #4f46e5); }
.blog-funnel-step.bf-4 { width: 48%; background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.blog-funnel-arrow { color: #94a3b8; font-size: 18px; line-height: 1; margin: 4px 0; }

/* Case result card */
.blog-case-card { background: linear-gradient(145deg, #fff 0%, #f8fafc 100%); border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.5rem; margin: 1.25rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.blog-case-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-case-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.blog-case-badge-green { background: #dcfce7; color: #16a34a; }
.blog-case-badge-blue { background: #dbeafe; color: #2563eb; }
.blog-case-title { font-weight: 700; color: #111827; font-size: 15px; }
.blog-case-card p { margin-bottom: 0.5rem; font-size: 14px; }
.blog-case-card p:last-child { margin-bottom: 0; }
.blog-case-metric { display: inline-flex; align-items: baseline; gap: 4px; }
.blog-case-metric-num { font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, #22c55e, #16a34a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Feature grid (6 elements breakdown) */
.blog-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5rem 0; }
.blog-feature-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.15rem; transition: border-color .2s; }
.blog-feature-item:hover { border-color: #0A84FF; }
.blog-feature-icon { font-size: 24px; margin-bottom: 6px; }
.blog-feature-name { font-weight: 700; font-size: 15px; color: #111827; margin-bottom: 4px; }
.blog-feature-desc { font-size: 13px; color: #64748b; line-height: 1.5; }
@media (max-width: 600px) { .blog-feature-grid { grid-template-columns: 1fr; } }

/* Checklist visual */
.blog-checklist { list-style: none; padding: 0; margin: 1.25rem 0; }
.blog-checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 15px; }
.blog-checklist li:last-child { border-bottom: none; }
.blog-checklist-icon { flex-shrink: 0; width: 24px; height: 24px; background: #dcfce7; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.blog-checklist-icon svg { width: 14px; height: 14px; stroke: #16a34a; stroke-width: 2.5; fill: none; }

/* CTA block */
.blog-cta { background: linear-gradient(135deg, #0A84FF 0%, #0055CC 100%); border-radius: 16px; padding: 2.25rem 2rem; text-align: center; margin: 2.5rem 0; color: #fff; box-shadow: 0 8px 32px rgba(10,132,255,0.25); }
.blog-cta h3 { color: #fff !important; font-size: 1.35rem; margin-top: 0; margin-bottom: 0.5rem; border: none !important; padding: 0 !important; }
.blog-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; font-size: 15px; }
.blog-cta a { display: inline-block; background: #fff; color: #0A84FF; font-weight: 700; padding: 12px 32px; border-radius: 10px; text-decoration: none; font-size: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform .15s, box-shadow .15s; }
.blog-cta a:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
/* Cover image floated left */
.blog-cover-float { float: left; width: 35%; max-width: 260px; margin: 0.25rem 2rem 1.25rem 0; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.10); }
@media (max-width: 600px) { .blog-cover-float { float: none; width: 55%; max-width: none; margin: 0 auto 1.25rem; display: block; } }
