/* =========================================================
   RAPORT MIESZKANIA - LANDING PAGE
   ========================================================= */

html,
body {
    min-height: 100%;
}

.site-consent-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home-page {
    color: #172033;
    overflow: hidden;
    background: #ffffff;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;
    padding: 110px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, .14), transparent 30%), radial-gradient(circle at 20% 80%, rgba(14, 165, 233, .10), transparent 30%), #f8faff;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 250px;
    height: 250px;
    background: rgba(99, 102, 241, .15);
    right: 5%;
    top: 5%;
}

.hero-glow-2 {
    width: 200px;
    height: 200px;
    background: rgba(14, 165, 233, .12);
    left: -50px;
    bottom: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(79, 70, 229, .08);
    color: #4f46e5;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 0 5px rgba(99, 102, 241, .12);
}

.hero-title {
    max-width: 760px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.03;
    letter-spacing: -2px;
    font-weight: 800;
    margin-bottom: 26px;
}

    .hero-title span {
        display: block;
        background: linear-gradient(90deg, #2563eb, #7c3aed);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.hero-subtitle {
    max-width: 680px;
    font-size: 1.35rem;
    line-height: 1.6;
    color: #354158;
    margin-bottom: 12px;
}

.hero-description {
    max-width: 650px;
    color: #697386;
    line-height: 1.7;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-main-btn {
    border: 0;
    border-radius: 12px;
    padding: 15px 23px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
    transition: .25s ease;
}

    .hero-main-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(37, 99, 235, .3);
    }

.btn-arrow {
    margin-left: 8px;
    font-size: 1.2rem;
}

.hero-price {
    display: flex;
    flex-direction: column;
}

    .hero-price strong {
        font-size: 1.25rem;
    }

    .hero-price span {
        color: #7b8495;
        font-size: .82rem;
    }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    color: #596579;
    font-size: .9rem;
}


/* =========================================================
   REPORT PREVIEW
   ========================================================= */

.report-preview {
    position: relative;
    padding: 25px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 30px 80px rgba(30, 41, 59, .13), 0 5px 20px rgba(30, 41, 59, .05);
    backdrop-filter: blur(15px);
    transform: rotate(1deg);
    transition: .3s ease;
}

    .report-preview:hover {
        transform: rotate(0) translateY(-5px);
    }

.report-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

.report-small-label {
    color: #6366f1;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.report-preview-top h3 {
    font-size: 1.15rem;
    margin: 4px 0 0;
}

.report-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.property-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 22px 0;
}

    .property-preview strong,
    .property-preview span {
        display: block;
    }

    .property-preview span {
        margin-top: 4px;
        color: #8992a3;
        font-size: .85rem;
    }

.property-price {
    font-weight: 800;
    white-space: nowrap;
}

.score-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 16px;
    background: #f7f8ff;
}

.score-circle {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#22c55e 87%, #e5e7eb 0);
    position: relative;
}

    .score-circle::before {
        content: "";
        position: absolute;
        inset: 7px;
        border-radius: 50%;
        background: white;
    }

    .score-circle strong,
    .score-circle span {
        position: relative;
        z-index: 1;
    }

    .score-circle strong {
        font-size: 1.35rem;
    }

    .score-circle span {
        color: #8a93a4;
        font-size: .7rem;
    }

.score-label {
    font-size: .68rem;
    color: #8992a3;
    font-weight: 700;
}

.score-good {
    font-size: .95rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: 2px;
}

.score-bar {
    width: 150px;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    margin-top: 8px;
    overflow: hidden;
}

.score-bar-fill {
    width: 87%;
    height: 100%;
    background: #22c55e;
    border-radius: inherit;
}

.report-items {
    margin-top: 18px;
}

.report-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

    .report-item + .report-item {
        border-top: 1px solid #f0f1f5;
    }

.report-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

    .report-item-icon.green {
        background: #dcfce7;
        color: #16a34a;
    }

    .report-item-icon.yellow {
        background: #fef3c7;
        color: #d97706;
    }

    .report-item-icon.red {
        background: #fee2e2;
        color: #dc2626;
    }

.report-item strong,
.report-item small {
    display: block;
}

.report-item strong {
    font-size: .88rem;
}

.report-item small {
    color: #8b94a5;
    margin-top: 2px;
}

