/* ========================================
   BEYONIX — shared styles
   Brand: see brand-backup files/beyonix-brand-guide.txt
======================================== */

:root {
    --void: #0A0E1A;
    --deep: #151B2E;
    --slate: #1E2738;
    --line: rgba(184, 197, 214, 0.14);
    --electric: #00F0FF;
    --magenta: #FF0080;
    --purple: #8B7FE8;
    --gold: #FFC700;
    --steel: #B8C5D6;
    --ghost: #E8EEF5;
    --radius: 18px;
    --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--void);
    color: var(--ghost);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--electric); }
strong { color: var(--ghost); }

/* Background glow */
.bg-glow {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 5%, rgba(255, 0, 128, 0.12), transparent 70%),
        radial-gradient(700px 500px at 5% 30%, rgba(0, 240, 255, 0.10), transparent 70%);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.gradient-text {
    background: linear-gradient(90deg, var(--electric), var(--purple), var(--magenta));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ========================================
   NAVIGATION
======================================== */
#navbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 14, 26, 0.82);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    max-width: var(--max); margin: 0 auto; padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    font-family: 'Audiowide', sans-serif; font-size: 1.25rem; letter-spacing: 2px;
}
.nav-logo img { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--steel); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--electric); }
.nav-links .btn { padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; }

@media (max-width: 760px) {
    .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
    .nav-container { padding: 12px 16px; }
    .nav-logo { font-size: 1.05rem; letter-spacing: 1.5px; gap: 8px; }
    .nav-logo img { width: 30px; height: 30px; }
    .nav-links .btn { padding: 9px 14px; font-size: 0.85rem; }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 999px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
    background: linear-gradient(90deg, var(--electric), var(--magenta));
    color: var(--void);
}
.nav-links .btn-primary { color: var(--void); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.25); }
.btn-secondary { border: 1px solid var(--line); color: var(--ghost); background: rgba(255, 255, 255, 0.03); }
.btn-secondary:hover { border-color: var(--electric); color: var(--electric); }

/* ========================================
   SECTIONS
======================================== */
section { padding: 96px 0; }
.section-alt { background: rgba(21, 27, 46, 0.55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-label {
    display: inline-block; color: var(--electric);
    font-size: 0.8rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
    margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.lead { color: var(--steel); font-size: 1.12rem; max-width: 680px; }
.section-head { margin-bottom: 52px; }

/* ========================================
   HERO
======================================== */
.hero { padding: 90px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid rgba(0, 240, 255, 0.35); background: rgba(0, 240, 255, 0.06);
    color: var(--electric); font-weight: 700; font-size: 0.85rem; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; margin-bottom: 24px; }
.hero p { color: var(--steel); font-size: 1.15rem; max-width: 600px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-logo { position: relative; justify-self: center; width: min(340px, 80vw); }
.hero-logo::before {
    content: ''; position: absolute; inset: 10%; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.35), rgba(255, 0, 128, 0.2) 50%, transparent 70%);
    filter: blur(40px);
}
.hero-logo img { position: relative; filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.35)); }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
    .hero-logo { transition: transform 0.15s ease-out; transform-style: preserve-3d; }
    .hero-logo:hover img { transform: translateZ(50px); }
    .hero-logo img { transition: transform 0.3s; }
}

@media (max-width: 860px) {
    .hero { padding-top: 56px; }
    .hero-grid { grid-template-columns: 1fr; gap: 20px; }
    .hero-logo { order: -1; width: 120px; justify-self: start; }
}

/* Proof strip */
.proof { padding: 0 0 40px; }
.proof-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.proof-item { padding: 22px 24px; background: rgba(30, 39, 56, 0.45); }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--ghost); }
.proof-item span { color: var(--steel); font-size: 0.92rem; }
@media (max-width: 860px) {
    .proof-grid { grid-template-columns: 1fr 1fr; }
    .proof-item:nth-child(3) { border-left: 0; }
    .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ========================================
   CARDS (services, steps)
======================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px;
}
.card p { color: var(--steel); }
.card-icon {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
    display: grid; place-items: center; font-size: 1.3rem;
    background: rgba(0, 240, 255, 0.1); color: var(--electric);
}
.card:nth-child(2) .card-icon { background: rgba(255, 0, 128, 0.1); color: var(--magenta); }
.card:nth-child(3) .card-icon { background: rgba(255, 199, 0, 0.1); color: var(--gold); }
.card ul { list-style: none; margin-top: 16px; }
.card li { color: var(--steel); padding: 5px 0 5px 24px; position: relative; font-size: 0.96rem; }
.card li::before { content: '✓'; position: absolute; left: 0; color: var(--electric); font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { border-top: 2px solid var(--line); padding-top: 22px; }
.step::before {
    counter-increment: step; content: '0' counter(step);
    font-family: 'Audiowide', sans-serif; color: var(--electric); font-size: 1rem; display: block; margin-bottom: 10px;
}
.step p { color: var(--steel); font-size: 0.97rem; }

.trade-links {
    margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.trade-links span { color: var(--steel); font-weight: 700; margin-right: 4px; }
.trade-links a {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
    color: var(--ghost); text-decoration: none; font-weight: 700;
}
.trade-links a i { color: var(--electric); }
.trade-links a:hover { border-color: var(--electric); color: var(--electric); }

.pricing-note {
    margin-top: 48px; padding: 28px 30px; border-radius: var(--radius);
    border: 1px solid rgba(255, 0, 128, 0.3);
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.06), rgba(255, 0, 128, 0.06));
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.pricing-note p { color: var(--steel); max-width: 680px; }
.pricing-note strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }

