/*
Theme Name: BorisAILab
Theme URI: https://borisailab.com
Author: Boris
Author URI: https://borisailab.com
Description: Custom theme for BorisAILab
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: borisailab
Tags: custom, responsive, modern
*/

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === Variables === */
:root {
    --color-bg: #0d0d0d;
    --color-surface: #141414;
    --color-surface-2: #1c1c1c;
    --color-accent: #670099;
    --color-accent-hover: #52007a;
    --color-yellow: #ffcc00;
    --color-yellow-hover: #e6b800;
    --color-text: #e5e5e5;
    --color-muted: #888;
    --color-border: #2a2a2a;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 8px;
    --max-width: 1200px;
}

/* === Base === */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Layout === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-branding a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

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

/* === Navigation === */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-navigation a {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--color-text);
}

/* === Hero === */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--color-accent), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--color-yellow);
    color: #0d0d0d;
}

.btn-primary:hover {
    background: var(--color-yellow-hover);
    color: #0d0d0d;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(255, 204, 0, 0.3);
}

.btn-secondary {
    background: var(--color-accent);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(103, 0, 153, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === Main Content === */
.site-main {
    padding: 60px 0;
}

/* === Posts Grid === */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.post-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.post-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.post-card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-body {
    padding: 24px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

.post-card-category {
    color: var(--color-accent);
    font-weight: 600;
}

.post-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-card h2 a {
    color: var(--color-text);
}

.post-card h2 a:hover {
    color: var(--color-accent);
}

.post-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* === Single Post === */
.entry-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.entry-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

.entry-content {
    max-width: 720px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-weight: 700;
    margin: 40px 0 16px;
    letter-spacing: -0.01em;
}

.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content h4 { font-size: 1.1rem; }

.entry-content p {
    margin-bottom: 20px;
    color: #ccc;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 20px 24px;
    color: #ccc;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 2px 6px;
    border-radius: 4px;
    color: #a78bfa;
}

.entry-content pre {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    overflow-x: auto;
    margin-bottom: 24px;
}

.entry-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

.entry-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 12px 24px;
    margin: 24px 0;
    background: var(--color-surface);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--color-muted);
    font-style: italic;
}

/* === Sidebar === */
.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .content-area {
        grid-template-columns: 1fr;
    }
}

.widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* === Footer === */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.footer-links a:hover {
    color: var(--color-text);
}

/* === Pagination === */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* === Comments === */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    margin-bottom: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-accent);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .submit {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form .submit:hover {
    background: var(--color-accent-hover);
}

/* === Responsive === */
@media (max-width: 768px) {
    .main-navigation { display: none; }
    .hero { padding: 80px 0 60px; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

/* --- Shared section --- */
.lp-section {
    padding: 100px 0;
}

.lp-section--dark {
    background: var(--color-surface);
}

.lp-section--darker {
    background: #0a0a0a;
}

.lp-section--accent {
    background: var(--color-accent);
}

.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 20px;
}

.lp-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-yellow);
}

.lp-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.lp-heading em {
    font-style: normal;
    color: var(--color-yellow);
}

.lp-subtext {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 560px;
    line-height: 1.75;
}

/* --- Hero --- */
.lp-hero {
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103,0,153,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,204,0,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lp-hero-content {}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(103,0,153,0.15);
    border: 1px solid rgba(103,0,153,0.4);
    color: #c87dff;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.lp-hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.lp-hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.lp-hero h1 .highlight-yellow {
    color: var(--color-yellow);
}

.lp-hero h1 .highlight-purple {
    color: #c87dff;
}

.lp-hero-desc {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 40px;
}

.lp-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.lp-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-hero-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 380px;
    position: relative;
}

.lp-hero-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-accent) 100%);
    z-index: -1;
    opacity: 0.4;
}

.lp-hero-card-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.lp-hero-card-row:last-child {
    border-bottom: none;
}

.lp-hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.lp-hero-card-icon.yellow { background: rgba(255,204,0,0.12); }
.lp-hero-card-icon.purple { background: rgba(103,0,153,0.15); }

.lp-hero-card-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.lp-hero-card-text span {
    font-size: 0.8rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

/* --- Stats --- */
.lp-stats {
    padding: 70px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.lp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.lp-stat {
    background: var(--color-surface);
    padding: 36px 32px;
    text-align: center;
}

.lp-stat-number {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--color-yellow);
    margin-bottom: 8px;
}

.lp-stat-label {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Why me --- */
.lp-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

.lp-why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lp-why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.lp-why-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(103,0,153,0.15);
    border: 1px solid rgba(103,0,153,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: #c87dff;
}

.lp-why-body strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.lp-why-body p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.65;
}

.lp-why-visual {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-skill-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-skill-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.lp-skill-bar-header span:first-child { color: var(--color-text); font-weight: 600; }
.lp-skill-bar-header span:last-child { color: var(--color-yellow); font-family: var(--font-mono); }

.lp-skill-bar-track {
    height: 6px;
    background: var(--color-border);
    border-radius: 100px;
    overflow: hidden;
}

.lp-skill-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-yellow));
}