.report-preview-footer {
    display: flex;
    justify-content: space-between;
    color: #8b94a5;
    font-size: .75rem;
    margin-top: 12px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.features-section,
.how-section,
.sample-section,
.why-section {
    padding: 100px 0;
}

.features-section {
    background: white;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
}

.section-kicker {
    color: #6366f1;
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-heading h2,
.sample-section h2,
.why-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-heading p {
    color: #758095;
    line-height: 1.7;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-card {
    height: 100%;
    padding: 28px;
    border-radius: 20px;
    background: white;
    border: 1px solid #edf0f5;
    box-shadow: 0 10px 35px rgba(30, 41, 59, .05);
    transition: .25s ease;
}

    .feature-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 45px rgba(30, 41, 59, .10);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 22px;
}

.feature-blue .feature-icon {
    background: #dbeafe;
    color: #2563eb;
}

.feature-purple .feature-icon {
    background: #ede9fe;
    color: #7c3aed;
}

.feature-red .feature-icon {
    background: #fee2e2;
    color: #dc2626;
}

.feature-green .feature-icon {
    background: #dcfce7;
    color: #16a34a;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 750;
}

.feature-card p {
    color: #737d90;
    line-height: 1.65;
    margin: 0;
}


/* =========================================================
   STEPS
   ========================================================= */

.how-section {
    background: #f7f9fc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    position: relative;
}

.step-number {
    font-size: .8rem;
    font-weight: 800;
    color: #6366f1;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 750;
}

.step p {
    color: #778195;
    line-height: 1.6;
}


/* =========================================================
   SAMPLE REPORT
   ========================================================= */

.sample-description {
    color: #758095;
    line-height: 1.75;
    font-size: 1.05rem;
}

.sample-checks {
    margin-top: 25px;
}

    .sample-checks div {
        margin-bottom: 13px;
        font-weight: 600;
    }

        .sample-checks div::first-letter {
            color: #16a34a;
        }

.sample-report-card {
    padding: 30px;
    border-radius: 22px;
    background: white;
    border: 1px solid #e8ebf1;
    box-shadow: 0 20px 55px rgba(30, 41, 59, .09);
}

.sample-report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

    .sample-report-header span {
        color: #6366f1;
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: 1.5px;
    }

    .sample-report-header h3 {
        margin: 5px 0 0;
        font-size: 1.3rem;
    }

.recommendation {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fef3c7;
    color: #b45309;
    font-size: .7rem;
    font-weight: 800;
}

.sample-headline {
    margin: 25px 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
}

.mini-scores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

    .mini-scores div {
        padding: 15px;
        border-radius: 13px;
        background: #f7f8fa;
    }

    .mini-scores span,
    .mini-scores strong {
        display: block;
    }

    .mini-scores span {
        color: #858ea0;
        font-size: .75rem;
    }

    .mini-scores strong {
        margin-top: 5px;
        font-size: 1.25rem;
    }

.green-text {
    color: #16a34a;
}

.yellow-text {
    color: #d97706;
}

.warning-box {
    margin-top: 20px;
    padding: 18px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

    .warning-box strong {
        color: #c2410c;
    }

    .warning-box p {
        margin: 6px 0 0;
        color: #7c5a43;
        font-size: .9rem;
        line-height: 1.6;
    }


/* =========================================================
   WHY SECTION
   ========================================================= */

.why-box {
    position: relative;
    overflow: hidden;
    padding: 70px;
    border-radius: 30px;
    background: linear-gradient(135deg, #111827, #1e1b4b);
    color: white;
}

.why-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.why-box .section-kicker {
    color: #a5b4fc;
}

.why-box h2 {
    color: white;
}

.why-box p {
    color: #c2c8d4;
    line-height: 1.7;
}

.why-list {
    margin-top: 25px;
}

    .why-list div {
        margin-bottom: 13px;
        color: #e5e7eb;
    }

    .why-list span {
        color: #4ade80;
        margin-right: 8px;
    }

.why-decoration {
    position: absolute;
    right: 60px;
    top: 0;
    width: 350px;
    height: 100%;
}

.floating-card {
    position: absolute;
    padding: 18px 24px;
    border-radius: 15px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.2);
}

.card-one {
    top: 80px;
    right: 80px;
}

.card-two {
    top: 170px;
    right: 10px;
}

.card-three {
    top: 260px;
    right: 100px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    padding: 110px 0;
    color: white;
    background: linear-gradient(135deg, #2563eb, #4f46e5, #7c3aed);
}

.cta-badge {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.final-cta h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.final-cta p {
    color: rgba(255,255,255,.8);
    font-size: 1.15rem;
}

.final-btn {
    margin-top: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    color: #312e81;
    font-weight: 750;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

    .final-btn span {
        margin-left: 8px;
    }

.cta-note {
    margin-top: 16px;
    color: rgba(255,255,255,.65);
    font-size: .8rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .hero-section {
        padding: 75px 0;
    }

    .hero-title {
        font-size: 3.3rem;
    }

    .report-preview {
        max-width: 520px;
        margin: 0 auto;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-decoration {
        display: none;
    }

    .why-content {
        max-width: 100%;
    }
}

@media (max-width: 767px) {

    .hero-section {
        padding: 55px 0;
    }

    .hero-title {
        font-size: 2.7rem;
        letter-spacing: -1.2px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .features-section,
    .how-section,
    .sample-section,
    .why-section {
        padding: 70px 0;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .mini-scores {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-box {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 2.35rem;
    }

    .report-preview {
        padding: 18px;
    }

    .score-box {
        gap: 10px;
    }

    .property-preview {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
}

.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 4px 25px rgba(15, 23, 42, .04);
}

.navbar-container {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   BRAND
   ========================================================= */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #111827 !important;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.4px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: white;
    background: linear-gradient( 135deg, #2563eb, #7c3aed );
    box-shadow: 0 7px 18px rgba(79, 70, 229, .25);
    font-size: 1rem;
}

.brand-text span {
    color: #4f46e5;
}


/* =========================================================
   MENU
   ========================================================= */

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-link {
    position: relative;
    padding: 9px 12px;
    color: #5d6677 !important;
    text-decoration: none !important;
    font-size: .9rem;
    font-weight: 500;
    border-radius: 9px;
    transition: color .2s ease, background .2s ease;
}

    .navbar-link:hover {
        color: #111827 !important;
        background: #f4f6fa;
    }


/* =========================================================
   CTA
   ========================================================= */

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 12px;
    padding: 10px 16px;
    border-radius: 11px;
    color: white !important;
    text-decoration: none !important;
    font-size: .88rem;
    font-weight: 700;
    background: linear-gradient( 135deg, #2563eb, #4f46e5 );
    box-shadow: 0 8px 22px rgba(37, 99, 235, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .navbar-cta strong {
        color: #dbeafe;
    }

    .navbar-cta:hover {
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(37, 99, 235, .3);
    }

.cta-arrow {
    margin-left: 3px;
    font-size: 1rem;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.custom-toggler {
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px;
    background: white;
}

    .custom-toggler:focus {
        box-shadow: none;
    }

    .custom-toggler span {
        display: block;
        width: 20px;
        height: 2px;
        margin: 4px auto;
        border-radius: 2px;
        background: #374151;
    }


/* =========================================================
   CONTENT OFFSET
   ========================================================= */

.site-content {
    flex: 1 0 auto;
    padding-top: 72px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top: 0;
    padding: 55px 0 25px;
    color: #9ca3af;
    background: #0f172a;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: white !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 750;
}

    .footer-logo .brand-icon {
        width: 30px;
        height: 30px;
        font-size: .8rem;
    }

.footer-brand p {
    margin: 12px 0 0;
    color: #8792a5;
    font-size: .85rem;
}

.footer-links {
    display: flex;
    gap: 25px;
}

    .footer-links a {
        color: #aab3c2 !important;
        text-decoration: none !important;
        font-size: .85rem;
        transition: color .2s ease;
    }

        .footer-links a:hover {
            color: white !important;
        }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    font-size: .72rem;
    color: #687386;
}

    .footer-bottom span:last-child {
        text-align: right;
        max-width: 600px;
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
        border-radius: 16px;
        background: white;
        box-shadow: 0 15px 40px rgba(15, 23, 42, .12);
        border: 1px solid #edf0f5;
    }

    .navbar-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-link {
        width: 100%;
        padding: 12px;
    }

    .navbar-cta {
        justify-content: center;
        margin-left: 0;
        margin-top: 5px;
    }
}


@media (max-width: 767px) {

    .main-navbar,
    .navbar-container {
        height: 64px;
    }

    .site-content {
        padding-top: 64px;
    }

    .brand-text {
        font-size: .95rem;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

        .footer-bottom span:last-child {
            text-align: left;
        }

}

/* =========================================================
   SITE CONSENT BANNER
   ========================================================= */

.site-consent-banner {
    position: fixed;
    z-index: 1050;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 24px;
    color: #172033;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .2);
}

.site-consent-content {
    min-width: 0;
}

.site-consent-content h2 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
}

.site-consent-content p {
    margin: 0;
    color: #596579;
    font-size: .9rem;
    line-height: 1.5;
}

.site-consent-content a {
    color: #2563eb;
    font-weight: 700;
}

.site-consent-button {
    flex: 0 0 auto;
    padding: 11px 18px;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: 0;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
    cursor: pointer;
}

.site-consent-button:hover {
    filter: brightness(1.05);
}

.site-consent-button-secondary {
    color: #475569;
    background: #f1f5f9;
    box-shadow: none;
}

.site-consent-button-secondary:hover {
    background: #e2e8f0;
    filter: none;
}

.site-consent-button:focus-visible,
.site-consent-content a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .35);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .site-consent-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 18px;
    }

    .site-consent-button {
        width: 100%;
    }

    .site-consent-actions {
        flex-direction: column-reverse;
    }
}
}