/* ==========================================================================
   PLIK: css/app-wow.css
   Narzędziownik — wygląd „wow” z 10.10.2026.

   Wczytywany tylko na stronie głównej (index.php → $extraStylesheets), PO
   style.css i app.css. Klasy .aw-* — ciemne sceny i paleta jak w Akademii
   i na platformie (#0a0c12 → #1a0a2e → #0d1f3c), złote CTA, ostre rogi.
   Typografia nagłówków jak na manawaflow.pl i w coachingu: Poppins 200/300,
   słowo-klucz w <strong> 600 (na ciemnym — złote).

   Ruch: js/app-wow.js (płynące cząstki na canvasie, przechył 3D, światło
   za kursorem, przełączane ekrany „W środku”, linia kroków).
   Przy prefers-reduced-motion wszystko stoi w gotowej pozycji.

   Cofnięcie: usunąć $extraStylesheets/$extraScripts z index.php albo wrócić
   do index.php.bak-2026-10-10-wow.
   ========================================================================== */

.aw {
    --aw-night:  #0a0c12;
    --aw-plum:   #1a0a2e;
    --aw-navy:   #0d1f3c;
    --aw-violet: #b56bff;
    --aw-sky:    #4f8dff;
    --aw-gold:   #FDC500;
    --aw-ease:   cubic-bezier(0.22, 1, 0.36, 1);
    --aw-glass:  rgba(255, 255, 255, 0.05);
    --aw-gline:  rgba(255, 255, 255, 0.12);
    background: #fff;
}
/* Na tej stronie tło mesh z style.css tylko by mąciło ciemne sceny */
.aw::before { display: none; }

.aw-sr-only {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* ==========================================================================
   0. WSPÓLNE: sekcje, ciemne sceny, nagłówki, przyciski
   ========================================================================== */
.aw-sec {
    position: relative;
    padding: 120px 0;
    background: #fff;
    color: var(--color-dark);
    overflow: hidden;
    isolation: isolate;
}
.aw-soft { background: var(--bg-soft); }

.aw-dark {
    background: linear-gradient(145deg, var(--aw-night) 0%, var(--aw-plum) 46%, var(--aw-navy) 100%);
    color: #fff;
}
.aw-dark h1, .aw-dark h2, .aw-dark h3, .aw-dark h4 { color: #fff; }
.aw-dark p { color: rgba(255, 255, 255, 0.74); }

.aw-sec > .container { position: relative; z-index: 1; }

/* Tło ciemnej sceny: kule światła, siatka, ziarno */
.aw-scene-bg {
    position: absolute; inset: 0; z-index: -2;
    pointer-events: none; overflow: hidden;
}
.aw-orb {
    position: absolute;
    border-radius: 50%;                 /* rozmyta plama tła, nie element UI */
    filter: blur(100px);
    opacity: 0.55;
    animation: awOrb 18s ease-in-out infinite alternate;
}
.aw-orb.o1 { width: min(640px, 80vw); height: min(640px, 80vw); background: rgba(106, 13, 173, 0.6); top: -20%; right: -8%; }
.aw-orb.o2 { width: min(520px, 70vw); height: min(520px, 70vw); background: rgba(0, 71, 171, 0.5); bottom: -18%; left: -12%; animation-delay: -6s; }
.aw-orb.o3 { width: min(320px, 46vw); height: min(320px, 46vw); background: rgba(253, 197, 0, 0.16); top: 40%; left: 42%; animation-delay: -11s; }
@keyframes awOrb {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(36px, -30px, 0) scale(1.1); }
}
.aw-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: radial-gradient(ellipse 55% 70% at 72% 45%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 55% 70% at 72% 45%, #000 10%, transparent 72%);
}
.aw-grid.is-center {
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 5%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 5%, transparent 70%);
}
.aw-grain {
    position: absolute; inset: -50%;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: awGrain 1.2s steps(6) infinite;
}
@keyframes awGrain {
    0%   { transform: translate(0, 0); }
    20%  { transform: translate(-3%, 2%); }
    40%  { transform: translate(2%, -3%); }
    60%  { transform: translate(-2%, -1%); }
    80%  { transform: translate(3%, 3%); }
    100% { transform: translate(0, 0); }
}

/* Canvas z płynącymi cząstkami (js) */
.aw-flow {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 1.8s ease 0.2s;
    pointer-events: none;
}
.aw-flow.is-ready { opacity: 1; }

/* --- nagłówki sekcji --- */
.aw-head { max-width: 800px; margin-bottom: 64px; }
.aw-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.aw-head h2, .aw-h3 {
    text-wrap: balance;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    font-weight: 200;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 22px;
}
.aw-h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.aw-head h2 strong, .aw-h3 strong { font-weight: 600; }
.aw-dark .aw-head h2 strong, .aw-dark .aw-h3 strong { font-weight: 500; color: var(--aw-gold); }

.aw-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-head);
    font-size: 0.74rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--color-accent-1);
}
.aw-eyebrow::before {
    content: ''; width: 30px; height: 2px;
    background: linear-gradient(90deg, var(--color-accent-1), var(--aw-gold));
}
.aw-head.is-center .aw-eyebrow::after {
    content: ''; width: 30px; height: 2px;
    background: linear-gradient(90deg, var(--aw-gold), var(--color-accent-1));
}
.aw-dark .aw-eyebrow { color: var(--aw-gold); }

.aw-sub {
    font-size: 1.12rem; line-height: 1.75;
    color: var(--ink-mut);
    margin-bottom: 0;
}
.aw-dark .aw-sub { color: rgba(255, 255, 255, 0.72); }

/* --- przyciski --- */
.aw-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.aw-actions.is-center { justify-content: center; }

.aw-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 19px 34px;
    overflow: hidden;
    font-family: var(--font-head);
    font-size: 0.82rem; font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.25s var(--aw-ease);
    will-change: transform;
}
.aw-btn i { font-style: normal; transition: transform 0.3s var(--aw-ease); }
.aw-btn:hover i { transform: translateX(5px); }
.aw-btn-block { width: 100%; }

