/* ============================================================
   Aurora Glass  -  site stylesheet
   ============================================================ */

/* ---------- self-hosted font (no external request) ---------- */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --bg-0: #05030f;
    --bg-1: #0b0720;
    --ink: #f4f3ff;
    --ink-soft: rgba(244, 243, 255, 0.68);
    --ink-faint: rgba(244, 243, 255, 0.45);
    --violet: #8b5cf6;
    --violet-deep: #6d28d9;
    --fuchsia: #e879f9;
    --cyan: #22d3ee;
    --blue: #60a5fa;
    --mint: #34d399;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(255, 255, 255, 0.09);
    --stroke: rgba(255, 255, 255, 0.12);
    --stroke-soft: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px -20px rgba(5, 3, 15, 0.85);
    --radius: 22px;
    --radius-sm: 14px;
    --grad: linear-gradient(120deg, #8b5cf6 0%, #22d3ee 100%);
    --grad-warm: linear-gradient(120deg, #e879f9 0%, #8b5cf6 100%);
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(60% 50% at 12% 8%, rgba(139, 92, 246, 0.25), transparent 60%),
        radial-gradient(50% 45% at 88% 12%, rgba(34, 211, 238, 0.18), transparent 60%),
        radial-gradient(55% 50% at 70% 92%, rgba(232, 121, 249, 0.16), transparent 60%),
        linear-gradient(180deg, #05030f 0%, #0b0720 55%, #06040f 100%);
    z-index: -3;
}

.orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    animation: drift 22s ease-in-out infinite;
}

.orb.a { width: 480px; height: 480px; background: #7c3aed; top: -140px; left: -120px; }
.orb.b { width: 420px; height: 420px; background: #0891b2; top: 30%; right: -160px; animation-delay: -6s; }
.orb.c { width: 380px; height: 380px; background: #c026d3; bottom: -180px; left: 30%; animation-delay: -12s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-30px, 25px) scale(0.96); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { color: var(--ink-soft); }

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--grad);
}

/* ---------- glass surfaces ---------- */
.glass {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: var(--shadow);
}

.glass-soft {
    background: var(--glass);
    border: 1px solid var(--stroke-soft);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.94rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--grad);
    color: #0a0518;
    box-shadow: 0 12px 34px -12px rgba(34, 211, 238, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(139, 92, 246, 0.75); }

.btn-ghost {
    background: var(--glass);
    border-color: var(--stroke);
    color: var(--ink);
    backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--glass-strong); transform: translateY(-2px); }

.btn-warm {
    background: var(--grad-warm);
    color: #fff;
    box-shadow: 0 12px 34px -12px rgba(232, 121, 249, 0.7);
}
.btn-warm:hover { transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }

/* ---------- announcement ---------- */
.announce {
    position: relative;
    z-index: 60;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.85));
    color: #08040f;
    font-weight: 700;
    font-size: 0.84rem;
    text-align: center;
    padding: 9px 44px 9px 16px;
}
.announce a { text-decoration: underline; }
.announce .close-announce {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    line-height: 1;
    opacity: 0.75;
}
.announce .close-announce:hover { opacity: 1; }

/* ---------- navbar ---------- */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 0;
    transition: padding 0.3s ease;
}
.nav-wrap.scrolled { padding: 8px 0; }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 12px 11px 20px;
    border-radius: 999px;
    background: rgba(12, 8, 30, 0.62);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; }
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--grad);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #07030f;
    box-shadow: 0 8px 22px -8px rgba(34, 211, 238, 0.9);
}
.brand span small { display: block; font-size: 0.62rem; letter-spacing: 0.18em; color: var(--ink-faint); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--glass-strong); }

