/* ================================================================
   rx-lp.css — wspólny język wizualny stron opisowych RenovixPRO
   (przeniesiony 1:1 z wycena-glosowa.php: kafle „bento” z wiązką
   światła od góry, szklane fragmenty interfejsu, gradient
   emerald #10b981 → teal → cyan → blue #3b82f6).
   Używają go: aplikacja-do-wycen.php, alternatywa-auraflow.php.
   ================================================================ */
:root {
    --bg: #05060a;
    --line: rgba(255, 255, 255, 0.07);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: 'Outfit', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #10b981; color: #000; padding: 12px 20px; font-weight: 700; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.grad-text {
    background: linear-gradient(92deg, #34d399 0%, #2dd4bf 35%, #22d3ee 65%, #60a5fa 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.08);
    color: #6ee7b7; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 50% { opacity: .35; } }

/* Tło hero */
.page-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.page-glow::before {
    content: ""; position: absolute; top: -260px; left: 50%; width: 1200px; height: 760px; transform: translateX(-50%);
    background:
        radial-gradient(40% 45% at 30% 40%, rgba(16, 185, 129, 0.20), transparent 70%),
        radial-gradient(35% 40% at 72% 35%, rgba(59, 130, 246, 0.16), transparent 70%);
    filter: blur(10px);
}
.page-grid {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 75%);
}

/* Przyciski (jak .btn-glow na reszcie serwisu) */
.btn-primary {
    position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 26px; border-radius: 14px; font-weight: 800; color: #fff;
    background: linear-gradient(45deg, #10b981, #3b82f6);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.55);
    transition: transform .2s ease;
}
.btn-primary::before {
    content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
    background: linear-gradient(45deg, #10b981, #3b82f6, #10b981);
    filter: blur(15px); opacity: 0; transition: opacity .3s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::before { opacity: .7; }
.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 24px; border-radius: 14px; font-weight: 700; color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03);
    transition: background .2s ease, border-color .2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); }
/* Napis w jednej linii od tabletu w górę; na telefonie długi przycisk może się zawinąć (bez poziomego przewijania) */
.btn-primary, .btn-ghost { text-align: center; }
@media (min-width: 640px) { .btn-primary, .btn-ghost { white-space: nowrap; } }

/* Kafel bento */
.bento {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: 22px;
    border: 1px solid var(--line);
    background:
        linear-gradient(90deg, transparent 8%, var(--edge, rgba(110, 231, 183, 0.38)) 50%, transparent 92%) top / 100% 1px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.012) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
    transition: border-color .35s ease, transform .35s ease;
}
.bento:hover { border-color: rgba(255, 255, 255, 0.13); }
a.bento:hover, .bento.lift:hover { transform: translateY(-2px); }
.bento::before {
    content: ""; position: absolute; left: -10%; right: -10%; top: -45%; height: 95%; z-index: -1; pointer-events: none;
    background: radial-gradient(45% 55% at var(--beam-x, 50%) 0%, var(--beam, rgba(16, 185, 129, 0.24)), transparent 72%);
    transition: opacity .35s ease; opacity: .85;
}
.bento:hover::before { opacity: 1; }
.bento::after {
    content: ""; position: absolute; top: -50%; left: -30%; width: 55%; height: 150%; z-index: -1; pointer-events: none;
    background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.045) 50%, transparent 62%);
    transform: rotate(6deg);
}
.dots {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.3px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 62%, #000 15%, transparent 72%);
            mask-image: radial-gradient(ellipse 55% 50% at 50% 62%, #000 15%, transparent 72%);
}
.b-copy { font-size: 15px; line-height: 1.6; color: #9ca3af; }
.b-copy strong { color: #fff; font-weight: 700; }
.b-copy a, .prose-rx a { color: #6ee7b7; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(110, 231, 183, .35); text-underline-offset: 3px; }
.b-copy a:hover, .prose-rx a:hover { text-decoration-color: #6ee7b7; }

/* Ikona w kaflu */
.ico {
    width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 19px;
    background: radial-gradient(circle at 50% 25%, #1c2835, #0a0e14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px -10px rgba(0, 0, 0, 0.9);
}
.ico i {
    background: linear-gradient(180deg, #a7f3d0, #34d399 55%, #14b8a6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ico.blue i { background-image: linear-gradient(180deg, #bfdbfe, #60a5fa 55%, #3b82f6); }
.ico.cyan i { background-image: linear-gradient(180deg, #a5f3fc, #22d3ee 55%, #0891b2); }
.ico.amber i { background-image: linear-gradient(180deg, #fde68a, #fbbf24 55%, #d97706); }

/* Szkło (makiety interfejsu) */
.glass {
    background: linear-gradient(180deg, rgba(31, 40, 52, 0.72) 0%, rgba(13, 17, 24, 0.78) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 44px -16px rgba(0, 0, 0, 0.85);
    border-radius: 14px;
}
.demo { border-radius: 22px; overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.02); }
.demo-bar i.d { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.chip {
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    padding: 6px 11px; border-radius: 10px; font-size: 12px; font-weight: 600; color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.035);
}
.tag { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag.ok { color: #6ee7b7; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.3); }
.tag.blue { color: #93c5fd; background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.28); }
.tag.mute { color: #9ca3af; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.tag.amber { color: #fcd34d; background: rgba(245, 158, 11, 0.12); border: 1px solid rgba(245, 158, 11, 0.3); }

/* Kroki */
.step-num {
    font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Plany */
.plan-pro {
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(16, 185, 129, 0.20), transparent 70%),
        linear-gradient(180deg, rgba(16, 185, 129, 0.06), rgba(255, 255, 255, 0.015));
    border-color: rgba(16, 185, 129, 0.35) !important;
}

/* Tabela porównania */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 680px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cmp thead th { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; border-bottom-color: rgba(255, 255, 255, 0.1); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td.k { color: #e5e7eb; font-weight: 700; width: 22%; }
.cmp td.them { color: #9ca3af; width: 37%; }
.cmp td.us, .cmp th.us { width: 41%; background: linear-gradient(180deg, rgba(16, 185, 129, 0.075), rgba(16, 185, 129, 0.035)); }
.cmp th.us { color: #6ee7b7; border-radius: 14px 14px 0 0; }
.cmp td.us { color: #f3f4f6; }
.cmp tbody tr:last-child td.us { border-radius: 0 0 14px 14px; }
.mark { display: inline-flex; width: 20px; height: 20px; border-radius: 6px; align-items: center; justify-content: center; font-size: 10px; margin-right: 8px; vertical-align: -3px; flex-shrink: 0; }
.mark.y { color: #34d399; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.35); }
.mark.n { color: #f87171; background: rgba(248, 113, 113, 0.10); border: 1px solid rgba(248, 113, 113, 0.3); }
.mark.w { color: #fbbf24; background: rgba(245, 158, 11, 0.10); border: 1px solid rgba(245, 158, 11, 0.3); }
/* Ikona przypięta z lewej: tekst w komórce nie zawija się pod nią */
.cmp td:has(> .mark) { position: relative; padding-left: 50px; }
.cmp td > .mark { position: absolute; left: 18px; top: 17px; margin: 0; }

/* Paski cen */
.bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; }
.bar .us { background: linear-gradient(90deg, #10b981, #3b82f6); box-shadow: 0 0 18px rgba(16, 185, 129, .45); }
.bar .them { background: linear-gradient(90deg, #4b5563, #6b7280); }

/* Lista z ikonami */
.ticks li { display: flex; gap: 10px; }
.ticks li > i { color: #10b981; margin-top: 6px; font-size: 12px; flex-shrink: 0; }

/* Treść ciągła */
.prose-rx p { color: #9ca3af; font-size: 17px; line-height: 1.8; }
.prose-rx p + p { margin-top: 1rem; }
.prose-rx strong { color: #fff; font-weight: 700; }

/* FAQ */
details.faq { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; color: #f3f4f6; font-size: 17px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .pm { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.1); color: #9ca3af; transition: transform .25s ease, color .25s ease, border-color .25s ease; }
details.faq[open] summary .pm { transform: rotate(45deg); color: #34d399; border-color: rgba(52, 211, 153, 0.4); }
details.faq .ans { padding: 0 0 22px; color: #9ca3af; line-height: 1.7; max-width: 760px; }

/* Wejście sekcji przy przewijaniu */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}