.aw-btn-gold {
    background: var(--aw-gold);
    border-color: var(--aw-gold);
    color: var(--color-dark);
    box-shadow: 0 16px 44px -14px rgba(253, 197, 0, 0.7);
}
.aw-btn-gold::after {                    /* przebłysk światła co kilka sekund */
    content: '';
    position: absolute; top: 0; bottom: 0; left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    animation: awSheen 5s ease-in-out 2s infinite;
}
@keyframes awSheen {
    0%, 70% { left: -60%; }
    100%    { left: 130%; }
}
.aw-btn-gold:hover {
    background: #ffd633; border-color: #ffd633; color: var(--color-dark);
    box-shadow: 0 22px 54px -12px rgba(253, 197, 0, 0.85);
}

.aw-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.aw-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.aw-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    display: flex; flex-direction: column; justify-content: center;
    padding: 90px 0 44px;
    overflow: hidden;
}

.aw-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
}

/* wejście elementów (bez JS też gra — to czysty CSS) */
.aw-in {
    opacity: 0;
    transform: translateY(26px);
    animation: awRise 1s var(--aw-ease) var(--d, 0s) forwards;
}
@keyframes awRise { to { opacity: 1; transform: none; } }

.aw-kicker {
    display: inline-flex; align-items: center; gap: 12px;
    margin-bottom: 28px;
    padding: 9px 16px 9px 12px;
    font-family: var(--font-head);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--aw-gline);
    border-left: 2px solid var(--aw-gold);
}
.aw-pulse {
    position: relative;
    width: 8px; height: 8px; flex: 0 0 8px;
    background: var(--aw-gold);
    border-radius: 50%;
}
.aw-pulse::after {
    content: ''; position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--aw-gold);
    animation: awPing 2.2s ease-out infinite;
}
@keyframes awPing {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.4); opacity: 0; }
}

.aw-title {
    margin: 0 0 28px;
    font-size: clamp(2.5rem, 4.3vw, 4.4rem);
    font-weight: 200;
    line-height: 1.06;
    letter-spacing: -2px;
}
.aw-line {
    display: block;
    overflow: hidden;
    padding: 0.04em 0 0.12em;
    margin-bottom: -0.1em;
}
.aw-line > span, .aw-line > strong {
    display: inline-block;
    transform: translateY(112%) rotate(4deg);
    transform-origin: left bottom;
    animation: awLine 1.15s var(--aw-ease) var(--d, 0s) forwards;
}
@keyframes awLine { to { transform: none; } }

.aw-gold {
    font-weight: 600;
    background: linear-gradient(100deg, #fff 0%, var(--aw-gold) 26%, #ffe566 44%, #fff6c9 50%, var(--aw-gold) 60%, #ffb800 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--aw-gold);
    animation:
        awLine 1.15s var(--aw-ease) var(--d, 0s) forwards,
        awShimmer 6s ease-in-out 1.8s infinite;
}
@keyframes awShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.aw-gold-static {
    font-weight: 500;
    background: linear-gradient(100deg, var(--aw-gold), #ffe566 50%, #ffb800);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--aw-gold);
}

.aw-lead {
    max-width: 560px;
    margin: 0 0 36px;
    font-size: 1.14rem; line-height: 1.75;
    color: rgba(255, 255, 255, 0.74) !important;
}
.aw-lead strong { color: #fff; font-weight: 700; }

.aw-ticks {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    margin-top: 32px;
}
.aw-ticks li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
}
.aw-ticks li::before {
    content: '✓';
    width: 20px; height: 20px; flex: 0 0 20px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
    color: var(--color-dark);
    background: var(--aw-gold);
}

/* --- makieta pulpitu (szkło, przechył 3D) --- */
.aw-hero-vis { position: relative; perspective: 1400px; }
.aw-stage {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-9deg) rotateX(5deg);
    transition: transform 0.6s var(--aw-ease);
    will-change: transform;
}
.aw-screen {
    position: relative;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow:
        0 50px 100px -40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(181, 107, 255, 0.08),
        0 0 80px -20px rgba(106, 13, 173, 0.55);
}
/* odblask przesuwany przez js (--gx, --gy) */
.aw-screen::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(500px circle at var(--gx, 70%) var(--gy, 0%), rgba(255, 255, 255, 0.12), transparent 45%);
    pointer-events: none;
}
.aw-screen-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
}
.aw-screen-bar i { width: 9px; height: 9px; background: rgba(255, 255, 255, 0.22); }
.aw-screen-bar i:first-child { background: var(--aw-gold); }
.aw-screen-bar b {
    margin-left: 10px;
    font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}
.aw-screen-bar span {
    margin-left: auto;
    font-size: 0.7rem; color: rgba(255, 255, 255, 0.45);
}
.aw-screen-body { padding: 20px; display: grid; gap: 14px; }

.aw-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aw-tile {
    padding: 13px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.aw-tile small {
    display: block; margin-bottom: 6px;
    font-family: var(--font-head); font-size: 0.62rem; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.aw-tile b {
    display: block;
    font-family: var(--font-head); font-size: 1.55rem; font-weight: 700;
    line-height: 1; color: #fff;
}
.aw-tile em {
    display: block; margin-top: 6px;
    font-style: normal; font-size: 0.66rem;
    color: #7ee2a8;
}

.aw-screen-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10px; }
.aw-mini-radar, .aw-mini-mood {
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; flex-direction: column; gap: 6px;
}
.aw-mini-radar span, .aw-mini-mood span {
    font-size: 0.62rem; letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.5);
}
.aw-mini-radar svg { width: 100%; height: auto; max-height: 132px; }
.aw-mini-mood svg { width: 100%; height: 100%; min-height: 110px; flex: 1; }