.nav-item { position: relative; }
.nav-drop {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 250px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(13, 8, 32, 0.94);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow: var(--shadow);
    display: grid;
    gap: 3px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 20;
}
.nav-drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop a { padding: 10px 13px; border-radius: 12px; font-size: 0.87rem; display: flex; gap: 10px; align-items: center; }
.nav-drop a i { font-style: normal; }
.nav-drop a span small { display: block; font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; }
@media (max-width: 980px) { .nav-item:hover .nav-drop { opacity: 0; visibility: hidden; } }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.88rem; color: var(--ink-soft);
    padding: 8px 12px; border-radius: 999px;
}
.nav-phone:hover { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--glass); border: 1px solid var(--stroke); }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; transition: 0.3s; }

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding: 16px;
    border-radius: var(--radius);
}
.mobile-menu a { padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--ink-soft); }
.mobile-menu a:hover { background: var(--glass-strong); color: var(--ink); }
.mobile-menu.open { display: flex; }

/* ---------- hero ---------- */
.hero { padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; }
.hero h1 { margin: 16px 0 18px; }
.hero-lead { font-size: 1.06rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }

.trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span {
    width: 38px; height: 38px; border-radius: 50%;
    border: 2px solid rgba(12, 8, 30, 0.8);
    margin-left: -12px;
    display: grid; place-items: center;
    font-size: 0.82rem; font-weight: 700; color: #08040f;
}
.avatars span:first-child { margin-left: 0; }
.trust small { color: var(--ink-faint); font-weight: 600; }

.hero-visual { position: relative; }
.hero-card { padding: 24px; }
.hero-card .mini-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--stroke-soft);
    margin-top: 12px;
}
.hero-card .mini-row:first-of-type { margin-top: 18px; }
.mini-ico {
    width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
    display: grid; place-items: center; font-size: 1.1rem;
    background: rgba(139, 92, 246, 0.18); border: 1px solid var(--stroke);
}
.hero-float {
    position: absolute;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    animation: floaty 6s ease-in-out infinite;
}
.hero-float.one { top: -18px; right: 6px; }
.hero-float.two { bottom: -16px; left: -10px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- sections ---------- */
section { padding: 62px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head h2 { margin: 12px 0 12px; }
.section-head p { font-size: 1rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { padding: 26px; transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.5); background: var(--glass-strong); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.94rem; }

.card-ico {
    width: 52px; height: 52px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.4rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(34, 211, 238, 0.22));
    border: 1px solid var(--stroke);
}

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.9rem; color: var(--cyan); margin-top: 14px; }
.link-arrow:hover { gap: 11px; }

.feature-img {
    height: 170px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    border: 1px solid var(--stroke);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.feature-img::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5, 3, 15, 0.05), rgba(5, 3, 15, 0.55));
}

.checks { list-style: none; display: grid; gap: 11px; margin-top: 16px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 0.94rem; }
.checks li::before {
    content: "✓";
    flex: 0 0 auto;
    width: 21px; height: 21px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 0.72rem; font-weight: 800; color: #071018;
    background: var(--grad);
    margin-top: 2px;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; position: relative; }
.step-num {
    font-size: 2.4rem; font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1;
    margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }

/* ---------- testimonials ---------- */
.story { padding: 26px; }
.story .quote { font-size: 0.97rem; color: var(--ink-soft); }
.stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 12px; font-size: 0.9rem; }
.story-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.story-person .avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; color: #08040f;
}
.story-person strong { display: block; font-size: 0.92rem; }
.story-person small { color: var(--ink-faint); font-size: 0.78rem; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); overflow: hidden; background: var(--glass); border: 1px solid var(--stroke-soft); }
.faq-q {
    width: 100%; text-align: left;
    padding: 19px 22px;
    font-weight: 700; font-size: 0.98rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .sign { font-size: 1.3rem; color: var(--cyan); transition: transform 0.3s ease; line-height: 1; }
.faq-item.open .faq-q .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 0.93rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 15px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stroke);
    color: var(--ink);
    font-size: 0.94rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: #120c28; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.75);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}
