/* ==========================================================================
   Basic CRM — Landing Page Styles
   build_crm/css/landing/main.css

   Scalony z:
     index/start.css, features.css, features_advanced.css,
     problem-section.css, how_it_works.css, about_us.css,
     opinions.css, faq.css, cta.css, partners.css,
     under_construction.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (design-system tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Brand colors — design-system.md */
    --brand-primary:  #11662D;   /* Primary Green */
    --brand-dark:     #122738;   /* Navy Dark */
    --brand-hover:    #0D4F22;   /* Primary Dark (hover) */

    /* Nav Rail */
    --rail-width:     220px;
    --rail-bg:        rgba(255, 255, 255, 0.85);
    --rail-shadow:    rgba(0, 0, 0, 0.1);

    /* Text */
    --text-default:   #333;
    --text-hover:     #11662D;
    --text-active:    #122738;
}

/* --------------------------------------------------------------------------
   2. Global
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

/* Scroll offset for anchors — compensates for fixed navbar height */
[id] {
    scroll-margin-top: 5rem;
}

/* --------------------------------------------------------------------------
   3. Shared Buttons
      (używane w wielu sekcjach — jeden blok zamiast duplikatów)
   -------------------------------------------------------------------------- */

/* Primary brand button */
.btn-brand-primary {
    background-color: var(--brand-primary);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-brand-primary:hover {
    background-color: var(--brand-hover);
    transform: translateY(-1px);
}

/* Outline brand button */
.btn-outline-brand {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary) !important;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.btn-outline-brand:hover {
    background-color: var(--brand-primary);
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .btn-brand-primary,
    .btn-outline-brand {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   4. Nav Rail — #pageNavRail
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    #pageNavRail {
        position: fixed;
        top: 4.5rem;
        right: 0;
        width: var(--rail-width);
        max-height: calc(100vh - 4.5rem);
        background: var(--rail-bg);
        backdrop-filter: blur(12px);
        box-shadow: -4px 0 12px var(--rail-shadow);
        padding: 1rem 0;
        overflow-y: auto;
        z-index: 1050;
    }
}

#pageNavRail {
    transition: transform 0.3s ease;
}

#pageNavRail.closed {
    transform: translateX(100%);
}

#pageNavRail::-webkit-scrollbar {
    width: 4px;
}

#pageNavRail::-webkit-scrollbar-thumb {
    background: var(--rail-shadow);
    border-radius: 2px;
}

#pageNavRail .nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.5rem;
}

#pageNavRail .nav-link {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-default);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    position: relative;
    transition: color 0.2s, background-color 0.2s;
}

#pageNavRail .nav-link:hover {
    color: var(--text-hover);
    background-color: rgba(17, 102, 45, 0.05);
}

#pageNavRail .nav-link.active {
    color: var(--text-active);
    font-weight: 600;
    background-color: rgba(17, 102, 45, 0.1);
}

#pageNavRail .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 4px;
    background-color: var(--brand-primary);
    border-radius: 2px;
}

#pageNavRail hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 1rem 0;
}

/* --------------------------------------------------------------------------
   5. Rail Toggle Button
   -------------------------------------------------------------------------- */
.rail-toggle {
    position: fixed;
    top: 50%;
    right: var(--rail-width);
    transform: translateY(-50%);
    z-index: 1051;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    padding: 0.5rem 0.6rem;
    border-radius: 0.375rem 0 0 0.375rem;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: right 0.3s ease;
}