.aw-prog {
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-prog-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 10px;
    font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.aw-prog-head b { font-family: var(--font-head); font-size: 0.86rem; letter-spacing: 0; text-transform: none; color: #fff; }
.aw-days { display: grid; grid-template-columns: repeat(21, 1fr); gap: 4px; }
.aw-days i {
    display: block; aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.08);
}
.aw-days i.on {
    background: linear-gradient(135deg, var(--aw-violet), var(--aw-sky));
    animation: awPop 0.5s var(--aw-ease) backwards;
    animation-delay: calc(1s + var(--i) * 60ms);
}
.aw-days i.now {
    background: var(--aw-gold);
    animation: awDayPulse 2s ease-in-out infinite;
}
@keyframes awPop { from { transform: scale(0.2); opacity: 0; } }
@keyframes awDayPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(253, 197, 0, 0.7); }
    50%      { box-shadow: 0 0 0 6px rgba(253, 197, 0, 0); }
}

.aw-insight {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 13px 14px;
    background: linear-gradient(90deg, rgba(253, 197, 0, 0.12), rgba(253, 197, 0, 0.02));
    border-left: 2px solid var(--aw-gold);
}
.aw-insight-ico { color: var(--aw-gold); font-size: 0.95rem; line-height: 1.5; }
.aw-insight p { margin: 0; font-size: 0.82rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72) !important; }
.aw-insight b { color: #fff; }

/* radar i linia — wspólne dla hero i „W środku” */
.aw-r-ring { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.aw-r-axis { stroke: rgba(255, 255, 255, 0.08); stroke-width: 1; }
.aw-r-label { fill: rgba(255, 255, 255, 0.62); font-family: var(--font-head); font-size: 12px; font-weight: 500; }
.aw-r-was { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.5; stroke-dasharray: 4 4; }
.aw-r-now {
    fill: rgba(181, 107, 255, 0.28);
    stroke: var(--aw-violet); stroke-width: 2;
    stroke-linejoin: round;
    transform-origin: center; transform-box: fill-box;
    animation: awGrow 1.4s var(--aw-ease) 0.9s backwards;
}
@keyframes awGrow { from { transform: scale(0.15); opacity: 0; } }
.aw-r-dot {
    fill: var(--aw-gold);
    animation: awPop 0.4s var(--aw-ease) backwards;
    animation-delay: calc(1.6s + var(--i) * 50ms);
    transform-origin: center; transform-box: fill-box;
}

.aw-m-grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.aw-m-line {
    fill: none;
    stroke: var(--aw-violet); stroke-width: 3;
    stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: awDraw 2.2s var(--aw-ease) 1.1s forwards;
}
@keyframes awDraw { to { stroke-dashoffset: 0; } }
.aw-m-area { opacity: 0; animation: awFade 1.2s ease 2s forwards; }
@keyframes awFade { to { opacity: 1; } }

/* odklejone plakietki */
.aw-float {
    position: absolute;
    display: grid; gap: 2px;
    padding: 12px 16px;
    background: rgba(18, 14, 38, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
    transform: translateZ(60px);
    animation: awBob 6s ease-in-out infinite alternate;
}
.aw-float b { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--aw-gold); }
.aw-float span { font-size: 0.66rem; letter-spacing: 1.1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.aw-float.f1 { left: -46px; top: 40%; }
.aw-float.f2 { right: -30px; top: -30px; animation-delay: -2s; }
.aw-float.f3 { right: -22px; bottom: -34px; animation-delay: -4s; }
@keyframes awBob {
    from { translate: 0 0; }
    to   { translate: 0 14px; }
}

/* --- pasek liczb (szkło) --- */
.aw-facts-wrap { position: relative; z-index: 1; margin-top: 70px; }
.aw-facts {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--aw-gline);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.aw-facts > div {
    padding: 26px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-facts > div:last-child { border-right: none; }
.aw-facts b {
    display: block; margin-bottom: 6px;
    font-family: var(--font-head); font-size: 2.3rem; font-weight: 300;
    line-height: 1;
    background: linear-gradient(135deg, #fff 10%, var(--aw-gold) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.aw-facts span {
    font-family: var(--font-head); font-size: 0.7rem; font-weight: 500;
    letter-spacing: 1.4px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   2. TAŚMA NARZĘDZI
   ========================================================================== */
.aw-ticker {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.aw-ticker-track {
    display: flex; width: max-content;
    animation: awTicker 60s linear infinite;
}
.aw-ticker:hover .aw-ticker-track { animation-play-state: paused; }
.aw-ticker-set { display: flex; }
.aw-ticker span {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 0 34px;
    font-family: var(--font-head);
    font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 200;
    letter-spacing: -0.3px;
    color: var(--color-dark);
    white-space: nowrap;
}
.aw-ticker span i {
    font-style: normal; font-size: 0.9em;
    color: var(--color-accent-1);
}
.aw-ticker span::after {
    content: '✦';
    margin-left: 34px;
    font-size: 0.6em;
    color: var(--color-gold-ink);
}
@keyframes awTicker { to { transform: translateX(-50%); } }

/* ==========================================================================
   3. KATALOG — karty z przechyłem i światłem za kursorem
   ========================================================================== */
.aw .filters { margin: -30px 0 44px; }
.aw .filter { position: relative; overflow: hidden; }
.aw .filter.is-on {
    background: var(--color-dark); border-color: var(--color-dark);
    box-shadow: inset 0 -2px 0 var(--aw-gold);
}

.aw .tool-grid { gap: 28px; perspective: 1600px; }

.aw .tool-card {
    --mx: 50%; --my: 0%;
    background: #fff;
    border: 1px solid var(--line);
    padding: 34px 30px 28px;
    transform-style: preserve-3d;
    transition: transform 0.5s var(--aw-ease), box-shadow 0.5s ease, border-color 0.3s ease;
    box-shadow: 0 1px 0 rgba(15, 18, 25, 0.04);
}
/* krawędź w gradiencie akcentu — pojawia się przy najechaniu */
.aw .tool-card::before {
    top: 0; left: 0; right: 0; width: auto; height: 4px;
    background: linear-gradient(90deg, var(--tool-accent), var(--aw-gold));
    transform: scaleX(0.18); transform-origin: left;
    transition: transform 0.6s var(--aw-ease);
}
/* światło za kursorem */
.aw .tool-card::after {
    inset: 0; top: 0; right: 0; width: auto; height: auto;
    filter: none; opacity: 0;
    background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--tool-accent) 16%, transparent), transparent 60%);
    transition: opacity 0.4s ease;
}
.aw .tool-card:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--tool-accent) 45%, transparent);
    box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--tool-accent) 55%, rgba(15, 18, 25, 0.5));
}
.aw .tool-card:hover::before { transform: scaleX(1); width: auto; }
.aw .tool-card:hover::after { opacity: 1; }
.aw .tool-card > * { position: relative; z-index: 1; }