.field .err { font-size: 0.76rem; color: #fb7185; min-height: 14px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #fb7185; }

.form-note { font-size: 0.78rem; color: var(--ink-faint); margin-top: 12px; }

.form-success {
    display: none;
    text-align: center;
    padding: 34px 24px;
}
.form-success.show { display: block; }
.success-ring {
    width: 74px; height: 74px; border-radius: 50%;
    margin: 0 auto 18px;
    display: grid; place-items: center;
    font-size: 2rem;
    background: var(--grad);
    color: #071018;
    box-shadow: 0 0 0 10px rgba(139, 92, 246, 0.14);
}

.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px; align-items: start; }
.contact-tile { padding: 22px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.contact-tile .mini-ico { width: 46px; height: 46px; }

/* ---------- cta band ---------- */
.cta-band { padding: 44px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(60% 120% at 50% 0%, rgba(139, 92, 246, 0.28), transparent 70%);
}
.cta-band > * { position: relative; }

/* ---------- footer ---------- */
footer { margin-top: 40px; padding: 56px 0 26px; border-top: 1px solid var(--stroke-soft); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.foot-brand p { font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.foot h4 { font-size: 0.98rem; margin-bottom: 15px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-soft); font-size: 0.9rem; }
.foot ul a:hover { color: var(--cyan); }
.foot-contact li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 0.9rem; align-items: center; }
.foot-bottom {
    margin-top: 38px; padding-top: 22px;
    border-top: 1px solid var(--stroke-soft);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 0.82rem; color: var(--ink-faint);
}
.disclaimer { font-size: 0.78rem; color: var(--ink-faint); margin-top: 10px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 54px 0 20px; }
.breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--cyan); }
.page-hero p { max-width: 700px; font-size: 1.02rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .img-panel {
    border-radius: var(--radius);
    min-height: 320px;
    border: 1px solid var(--stroke);
    background-size: cover; background-position: center;
    box-shadow: var(--shadow);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill {
    padding: 9px 16px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--stroke);
    font-size: 0.82rem; font-weight: 700; color: var(--ink-soft);
    backdrop-filter: blur(10px);
}
.pill strong { color: var(--ink); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 22px; text-align: center; }
.stat b { display: block; font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--ink-faint); font-weight: 600; }

