/* ============================================
   SPRZEDAJ SZYBKO - Premium Quiz
   Dark Navy Theme matching sprzedajszybko.pl
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Brand colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: rgba(37, 99, 235, 0.15);
    --primary-glow: rgba(37, 99, 235, 0.25);

    --accent: #f5c518;
    --accent-dark: #d4a90e;
    --accent-light: rgba(245, 197, 24, 0.12);
    --accent-glow: rgba(245, 197, 24, 0.25);

    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.12);
    --danger: #ef4444;

    /* Dark navy theme */
    --bg-deep: #0a1128;
    --bg: #0f1a36;
    --bg-card: #162044;
    --bg-card-hover: #1c2a54;
    --bg-elevated: #1e2f5a;

    --text: #ffffff;
    --text-secondary: #94a3c6;
    --text-muted: #5e6e94;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-active: rgba(37, 99, 235, 0.5);

    --glass: rgba(22, 32, 68, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-primary: 0 4px 24px rgba(37, 99, 235, 0.35);
    --shadow-accent: 0 4px 24px rgba(245, 197, 24, 0.25);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.2);

    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Gradient Background ---- */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(245, 197, 24, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 60%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatShape 30s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation-delay: -10s;
    opacity: 0.08;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary);
    top: 50%;
    left: 5%;
    animation-delay: -15s;
    opacity: 0.08;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--accent);
    top: 20%;
    right: 10%;
    animation-delay: -20s;
    opacity: 0.06;
}

.shape-5 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    bottom: 10%;
    right: 5%;
    animation-delay: -7s;
    opacity: 0.06;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ---- Logo ---- */
.quiz-logo {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 24px 0;
    animation: fadeIn 0.6s both;
}

.quiz-logo a {
    display: inline-block;
}

.quiz-logo .logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s;
}

.quiz-logo .logo-img:hover {
    opacity: 1;
}

/* ---- Quiz Container ---- */
.quiz-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    min-height: 500px;
    padding: 16px 24px 24px;
}

/* ---- Progress Bar ---- */
.progress-wrapper {
    display: none;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s, transform 0.4s;
}

.progress-wrapper.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 100px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    width: 11px;
    height: 11px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-glow), 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.progress-text {
    font-size: 12px;
    font-weight: 800;
    color: var(--accent);
    min-width: 36px;
    text-align: right;
    letter-spacing: -0.02em;
}

/* ---- Steps ---- */
.step {
    display: none;
    animation: fadeSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step.active {
    display: block;
}

.step.slide-out-left {
    animation: slideOutLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step.slide-in-right {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step.slide-out-right {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step.slide-in-left {
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-50px); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ---- Welcome Screen ---- */
.welcome-screen {
    text-align: center;
    padding: 36px 16px 32px;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: fadeSlideUp 0.6s 0.1s both;
    border: 1px solid rgba(245, 197, 24, 0.15);
}

.welcome-badge svg {
    color: var(--accent);
}

.welcome-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    color: var(--text);
    animation: fadeSlideUp 0.6s 0.2s both;
}

.welcome-title .highlight {
    background: linear-gradient(135deg, var(--accent), #ffd54f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 36px;
    font-weight: 500;
    animation: fadeSlideUp 0.6s 0.3s both;
}

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    animation: fadeSlideUp 0.6s 0.4s both;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--primary);
    transition: var(--transition);
}

.feature:hover .feature-icon {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 0 16px var(--primary-glow);
}

.feature span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

/* ---- CTA Button ---- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-primary);
    animation: fadeSlideUp 0.6s 0.5s both;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(37, 99, 235, 0.5);
}

.btn-cta:active {
    transform: translateY(0);
}

.btn-cta.pulse {
    animation: fadeSlideUp 0.6s 0.5s both, ctaPulse 3s 1.5s infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: var(--shadow-primary); }
    50% { box-shadow: 0 4px 36px rgba(37, 99, 235, 0.55), 0 0 0 6px rgba(37, 99, 235, 0.1); }
}

.trust-bar {
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    animation: fadeSlideUp 0.6s 0.6s both;
}

.trust-bar strong {
    color: var(--accent);
    font-weight: 800;
}

/* ---- Step Header ---- */
.step-header {
    text-align: center;
    margin-bottom: 32px;
}

.step-number {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 197, 24, 0.12);
}

.step-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

/* ---- Option Cards ---- */
.options-grid {
    display: grid;
    gap: 10px;
}

.options-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
}

.options-grid.cols-1 {
    grid-template-columns: 1fr;
}

.option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.option-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.option-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary), 0 0 0 1px var(--primary);
}

.option-card.selected .option-icon {
    color: var(--primary);
}

.option-card.selected .option-label {
    color: #ffffff;
}

.option-card.selected .option-check {
    opacity: 1;
    transform: scale(1);
}

/* Horizontal layout */
.option-card.horizontal {
    flex-direction: row;
    align-items: center;
    padding: 20px 22px;
    text-align: left;
}

