/* RESET & VARS */
:root { --primary: #ff0055; --bg: #050505; --surface: #111; --text: #fff; --text-muted: #888; --font: 'Inter', sans-serif; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img, video { display: block; max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* UTILS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border: none; cursor: pointer; transition: 0.3s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 30px rgba(255, 0, 85, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(255, 0, 85, 0.6); }
.btn-outline { border: 2px solid var(--primary); color: #fff; background: transparent; }
.btn-outline:hover { background: var(--primary); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 20px 50px; font-size: 1.2rem; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* LIGHTBOX - REMOVED FOR CONVERSION OPTIMIZATION */

/* HEADER */
.header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background: rgba(5,5,5,0.9); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; }
.nav-row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.8rem; font-weight: 900; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav a { font-weight: 500; font-size: 0.95rem; opacity: 0.8; }
.desktop-nav a:hover { opacity: 1; color: var(--primary); }
.mobile-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 101; }
.mobile-burger span { width: 25px; height: 2px; background: #fff; display: block; transition: 0.3s; }
.mobile-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-burger.active span:nth-child(2) { opacity: 0; }
.mobile-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* MOBILE MENU */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #000; z-index: 99; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: 0.4s; }
.mobile-menu.active { transform: translateX(0); }
.mobile-menu a { font-size: 1.5rem; font-weight: 700; padding: 20px; color: #fff; }
.mobile-menu a:hover { color: var(--primary); }
.btn-mobile { margin-top: 20px; }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, #050505 5%, rgba(0,0,0,0.6)); }
.hero h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1.1; margin-bottom: 20px; text-shadow: 0 10px 40px rgba(0,0,0,0.8); }
.hero h1 span { color: var(--primary); background: linear-gradient(45deg, #ff0055, #ff5e00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.25rem; color: #ddd; max-width: 700px; margin: 0 auto 40px; }
.hero-features { display: flex; justify-content: center; gap: 30px; margin-top: 50px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; color: #aaa; }
.hf-item { display: flex; align-items: center; gap: 8px; }

/* CTA STRIP */
.cta-strip { background: #111; padding: 20px 0; text-align: center; border-bottom: 1px solid #222; }
.cta-strip p { display: inline-block; color: #888; margin-right: 15px; }
.link-arrow { color: var(--primary); font-weight: 700; }

/* HOW IT WORKS */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.step-item { display: flex; flex-direction: column; align-items: center; color: #ccc; font-weight: 500; font-size: 0.95rem; }
.step-num { width: 40px; height: 40px; border: 2px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; color: var(--primary); font-weight: 700; background: #0a0a0a; }

/* FEATURES GRID */
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid #222; transition: 0.3s; position: relative; display: block; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.fc-media { position: relative; height: 320px; overflow: hidden; }
.fc-media img, .fc-media video { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; object-position: top center; }
.feature-card:hover .fc-media img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; right: 10px; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.fc-info { padding: 25px; }
.fc-info h3 { font-size: 1.2rem; margin-bottom: 5px; color: #fff; }
.fc-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; line-height: 1.3; }
.fc-sub { display: block; font-size: 0.8rem; color: #555; font-weight: 600; text-transform: uppercase; }

/* COMPARISON */
.bg-dark { background: #0a0a0a; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.split-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center; }
.check-list { list-style: none; margin: 30px 0; }
.check-list li { margin-bottom: 15px; padding-left: 25px; position: relative; color: #ccc; }
.check-list li::before { content: '✓'; color: var(--primary); position: absolute; left: 0; font-weight: bold; }
.comparison-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; background: #000; padding: 20px; border-radius: 16px; border: 1px solid #333; }
.comp-item { text-align: center; }
.comp-label { display: block; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 10px; color: #666; font-weight: 700; }
.comp-label.active { color: var(--primary); }
.comp-item img { border-radius: 8px; width: 100%; border: 1px solid #333; }
.comp-arrow { font-size: 2rem; color: #333; }

/* MASONRY & GALLERY CAPTIONS */
.masonry { column-count: 4; column-gap: 20px; }
.m-item { break-inside: avoid; margin-bottom: 30px; }
.m-item img { border-radius: 8px; overflow: hidden; width: 100%; transition: 0.3s; display: block; }
.m-item:hover img { filter: brightness(1.1); }

/* WALL GRID */
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; row-gap: 30px; }
.wall-item { }
.wall-item img { border-radius: 8px; overflow: hidden; width: 100%; height: auto; display: block; transition: 0.3s; }
.wall-item:hover img { transform: scale(1.03); }

/* TEXTS */
.caption-row { margin-top: 8px; font-size: 0.9rem; color: #fff; font-weight: 600; padding-left: 2px; }
.prompt-theme { font-size: 0.8rem; color: #555; margin-top: 3px; font-family: monospace; }
.cta-mini { text-align: center; margin-top: 50px; }

/* TAGS CLOUD */
.tags-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.tag { background: #111; border: 1px solid #222; padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; color: #888; transition: 0.2s; cursor: default; }
.tag:hover { border-color: var(--primary); color: #fff; }

/* SEO HUB */
.seo-hub-links a { color: #888; text-decoration: none; margin: 0 5px; font-size: 0.9rem; border-bottom: 1px dashed #333; transition: 0.2s; }
.seo-hub-links a:hover { color: var(--primary); border-color: var(--primary); }

/* FAQ ACCORDION */
.faq-accordion { max-width: 800px; margin: 0 auto; border: 1px solid #222; border-radius: 8px; background: #111; }
.faq-item { border-bottom: 1px solid #222; }
.faq-item:last-child { border-bottom: none; }
.faq-head { padding: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }
.faq-head:hover { background: #161616; }
.faq-body { padding: 0 20px; height: 0; overflow: hidden; color: #999; font-size: 0.95rem; transition: 0.3s; }
.faq-item.active .faq-body { padding: 0 20px 20px 20px; height: auto; }
.faq-item.active .faq-head { color: var(--primary); }
.faq-head .toggle { font-size: 1.5rem; }
.faq-item.active .toggle { transform: rotate(45deg); }

/* SEO SPOILER & TOC */
.bg-black { background: #000; }
.text-container { max-width: 800px; margin: 0 auto; }
.tech-spoiler summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; cursor: pointer; font-weight: 700; transition: 0.3s; }
.tech-spoiler summary:hover { color: var(--primary); }
.spoiler-content { padding: 40px 0; }
.typography h2 { font-size: 2rem; margin-bottom: 20px; color: #fff; }
.typography h3 { font-size: 1.5rem; color: #fff; margin-top: 40px; margin-bottom: 15px; }
.typography p { color: #aaa; margin-bottom: 15px; }

/* Table of Contents */
.toc-box { background: #111; padding: 20px; border-left: 4px solid var(--primary); margin: 30px 0; border-radius: 4px; }
.toc-box h4 { color: #fff; margin-top: 0; margin-bottom: 10px; font-size: 1.1rem; }
.toc-box ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toc-box a { color: #aaa; font-size: 0.95rem; text-decoration: none; border-bottom: 1px dashed #333; }
.toc-box a:hover { color: var(--primary); border-color: var(--primary); }

/* FOOTER */
.footer { border-top: 1px solid #222; padding: 40px 0; font-size: 0.9rem; color: #666; }
.footer .container { display: flex; justify-content: space-between; }
.footer-links a { margin-left: 20px; color: #666; }
.footer-links a:hover { color: var(--primary); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .grid-4, .wall-grid { grid-template-columns: 1fr 1fr; }
    .split-row { grid-template-columns: 1fr; gap: 40px; }
    .masonry { column-count: 2; }
}
@media (max-width: 768px) {
    .desktop-nav, .header-actions { display: none; }
    .mobile-burger { display: flex; }
    .hero h1 { font-size: 3rem; }
    .grid-4, .wall-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 10px; }
    .step-item { flex-direction: row; gap: 15px; }
    .step-num { margin-bottom: 0; }
    .masonry { column-count: 1; }
    .toc-box ul { grid-template-columns: 1fr; }
    .footer .container { flex-direction: column; gap: 20px; text-align: center; }
}

/* SEO HUB (Strictly Text Block) */
.seo-hub-content {
    color: #666;
    font-size: 0.85rem;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}
.seo-hub-content p { margin-bottom: 15px; color: #555; }
.seo-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 15px; }
.seo-links-list li { display: inline-block; }
.seo-links-list a { color: #888; text-decoration: none; border-bottom: 1px solid #333; transition: 0.2s; }
.seo-links-list a:hover { color: var(--primary); border-color: var(--primary); }

/* --- НИЖНЕЕ МЕНЮ (FOOTER LINKS) --- */
.footer-nav-links { 
    background: #000; 
    padding: 40px 20px; 
    border-top: 1px solid #222; 
    font-size: 0.9rem; 
    color: #888; 
}
.footer-nav-links .container { 
    max-width: 1200px; 
    margin: 0 auto; 
}
.footer-nav-links p { 
    margin-bottom: 20px; 
    color: #666; 
}
.footer-menu { 
    list-style: none; 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin: 0; 
}
.footer-menu li { 
    margin: 0; 
}
.footer-menu a { 
    color: #ccc; 
    text-decoration: none; 
    border-bottom: 1px solid #444; 
    transition: 0.2s; 
    white-space: nowrap; 
}
.footer-menu a:hover { 
    color: var(--primary); 
    border-color: var(--primary); 
}

@media (max-width: 900px) {
    .footer-menu { 
        flex-direction: column; 
        gap: 10px; 
    }
}