.mini-feature { padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.mini-feature h4 { font-size: 0.98rem; margin-bottom: 6px; }
.mini-feature p { font-size: 0.88rem; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba-col { padding: 24px; }
.ba-col h4 { margin-bottom: 14px; font-size: 0.95rem; }
.ba-col ul { list-style: none; display: grid; gap: 10px; }
.ba-col li { font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 9px; }
.ba-before li::before { content: "✕"; color: #fb7185; font-weight: 800; }
.ba-after li::before { content: "✓"; color: var(--mint); font-weight: 800; }

/* ---------- legal / article ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 20px; display: grid; gap: 8px; }
.prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose a { color: var(--cyan); text-decoration: underline; }
.prose .updated { font-size: 0.84rem; color: var(--ink-faint); margin-bottom: 20px; }

/* ---------- blog ---------- */
.blog-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.blog-search {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; border-radius: 999px;
    background: var(--glass); border: 1px solid var(--stroke);
    min-width: 260px;
}
.blog-search input { background: none; border: none; color: var(--ink); flex: 1; font-size: 0.9rem; }
.blog-search input:focus { outline: none; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.cat-chip {
    padding: 8px 15px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
    background: var(--glass); border: 1px solid var(--stroke); color: var(--ink-soft);
}
.cat-chip:hover, .cat-chip.active { background: var(--grad); color: #07030f; border-color: transparent; }

.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-thumb {
    height: 168px; display: grid; place-items: center;
    font-size: 2.4rem;
    position: relative;
}
.post-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 90% at 10% 0%, rgba(255,255,255,0.22), transparent 60%);
}
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 0.76rem; color: var(--ink-faint); margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .cat-tag { color: var(--cyan); font-weight: 700; }
.post-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.post-card p { font-size: 0.88rem; flex: 1; }

.article-head { max-width: 780px; margin: 0 auto 10px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-faint); font-size: 0.84rem; margin: 16px 0 26px; }
.article-hero {
    height: 260px; border-radius: var(--radius); margin: 0 auto 30px;
    max-width: 900px; border: 1px solid var(--stroke);
    display: grid; place-items: center; font-size: 3.4rem;
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 38px; }
.pagination a, .pagination span {
    min-width: 42px; height: 42px; padding: 0 12px;
    display: grid; place-items: center;
    border-radius: 12px; font-weight: 700; font-size: 0.88rem;
    background: var(--glass); border: 1px solid var(--stroke); color: var(--ink-soft);
}
.pagination a:hover { background: var(--glass-strong); color: var(--ink); }
.pagination .current { background: var(--grad); color: #07030f; border-color: transparent; }

/* ---------- modal ---------- */
.modal-back {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(4, 2, 12, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.modal-back.open { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
    width: min(560px, 96vw);
    background: linear-gradient(160deg, rgba(38, 22, 74, 0.92), rgba(14, 9, 34, 0.95));
    border: 1px solid var(--stroke);
    border-radius: 26px;
    padding: 30px;
    position: relative;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
    animation: popIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: 92vh;
    overflow-y: auto;
}
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }

.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--glass); border: 1px solid var(--stroke);
    display: grid; place-items: center; font-size: 1.1rem;
}
.modal-close:hover { background: var(--glass-strong); }

.offer-badge {
    display: inline-block;
    padding: 7px 15px; border-radius: 999px;
    background: var(--grad-warm); color: #fff;
    font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.modal h2 { font-size: 1.7rem; margin-bottom: 10px; }
.modal .offer-list { list-style: none; display: grid; gap: 9px; margin: 16px 0 22px; }
.modal .offer-list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.modal .offer-list li::before { content: "✓"; color: var(--mint); font-weight: 800; }

/* ---------- chat widget ---------- */
.chat-toggle {
    position: fixed; right: 22px; bottom: 22px; z-index: 150;
    width: 62px; height: 62px; border-radius: 50%;
    background: var(--grad);
    display: grid; place-items: center;
    box-shadow: 0 16px 40px -12px rgba(34, 211, 238, 0.8);
    transition: transform 0.3s ease;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-toggle .ico { font-size: 1.6rem; color: #071018; }
.chat-toggle .dot {
    position: absolute; top: 4px; right: 4px;
    width: 15px; height: 15px; border-radius: 50%;
    background: #22c55e; border: 3px solid #071018;
    display: none;
}
.chat-toggle .dot.on { display: block; }

.chat-panel {
    position: fixed; right: 22px; bottom: 96px; z-index: 150;
    width: min(374px, 92vw);
    height: min(560px, 76vh);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(170deg, rgba(30, 18, 62, 0.94), rgba(11, 7, 28, 0.97));
    border: 1px solid var(--stroke);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
    animation: popIn 0.35s ease;
}
.chat-panel.open { display: flex; }

.chat-head {
    padding: 16px 18px;
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.35), rgba(34, 211, 238, 0.22));
    border-bottom: 1px solid var(--stroke);
    display: flex; align-items: center; gap: 12px;
}
.chat-head .who { flex: 1; }
.chat-head .who strong { display: block; font-size: 0.95rem; }
.chat-head .who small { color: var(--ink-soft); font-size: 0.76rem; display: flex; align-items: center; gap: 6px; }
.chat-head .who small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.chat-head button { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--stroke); }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 3px; }

.bubble { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 0.89rem; line-height: 1.5; animation: bubbleIn 0.28s ease; overflow-wrap: anywhere; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bubble.them { align-self: flex-start; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--stroke-soft); border-bottom-left-radius: 5px; }
.bubble.me { align-self: flex-end; background: var(--grad); color: #071018; font-weight: 600; border-bottom-right-radius: 5px; }
.bubble .time { display: block; font-size: 0.64rem; opacity: 0.6; margin-top: 5px; }

.chat-foot { padding: 12px; border-top: 1px solid var(--stroke-soft); display: flex; gap: 9px; align-items: flex-end; }
.chat-foot textarea {
    flex: 1; resize: none; max-height: 90px;
    padding: 11px 14px; border-radius: 14px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke);
    color: var(--ink); font-size: 0.88rem;
}
.chat-foot textarea:focus { outline: none; border-color: rgba(139, 92, 246, 0.7); }
.chat-foot .send {
    width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto;
    background: var(--grad); color: #071018; font-size: 1.1rem;
    display: grid; place-items: center;
}

.chat-form { padding: 20px 18px; display: flex; flex-direction: column; gap: 13px; }
.chat-form p.small { font-size: 0.83rem; }
.chat-details {
    flex: 0 0 auto;
    padding: 14px 18px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid var(--stroke-soft);
    animation: popIn 0.3s ease;
}
.chat-details p.small { margin-bottom: 2px; }
.chat-details .field { margin: 0; }
.link-skip {
    flex: 0 0 auto;
    background: none; border: 1px solid var(--stroke); border-radius: 999px;
    color: var(--ink-soft); font-size: 0.72rem; font-weight: 700;
    padding: 4px 12px; cursor: pointer; transition: 0.2s ease;
}
.link-skip:hover { color: var(--ink); border-color: rgba(139, 92, 246, 0.6); }
.chat-typing { font-size: 0.72rem; color: var(--ink-faint); padding: 0 18px 8px; min-height: 18px; }

.chat-launcher-note {
    position: fixed; right: 96px; bottom: 34px; z-index: 149;
    padding: 10px 16px; border-radius: 16px 16px 4px 16px;
    background: var(--glass-strong); border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
    font-size: 0.82rem; font-weight: 600;
    box-shadow: var(--shadow);
    display: none;
}
.chat-launcher-note.show { display: block; animation: popIn 0.4s ease; }

/* ---------- toast ---------- */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px);
    z-index: 300;
    padding: 13px 22px; border-radius: 999px;
    background: rgba(20, 12, 42, 0.95);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
    font-size: 0.88rem; font-weight: 600;
    opacity: 0; pointer-events: none; transition: 0.35s ease;
    box-shadow: var(--shadow);
    max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(251, 113, 133, 0.6); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
    .nav-links, .nav-phone { display: none; }
    .burger { display: block; }
    .hero-grid, .split, .contact-layout { grid-template-columns: 1fr; }
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .split .img-panel { min-height: 280px; }
}