.option-card.horizontal .option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-icon {
    color: var(--text-muted);
    transition: color var(--transition);
    flex-shrink: 0;
}

.option-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.option-desc {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.option-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 100px;
}

.option-tag.urgent {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.option-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.option-card.horizontal .option-check {
    position: relative;
    top: auto;
    right: auto;
}

/* ---- Contact Form ---- */
.contact-form {
    max-width: 440px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: 0.01em;
}

.required {
    color: #f87171;
}

.optional {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 12px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--bg-card-hover);
}

.form-group input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    font-size: 15px;
    padding: 16px;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    justify-content: center;
    font-weight: 500;
}

/* ---- Loading Screen ---- */
.loading-screen {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 36px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2.5px solid transparent;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 58%;
    height: 58%;
    top: 21%;
    left: 21%;
    border-right-color: var(--accent);
    animation: spin 1.8s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
    width: 32%;
    height: 32%;
    top: 34%;
    left: 34%;
    border-bottom-color: #60a5fa;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.5s;
}

.loading-step.active {
    color: var(--text);
    font-weight: 700;
}

.loading-step.done {
    color: var(--success);
    font-weight: 600;
}

.loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    transition: all 0.5s;
}

.loading-step.active .loading-dot {
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    animation: loadPulse 1s infinite;
}

.loading-step.done .loading-dot {
    background: var(--success);
    box-shadow: none;
    animation: none;
}

@keyframes loadPulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--primary-glow); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1); }
}

/* ---- Result Screen ---- */
.result-screen {
    text-align: center;
    padding: 20px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.5s both;
    letter-spacing: 0.01em;
}

.result-badge.skup {
    background: var(--primary-light);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.result-badge.rynek {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(245, 197, 24, 0.15);
}

.result-badge.konsultacja {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeSlideUp 0.5s 0.1s both, resultPop 0.5s 0.3s both;
}

.result-icon.skup {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: white;
    box-shadow: var(--shadow-primary);
}

.result-icon.rynek {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: white;
    box-shadow: var(--shadow-accent);
}

.result-icon.konsultacja {
    background: linear-gradient(135deg, #059669, var(--success));
    color: white;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.3);
}

@keyframes resultPop {
    0% { transform: scale(0.5); }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.result-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 14px;
    animation: fadeSlideUp 0.5s 0.15s both;
    letter-spacing: -0.03em;
    color: var(--text);
}

.result-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 32px;
    animation: fadeSlideUp 0.5s 0.2s both;
    font-weight: 500;
}

.result-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 36px;
    animation: fadeSlideUp 0.5s 0.25s both;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
    transition: var(--transition);
}

.benefit:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.benefit-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.benefit-icon.blue {
    background: var(--primary-light);
    color: #60a5fa;
}

.benefit-icon.yellow {
    background: var(--accent-light);
    color: var(--accent);
}

.benefit-icon.green {
    background: var(--success-light);
    color: var(--success);
}

.benefit-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.result-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    animation: fadeSlideUp 0.5s 0.3s both;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-primary);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-call:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(37, 99, 235, 0.5);
}

.result-contact-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

.result-contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.result-contact-info a:hover {
    text-decoration: underline;
}

.result-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    animation: fadeSlideUp 0.5s 0.35s both;
}

.result-footer p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 500;
}

.result-footer .brand {
    font-weight: 800;
    color: var(--accent);
}

/* ---- Back Button ---- */
.btn-back {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding: 10px 20px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.01em;
}

.btn-back:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-back.visible {
    display: inline-flex;
}

/* ---- Confetti Canvas ---- */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

/* ---- Social Proof Notification ---- */
.social-proof {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 90;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-width: 340px;
    backdrop-filter: blur(12px);
}

.social-proof.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.social-proof-icon {
    width: 36px;
    height: 36px;
    background: var(--success-light);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.social-proof-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
}

.social-proof-text .city {
    color: var(--accent);
    font-weight: 700;
}

.social-proof-text .time {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ---- Price Estimate ---- */
.price-estimate {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin: 28px 0;
    text-align: center;
    animation: fadeSlideUp 0.5s 0.2s both;
}

.price-estimate h3,
.price-estimate-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-value {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #ffd54f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- Comparison Table ---- */
.comparison-table {
    margin: 28px 0;
    animation: fadeSlideUp 0.5s 0.25s both;
}

.comparison-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.01em;
}

.comparison-row {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}

.comparison-row-header {
    margin-bottom: 12px;
}

.comparison-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: right;
    padding-right: 8px;
}

.comparison-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    text-align: center;
    transition: var(--transition);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.comparison-col:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.comparison-col.skup-col {
    background: var(--primary-light);
    border-color: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

.comparison-col.rynek-col {
    background: var(--accent-light);
    border-color: rgba(245, 197, 24, 0.15);
    color: var(--accent);
}

.comparison-col.highlight-good {
    border-color: var(--primary);
    background: var(--primary-light);
    color: #60a5fa;
}

/* ---- Savings Calculator ---- */
.calculator-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    margin: 28px 0;
    animation: fadeSlideUp 0.5s 0.3s both;
}