.rail-toggle i {
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   6. CTA Banner (inline pill — hero obszar)
   -------------------------------------------------------------------------- */
.cta-banner {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 1.5rem;
    background: #20c997;                        /* TODO: rozważyć zmianę na #11662D lub #ff5722 */
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.cta-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.nowrap {
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. Brand Pill
   -------------------------------------------------------------------------- */
.brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border: 2px solid var(--brand-primary);
    border-radius: 2rem;
    color: var(--brand-primary);
    font-weight: 600;
    transition: 0.2s;
}

.brand-pill:hover,
.brand-pill:focus {
    background: var(--brand-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.brand-pill i {
    font-size: 1rem;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   8. Animations
   -------------------------------------------------------------------------- */
@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

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

.blinking-text {
    animation: blink 1s infinite, pulse 2s infinite;
}

@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out both;
}

/* --------------------------------------------------------------------------
   9. Pricing Cards
   -------------------------------------------------------------------------- */
.plan-option {
    cursor: pointer;
    transition: transform 0.3s;
}

.plan-option:hover {
    transform: scale(1.03);
}

.selected-plan {
    border: 3px solid var(--brand-primary) !important;
    box-shadow: 0 0 15px rgba(17, 102, 45, 0.4);
}

/* --------------------------------------------------------------------------
   10. Video Embed
   -------------------------------------------------------------------------- */
.ratio iframe {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.ratio:hover iframe {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   11. Section Pattern Decorations (crm.svg)
   -------------------------------------------------------------------------- */

/* Globalny fix — pattern nigdy nie powoduje poziomego scrolla */
body {
    overflow-x: hidden;
}

.section-pattern-right,
.section-pattern-left {
    position: absolute;
    width: 500px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    top: 50%;
    transform: translateY(-50%);
}

.section-pattern-right { right: -80px; }
.section-pattern-left  { left: -80px; }

@media (max-width: 768px) {
    .section-pattern-right,
    .section-pattern-left {
        width: 260px;
        opacity: 0.03;
    }
}

/* --------------------------------------------------------------------------
   12. Hero Section (start.css)
   -------------------------------------------------------------------------- */

.hero-section {
    background-color: #f9fafb;
}



.text-brand-dark {
    color: var(--brand-dark);
}

.text-brand-primary {
    color: var(--brand-primary);
}

.hero-box {
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-section .d-flex {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   13. Features — Dlaczego warto (features.css)
   -------------------------------------------------------------------------- */
.features-section {
    background-color: #ffffff;
    position: relative;
}

.features-section h2 {
    font-size: 2rem;
    color: var(--brand-dark);
}

.feature-box {
    background-color: #fff;
    border: 1px solid rgba(18, 39, 56, 0.08);
    transition: all 0.3s ease;
    cursor: default;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(17, 102, 45, 0.25);
}

/* Scope: .feature-box aby nie kolidować z .feature-item w sekcji advanced */
.feature-box .feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 102, 45, 0.08);
    color: var(--brand-primary);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    background-color: var(--brand-primary);
    color: #fff;
    transform: scale(1.1);
}

.feature-box h5 {
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.features-section .btn-brand-primary {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
}

.features-section .text-muted small {
    color: rgba(18, 39, 56, 0.7) !important;
}

@media (max-width: 767.98px) {
    .features-section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .feature-box {
        padding: 1.5rem;
    }

    .feature-box .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }

    .feature-box h5 { font-size: 1rem; }
    .feature-box p  { font-size: 0.9rem; }

    .features-section .btn-brand-primary {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1.05rem;
    }

    .features-section .text-muted small {
        display: block;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
}

/* --------------------------------------------------------------------------
   14. Features Advanced — Funkcjonalności systemu (features_advanced.css)
   -------------------------------------------------------------------------- */
.system-features-section {
    background-color: #f8f9fa;
}

.system-features-section h2 {
    font-size: 2rem;
    color: var(--brand-dark);
}

.feature-item {
    border: 1px solid rgba(18, 39, 56, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Scope: .feature-item aby nie kolidować z .feature-box */
.feature-item .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 102, 45, 0.1);
    color: var(--brand-primary);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--brand-primary);
    color: #fff;
    transform: scale(1.1);
}

.feature-item h6 {
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .system-features-section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        padding: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   15. Problem Section — Rozwiązujemy problemy (problem-section.css)
   -------------------------------------------------------------------------- */
.problems-section {
    background-color: var(--brand-dark);
}

.problems-section h2 {
    color: #fff;
    font-size: 1.75rem;
}

.problem-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-align: left;
}

.problem-box:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--brand-primary);
}

.problem-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(17, 102, 45, 0.15);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.problem-box:hover .problem-icon {
    background-color: var(--brand-primary);
    color: #fff;
}

.problems-section .btn-brand-primary,
.problems-section .btn-outline-brand {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
}

@media (max-width: 767.98px) {
    .problems-section h2 { font-size: 1.5rem; }
    .problem-box         { padding: 1.5rem; }
}

/* --------------------------------------------------------------------------
   16. How It Works — Jak to działa (how_it_works.css)
   -------------------------------------------------------------------------- */
.how-it-works-section {
    background-color: #f8f9fa;
    color: var(--brand-dark);
    position: relative;
    overflow: hidden;
}

.how-it-works-section h2 {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 1.9rem;
}

.how-step {
    background-color: #fff;
    border: 1px solid rgba(18, 39, 56, 0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.how-step:hover {
    transform: translateY(-6px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.how-step .step-number {
    width: 56px;
    height: 56px;
    background-color: rgba(17, 102, 45, 0.1);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.how-step:hover .step-number {
    background-color: var(--brand-primary);
    color: #fff;
}

.how-step h5 {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.how-step p {
    color: rgba(18, 39, 56, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.how-it-works-section .btn-brand-primary,
.how-it-works-section .btn-outline-brand {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
}

@media (max-width: 767.98px) {
    .how-it-works-section h2 { font-size: 1.6rem; }
    .how-step                 { padding: 1.5rem 1.25rem; }
    .how-step h5              { font-size: 1rem; }
    .how-step p               { font-size: 0.9rem; }

    .how-it-works-section .btn-brand-primary {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   17. About Us — O nas (about_us.css)
   -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--brand-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.about-section h2 {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
}

.about-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.team-avatar {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-avatar:hover {
    border-color: var(--brand-primary);
}

.team-avatar:hover img {
    transform: scale(1.1);
}

.about-section blockquote {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    border-left: 3px solid var(--brand-primary);
    display: inline-block;
    padding-left: 12px;
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .about-section h2       { font-size: 1.6rem; }
    .team-avatar            { width: 70px; height: 70px; }
    .about-section p        { font-size: 0.9rem; }
    .about-section blockquote { font-size: 0.9rem; }
}

/* --------------------------------------------------------------------------
   18. Opinions — Opinie klientów (opinions.css)
   -------------------------------------------------------------------------- */
.testimonials-section {
    background-color: #ffffff;
}

.testimonials-section h2 {
    font-size: 2rem;
    color: var(--brand-dark);
}

.testimonial-box {
    border: 1px solid rgba(18, 39, 56, 0.08);
    transition: all 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-box .ri-star-fill {
    color: var(--brand-primary);
    font-size: 1.1rem;
}

.rating-summary-box {
    background-color: rgba(17, 102, 45, 0.05);
    border: 1px solid rgba(17, 102, 45, 0.08);
}

@media (max-width: 767.98px) {
    .testimonials-section h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .rating-summary-box {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --------------------------------------------------------------------------
   19. FAQ (faq.css)
   -------------------------------------------------------------------------- */
.faq-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.faq-section h2 {
    font-size: 1.9rem;
    color: var(--brand-dark);
    font-weight: 700;
}

.faq-box {
    border: 1px solid rgba(18, 39, 56, 0.08);
    transition: all 0.3s ease;
}

.faq-box:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-box h6 {
    color: var(--brand-dark);
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-box p {
    color: rgba(18, 39, 56, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .faq-section h2  { font-size: 1.6rem; }
    .faq-box h6      { font-size: 1rem; }
    .faq-box p       { font-size: 0.9rem; }
}

/* --------------------------------------------------------------------------
   20. CTA Section (cta.css)
   -------------------------------------------------------------------------- */
.cta-section {
    background-color: #fff;
    color: var(--brand-dark);
    text-align: center;
}

.cta-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.cta-section p {
    color: rgba(18, 39, 56, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .cta-section h3 { font-size: 1.4rem; }
    .cta-section p  { font-size: 0.95rem; }
}

/* --------------------------------------------------------------------------
   21. Partners — Program partnerski (partners.css)
   -------------------------------------------------------------------------- */
.partners-section {
    background-color: #f9fafb;
}

.partner-box {
    background-color: #fff;
    border: 1px solid rgba(18, 39, 56, 0.08);
    transition: all 0.3s ease;
}

.partner-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.partner-box li {
    color: rgba(18, 39, 56, 0.85);
    font-size: 0.96rem;
}

@media (max-width: 767.98px) {
    .partner-box { padding: 2rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   22. Under Construction (under_construction.css)
   -------------------------------------------------------------------------- */
.landing-under-construction {
    background: #f8f9fa;
    padding: 64px 24px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.luc-inner {
    max-width: 700px;
    margin: 0 auto;
}

.luc-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(17, 102, 45, 0.1);         /* brand zamiast #e8f5e9 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 26px;
    color: var(--brand-primary);                 /* brand zamiast #2d6a2d */
}

.luc-badge {
    display: inline-block;
    background: rgba(17, 102, 45, 0.08);         /* brand zamiast #e8f5e9 */
    color: var(--brand-primary);                 /* brand zamiast #2d6a2d */
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.luc-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-dark);                    /* brand zamiast #1a1a2e */
    margin: 0 0 16px;
    line-height: 1.3;
}

.luc-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 32px;
}

.luc-notice {
    background: #fff;
    border: 1px solid rgba(17, 102, 45, 0.2);    /* brand zamiast #c8e6c9 */
    border-left: 4px solid var(--brand-primary); /* brand zamiast #2d6a2d */
    border-radius: 8px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.luc-notice-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(17, 102, 45, 0.08);         /* brand zamiast #e8f5e9 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--brand-primary);                 /* brand zamiast #2d6a2d */
}

.luc-notice-text {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.luc-notice-text strong {
    display: block;
    color: var(--brand-dark);                    /* brand zamiast #1a1a2e */
    font-size: 15px;
    margin-bottom: 3px;
}

/* --------------------------------------------------------------------------
   23. Auth / Contact — tło, karty, formularze (landing_and_auth.css)
   -------------------------------------------------------------------------- */

/* Tło z kropkami — strony auth + kontakt */
.auth-one-bg {
    position: relative;
    background-color: #ffffff !important;
    background-image: radial-gradient(rgba(17, 102, 45, 0.12) 1.8px, transparent 2px);
                                        /* brand #11662D zamiast #0f5b28 */
    background-size: 22px 22px;
    min-height: 100vh;
}

/* Główny kontener — wyśrodkowanie pionowe */
.auth-page-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Kolory tekstów w kontekście auth */
.auth-page-content .text-primary {
    color: var(--brand-primary) !important;
}

.auth-page-content .text-muted {
    color: #4e5d4e !important;
}

/* Karty — auth + kontakt */
.card,
.contact-card {
    border: 1px solid rgba(17, 102, 45, 0.35);      /* brand zamiast #9acc8f */
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(17, 102, 45, 0.1);  /* brand zamiast #0f5b28 */
    background-color: #ffffff;
}

/* Pola formularzy — focus */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.2rem rgba(17, 102, 45, 0.15);
}

/* Alerty — success */
.alert-success {
    background-color: rgba(17, 102, 45, 0.12);      /* brand zamiast #b7e0af */
    color: var(--brand-primary);
    border: 1px solid rgba(17, 102, 45, 0.3);       /* brand zamiast #9acc8f */
}

/* Alerty — danger */
.alert-danger {
    background-color: #ffe8e8;
    color: #a33b3b;
    border: 1px solid #ffb3b3;
}

/* Linki brandowe */
a.text-primary {
    color: var(--brand-primary) !important;
}

a.text-primary:hover {
    color: var(--brand-hover) !important;            /* brand --brand-hover zamiast #08491d */
}

/* Alert dwukolorowy (primary) */
.alert-primary {
    border: 1px solid rgba(17, 102, 45, 0.35) !important;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.alert-primary .alert-body {
    background-color: rgba(17, 102, 45, 0.1) !important;
    color: var(--brand-dark);
    padding: 1rem 1.25rem;
}

.alert-primary .alert-heading {
    color: var(--brand-primary) !important;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alert-primary .alert-content {
    background-color: var(--brand-primary) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1.1rem;
    font-size: 0.87rem;
    line-height: 1.4;
}

/* Responsywność */
@media (max-width: 991px) {
    .auth-page-content {
        padding: 2rem 0;
    }
}

/* --------------------------------------------------------------------------
   24. Loading Overlay
   -------------------------------------------------------------------------- */
#loading-overlay {
    background: rgba(18, 39, 56, 0.85) !important;  /* Navy Dark --brand-dark */
}

/* Animacja obracania logo w overlayu */
.rotating-image {
    width: 70px;
    height: 70px;
    animation: rotate 1.5s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --------------------------------------------------------------------------
   25. Contact Page
   -------------------------------------------------------------------------- */
.contact-right {
    text-align: center;
    color: var(--brand-primary);
}

.contact-right a {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-right a:hover {
    color: var(--brand-hover);
}

.contact-team .contact-right {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 991px) {
    .contact-right {
        margin-top: 3rem;
    }
}

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 0.15rem 0;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-social {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-social:hover {
    color: #11662D;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   27. Terms of Use / Privacy Policy — .terms-content
       (scalono terms_of_use.css + privacy_policy.css — użyto lepszej wersji)
   -------------------------------------------------------------------------- */
.terms-content {
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #343a40;
    font-size: 0.95rem;
    line-height: 1.75;
}

.terms-content h1,
.terms-content h2,
.terms-content h3 {
    color: var(--brand-primary);
    font-weight: 700;
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.terms-content h1 { font-size: 1.6rem; }
.terms-content h2 { font-size: 1.3rem; }
.terms-content h3 { font-size: 1.1rem; }

.terms-content p {
    margin-bottom: 1rem;
}

.terms-content ul,
.terms-content ol {
    margin-left: 1.4rem;
    margin-bottom: 1rem;
}

.terms-content li {
    margin-bottom: 0.4rem;
}

.terms-content strong {
    color: var(--brand-primary);
    font-weight: 600;
}

.terms-content a {
    color: var(--brand-primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.terms-content a:hover {
    color: var(--brand-hover);
}

.terms-content blockquote {
    background: rgba(17, 102, 45, 0.05);
    border-left: 4px solid var(--brand-primary);
    padding: 0.8rem 1rem;
    margin: 1.2rem 0;
    font-style: italic;
    color: #4e5d4e;
}

@media (max-width: 768px) {
    .terms-content          { font-size: 0.9rem; line-height: 1.6; }
    .terms-content h1       { font-size: 1.4rem; }
    .terms-content h2       { font-size: 1.15rem; }
}

/* --------------------------------------------------------------------------
   28. Price List — tabela cennika (price_list.css)
   -------------------------------------------------------------------------- */
.pricing-card-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-card-table th,
.pricing-card-table td {
    border: 1px solid #e9ecef;
    padding: 6px 10px;
    font-size: 0.8rem;
}

.pricing-card-table th {
    background: #f8faf9;
    font-weight: 600;
    color: var(--brand-primary);
}

.pricing-card-table tr:nth-child(even) {
    background: #fcfdfc;
}

.pricing-note {
    font-style: italic;
    color: #6c757d;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 0.75rem;
}

.pricing-heading {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--brand-primary);
}

.pricing-sms-text {
    font-size: 0.7rem;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   29. Features WIP notice
   -------------------------------------------------------------------------- */
.features-wip-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(17, 102, 45, 0.06);
    border: 1px dashed rgba(17, 102, 45, 0.3);
    color: rgba(18, 39, 56, 0.7);
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   30. Partners / Referral Program — numery kroków
   -------------------------------------------------------------------------- */
.partners-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background-color: var(--brand-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
}

/* --------------------------------------------------------------------------
   31. Registration page (registration.css)
   -------------------------------------------------------------------------- */

/* Video po lewej stronie */
.video-title {
    color: var(--brand-primary);
    font-weight: 600;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding-top: 20px;
    z-index: 10;
    pointer-events: auto;
}

.video-container iframe {
    width: 100%;
    height: 450px;
    max-height: 60vh;
    border-radius: 10px;
}

/* Nadpisanie tła auth-one-bg dla strony rejestracji */
.registration-page .auth-one-bg {
    background-image: none !important;
}

.registration-page .auth-one-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(17, 102, 45, 0.12) 1.8px, transparent 2px);
    background-size: 22px 22px;
}

/* Prawy panel — formularz */
.auth-container {
    background-color: #ffffff;
    color: var(--brand-dark);
}

.auth-form label {
    color: var(--brand-dark);
    font-weight: 500;
}

/* Pola formularza */
.form-control,
.form-select {
    border: 1px solid #d5d9e0;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Checkbox i radio */
.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Responsywność — formularz na górze na mobile */
@media (max-width: 991px) {
    .order-first-md {
        order: -1;
    }
}

/* --------------------------------------------------------------------------
   32. Login page (login.css)
   -------------------------------------------------------------------------- */

/* Ukrywanie pola hasła przed krokiem 2 logowania */
.visually-hidden {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

#passwordField {
    position: relative;
}

#password-addon {
    cursor: pointer;
}

.bg-overlay {
    background: rgba(17, 102, 45, 0.05);   /* brand zamiast #0f5b28 */
}

/* SMS code inputs — weryfikacja dwuetapowa */
#sms-code-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.code-input {
    width: 45px;
    height: 55px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.2s ease-in-out;
    outline: none;
}

.code-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 8px rgba(17, 102, 45, 0.2);
    background-color: #fff;
    transform: translateY(-2px);
}

.code-input::-webkit-outer-spin-button,
.code-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.code-input[type=number] {
    -moz-appearance: textfield;
}

/* --------------------------------------------------------------------------
   33. Login — disabled button state
   -------------------------------------------------------------------------- */
.btn-brand-primary:disabled,
.btn-brand-primary.disabled {
    background-color: var(--brand-primary);
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* --------------------------------------------------------------------------
   34. Password toggle button — remove border/outline on focus
   -------------------------------------------------------------------------- */
.password-addon {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.password-addon:focus,
.password-addon:active {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

/* --------------------------------------------------------------------------
   35. Partners Page
   -------------------------------------------------------------------------- */

/* Hero sekcja */
.partners-hero {
    background-color: var(--brand-dark);
    position: relative;
    overflow: hidden;
}

/* Placeholder karta — brak partnera */
.partner-placeholder-box {
    border: 2px dashed rgba(17, 102, 45, 0.3);
    background-color: rgba(17, 102, 45, 0.03);
    transition: all 0.3s ease;
}

.partner-placeholder-box:hover {
    border-color: var(--brand-primary);
    background-color: rgba(17, 102, 45, 0.06);
}

.partner-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(17, 102, 45, 0.08);
    color: var(--brand-primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA dolny — jasne tło żeby nie zlewało się z granatowym footrem */
.partners-cta-section {
    background-color: #f8f9fa;
    color: var(--brand-dark);
}

.partners-cta-section h3 {
    color: var(--brand-dark);
}

/* --------------------------------------------------------------------------
   36. Integrations Page
   -------------------------------------------------------------------------- */
.integration-tile {
    background-color: #fff;
    border: 1px solid rgba(18, 39, 56, 0.08);
    transition: all 0.3s ease;
}

.integration-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.integration-tile-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: rgba(17, 102, 45, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   37. Cookie Settings Panel — strona polityki prywatności
   -------------------------------------------------------------------------- */
.cookie-settings-box {
    background: #fff;
    border: 1.5px solid rgba(17, 102, 45, 0.2);
    border-left: 4px solid var(--brand-primary);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.cookie-settings-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(17, 102, 45, 0.08);
    color: var(--brand-primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   38. Cennik publiczny — pricing page (cennik.blade.php)
   Prefix: pricing-* — zero kolizji z istniejącymi klasami
   Korzysta z istniejących klas: .faq-section, .faq-box, .cta-section,
   .luc-badge, .text-brand-dark, .text-brand-primary, .btn-brand-primary,
   .btn-outline-brand, .section-pattern-right/left
   -------------------------------------------------------------------------- */

/* Hero */
.pricing-hero-section {
    background-color: #f9fafb;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.pricing-hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.2;
}

.pricing-hero-lead {
    font-size: 1.1rem;
    color: #495057;
    max-width: 600px;
    line-height: 1.6;
}

/* Toggle miesięczny / roczny */
.pricing-toggle {
    background: #fff;
    border: 1px solid rgba(18, 39, 56, 0.1);
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pricing-toggle-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.pricing-save-badge {
    background: rgba(17, 102, 45, 0.1);
    color: var(--brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 1rem;
    margin-left: 6px;
}

.pricing-toggle-input {
    width: 2.5rem;
    height: 1.25rem;
    cursor: pointer;
}

.pricing-toggle-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Base section */
.pricing-base-section {
    background-color: #fff;
    padding: 3rem 0 4rem;
}

/* Split card */
.pricing-card-split {
    border: 2px solid rgba(17, 102, 45, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(17, 102, 45, 0.08);
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
}

/* Lewa strona — cena */
.pricing-split-left {
    background: #fff;
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(17, 102, 45, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Prawa strona — zawartość pakietu */
.pricing-split-right {
    background: #f8fdf9;
    padding: 2.5rem 2rem;
}

.pricing-split-right-header {
    border-bottom: 1px solid rgba(17, 102, 45, 0.1);
    padding-bottom: 1rem;
}

.pricing-split-footer {
    border-top: 1px solid rgba(17, 102, 45, 0.1);
    font-size: 0.875rem;
    color: #495057;
}

/* Badge pakietu — rozszerzenie .luc-badge */
.pricing-card-badge {
    display: inline-block;
    background: var(--brand-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.pricing-card-desc {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Cena */
.pricing-price-wrap {
    margin: 1.5rem 0;
}

.pricing-price {
    line-height: 1;
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--brand-dark);
    vertical-align: top;
    margin-top: 0.75rem;
    display: inline-block;
}

.pricing-period {
    font-size: 1rem;
    color: #6c757d;
}

.pricing-yearly-note small {
    color: var(--brand-primary);
    font-weight: 600;
}

/* Nota o oddziałach */
.pricing-addon-note {
    background: rgba(17, 102, 45, 0.04);
    border: 1px dashed rgba(17, 102, 45, 0.25);
    border-radius: 10px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

/* Pozycje pakietu bazowego */
.pricing-fundamental-item {
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--brand-dark);
    transition: background-color 0.2s ease;
}

.pricing-fundamental-item:hover {
    background-color: rgba(17, 102, 45, 0.05);
}

/* Nota awaryczna */
.pricing-fundamental-notice {
    background: rgba(17, 102, 45, 0.04);
    border: 1px solid rgba(17, 102, 45, 0.15);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: #495057;
}

/* Mobile — stack */
@media (max-width: 991.98px) {
    .pricing-hero-title   { font-size: 2rem; }
    .pricing-amount       { font-size: 2.75rem; }

    .pricing-split-left {
        border-right: none;
        border-bottom: 1px solid rgba(17, 102, 45, 0.12);
        padding: 2rem 1.5rem;
    }

    .pricing-split-right {
        padding: 2rem 1.5rem;
    }
}

/* Sekcja modułów */
.pricing-modules-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.pricing-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.pricing-section-lead {
    font-size: 1rem;
    color: #6c757d;
    max-width: 560px;
    line-height: 1.6;
}

/* Label sekcji modułów */
.pricing-module-group-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    border-bottom: 2px solid rgba(17, 102, 45, 0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.pricing-module-group-label:first-of-type {
    margin-top: 0;
}

/* Kafelek modułu */
.pricing-module-tile {
    background: #fff;
    border: 1px solid rgba(18, 39, 56, 0.07);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: all 0.25s ease;
}

.pricing-module-tile:hover {
    border-color: rgba(17, 102, 45, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

/* Ikona modułu */
.pricing-module-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(17, 102, 45, 0.08);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-module-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-dark);
}

.pricing-module-desc {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 2px;
}

/* Link "Dowiedz się więcej" w kafelku */
.pricing-module-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pricing-module-link:hover {
    color: var(--brand-hover);
    text-decoration: none;
}

.pricing-module-link i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.pricing-module-link:hover i {
    transform: translateX(3px);
}

/* Cena w kafelku */
.pricing-module-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-primary);
    white-space: nowrap;
}

.pricing-module-period {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6c757d;
}

/* Nota CTA pod modułami */
.pricing-modules-note {
    font-size: 0.95rem;
    color: #495057;
}

/* Noty prawne */
.pricing-footnotes {
    border-top: 1px solid rgba(18, 39, 56, 0.07);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.pricing-footnote-item {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.pricing-footnote-item:last-child {
    margin-bottom: 0;
}

.pricing-footnote-item a {
    color: var(--brand-primary);
    text-decoration: none;
}

.pricing-footnote-item a:hover {
    text-decoration: underline;
}

.pricing-footnote-mark {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.7rem;
}

/* Sekcja "Dedykowany moduł" */
.pricing-custom-section {
    background-color: var(--brand-dark);
    padding: 4rem 0;
}

.pricing-custom-box {
    color: #fff;
}

.pricing-custom-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.pricing-custom-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.pricing-custom-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 580px;
}

.pricing-custom-point {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    height: 100%;
    transition: background 0.25s ease;
}

.pricing-custom-point:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pricing-custom-point i {
    font-size: 1.75rem;
    color: var(--brand-primary);
    display: block;
}

.pricing-custom-point-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.4rem;
}

.pricing-custom-point-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .pricing-custom-title { font-size: 1.6rem; }
    .pricing-custom-lead  { font-size: 0.95rem; }
}