/* --- Problem --- */
.lp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.lp-problem-card {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.lp-problem-card:hover {
    border-color: rgba(255,204,0,0.3);
    transform: translateY(-3px);
}

.lp-problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-accent));
    opacity: 0;
    transition: opacity 0.2s;
}

.lp-problem-card:hover::before {
    opacity: 1;
}

.lp-problem-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.lp-problem-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.lp-problem-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.65;
}

/* --- Offer --- */
.lp-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.lp-offer-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.lp-offer-card:hover {
    border-color: rgba(103,0,153,0.5);
    transform: translateY(-3px);
}

.lp-offer-card.featured {
    border-color: var(--color-yellow);
    background: linear-gradient(160deg, rgba(255,204,0,0.06) 0%, var(--color-surface) 60%);
}

.lp-offer-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--color-yellow);
    color: #0d0d0d;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.lp-offer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(103,0,153,0.15);
    border: 1px solid rgba(103,0,153,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.lp-offer-card.featured .lp-offer-icon {
    background: rgba(255,204,0,0.1);
    border-color: rgba(255,204,0,0.3);
}

.lp-offer-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.lp-offer-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.65;
    flex: 1;
}

.lp-offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lp-offer-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-muted);
    background: var(--color-border);
    border-radius: 4px;
    padding: 3px 8px;
}

/* --- CTA --- */
.lp-cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 50% 120%, rgba(103,0,153,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 50% -20%, rgba(255,204,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lp-cta .container {
    position: relative;
    z-index: 1;
}

.lp-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.lp-cta h2 em {
    font-style: normal;
    color: var(--color-yellow);
}

.lp-cta p {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.lp-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.lp-cta-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--color-muted);
    font-family: var(--font-mono);
}

/* --- Landing Responsive --- */
@media (max-width: 1024px) {
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-offer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .lp-hero .container { grid-template-columns: 1fr; }
    .lp-hero-visual { display: none; }
    .lp-why-grid { grid-template-columns: 1fr; gap: 48px; }
    .lp-problem-grid { grid-template-columns: 1fr; }
    .lp-offer-grid { grid-template-columns: 1fr; }
    .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-section { padding: 72px 0; }
}

/* ============================================================
   RUSSIAN LANDING PAGE (page-ru.php)
   ============================================================ */

/* --- RU Hero (centered single-column) --- */
.lp-ru-hero {
    padding: 130px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-ru-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103,0,153,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.lp-ru-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,204,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lp-ru-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.lp-ru-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 28px;
}

.lp-ru-hero h1 em {
    font-style: normal;
    color: var(--color-yellow);
}

.lp-ru-hero .lp-hero-desc {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.lp-ru-hero .lp-hero-actions {
    justify-content: center;
}

/* --- Pain cards (2×2 grid) --- */
.lp-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.lp-pain-card {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.lp-pain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e84343, var(--color-accent));
    opacity: 0.5;
    transition: opacity 0.2s;
}

.lp-pain-card:hover {
    border-color: rgba(232, 67, 67, 0.25);
    transform: translateY(-3px);
}

.lp-pain-card:hover::before {
    opacity: 1;
}

.lp-pain-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.lp-pain-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}

.lp-pain-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.65;
}

/* --- Solution cards (2×2 grid) --- */
.lp-solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.lp-solution-card {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.lp-solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-yellow);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.lp-solution-card:hover {
    border-color: rgba(255,204,0,0.35);
    transform: translateY(-3px);
}

.lp-solution-card:hover::before {
    opacity: 1;
}

.lp-solution-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.lp-solution-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-yellow);
}

.lp-solution-card p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.65;
}

/* --- Process steps (3 columns) --- */
.lp-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.lp-process-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 32px;
    transition: border-color 0.2s, transform 0.2s;
}

.lp-process-card:hover {
    border-color: rgba(255,204,0,0.3);
    transform: translateY(-3px);
}

.lp-process-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-yellow);
    margin-bottom: 20px;
}

.lp-process-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
    line-height: 1.3;
}

.lp-process-card h3 em {
    font-style: normal;
    color: var(--color-yellow);
}

.lp-process-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.7;
}

/* --- About block --- */
.lp-about-block {
    margin-top: 48px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 48px;
    max-width: 800px;
}

.lp-about-block p {
    font-size: 1.05rem;
    color: var(--color-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.lp-about-block p:last-child {
    margin-bottom: 0;
}

/* --- RU page responsive --- */
@media (max-width: 1024px) {
    .lp-process-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
    .lp-ru-hero { padding: 90px 0 72px; }
    .lp-pain-grid,
    .lp-solution-grid { grid-template-columns: 1fr; }
    .lp-about-block { padding: 28px; }
}