.aw .tool-ico {
    width: 54px; height: 54px; flex-basis: 54px;
    font-size: 1.45rem;
    background: linear-gradient(135deg, var(--tool-accent), color-mix(in srgb, var(--tool-accent) 55%, #0a0c12));
    box-shadow: 0 14px 30px -12px var(--tool-accent);
}
.aw .tool-card:hover .tool-ico { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.aw .tool-name { font-size: 1.5rem; font-weight: 600; }
.aw .tool-feats li::before {
    width: 14px; height: 14px; top: 4px;
    background: color-mix(in srgb, var(--tool-accent) 14%, #fff);
    border: 1px solid color-mix(in srgb, var(--tool-accent) 40%, transparent);
}
.aw .tool-feats li::after {
    content: ''; position: absolute; left: 4px; top: 8px;
    width: 6px; height: 6px;
    background: var(--tool-accent);
}
.aw .tool-go {
    padding: 14px 20px;
    background: var(--color-dark);
    position: relative; overflow: hidden;
}
.aw .tool-card:hover .tool-go {
    background: var(--tool-accent);
    box-shadow: 0 12px 26px -10px var(--tool-accent);
}

.aw-note {
    margin: 40px 0 0;
    padding: 20px 24px;
    font-size: 0.92rem; line-height: 1.7;
    color: var(--ink-mut);
    background: #fff;
    border: 1px solid var(--line);
    border-left: 3px solid var(--aw-gold);
}
.aw-note strong { color: var(--color-dark); }

/* ==========================================================================
   4. ZAJRZYJ DO ŚRODKA — przełączane ekrany + metoda
   ========================================================================== */
.aw-show {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 48px;
    align-items: center;
}

.aw-show-tabs { display: grid; gap: 10px; }
.aw-tab {
    position: relative;
    display: grid; grid-template-columns: 48px 1fr; gap: 16px;
    align-items: start;
    width: 100%;
    padding: 18px 20px 20px;
    text-align: left;
    font: inherit; color: #fff;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.35s ease, border-color 0.35s ease;
}
.aw-tab:hover { background: rgba(255, 255, 255, 0.04); }
.aw-tab.is-active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}
.aw-tab-ico {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem; line-height: 1;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.aw-tab.is-active .aw-tab-ico {
    color: var(--color-dark);
    background: var(--aw-gold);
    border-color: var(--aw-gold);
    box-shadow: 0 10px 30px -8px rgba(253, 197, 0, 0.6);
}
.aw-tab-txt small {
    display: block; margin-bottom: 3px;
    font-family: var(--font-head); font-size: 0.62rem; font-weight: 600;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.aw-tab-txt b {
    display: block;
    font-family: var(--font-head); font-size: 1.12rem; font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.3s ease;
}
.aw-tab.is-active .aw-tab-txt b { color: #fff; }
.aw-tab-desc {
    display: block;
    max-height: 0;
    font-size: 0.9rem; line-height: 1.6;
    color: rgba(255, 255, 255, 0.66);
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--aw-ease), margin 0.5s var(--aw-ease), opacity 0.4s ease;
}
.aw-tab.is-active .aw-tab-desc { max-height: 9em; margin-top: 8px; opacity: 1; }
.aw-tab-bar {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0;
}
.aw-tab.is-active .aw-tab-bar { opacity: 1; }
.aw-tab-bar i {
    display: block; height: 100%;
    width: calc(var(--p, 0) * 100%);
    background: linear-gradient(90deg, var(--aw-violet), var(--aw-gold));
}

/* urządzenie z ekranami */
.aw-device {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--aw-ease);
}
.aw-device-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: none;
}
.aw-device-bar i { width: 9px; height: 9px; background: rgba(255, 255, 255, 0.22); }
.aw-device-bar i:first-child { background: var(--aw-gold); }
.aw-device-bar b {
    margin: 0 auto;
    padding: 4px 18px;
    font-family: var(--font-head); font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}
.aw-device-screen {
    position: relative;
    min-height: 470px;
    padding: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.85), 0 0 90px -30px rgba(106, 13, 173, 0.6);
    overflow: hidden;
}
.aw-device-cap {
    margin: 14px 0 0;
    font-size: 0.78rem; text-align: center;
    color: rgba(255, 255, 255, 0.45) !important;
}

.aw-panel { display: none; }
.aw-panel.is-active { display: block; animation: awPanelIn 0.7s var(--aw-ease) both; }
@keyframes awPanelIn { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
.aw-panel[hidden] { display: none !important; }

.aw-panel-head {
    display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
    padding-bottom: 16px; margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-panel-head b { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: #fff; }
.aw-panel-head span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.aw-panel-head em { font-style: normal; font-weight: 700; color: var(--aw-gold); }

/* 1. koło */
.aw-wheel { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; align-items: center; }
.aw-wheel svg { width: 100%; height: auto; max-height: 360px; overflow: visible; }
.aw-panel.is-active .aw-r-now { animation: awGrow 1.2s var(--aw-ease) 0.15s backwards; }
.aw-panel.is-active .aw-r-dot { animation-delay: calc(0.8s + var(--i) * 50ms); }
.aw-legend { display: grid; gap: 12px; font-size: 0.84rem; color: rgba(255, 255, 255, 0.72); }
.aw-legend li { display: flex; align-items: center; gap: 10px; }
.aw-legend i { width: 22px; height: 10px; display: inline-block; }
.aw-legend i.is-now { background: rgba(181, 107, 255, 0.5); border: 2px solid var(--aw-violet); }
.aw-legend i.is-was { border: 1.5px dashed rgba(255, 255, 255, 0.55); }
.aw-legend-hint {
    display: block !important;
    margin-top: 6px; padding: 12px 14px;
    line-height: 1.5;
    background: rgba(253, 197, 0, 0.1);
    border-left: 2px solid var(--aw-gold);
}
.aw-legend-hint b { color: #fff; }

/* 2. nawyki */
.aw-habits { display: grid; grid-template-columns: 26px 1fr; gap: 8px; margin-bottom: 22px; }
.aw-heat-days { display: grid; grid-template-rows: repeat(7, 1fr); gap: 5px; font-size: 0.62rem; color: rgba(255, 255, 255, 0.4); }
.aw-heat-days span { display: flex; align-items: center; }
.aw-heat {
    display: grid;
    grid-template-rows: repeat(7, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 5px;
}
.aw-heat i { display: block; aspect-ratio: 1; background: rgba(255, 255, 255, 0.06); }
.aw-heat i.l1 { background: rgba(181, 107, 255, 0.3); }
.aw-heat i.l2 { background: rgba(140, 120, 255, 0.62); }
.aw-heat i.l3 { background: linear-gradient(135deg, var(--aw-violet), var(--aw-sky)); box-shadow: 0 0 12px -2px rgba(79, 141, 255, 0.7); }
.aw-panel.is-active .aw-heat i { animation: awPop 0.4s var(--aw-ease) backwards; animation-delay: calc(var(--i) * 9ms); }
.aw-habit-list { display: grid; gap: 8px; }
.aw-habit-list div {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 14px;
    font-size: 0.88rem; color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-habit-list b { font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.aw-habit-list b.is-ok { color: #7ee2a8; }

/* 3. dziennik */
.aw-mood { height: 270px; margin-bottom: 18px; }
.aw-mood svg { width: 100%; height: 100%; }
.aw-panel.is-active .aw-m-line { animation: awDraw 1.8s var(--aw-ease) 0.2s both; }
.aw-panel.is-active .aw-m-area { animation: awFade 1s ease 1s both; }
.aw-m-end { fill: var(--aw-gold); opacity: 0; transform-origin: center; transform-box: fill-box; }
.aw-panel.is-active .aw-m-end { animation: awPop 0.5s var(--aw-ease) 1.9s both, awFade 0.1s 1.9s forwards; }
.aw-checkin { display: flex; flex-wrap: wrap; gap: 8px; }
.aw-checkin span {
    padding: 9px 14px;
    font-size: 0.82rem; color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-checkin b { margin-left: 6px; color: var(--aw-gold); font-family: var(--font-head); }

/* 4. raport */
.aw-report { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aw-rcard {
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-panel.is-active .aw-rcard { animation: awRise 0.7s var(--aw-ease) backwards; animation-delay: calc(0.1s + var(--i) * 140ms); opacity: 1; transform: none; }
.aw-rcard small {
    display: block; margin-bottom: 8px;
    font-family: var(--font-head); font-size: 0.64rem; font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--aw-violet);
}
.aw-rcard p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: rgba(255, 255, 255, 0.75) !important; }
.aw-rcard b { color: #fff; }
.aw-rcard.is-gold {
    grid-column: 1 / -1;
    background: linear-gradient(120deg, rgba(253, 197, 0, 0.16), rgba(253, 197, 0, 0.03));
    border-color: rgba(253, 197, 0, 0.35);
}
.aw-rcard.is-gold small { color: var(--aw-gold); }
.aw-rcard ol { margin: 0; padding: 0; list-style: none; counter-reset: aw; display: grid; gap: 8px; }
.aw-rcard ol li {
    counter-increment: aw;
    display: flex; gap: 12px; align-items: center;
    font-size: 0.92rem; color: #fff;
}
.aw-rcard ol li::before {
    content: counter(aw);
    width: 24px; height: 24px; flex: 0 0 24px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
    color: var(--color-dark); background: var(--aw-gold);
}

/* 5. program 21 dni */
.aw-path { display: grid; gap: 16px; margin-bottom: 22px; }
.aw-path-row small {
    display: block; margin-bottom: 8px;
    font-family: var(--font-head); font-size: 0.64rem; font-weight: 600;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.aw-path-row > div { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.aw-path-row i {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1; max-height: 52px;
    font-style: normal; font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-path-row i.on {
    color: #fff;
    background: linear-gradient(135deg, rgba(181, 107, 255, 0.85), rgba(79, 141, 255, 0.85));
    border-color: transparent;
}
.aw-path-row i.now {
    color: var(--color-dark);
    background: var(--aw-gold); border-color: var(--aw-gold);
    animation: awDayPulse 2s ease-in-out infinite;
}
.aw-path-row i.lock::before { content: '·'; font-size: 1.3rem; }
.aw-panel.is-active .aw-path-row i.on { animation: awPop 0.45s var(--aw-ease) backwards; animation-delay: calc(var(--i) * 45ms); }
.aw-today { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aw-today div {
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-today small { display: block; margin-bottom: 4px; font-size: 0.66rem; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.aw-today b { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: #fff; }

/* --- metoda: cztery etapy, czternaście narzędzi --- */
.aw-method {
    margin-top: 120px;
    padding-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.aw-stage-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 24px 20px 18px;
    display: grid; gap: 8px; align-content: start;
}
.aw-stage-tools { display: grid; gap: 6px; }
/* Diagnoza (6 narzędzi): cały wiersz, nagłówek z boku, narzędzia w trzech kolumnach */
.aw-stage-col.is-wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(200px, 0.75fr) 3fr;
    gap: 24px;
    align-items: start;
}
.aw-stage-col.is-wide .aw-stage-head {
    flex-direction: column; gap: 14px;
    border-bottom: none; margin: 0; padding: 6px 24px 0 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    align-self: stretch;
}
.aw-stage-col.is-wide .aw-stage-head > b { font-size: 3rem; }
.aw-stage-col.is-wide .aw-stage-head h4 { font-size: 1.3rem; }
.aw-stage-col.is-wide .aw-stage-tools { grid-template-columns: repeat(3, 1fr); }
.aw-stage-head {
    display: flex; gap: 14px; align-items: flex-start;
    padding-bottom: 16px; margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.aw-stage-head > b {
    font-family: var(--font-head); font-size: 2rem; font-weight: 200;
    line-height: 1; color: var(--aw-gold);
}
.aw-stage-head h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; }
.aw-stage-head p { margin: 0; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.55) !important; }

.aw-ptool {
    --mx: 50%; --my: 50%;
    position: relative;
    display: grid; grid-template-columns: 34px 1fr; gap: 12px;
    padding: 12px;
    border: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--aw-ease);
    overflow: hidden;
}
.aw-ptool::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(220px circle at var(--mx) var(--my), rgba(181, 107, 255, 0.22), transparent 70%);
    opacity: 0; transition: opacity 0.3s ease;
    pointer-events: none;
}
.aw-ptool:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); transform: translateX(4px); }
.aw-ptool:hover::before { opacity: 1; }
.aw-ptool > * { position: relative; }
.aw-ptool > i {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    font-style: normal; font-size: 1rem;
    color: var(--aw-gold);
    border: 1px solid rgba(253, 197, 0, 0.35);
    background: rgba(253, 197, 0, 0.06);
}
.aw-ptool b { display: block; margin-bottom: 3px; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: #fff; }
.aw-ptool span { display: block; font-size: 0.8rem; line-height: 1.5; color: rgba(255, 255, 255, 0.58); }

/* ==========================================================================
   5. JAK TO DZIAŁA — linia rysowana przy przewijaniu
   ========================================================================== */
.aw-steps {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.aw-steps-line {
    position: absolute; left: 12.5%; right: 12.5%; top: 31px;
    height: 2px;
    background: var(--line);
}
.aw-steps-line i {
    display: block; height: 100%;
    width: calc(var(--p, 0) * 100%);
    background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2) 60%, var(--aw-gold));
    box-shadow: 0 0 14px rgba(106, 13, 173, 0.45);
}
.aw-step { position: relative; text-align: center; padding: 0 6px; }
.aw-step-node {
    position: relative; z-index: 1;
    width: 64px; height: 64px;
    margin: 0 auto 26px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
    color: var(--color-accent-1);
    background: #fff;
    border: 2px solid var(--line);
    transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s var(--aw-ease);
}
.aw-step.is-lit .aw-step-node {
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
    border-color: transparent;
    box-shadow: 0 16px 36px -12px rgba(106, 13, 173, 0.6);
    transform: scale(1.08);
}
.aw-step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.aw-step p { font-size: 0.94rem; line-height: 1.65; color: var(--ink-mut); margin: 0; }

/* ==========================================================================
   6. ZASADY — dwie taśmy w przeciwnych kierunkach
   ========================================================================== */
.aw-rules .aw-head { margin-bottom: 50px; }
.aw-marquee {
    overflow: hidden;
    padding: 9px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.aw-marquee-track {
    display: flex; gap: 18px; width: max-content;
    animation: awTicker 70s linear infinite;
}
.aw-marquee.is-reverse .aw-marquee-track { animation-direction: reverse; animation-duration: 80s; }
.aw-marquee:hover .aw-marquee-track { animation-play-state: paused; }
.aw-rule {
    position: relative;
    width: 440px; flex: 0 0 440px;
    margin: 0;
    padding: 28px 30px 24px 30px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.3s ease, transform 0.4s var(--aw-ease), box-shadow 0.4s ease;
}
.aw-rule::before {
    content: '“';
    position: absolute; top: 4px; right: 22px;
    font-family: var(--font-head); font-size: 4.6rem; font-weight: 700;
    line-height: 1;
    color: rgba(106, 13, 173, 0.1);
}
.aw-rule:hover { border-color: var(--color-accent-1); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(106, 13, 173, 0.5); }
.aw-rule p {
    margin: 0 0 16px;
    font-family: var(--font-head); font-size: 1.12rem; font-weight: 300;
    line-height: 1.5; color: var(--color-dark);
}
.aw-rule cite {
    display: inline-flex; align-items: center; gap: 10px;
    font-style: normal; font-family: var(--font-head);
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--color-gold-ink);
}
.aw-rule cite::before { content: ''; width: 20px; height: 2px; background: var(--aw-gold); }

/* ==========================================================================
   7. DLACZEGO — bento na ciemnym
   ========================================================================== */
.aw-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.aw-bento-tile {
    --mx: 50%; --my: 50%;
    position: relative;
    padding: 34px 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.5s var(--aw-ease);
}
.aw-bento-tile.is-wide { grid-column: span 2; }
.aw-bento-tile::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(181, 107, 255, 0.2), transparent 65%);
    opacity: 0; transition: opacity 0.4s ease;
    pointer-events: none;
}
.aw-bento-tile:hover { border-color: rgba(253, 197, 0, 0.4); transform: translateY(-6px); }
.aw-bento-tile:hover::before { opacity: 1; }
.aw-bento-tile > * { position: relative; }
.aw-bento-ico {
    width: 52px; height: 52px;
    margin-bottom: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--aw-gold);
    border: 1px solid rgba(253, 197, 0, 0.45);
    background: rgba(253, 197, 0, 0.07);
    transition: transform 0.5s var(--aw-ease), background 0.4s ease, color 0.4s ease;
}
.aw-bento-tile:hover .aw-bento-ico { transform: scale(1.1); background: var(--aw-gold); color: var(--color-dark); }
.aw-bento-tile h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 10px; }
.aw-bento-tile.is-wide h3 { font-size: 1.45rem; font-weight: 300; }
.aw-bento-tile p { margin: 0; font-size: 0.94rem; line-height: 1.65; }
.aw-bento-tile.is-wide p { font-size: 1.02rem; max-width: 46ch; }

/* ==========================================================================
   8. DLA KOGO
   ========================================================================== */
.aw-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.aw-col {
    position: relative;
    padding: 40px 38px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}
.aw-col::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2));
}
.aw-col.is-no::before { background: linear-gradient(90deg, #9aa3b5, #c9cfdb); }
.aw-col h3 {
    display: flex; align-items: center; gap: 14px;
    font-size: 1.3rem; font-weight: 600;
    margin-bottom: 26px;
}
.aw-col h3 span {
    width: 38px; height: 38px; flex: 0 0 38px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #fff;
    background: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2));
}
.aw-col.is-no h3 span { background: #9aa3b5; }
.aw-col ul { display: grid; gap: 14px; }
.aw-col li {
    position: relative;
    padding-left: 28px;
    font-size: 0.98rem; line-height: 1.6; color: var(--color-dark);
}
.aw-col li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 12px; height: 2px;
    background: var(--aw-gold);
}
.aw-col.is-no li { color: var(--ink-mut); }
.aw-col.is-no li::before { background: #b6bdcb; }

/* ==========================================================================
   9. STREFA KLIENTA
   ========================================================================== */
.aw-entry { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.aw-mini-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aw-mini-steps > div {
    padding: 26px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.aw-mini-steps b {
    display: block; margin-bottom: 14px;
    font-family: var(--font-head); font-size: 2rem; font-weight: 200;
    line-height: 1; color: var(--color-accent-1);
}
.aw-mini-steps h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.aw-mini-steps p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink-mut); }

.aw-entry-box {
    position: relative;
    padding: 38px 34px;
    color: #fff;
    background: linear-gradient(150deg, var(--aw-night) 0%, var(--aw-plum) 55%, var(--aw-navy) 100%);
    box-shadow: 0 50px 90px -40px rgba(26, 10, 46, 0.7);
    overflow: hidden;
}
.aw-entry-box::before {
    content: ''; position: absolute; top: -40%; right: -30%;
    width: 380px; height: 380px; border-radius: 50%;
    background: rgba(106, 13, 173, 0.5);
    filter: blur(80px);
    pointer-events: none;
}
.aw-entry-box > * { position: relative; }
.aw-entry-box h3 { color: #fff; font-size: 1.4rem; font-weight: 600; margin-bottom: 6px; }
.aw-entry-note { font-size: 0.88rem; color: rgba(255, 255, 255, 0.62) !important; margin-bottom: 22px; }
.aw-entry-links { display: grid; gap: 10px; margin-bottom: 26px; }
.aw-entry-link {
    display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
    padding: 13px 16px 13px 13px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--aw-ease);
}
.aw-entry-link:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(253, 197, 0, 0.5); transform: translateX(5px); }
.aw-entry-link i {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    font-style: normal; font-size: 1.15rem; color: #fff;
    background: var(--tool-accent, var(--color-accent-1));
}
.aw-entry-link b { display: block; font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: #fff; }
.aw-entry-link small { display: block; font-size: 0.76rem; color: rgba(255, 255, 255, 0.55); }
.aw-entry-link em { font-style: normal; color: var(--aw-gold); transition: transform 0.3s var(--aw-ease); }
.aw-entry-link:hover em { transform: translateX(4px); }

/* ==========================================================================
   10. PYTANIA
   ========================================================================== */
.aw-faq { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.aw-faq details {
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.aw-faq details[open] {
    border-color: rgba(106, 13, 173, 0.35);
    box-shadow: 0 24px 50px -36px rgba(106, 13, 173, 0.55);
}
.aw-faq summary {
    position: relative;
    list-style: none;
    padding: 24px 70px 24px 28px;
    font-family: var(--font-head); font-size: 1.04rem; font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}
.aw-faq summary::-webkit-details-marker { display: none; }
.aw-faq summary::before, .aw-faq summary::after {
    content: ''; position: absolute; right: 28px; top: 50%;
    width: 14px; height: 2px; margin-top: -1px;
    background: var(--color-accent-1);
    transition: transform 0.4s var(--aw-ease), opacity 0.3s ease;
}
.aw-faq summary::after { transform: rotate(90deg); }
.aw-faq details[open] summary::after { transform: rotate(0deg); opacity: 0; }
.aw-faq details[open] summary::before { background: var(--aw-gold); }
.aw-faq summary:hover { color: var(--color-accent-1); }
.aw-faq details > div { overflow: hidden; }
.aw-faq details p {
    margin: 0;
    padding: 0 28px 26px;
    font-size: 0.98rem; line-height: 1.75; color: var(--ink-mut);
}
.aw-faq details a { color: var(--color-accent-2); font-weight: 700; border-bottom: 1px solid currentColor; }
.aw-faq details.is-opening > div { animation: awFaq 0.45s var(--aw-ease); }
@keyframes awFaq { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   11. CTA KOŃCOWE
   ========================================================================== */
.aw-endcta { padding: 150px 0; text-align: center; }
.aw-endcta .aw-head { margin-bottom: 40px; }
.aw-endcta-title { font-size: clamp(2.4rem, 5.4vw, 4.4rem) !important; }
.aw-endnote { margin: 36px 0 0; font-size: 0.84rem; color: rgba(255, 255, 255, 0.55) !important; }
/* Newsletter marki (wspólny moduł) też jest ciemny — dosuwamy go do CTA,
   żeby między dwoma ciemnymi pasami nie zostawała biała szczelina. */
.aw .mf-newsletter { margin-top: 0; }
.aw .mf-newsletter { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* --- wejścia przy przewijaniu na tej stronie ---
   Elementy z .reveal mają też własne przejścia (hover). Ta reguła łączy oba:
   bez niej własny `transition` kafla nadpisałby przejście opacity z app.css
   i kafel wskakiwałby bez płynnego pojawienia się. Opóźnienie kaskady
   zeruje js/app-wow.js po wejściu, żeby hover nie czekał. */
.aw .reveal {
    transition:
        opacity 0.85s var(--aw-ease) var(--reveal-delay, 0ms),
        transform 0.85s var(--aw-ease) var(--reveal-delay, 0ms),
        border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
}

/* ==========================================================================
   12. RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1180px) {
    .aw-hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .aw-hero-vis { max-width: 620px; width: 100%; margin: 0 auto; }
    .aw-float.f1 { left: -12px; }
    .aw-float.f2, .aw-float.f3 { right: -12px; }
    .aw-show { grid-template-columns: 1fr; gap: 34px; }
    .aw-show-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
    .aw-tab { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 10px 16px; gap: 10px; }
    .aw-tab-desc { display: none; }
    .aw-tab-txt b { font-size: 0.92rem; }
    .aw-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .aw-sec { padding: 90px 0; }
    .aw-hero { padding: 64px 0 36px; min-height: 0; }
    .aw-facts { grid-template-columns: repeat(2, 1fr); }
    .aw-facts > div:nth-child(2) { border-right: none; }
    .aw-facts > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .aw-steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .aw-steps-line { display: none; }
    .aw-cols { grid-template-columns: 1fr; }
    .aw-entry { grid-template-columns: 1fr; gap: 40px; }
    .aw-head { margin-bottom: 48px; }
    .aw-method { margin-top: 90px; padding-top: 80px; }
    .aw-method-grid { grid-template-columns: 1fr; }
    .aw-stage-col.is-wide { grid-template-columns: 1fr; gap: 8px; }
    .aw-stage-col.is-wide .aw-stage-head { flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 0 0 16px; margin-bottom: 6px; }
    .aw-stage-col.is-wide .aw-stage-head > b { font-size: 2rem; }
    .aw-stage-col.is-wide .aw-stage-tools { grid-template-columns: 1fr 1fr; }
    .aw-wheel { grid-template-columns: 1fr; }
    .aw-legend { grid-template-columns: 1fr 1fr; }
    .aw-legend-hint { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .aw-sec { padding: 70px 0; }
    .aw-title { font-size: 2.2rem; letter-spacing: -1px; }
    .aw-kicker { font-size: 0.64rem; letter-spacing: 1.4px; }
    .aw-lead { font-size: 1.02rem; }
    .aw-actions { flex-direction: column; }
    .aw-btn { width: 100%; }
    .aw-stage { transform: none; }
    .aw-float { display: none; }
    .aw-screen-body { padding: 14px; }
    .aw-screen-split { grid-template-columns: 1fr; }
    .aw-mini-radar { display: none; }
    .aw-tile { padding: 10px 8px; }
    .aw-tile b { font-size: 1.2rem; }
    .aw-tile em { display: none; }
    .aw-facts-wrap { margin-top: 44px; }
    .aw-facts b { font-size: 1.8rem; }
    .aw-facts > div { padding: 20px 12px; }
    .aw-ticker { padding: 18px 0; }
    .aw-ticker span { padding: 0 20px; }
    .aw-ticker span::after { margin-left: 20px; }
    .aw .filters { margin-top: -18px; }
    .aw .tool-card { padding: 28px 22px 22px; }
    .aw-show-tabs {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 calc(-1 * var(--layout-gutter)); padding: 0 var(--layout-gutter) 4px;
        scrollbar-width: none;
    }
    .aw-show-tabs::-webkit-scrollbar { display: none; }
    .aw-tab { flex: 0 0 auto; width: auto; min-width: 116px; scroll-snap-align: start; }
    .aw-device-screen { min-height: 0; padding: 16px; }
    .aw-report { grid-template-columns: 1fr; }
    .aw-today { grid-template-columns: 1fr; }
    .aw-mood { height: 200px; }
    .aw-path-row > div { gap: 5px; }
    .aw-path-row i { font-size: 0.7rem; }
    .aw-stage-col.is-wide .aw-stage-tools { grid-template-columns: 1fr; }
    .aw-steps { grid-template-columns: 1fr; }
    .aw-bento { grid-template-columns: 1fr; }
    .aw-bento-tile.is-wide { grid-column: auto; }
    .aw-rule { width: 300px; flex-basis: 300px; padding: 24px 22px 20px; }
    .aw-rule p { font-size: 1rem; }
    .aw-col { padding: 30px 24px; }
    .aw-mini-steps { grid-template-columns: 1fr; }
    .aw-entry-box { padding: 30px 22px; }
    .aw-faq summary { padding: 20px 56px 20px 20px; font-size: 0.98rem; }
    .aw-faq summary::before, .aw-faq summary::after { right: 20px; }
    .aw-faq details p { padding: 0 20px 22px; }
    .aw-endcta { padding: 100px 0; }
}

/* ==========================================================================
   13. BEZ RUCHU — wszystko w gotowej pozycji
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .aw-in, .aw-line > span, .aw-line > strong { opacity: 1; transform: none; animation: none; }
    .aw-gold { animation: none; }
    .aw-orb, .aw-grain, .aw-float, .aw-pulse::after, .aw-btn-gold::after { animation: none; }
    .aw-ticker-track, .aw-marquee-track { animation: none; }
    .aw-ticker, .aw-marquee { overflow-x: auto; }
    .aw-stage { transform: none; }
    .aw-m-line { stroke-dashoffset: 0; animation: none; }
    .aw-m-area, .aw-m-end { opacity: 1; animation: none; }
}
