/* 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; }

/* LIGHTBOX */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; display: none; flex-direction: column; justify-content: center; align-items: center; backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.3s; }
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 85vh; display: flex; justify-content: center; align-items: center; }
.lightbox-content img { max-width: 100%; max-height: 85vh; border-radius: 4px; box-shadow: 0 0 50px rgba(0,0,0,0.5); object-fit: contain; }
.lb-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fff; cursor: pointer; z-index: 2002; line-height: 1; }
.lb-close:hover { color: var(--primary); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3rem; color: rgba(255,255,255,0.5); cursor: pointer; padding: 20px; z-index: 2001; transition: 0.2s; user-select: none; }
.lb-nav:hover { color: var(--primary); background: rgba(0,0,0,0.3); border-radius: 50%; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-info { margin-top: 15px; text-align: center; color: #ccc; z-index: 2002; font-family: var(--font); }
.lb-caption { font-size: 1.1rem; font-weight: 500; display: block; margin-bottom: 5px; color: #fff; }
.lb-counter { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* 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); }

/* 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; }

/* FEATURES GRID */
.section { padding: 100px 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; }
.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: 10px; color: #fff; }
.fc-info p { color: var(--text-muted); font-size: 0.9rem; }

/* 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%; cursor: zoom-in; border: 1px solid #333; }
.comp-arrow { font-size: 2rem; color: #333; }

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

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

/* 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; }
    .masonry { column-count: 1; }
    .toc-box ul { grid-template-columns: 1fr; }
    .footer .container { flex-direction: column; gap: 20px; text-align: center; }
}