.calculator-section h3,
.calculator-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calculator-body {
    display: flex;
    flex-direction: column;
}

.calculator-body .calc-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.calculator-body .calc-label strong {
    color: var(--accent);
    font-weight: 800;
}

.calculator-section > p {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    outline: none;
    margin: 16px 0 24px;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow), 0 0 0 4px rgba(37, 99, 235, 0.15);
    transition: box-shadow 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 16px var(--primary-glow), 0 0 0 6px rgba(37, 99, 235, 0.2);
}

.calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px var(--primary-glow);
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.calc-item .calc-label,
.calc-item-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.calc-item .calc-value,
.calc-item-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

.calc-item .calc-value.negative {
    color: #f87171;
}

.calc-item .calc-value.positive {
    color: var(--success);
}

.calc-total {
    background: var(--primary-light) !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

.calc-total .calc-label,
.calc-total .calc-item-label {
    color: var(--text) !important;
    font-weight: 700 !important;
}

.calc-total .calc-value,
.calc-total .calc-item-value {
    font-size: 16px;
    color: #60a5fa !important;
}

/* ---- Video Testimonials Section ---- */
.video-section {
    margin: 32px 0;
    animation: fadeSlideUp 0.5s 0.35s both;
}

.video-section h3,
.video-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.testimonial-author {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
    display: block;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
    font-style: italic;
}

/* ---- Urgency Timer ---- */
.urgency-timer {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 197, 24, 0.08));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeSlideUp 0.5s 0.4s both;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.5;
}

.urgency-timer svg {
    flex-shrink: 0;
    color: #f87171;
}

.urgency-timer #timerCountdown {
    font-family: 'Montserrat', monospace;
    font-size: 16px;
    font-weight: 900;
    color: #f87171;
    letter-spacing: 0.02em;
    animation: timerPulse 2s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ---- WhatsApp Button ---- */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(37, 211, 102, 0.45);
    background: linear-gradient(135deg, #20bd5a, #0f7a6b);
}

/* ---- Callback Button ---- */
.btn-callback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.01em;
}

.btn-callback:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: #60a5fa;
    transform: translateY(-2px);
}

/* ---- PDF Button ---- */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.01em;
}

.btn-pdf:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ---- Restart Button ---- */
.btn-restart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 12px;
    letter-spacing: 0.01em;
}

.btn-restart:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .quiz-logo {
        padding: 16px 16px 0;
    }

    .quiz-logo .logo-img {
        height: 32px;
    }

    .quiz-container {
        padding: 12px 16px 16px;
    }

    .welcome-screen {
        padding: 24px 4px 20px;
    }

    .welcome-title {
        font-size: 28px;
    }

    .welcome-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .welcome-features {
        gap: 16px;
        margin-bottom: 32px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
    }

    .feature span {
        font-size: 10px;
    }

    .btn-cta {
        padding: 16px 32px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .step-title {
        font-size: 22px;
    }

    .step-desc {
        font-size: 13px;
    }

    .options-grid.cols-2 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .option-card {
        padding: 20px 14px;
        gap: 10px;
    }

    .option-card .option-icon svg {
        width: 30px;
        height: 30px;
    }

    .option-label {
        font-size: 12px;
    }

    .option-card.horizontal {
        padding: 16px;
    }

    .option-card.horizontal .option-icon svg {
        width: 26px;
        height: 26px;
    }

    .option-desc {
        font-size: 11px;
    }

    .result-title {
        font-size: 24px;
    }

    .result-subtitle {
        font-size: 14px;
    }

    .shape { filter: blur(80px); }
    .shape-1 { width: 300px; height: 300px; }
    .shape-2 { width: 250px; height: 250px; }
    .shape-3 { width: 150px; height: 150px; }
    .shape-4 { width: 100px; height: 100px; }
    .shape-5 { width: 200px; height: 200px; }

    /* Social proof mobile */
    .social-proof {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    /* Price estimate mobile */
    .price-value {
        font-size: 28px;
    }

    /* Comparison table mobile */
    .comparison-row {
        grid-template-columns: 70px 1fr 1fr;
        gap: 6px;
    }

    .comparison-label {
        font-size: 10px;
    }

    .comparison-col {
        padding: 10px 8px;
        font-size: 11px;
    }

    /* Calculator mobile */
    .calculator-section {
        padding: 22px 18px;
    }

    /* Urgency timer mobile */
    .urgency-timer {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 10px;
        padding: 16px;
    }

    .urgency-timer #countdown {
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    /* CTA buttons mobile */
    .btn-whatsapp,
    .btn-callback,
    .btn-pdf {
        width: 100%;
        justify-content: center;
    }

    /* Testimonials mobile */
    .testimonial-card {
        padding: 16px;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .welcome-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .feature {
        flex-direction: row;
        gap: 10px;
    }

    .options-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .welcome-title {
        font-size: 24px;
    }
}
