/* ===== TOKENS ===== */
:root {
    --bg: #0a0a0b;
    --bg-soft: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ececf1;
    --muted: #9a9aab;
    --accent: #8b5cf6;
    --accent-2: #a78bfa;
    --accent-grad: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 55%, #7c3aed 100%);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.01em; }
.text-gradient { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-header { text-align: center; margin-bottom: 56px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, background .25s ease; cursor: pointer; border: none; gap: 8px; white-space: nowrap; }
.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 24px rgba(124, 58, 237, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(124, 58, 237, .5); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.2); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn-ghost { color: var(--muted); background: rgba(255,255,255,.04); }
.btn-ghost:hover { color: var(--accent-2); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; border-radius: 14px; }

/* ===== HEADER ===== */
#header { position: fixed; inset: 0 0 auto 0; z-index: 1000; padding: 16px 0; transition: all .3s ease; }
#header.scrolled { background: rgba(10,10,11,.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 10px 0; }
.nav-container { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 30px; width: auto; max-width: none; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav-link:hover { color: var(--text); }
.lang-selector { display: inline-flex; gap: 2px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.lang-btn { padding: 5px 9px; border-radius: 7px; font-size: .78rem; font-weight: 600; color: var(--muted); background: transparent; border: none; cursor: pointer; transition: all .2s; line-height: 1; }
.lang-btn.active { background: var(--accent); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--text); }

/* ===== HERO ===== */
.hero { padding: 150px 0 70px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -240px; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(139,92,246,.16) 0%, transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-subtitle { font-size: 1.2rem; color: var(--muted); margin: 22px 0 32px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-mockup { transition: transform .5s ease; }
.hero-mockup:hover { transform: translateY(-4px); }

/* floating pills */
.pill { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(20,20,24,.85); border: 1px solid var(--border); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.4); animation: float 6s ease-in-out infinite; }
.pill img { width: 18px; height: 18px; }
.pill-1 { top: -18px; left: -28px; animation-delay: 0s; }
.pill-2 { top: 38%; left: -52px; animation-delay: .8s; }
.pill-3 { bottom: 12%; left: -22px; animation-delay: 1.6s; }
.pill-4 { top: -22px; right: -10px; animation-delay: .4s; }
.pill-5 { top: 44%; right: -56px; animation-delay: 1.2s; }
.pill-6 { bottom: 6%; right: -20px; animation-delay: 2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* pill row (mobile + below hero) */
.pill-row { display: none; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.pill-row li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); font-size: .82rem; font-weight: 500; color: #cfcfda; }
.pill-row li img { width: 16px; height: 16px; }

/* ===== FEATURES ===== */
.features-section { padding: 110px 0; }
.section-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hub { max-width: 460px; margin: 30px auto 90px; opacity: 0; transform: scale(.94); transition: all .8s ease; }
.hub.visible { opacity: 1; transform: scale(1); }
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; opacity: 0; transform: translateY(40px); transition: all .8s ease; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block.visible { opacity: 1; transform: translateY(0); }
.feature-block--reverse { direction: rtl; }
.feature-block--reverse > * { direction: ltr; }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon img { width: 30px; height: 30px; }
.feature-info h3 { margin-bottom: 14px; }
.feature-info p { color: var(--muted); font-size: 1.05rem; }
.feature-info p + p { margin-top: 6px; }
.feature-visual img { margin: 0 auto; }

/* ===== CLIENTS ===== */
.clients-section { padding: 70px 0 90px; border-top: 1px solid var(--border); opacity: 0; transition: opacity .8s ease; }
.clients-section.visible { opacity: 1; }
.clients-title { text-align: center; color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 40px; }
.clients-wall { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px 56px; }
.clients-wall img { height: 30px; width: auto; opacity: .6; filter: grayscale(1) brightness(1.6); transition: opacity .3s, filter .3s; }
.clients-wall img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ===== CTA BAND ===== */
.cta-band { padding: 100px 0; }
.cta-inner { text-align: center; padding: 72px 32px; border-radius: 28px; background: radial-gradient(circle at 50% 0%, rgba(139,92,246,.14) 0%, transparent 70%), var(--bg-soft); border: 1px solid var(--border); opacity: 0; transform: translateY(30px); transition: all .8s ease; }
.cta-band.visible .cta-inner { opacity: 1; transform: translateY(0); }
.cta-inner h2 { margin-bottom: 30px; }
.cta-inner .hero-ctas { justify-content: center; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand img { height: 24px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .92rem; max-width: 280px; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--muted); transition: color .2s, transform .2s; display: inline-flex; }
.footer-social a:hover { color: var(--accent-2); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { color: #5a5a68; font-size: .85rem; }
.made-with { display: inline-flex; align-items: center; gap: 7px; color: #5a5a68; font-size: .85rem; transition: color .2s; }
.made-with:hover { color: var(--muted); }
.made-with img { height: 14px; opacity: .8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-visual { max-width: 540px; margin: 0 auto; }
    .pill { display: none; }
    .pill-row { display: flex; }
    .feature-block, .feature-block--reverse { grid-template-columns: 1fr; direction: ltr; gap: 28px; text-align: center; }
    .feature-icon { margin-left: auto; margin-right: auto; }
    .feature-info p { font-size: 1rem; }
    .footer-top { flex-direction: column; }
    .footer-right { align-items: flex-start; }
}
@media (max-width: 560px) {
    .clients-wall { gap: 30px 36px; }
    .clients-wall img { height: 24px; }
    .cta-inner { padding: 48px 22px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
