/* VEXORAS — dark cyber identity. Deliberately distinct from Console.Matrix
   (light theme). Violet→magenta accent, glass cards, subtle grid+glow. */

:root {
    --bg:        #0a0a0f;
    --bg-2:      #0d0d14;
    --surface:   rgba(255,255,255,0.04);
    --surface-2: rgba(255,255,255,0.06);
    --border:    rgba(255,255,255,0.10);
    --ink:       #f4f4fa;
    --muted:     #a0a0b4;
    --faint:     #6b6b80;
    --violet:    #8b5cf6;
    --magenta:   #d946ef;
    --grad:      linear-gradient(110deg, #8b5cf6 0%, #d946ef 100%);
    --glow:      0 0 40px rgba(139,92,246,0.35);
    --maxw:      1120px;
    --safe-l:    max(20px, env(safe-area-inset-left));
    --safe-r:    max(20px, env(safe-area-inset-right));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Inter, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── backdrop ─────────────────────────────────────────── */
.bg-grid, .bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-grid {
    background-image:
        linear-gradient(rgba(139,92,246,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,92,246,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
    background:
        radial-gradient(600px 380px at 50% -8%, rgba(217,70,239,0.18), transparent 70%),
        radial-gradient(700px 420px at 85% 12%, rgba(139,92,246,0.16), transparent 70%);
}

/* ── shared ───────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; font-weight: 600; font-size: 15px; line-height: 1;
    padding: 14px 22px; border-radius: 12px; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 56px rgba(217,70,239,0.5); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(139,92,246,0.5); }
.btn-lg { padding: 18px 30px; font-size: 17px; border-radius: 14px; }
.grad {
    background: var(--grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ── nav ──────────────────────────────────────────────── */
.nav {
    display: flex; align-items: center; gap: 20px;
    max-width: var(--maxw); margin: 0 auto;
    padding-block: 18px; padding-left: var(--safe-l); padding-right: var(--safe-r);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { display: block; }
.brand-word { font-weight: 800; letter-spacing: 0.18em; font-size: 18px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: 4px; }

/* ── hero ─────────────────────────────────────────────── */
main { max-width: var(--maxw); margin: 0 auto; padding-left: var(--safe-l); padding-right: var(--safe-r); }
section { padding-block: 84px; }
.hero { text-align: center; padding-top: 64px; }
.eyebrow { color: var(--violet); letter-spacing: 0.32em; font-size: 12px; font-weight: 700; margin: 0 0 18px; }
.hero-title { font-size: clamp(38px, 7vw, 76px); line-height: 1.04; font-weight: 800; margin: 0 0 22px; letter-spacing: -0.02em; }
.hero-sub { color: var(--muted); font-size: clamp(16px, 2.3vw, 20px); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--faint); font-size: 14px; margin-top: 22px; }

/* ── sections ─────────────────────────────────────────── */
.sec-title { text-align: center; font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0 0 44px; letter-spacing: -0.01em; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
    padding: 26px 22px; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.55); background: var(--surface-2); }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); box-shadow: var(--glow); position: relative; }
.card-ic::after {
    content: ""; position: absolute; inset: 0; border-radius: 12px;
    background: no-repeat center / 24px 24px;
}
.card-ic[data-ic="chat"]::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
.card-ic[data-ic="image"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E"); }
.card-ic[data-ic="music"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
.card-ic[data-ic="doc"]::after   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/%3E%3C/svg%3E"); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 760px; margin: 0 auto 22px; }
.chip {
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--surface); font-weight: 600; font-size: 15px; color: var(--ink);
}
.models-note { text-align: center; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ── gallery ──────────────────────────────────────────── */
.eyebrow.center { text-align: center; }
.sec-sub { text-align: center; color: var(--muted); max-width: 640px; margin: -30px auto 42px; font-size: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense; }
.shot {
    position: relative; margin: 0; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 1 / 1;
}
.shot-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.shot:hover img { transform: scale(1.06); }
.shot::after {
    content: ""; position: absolute; inset: 0; border-radius: 16px;
    box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s ease; pointer-events: none;
}
.shot:hover::after { box-shadow: inset 0 0 0 1px rgba(217,70,239,0.6), 0 0 34px rgba(139,92,246,0.28); }
.shot figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 13px;
    font-size: 13px; color: var(--muted);
    background: linear-gradient(transparent, rgba(10,10,15,0.94));
    opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
.shot:hover figcaption { opacity: 1; transform: translateY(0); }
.shot figcaption span { color: var(--ink); font-weight: 700; margin-right: 6px; }
.gallery-cta { text-align: center; margin-top: 34px; }
/* Touch devices have no hover — keep render captions always visible. */
@media (hover: none) {
    .shot figcaption { opacity: 1; transform: none; }
}

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px 20px; }
.why-item b { display: block; font-size: 17px; margin-bottom: 8px; }
.why-item span { color: var(--muted); font-size: 14.5px; }

.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0 0 12px; }
.cta-final p { color: var(--muted); margin: 0 0 28px; }

/* ── footer ───────────────────────────────────────────── */
.foot {
    border-top: 1px solid var(--border); margin-top: 40px;
    max-width: var(--maxw); margin-inline: auto;
    padding-block: 36px; padding-left: var(--safe-l); padding-right: var(--safe-r);
}
.foot-top { display: flex; align-items: center; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 18px 0 14px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { color: var(--faint); font-size: 13px; margin: 0; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
    .cards, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .shot-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
}
@media (max-width: 760px) {
    section { padding-block: 56px; }
    .nav-links { display: none; }
}
@media (max-width: 480px) {
    .cards, .why-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
    .shot, .shot-wide { grid-column: span 1; aspect-ratio: 4 / 3; }
    section { padding-block: 44px; }
    .hero { padding-top: 40px; }
    .btn { width: 100%; }
    .hero-cta { flex-direction: column; }
    .sec-sub { margin-top: -14px; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
