/* ROOT VARIABLES - DARK PREMIUM THEME */
:root {
    --primary-color: #f7a01c; /* energetic, action-driven orange for CTA */
    --primary-hover: #e08c16;
    --dark-bg: #090a0f;     /* Very deep almost black */
    --surface-bg: #14161f;  /* Cards/Forms surface */
    --text-color: #ededed;
    --text-muted: #9ba1a6;
    --accent-color: #4CAF50; /* Green for trust elements */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; margin-bottom: 24px; color: #fff; }
h1 { font-size: 3.5rem; letter-spacing: -1.5px; }
h2 { font-size: 2.5rem; letter-spacing: -1px; }

a { text-decoration: none; color: inherit; }

/* SPACING & UTILITIES */
.section { padding: 100px 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.premium-copy { font-size: 1.15rem; color: var(--text-muted); font-weight: 400; }

/* BUTTONS */
.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn small { font-weight: 600; font-size: 0.75rem; text-transform: none; letter-spacing: 0; opacity: 0.9; margin-top: 4px; }
.btn-icon { margin-right: 6px; font-size: 1.3rem; }

.btn-primary {
    background-color: var(--primary-color);
    color: #111;
    box-shadow: 0 4px 15px rgba(247, 160, 28, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 160, 28, 0.5);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-muted);
    border: 2px solid var(--text-muted);
    padding: 14px 30px;
    border-radius: 8px;
}
.btn-outline:hover { color: #fff; border-color: #fff; }
.btn-large { padding: 20px 50px; font-size: 1.3rem; }

/* NAVBAR */
.navbar {
    background-color: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo strong { font-family: var(--font-heading); font-size: 1.6rem; letter-spacing: -0.5px; }
.logo img { mix-blend-mode: lighten; }
.btn-nav-cta { padding: 10px 20px; font-size: 1rem; flex-direction: row; border-radius: 6px; background-color: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.btn-nav-cta:hover { background-color: var(--primary-color); color: #000; border-color: var(--primary-color); }

/* HERO */
.hero {
    position: relative;
    padding: 160px 0 140px;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(247, 160, 28, 0.1) 0%, var(--dark-bg) 70%);
}
.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}
.hero .subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 400;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-authority {
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 24px;
    line-height: 1.6;
}

/* SOCIAL PROOF */
.social-proof {
    background-color: #0b0d14;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.stats-container {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px; text-align: center;
}
.stat-item strong {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    display: block; line-height: 1; margin-bottom: 8px;
}
.stat-item span { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* COMPARISON SECTION */
.comparison-section {
    background-color: var(--dark-bg);
}
.table-responsive { width: 100%; overflow-x: auto; margin-top: 40px; }
.comparison-table {
    width: 100%; margin: 0 auto;
    border-collapse: collapse;
    background-color: var(--surface-bg);
    border-radius: 12px;
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 24px 30px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison-table th { font-family: var(--font-heading); font-size: 1.25rem; background-color: rgba(255,255,255,0.02); color: #fff; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { width: 30%; font-size: 1.2rem; }
.comparison-table td:last-child { color: var(--text-muted); font-size: 1.05rem; }
.badge { background: var(--primary-color); color: #000; font-size: 0.7rem; padding: 4px 10px; border-radius: 20px; vertical-align: middle; margin-left: 10px; font-weight: 800; text-transform: uppercase; }
.badge-accent { background: var(--accent-color); color: #fff; }

/* TWO COLUMNS (SKUP / POSREDNICTWO) */
.two-columns { display: flex; gap: 60px; align-items: center; }
.reverse-desktop { flex-direction: row-reverse; }
.text-col, .img-col { flex: 1; }
.img-col img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.05); }

/* QUIZ / LEADS SECTION */
.quiz-section { background-color: #0b0d14; padding: 120px 0; }
.quiz-title { font-size: 3rem; margin-bottom: 10px; }
.quiz-subtitle { font-size: 1.25rem; color: var(--primary-color); margin-bottom: 40px; font-weight: 500; }
.quiz-box {
    max-width: 600px; margin: 0 auto;
    background-color: var(--surface-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}
.progress-container { width: 100%; height: 6px; background-color: rgba(255,255,255,0.1); border-radius: 10px; margin-bottom: 40px; overflow: hidden; }
.progress-bar { width: 33.3%; height: 100%; background-color: var(--primary-color); transition: width 0.4s ease; }

.quiz-step h3 { font-size: 1.8rem; margin-bottom: 24px; }
.microcopy { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; display: block; }

/* RADIOCARDS FOR STEP 1 */
.radio-cards { display: flex; flex-direction: column; gap: 15px; }
.radio-card { display: block; position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; cursor: pointer; }
.card-content {
    display: block; padding: 20px; text-align: left;
    background-color: rgba(255,255,255,0.03); border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px; font-size: 1.25rem; font-weight: 600; color: #fff; transition: var(--transition);
}
.radio-card:hover .card-content { background-color: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.radio-card input:checked ~ .card-content {
    background-color: rgba(247, 160, 28, 0.1); border-color: var(--primary-color); color: var(--primary-color);
}

/* INPUTS */
.input-modern input {
    width: 100%; padding: 20px;
    background-color: rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px; color: #fff; font-size: 1.2rem; font-family: var(--font-body);
    transition: var(--transition);
}
.input-modern input:focus { outline: none; border-color: var(--primary-color); background-color: rgba(0,0,0,0.5); }
.text-danger { color: #ff4757; font-size: 0.9rem; margin-top: 10px; }

.step-buttons { display: flex; justify-content: space-between; gap: 15px; margin-top: 30px; }
.btn-next { flex: 1; padding: 16px 20px; flex-direction: row; }

.success-box, .error-box { padding: 40px; border-radius: 12px; text-align: center; }
.success-box { background-color: rgba(76, 175, 80, 0.1); border: 2px solid var(--accent-color); }
.success-box h3 { color: var(--accent-color); }
.error-box { background-color: rgba(255, 71, 87, 0.1); border: 2px solid #ff4757; }
.error-box h3 { color: #ff4757; }

/* STICKY CTA */
.sticky-cta {
    position: fixed; bottom: 20px; right: 20px;
    background-color: var(--primary-color); color: #000;
    padding: 18px 25px; border-radius: 50px;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 999;
    align-items: center; display: none; /* Only mobile or scrolled? We'll make it appear/always on mobile */
    transition: transform 0.2s ease;
}
.sticky-cta:hover { transform: scale(1.05); }

/* FOOTER */
.premium-footer { background-color: #030407; padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); }
.premium-footer h3 { font-size: 1.8rem; margin-bottom: 10px; }
.footer-link { color: var(--primary-color); font-weight: 700; font-size: 1.2rem; }
.footer-link:hover { text-decoration: underline; }
.footer-bottom { font-size: 0.85rem; opacity: 0.6; }


/* MISSING UTILITY CLASSES */
.align-center { text-align: center; }
.light-overlap { background-color: var(--surface-bg); }
.border-dark img { border: 2px solid rgba(255,255,255,0.08) !important; }

/* PULSE ANIMATION (Sticky CTA) */
@keyframes pulse {
    0%   { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 0 rgba(247,160,28,0.5); }
    70%  { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 14px rgba(247,160,28,0); }
    100% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 0 rgba(247,160,28,0); }
}
.pulse { animation: pulse 2.2s infinite; }

/* PROBLEM SECTION */
.section-problem {
    background-color: var(--surface-bg);
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.problem-intro {
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 700;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.problem-card {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,71,87,0.2);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}
.problem-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.problem-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.5; }

/* HOW IT WORKS STEPS */
.how-it-works {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    flex-wrap: wrap;
}
.step-item {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    text-align: center;
    padding: 0 16px;
}
.step-num {
    width: 52px; height: 52px;
    background-color: var(--primary-color);
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.step-item p strong { color: #fff; display: block; margin-bottom: 4px; }
.step-arrow {
    align-self: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    opacity: 0.4;
    flex-shrink: 0;
    padding: 0 4px;
    margin-top: -20px;
}

/* TESTIMONIALS */
.testimonials-section { background-color: var(--dark-bg); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.testimonial-card {
    background-color: var(--surface-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}
.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.25;
    position: absolute;
    top: 10px; left: 24px;
    line-height: 1;
}
.stars { font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.testimonial-author span { font-size: 0.85rem; color: var(--primary-color); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }

/* INVESTORS SECTION */
.investors-section { background-color: var(--surface-bg); }
.investors-inner {
    display: flex;
    gap: 80px;
    align-items: center;
}
.investors-inner > div:first-child { flex: 1.2; }
.investors-bullets { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.investors-tag {
    display: inline-block;
    background-color: rgba(247,160,28,0.12);
    color: var(--primary-color);
    border: 1px solid rgba(247,160,28,0.3);
    border-radius: 20px;
    padding: 5px 16px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.bullet-item {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

/* FAQ */
.faq-section { background-color: var(--dark-bg); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 4px 24px;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; padding-bottom: 20px; }

/* SCROLL ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .two-columns { flex-direction: column; gap: 40px; }
    .reverse-desktop { flex-direction: column; }
    .comparison-table td:first-child { width: auto; }
    .investors-inner { flex-direction: column; gap: 40px; }
    .how-it-works { gap: 20px; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 2rem; }
    .section { padding: 70px 0; }
    .quiz-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .navbar .container { flex-direction: column; align-items: center; gap: 12px; }
    .logo img { height: 50px; }
    .btn-nav-cta { width: 100%; text-align: center; }
    .hero { padding: 120px 0 80px; }
    .hero h1 { font-size: 2.4rem; }
    .hero .subtitle { font-size: 1.15rem; }
    .btn { width: 100%; }
    .stats-container { flex-direction: column; gap: 40px; }
    .quiz-box { padding: 25px 20px; }
    .quiz-step h3 { font-size: 1.4rem; }

    /* TABELA — stacked cards na mobile */
    .table-responsive { overflow-x: visible; }
    .comparison-table thead { display: none; }
    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td { display: block; width: 100%; }
    .comparison-table tr {
        border-bottom: 1px solid rgba(255,255,255,0.07);
        padding: 20px 0;
    }
    .comparison-table tr:last-child { border-bottom: none; padding-bottom: 0; }
    .comparison-table td { padding: 4px 20px; border-bottom: none; }
    .comparison-table td:first-child {
        width: 100%;
        font-size: 1.15rem;
        padding-bottom: 8px;
    }
    .comparison-table td:last-child { font-size: 0.95rem; }

    /* KROKI how-it-works — pionowo */
    .how-it-works { flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
    .step-item { max-width: 100%; width: 100%; }
    .step-arrow { display: none; }

    /* SEKCJA INWESTORZY */
    .investors-inner { flex-direction: column; gap: 32px; }

    .sticky-cta {
        display: flex;
        bottom: 0; right: 0; left: 0;
        width: 100%; border-radius: 0;
        justify-content: center;
        padding: 20px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
        animation: pulse 2.2s infinite;
    }
    body { padding-bottom: 60px; }
}
