﻿*, *::before, *::after { box-sizing: border-box; }
:root {
    --bg-dark:      #0a0f1e;
    --bg-mid:       #0f172a;
    --bg-card:      #111827;
    --text-main:    #f1f5f9;
    --text-muted:   #94a3b8;
    --primary-grad: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --teal-grad:    linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --accent:       #a78bfa;
    --accent-teal:  #38bdf8;
    --green:        #22c55e;
    --border:       rgba(255,255,255,0.07);
}
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    height: 68px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    transition: height 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { height: 58px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { color: #0f172a; font-weight: 900; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.5px; }
.logo span { background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links a { color: #475569; text-decoration: none; margin-left: 24px; font-weight: 500; font-size: 0.87rem; transition: color 0.2s; }
.nav-links a:hover { color: #0f172a; }
.header-right { display: flex; align-items: center; gap: 8px; }

/* Language Switcher */
.lang-switcher { position: relative; margin-left: 16px; }
.lang-btn {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: border-color 0.2s, background 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.lang-btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.lang-chevron { font-size: 0.65rem; transition: transform 0.2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    min-width: 145px;
    z-index: 200;
}
.lang-switcher.open .lang-menu { display: block; }
.lang-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    font-size: 0.87rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s;
}
.lang-menu a:hover { background: #f8fafc; }
.lang-menu a.active { background: #f1f5ff; color: #4f46e5; font-weight: 700; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-cta {
    background: var(--primary-grad);
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.87rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79,70,229,0.4);
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    white-space: nowrap;
}
.btn-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(79,70,229,0.55); }
.btn-cta.large  { padding: 15px 44px; font-size: 1.05rem; border-radius: 10px; }
.btn-cta.teal   { background: var(--teal-grad); box-shadow: 0 4px 14px rgba(6,182,212,0.4); }
.btn-cta.teal:hover { box-shadow: 0 6px 22px rgba(6,182,212,0.55); }
.btn-ghost {
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(167,139,250,0.07); }

/* ── HERO ────────────────────────────────────── */
.hero {
    padding: 120px 24px 90px;
    text-align: center;
    background: radial-gradient(ellipse 90% 50% at 50% -5%, rgba(79,70,229,0.18) 0%, transparent 65%), var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(167,139,250,0.1);
    border: 1px solid rgba(167,139,250,0.25);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 99px;
    margin-bottom: 30px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero h1 { font-size: 3.8rem; font-weight: 900; margin: 0 0 22px; line-height: 1.06; letter-spacing: -2px; }
.grad { background: var(--primary-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto 42px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 70px; }
.stats-bar { display: flex; justify-content: center; gap: 52px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 1.9rem; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.stat-item span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ── LAYOUT HELPERS ──────────────────────────── */
.section-gap    { height: 90px; }
.section-gap-sm { height: 52px; }
.section-eyebrow { text-align: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title   { text-align: center; font-size: 2.4rem; font-weight: 900; margin: 0 0 14px; letter-spacing: -1px; }
.section-sub     { text-align: center; color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto 56px; }

/* ── PRODUCTS ────────────────────────────────── */
.products-wrap {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.product-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px;
    padding: 44px 40px; position: relative; overflow: hidden; text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.product-card::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 220px; height: 220px; border-radius: 50%; opacity: 0.06; pointer-events: none;
}
.product-card.vision::before { background: #7c3aed; }
.product-card.signal::before { background: #0ea5e9; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.product-card.vision:hover { border-color: rgba(167,139,250,0.4); }
.product-card.signal:hover { border-color: rgba(56,189,248,0.4); }
.product-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; margin-bottom: 20px; }
.product-tag.vision { background: rgba(124,58,237,0.15); color: var(--accent); border: 1px solid rgba(124,58,237,0.3); }
.product-tag.signal { background: rgba(14,165,233,0.12); color: var(--accent-teal); border: 1px solid rgba(14,165,233,0.3); }
.product-card h2 { font-size: 1.9rem; font-weight: 900; margin: 0 0 10px; letter-spacing: -0.5px; }
.product-card .product-sub { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 28px; }
.product-features { list-style: none; padding: 0; margin: 0 0 34px; text-align: left; }
.product-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.product-features li .ico { flex-shrink: 0; font-size: 0.95rem; }


/* Keyword focus */
.usecases-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.usecase-card {
    background: linear-gradient(160deg, rgba(17,24,39,0.98) 0%, rgba(11,17,31,0.98) 100%);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent-teal);
    border-radius: 16px;
    padding: 28px 26px 26px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.usecase-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 90px;
    background: radial-gradient(ellipse at 50% -10%, rgba(56,189,248,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.usecase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(56,189,248,0.13);
}
.usecase-card--vision {
    border-top-color: var(--accent);
    background: linear-gradient(160deg, rgba(28,16,48,0.98) 0%, rgba(11,17,31,0.98) 100%);
}
.usecase-card--vision::before {
    background: radial-gradient(ellipse at 50% -10%, rgba(167,139,250,0.11) 0%, transparent 70%);
}
.usecase-card--vision:hover {
    box-shadow: 0 18px 44px rgba(167,139,250,0.16);
}
.usecase-card--vision h3 { color: var(--accent); }
.usecase-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 14px;
    line-height: 1;
}
.usecase-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--accent-teal);
}
.usecase-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.65;
}
.uc-product {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(167,139,250,0.12);
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 20px;
    padding: 3px 11px;
    margin-bottom: 14px;
}
.uc-product.signal {
    color: var(--accent-teal);
    background: rgba(56,189,248,0.10);
    border-color: rgba(56,189,248,0.3);
}
/* ── WHY SECTION ─────────────────────────────── */
.why-section { background: linear-gradient(180deg, transparent, #0d1525 30%, #0d1525 70%, transparent); padding: 90px 24px; }
.why-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-text h2 { font-size: 2.2rem; font-weight: 900; margin: 0 0 20px; letter-spacing: -0.5px; }
.why-text p { color: var(--text-muted); font-size: 1rem; margin: 0 0 16px; }
.why-text p strong { color: var(--text-main); }
.vs-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.vs-header { display: grid; grid-template-columns: 1fr 1fr; }
.vs-col { padding: 16px 20px; font-size: 0.8rem; font-weight: 700; text-align: center; letter-spacing: 0.05em; text-transform: uppercase; }
.vs-col.bad  { background: rgba(239,68,68,0.1); color: #f87171; border-right: 1px solid var(--border); }
.vs-col.good { background: rgba(34,197,94,0.1); color: #4ade80; }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); font-size: 0.88rem; }
.vs-cell { padding: 13px 20px; color: var(--text-muted); }
.vs-cell.bad-cell  { border-right: 1px solid var(--border); }
.vs-cell.good-cell { color: var(--text-main); font-weight: 500; }
.vs-cell .x   { color: #ef4444; margin-right: 7px; }
.vs-cell .chk { color: var(--green); margin-right: 7px; }

/* ── ANTI-DETECTION ──────────────────────────── */
.anticheat-grid {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.ac-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    padding: 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ac-card:hover { border-color: rgba(34,197,94,0.3); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.ac-icon { font-size: 1.8rem; margin-bottom: 12px; }
.ac-card h4 { margin: 0 0 6px; font-size: 0.95rem; font-weight: 700; }
.ac-card p  { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

/* ── MODES ───────────────────────────────────── */
.modes-grid {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.mode-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 30px 28px; text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.mode-card:hover { transform: translateY(-5px); border-color: rgba(167,139,250,0.35); }
.mode-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.mode-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 10px; color: var(--accent); }
.mode-card p  { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── HOW IT WORKS ────────────────────────────── */
.how-section { background: linear-gradient(180deg, transparent, #0d1525 30%, #0d1525 70%, transparent); padding: 90px 24px; }
.steps { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; position: relative; }
.steps::before { content: ''; position: absolute; top: 26px; left: calc(16.66% + 26px); right: calc(16.66% + 26px); height: 2px; background: linear-gradient(90deg, rgba(124,58,237,0.5), rgba(79,70,229,0.5)); }
.step { text-align: center; }
.step-number { width: 52px; height: 52px; background: var(--primary-grad); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; margin: 0 auto 18px; box-shadow: 0 0 24px rgba(124,58,237,0.45); position: relative; z-index: 1; }
.step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 9px; }
.step p   { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ── FAQ ─────────────────────────────────────── */
.faq-container { max-width: 740px; margin: 0 auto; padding: 0 24px; }
details { background: var(--bg-card); margin-bottom: 10px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; transition: border-color 0.2s; }
details[open] { border-color: rgba(167,139,250,0.3); }
details summary { padding: 20px 24px; font-weight: 600; font-size: 0.97rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--accent); transition: transform 0.25s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* ── CTA & FOOTER ────────────────────────────── */
.cta-section { text-align: center; padding: 100px 24px 120px; background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(79,70,229,0.14) 0%, transparent 70%); }
.cta-section h2 { font-size: 2.7rem; font-weight: 900; margin-bottom: 18px; letter-spacing: -1.5px; }
.cta-section p { color: var(--text-muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto 40px; }
footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.77rem; line-height: 2; }
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.hero > * { animation: fadeUp 0.65s ease both; }
.hero > *:nth-child(1) { animation-delay: 0.05s; }
.hero > *:nth-child(2) { animation-delay: 0.15s; }
.hero > *:nth-child(3) { animation-delay: 0.25s; }
.hero > *:nth-child(4) { animation-delay: 0.35s; }
.hero > *:nth-child(5) { animation-delay: 0.45s; }

/* ── HAMBURGER & MOBILE NAV ─────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 10px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #334155;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.mobile-nav.open {
    display: block;
    animation: mnav-in 0.2s ease both;
}
@keyframes mnav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 6px 0 10px;
}
.mobile-nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding: 14px 24px;
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    display: block;
}
.mobile-nav-links a:hover {
    color: var(--accent);
    border-left-color: var(--accent);
    background: rgba(167,139,250,0.06);
}
body.nav-open { overflow: hidden; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .products-wrap { grid-template-columns: 1fr; }
    .why-grid      { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .steps         { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
    .usecases-grid  { grid-template-columns: 1fr; }
    .hero h1        { font-size: 2.6rem; letter-spacing: -1px; }
    .section-title  { font-size: 2rem; }
    .cta-section h2 { font-size: 2rem; }
    .nav-links      { display: none; }
    .stats-bar      { gap: 28px; }
    .stat-item strong { font-size: 1.5rem; }
    .hamburger      { display: flex !important; }
    .header-right .btn-cta { display: none; }
}
@media (max-width: 900px) {
    :lang(de) .header-right .btn-cta,
    :lang(ro) .header-right .btn-cta,
    :lang(pl) .header-right .btn-cta { font-size: 0.78rem; padding: 7px 11px; }
}

.error-page {
    min-height: calc(100vh - 220px);
    padding: 120px 24px 90px;
    text-align: center;
    background: radial-gradient(ellipse 90% 50% at 50% -5%, rgba(79,70,229,0.18) 0%, transparent 65%), var(--bg-dark);
}
.error-page h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin: 0 0 18px;
    letter-spacing: -1px;
}
.error-page p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 0 auto 34px;
}
@media (max-width: 520px) {
    .usecases-grid { grid-template-columns: 1fr; }
    .usecases-section { padding: 0 18px; }
    .header-inner { padding: 0 16px; }
    .header-right { gap: 6px; }
    .site-header { height: auto; min-height: 64px; padding: 8px 0; }
    .logo { font-size: 1.12rem; }
    .btn-cta { padding: 8px 13px; font-size: 0.8rem; }
    .lang-switcher { margin-left: 4px; }
    .lang-btn { padding: 7px 9px; }
    .hero { padding: 86px 18px 68px; }
    .hero h1 { font-size: 2.25rem; line-height: 1.08; }
    .hero p { font-size: 1rem; }
    .hero-eyebrow { max-width: 100%; justify-content: center; flex-wrap: wrap; }
    .btn-cta.large, .btn-ghost { width: 100%; max-width: 340px; text-align: center; padding-left: 18px; padding-right: 18px; }
    .products-wrap, .anticheat-grid, .modes-grid, .faq-container { padding: 0 18px; }
    .product-card { padding: 32px 24px; border-radius: 16px; }
    .vs-row, .vs-header { grid-template-columns: 1fr; }
    .vs-cell.bad-cell, .vs-col.bad { border-right: 0; }
    .section-gap { height: 64px; }
    .section-title { font-size: 1.75rem; }
    .error-page h1 { font-size: 2.3rem; }
}