@media (max-width: 760px) {
    section { padding: 52px 0; }
    .hero { padding: 48px 0 28px; }
    .cta-band { padding: 34px 24px; }
    .card, .step, .story { padding: 22px; }
    .navbar { padding: 9px 10px 9px 14px; }
    .brand span small { display: none; }
    .section-head { margin-bottom: 30px; }

    /* lighter rendering on phones/tablets for smooth scrolling */
    .orb { animation: none; filter: blur(60px); opacity: 0.4; }
    .glass, .glass-soft, .navbar, .mobile-menu, .nav-drop, .pill,
    .chat-launcher-note, .toast {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .modal-back { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
}

@media (max-width: 620px) {
    section { padding: 44px 0; }
    .grid-4, .grid-3, .grid-2, .form-grid, .before-after { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .modal { padding: 24px 20px; }
    .cta-band { padding: 30px 22px; }
    .nav-actions .btn { display: none; }
    .chat-launcher-note { display: none !important; }
    .split .img-panel { min-height: 210px; }
    .article-hero { height: 190px; font-size: 2.6rem; }
    .hero-float { display: none; }
    .hero-card { padding: 18px; }
    .stat b { font-size: 1.6rem; }
    .pagination a, .pagination span { min-width: 38px; height: 38px; }

    /* full-screen chat panel on phones */
    .chat-panel {
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        border: none;
    }
    .chat-body { padding: 14px; }
    .bubble { max-width: 88%; }
}

@media (max-width: 400px) {
    .container { width: 94vw; }
    .btn { padding: 12px 18px; font-size: 0.9rem; }
    .announce { font-size: 0.78rem; }
    .hero-cta .btn { width: 100%; }
}

/* ---------- accessibility / performance ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