@media (max-width: 960px) {
    .cards { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .steps { grid-template-columns: 1fr; }
}

/* ========================================
   WORK
======================================== */
.feature {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    background: var(--slate); border: 1px solid var(--line); border-radius: 24px;
    padding: 44px; margin-bottom: 28px;
}
.feature-tag {
    display: inline-block; padding: 5px 12px; border-radius: 999px; margin: 0 6px 8px 0;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
    color: var(--steel); font-size: 0.8rem; font-weight: 700;
}
.feature-tag.hot { color: var(--gold); border-color: rgba(255, 199, 0, 0.4); }
.feature p { color: var(--steel); margin: 12px 0 22px; }
.feature-visual { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; }
.phone {
    width: 46%; max-width: 230px; border-radius: 26px; overflow: hidden;
    border: 6px solid #000; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
    background: #000;
}
.phone:nth-child(2) { margin-top: 40px; }
.store-shot {
    width: 100%; max-width: 300px; border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.icon-stage {
    width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 45%, rgba(255, 140, 0, 0.25), transparent 65%), var(--deep);
}
.icon-stage img { width: 46%; border-radius: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mini {
    background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
}
.mini-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.mini-body p { color: var(--steel); font-size: 0.96rem; margin-bottom: 18px; flex: 1; }
.mini-links { display: flex; flex-wrap: wrap; gap: 14px; }
.mini-links a { font-weight: 700; text-decoration: none; font-size: 0.93rem; }
.mini-links a:hover { text-decoration: underline; }

@media (max-width: 960px) {
    .feature { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
    .mini-grid { grid-template-columns: 1fr; }
}

/* ========================================
   ABOUT
======================================== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.founder-photo {
    width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin-bottom: 22px;
    border: 3px solid transparent;
    background: linear-gradient(var(--void), var(--void)) padding-box, linear-gradient(135deg, var(--electric), var(--magenta)) border-box;
}
.about-text p { color: var(--steel); margin-bottom: 18px; font-size: 1.05rem; }
.mission {
    background: var(--slate); border: 1px solid var(--line); border-left: 3px solid var(--magenta);
    border-radius: var(--radius); padding: 30px;
}
.mission p { color: var(--steel); }
.mission .quote { margin-top: 18px; font-style: italic; color: var(--ghost); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ========================================
   CONTACT
======================================== */
.contact { text-align: center; }
.contact .lead { margin: 0 auto 36px; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 700;
    color: var(--ghost); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.contact-btn:hover { border-color: var(--electric); color: var(--electric); }
.contact-btn.main { background: linear-gradient(90deg, var(--electric), var(--magenta)); color: var(--void); border: 0; }

/* ========================================
   ARTICLE PAGES (case study, privacy)
======================================== */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 20px; }
.crumbs { font-size: 0.9rem; color: var(--steel); margin-bottom: 22px; }
.crumbs a { color: var(--steel); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--steel); font-size: 1.05rem; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.fact { background: var(--slate); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fact small { display: block; color: var(--steel); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.fact b { font-size: 1rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
@media (max-width: 960px) { .feature-list { grid-template-columns: 1fr; } }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; justify-items: center; margin-top: 30px; }
.shots figure { width: 100%; max-width: 280px; }
.shots .phone { width: 100%; max-width: none; margin: 0; }
.shots figcaption { color: var(--steel); text-align: center; font-size: 0.92rem; margin-top: 14px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* ========================================
   FOOTER + COOKIE BANNER
======================================== */
footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--steel); font-size: 0.92rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--steel); margin-left: 18px; }
footer a:first-child { margin-left: 0; }

.cookie-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
    max-width: 640px; margin: 0 auto; padding: 18px 20px; border-radius: 16px;
    background: var(--deep); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { color: var(--steel); font-size: 0.92rem; flex: 1 1 280px; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn { padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--ghost); }
.cookie-btn.accept { background: var(--electric); color: var(--void); border-color: var(--electric); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.active { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
