/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed header */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    padding-top: 80px;
    touch-action: pan-y pan-x; /* Płynny scroll na mobile */
}

html, body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Global overflow protection */
.demo, .wp-mockup, .demo__visual {
    overflow-x: hidden;
    max-width: 100%;
}

/* Feature text styling */
.feature-text {
    line-height: 1.6;
    color: #444;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Frontend Mockup Styling */
.frontend-mockup {
    position: relative;
}

.website-header {
    background: #2c3e50;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
}

.website-header .wp-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.website-nav {
    display: flex;
    gap: 25px;
}

.website-nav span {
    color: #ecf0f1;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.website-nav span:hover {
    color: #3498db;
}

.page-title {
    margin-bottom: 25px;
}

.page-title h3 {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
}

.page-subtitle {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

.frontend-apartments-table {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.apartment-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.3s ease;
}

.apartment-row:last-child {
    border-bottom: none;
}

.apartment-row:hover {
    background-color: #f8f9fa;
}

.apartment-info {
    flex: 1;
}

.apartment-number {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.apartment-details {
    font-size: 13px;
    color: #7f8c8d;
}

.apartment-price {
    font-size: 18px;
    font-weight: 600;
    color: #27ae60;
    margin-right: 20px;
    min-width: 120px;
    text-align: right;
}

.apartment-status {
    min-width: 90px;
    text-align: center;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 15px;
}

.apartment-status.available {
    background-color: #d4edda;
    color: #155724;
}

.apartment-status.reserved {
    background-color: #fff3cd;
    color: #856404;
}

.apartment-status.sold {
    background-color: #f8d7da;
    color: #721c24;
}

.frontend-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.frontend-btn:hover {
    background-color: #2980b9;
}

.integration-indicator {
    position: absolute;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    z-index: 10;
}

.integration-indicator.gutenberg {
    top: 120px;
    right: 20px;
    background-color: #9b59b6;
}

.integration-indicator.image-map {
    top: 160px;
    right: 20px;
    background-color: #e67e22;
}

.data-source {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #2c3e50;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

/* Frontend Layout */
.frontend-layout {
    display: flex;
    gap: 30px;
    position: relative;
}

.image-map-section {
    flex: 1;
}

.apartments-list-section {
    flex: 1;
}

.image-map-section h4,
.apartments-list-section h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Image Map Pro Visualization */
.image-map-container {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.estate-map {
    display: block;
    width: 100%;
    height: auto;
}

.house-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.house-clickable:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.house-clickable:hover rect {
    filter: brightness(1.1);
}

.map-tooltip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.house-clickable:hover + .map-tooltip,
.image-map-container:hover .map-tooltip {
    opacity: 1;
}

.tooltip-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.tooltip-apt {
    margin-bottom: 3px;
    color: #e0e0e0;
}

.image-map-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e67e22;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 15;
}

.gutenberg-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #9b59b6;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 15;
}

.apartments-list-section {
    position: relative;
}

.data-source {
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    background-color: #2c3e50;
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
}

/* Estate Map Specific Styling */
.house-clickable.available rect {
    fill: #e8f5e8;
    stroke: #27ae60;
}

.house-clickable.mixed rect {
    fill: #fff3cd;
    stroke: #f39c12;
}

.house-clickable.sold rect {
    fill: #f8d7da;
    stroke: #e74c3c;
}

/* Responsive adjustments for frontend mockup */
@media (max-width: 968px) {
    .frontend-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-map-container {
        height: 250px;
    }
    
    .estate-map {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .website-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .apartment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .apartment-price {
        text-align: left;
    }
    
    .frontend-layout {
        gap: 15px;
    }
    
    .data-source {
        position: static;
        margin-top: 20px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
}

.btn--primary {
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white !important;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white !important;
}

.btn--secondary {
    background: transparent;
    border: none;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.btn--secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.btn--secondary span {
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.btn--outline {
    background: #764FA7;
    color: #ffffff !important;
    border: 2px solid #764FA7;
    font-weight: 600;
    text-shadow: none;
}

.btn--outline:hover {
    background: #687AE5;
    color: white !important;
    border: 2px solid #687AE5;
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__brand--link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav__brand--link:hover {
    opacity: 0.8;
}

.nav__logo {
    height: 52px;
    width: auto;
    display: block;
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
}

.nav__brand h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
    line-height: 1;
}

.nav__brand span {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
    line-height: 1;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a:not(.btn) {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav__links a:not(.btn):hover {
    color: #687AE5;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.menu--open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.menu--open span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.menu--open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="1" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero__title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a202c;
}

.highlight {
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 20px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero__cta {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    background: rgba(102, 126, 234, 0.1);
    padding: 12px 20px;
    border-radius: 50px;
    color: #4c51bf;
    font-weight: 500;
    font-size: 14px;
}

/* Dashboard Preview */
.hero__visual {
    position: relative;
    width: 400px;
    flex-shrink: 0;
}

.dashboard-preview {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.dashboard-preview__header {
    background: #f7fafc;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-preview__dots {
    display: flex;
    gap: 6px;
}

.dashboard-preview__dots span {
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    border-radius: 50%;
}

.dashboard-preview__content {
    padding: 24px;
}

.dashboard-preview__content h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 18px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #687AE5;
    margin-bottom: 4px;
}

.stat__label {
    font-size: 12px;
    color: #718096;
}

.preview-actions {
    display: flex;
    gap: 8px;
}

.preview-btn {
    background: #edf2f7;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    color: #4a5568;
    cursor: pointer;
    transition: background 0.3s ease;
}

.preview-btn:hover {
    background: #e2e8f0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: #f7fafc;
}

.section-subtitle {
    font-size: 20px;
    color: #4a5568;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution__features {
    display: grid;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature__icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature__content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.feature__content p {
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
}

/* Features Grid */
.features {
    padding: 80px 0;
    background: white;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 100%;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.feature-card p {
    color: #718096;
    line-height: 1.6;
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background: #f7fafc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
}

.step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step__content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.step__content p {
    color: #718096;
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: white;
}

/* Card description styling */
.card__description {
    line-height: 1.7;
    color: #4a5568;
    font-size: 15px;
    margin-bottom: 0;
}

/* Price details styling */
.price__details {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
    line-height: 1.5;
}

/* Two-column features list */
.features-list--two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list--two-columns li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
}

/* Mobile: single column with larger gaps */
@media (max-width: 768px) {
    .features-list--two-columns {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .price__details {
        font-size: 13px;
    }

    .card__description {
        font-size: 14px;
    }
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.pricing__card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing__card--featured {
    border-color: #687AE5;
    transform: scale(1.05);
}

.pricing__card--featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.card__header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d3748;
}

.card__header p {
    color: #718096;
    margin-bottom: 24px;
}

.card__price {
    margin-bottom: 32px;
}

.price__amount {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
}

.price__period {
    color: #718096;
    font-size: 16px;
}

.card__features {
    margin-bottom: 32px;
}

.card__features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card__features li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
}

.card__features .feature {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
}

.card__cta {
    width: 100%;
    justify-content: center;
}

/* Pricing FAQ */
.pricing__faq {
    max-width: 800px;
    margin: 0 auto;
}

.pricing__faq h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2d3748;
}

.faq__grid {
    display: grid;
    gap: 24px;
}

.faq__item {
    background: #f7fafc;
    padding: 24px;
    border-radius: 12px;
}

.faq__item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.faq__item p {
    color: #718096;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f7fafc;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial__content {
    margin-bottom: 24px;
}

.testimonial__content p {
    font-size: 18px;
    line-height: 1.6;
    color: #2d3748;
    font-style: italic;
}

.testimonial__author strong {
    display: block;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial__author span {
    color: #718096;
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    text-align: center;
}

.cta__content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta__content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta .btn--primary {
    background: white;
    color: #687AE5;
}

.cta .btn--primary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

.cta .btn--secondary {
    background: white;
    color: #687AE5;
}

.cta .btn--secondary:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__brand p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer__links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__links ul {
    list-style: none;
}

.footer__links ul li {
    margin-bottom: 8px;
    color: #a0aec0;
}

.footer__links ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__links ul li a:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid #4a5568;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
}

.footer__legal a:hover {
    color: white;
}

/* Footer Company Information Section */
.footer__company {
    border-top: 1px solid #4a5568;
    border-bottom: 1px solid #4a5568;
    padding: 30px 0;
    margin-bottom: 30px;
}

.footer__company .company-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.footer__company address {
    font-style: normal;
    color: #a0aec0;
}

.company-details__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.company-details__item {
    margin: 0 8px;
}

.company-details__item strong {
    color: #fff;
    font-weight: 600;
}

.company-details__item a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-details__item a:hover {
    color: #fff;
}

.company-details__separator {
    color: #4a5568;
    margin: 0 8px;
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero .container {
        gap: 40px;
    }
    
    .hero__title {
        font-size: 42px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .pricing__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .pricing__card--featured {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .solution__features {
        gap: 28px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Fix scroll blocking issue on mobile */
    .container {
        overflow: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav__logo {
        height: 44px;
    }

    .nav__brand h1 {
        font-size: 20px;
    }

    .nav__brand span {
        font-size: 11px;
    }

    .nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 20px 0;
        margin: 0 20px;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(226, 232, 240, 0.8);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        max-height: 0;
        overflow: hidden;
    }
    
    .nav__links.nav--open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }
    
    .nav__links a {
        font-size: 1.1rem;
        color: #2d3748;
        padding: 14px 24px;
        text-align: left;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .nav__links a:last-child {
        border-bottom: none;
    }
    
    .nav__links a:hover {
        background: rgba(104, 122, 229, 0.08);
        color: #687AE5;
        transform: translateX(4px);
    }
    
    .nav__links .btn {
        margin: 12px 24px 0;
        justify-content: center;
        border-radius: 8px;
    }
    
    .nav-icon {
        font-size: 16px;
        opacity: 0.8;
    }
    
    /* Hide icons on desktop */
    @media (min-width: 769px) {
        .nav-icon {
            display: none;
        }
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero__content {
        max-width: 100%;
        order: 2;
    }
    
    .hero__title {
        font-size: 32px;
        text-align: center;
    }
    
    .hero__subtitle {
        font-size: 18px;
        text-align: center;
    }
    
    .hero__visual {
        position: static;
        transform: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        order: 1;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero__badge {
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .solution__features {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .feature {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .feature__icon {
        margin-bottom: 12px;
    }
    
    .pricing__grid {
        grid-template-columns: 1fr;
    }
    
    .pricing__card--featured {
        transform: none;
    }
    
    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer__company .company-info h4 {
        font-size: 18px;
    }

    .company-details__row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .company-details__separator {
        display: none;
    }

    .company-details__item {
        margin: 4px 0;
    }

    /* Basic mobile improvements */
    .container {
        padding: 0 15px;
    }
    
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    .features__grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .solution__features {
        gap: 20px;
    }
}

/* Smaller mobile screens */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .nav__logo {
        height: 37px;
    }

    .nav__brand h1 {
        font-size: 18px;
    }

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

    .hero__title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features__grid {
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .solution__features {
        gap: 16px;
    }
    
    .pricing__grid {
        gap: 16px;
    }
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.demo__showcase {
    margin-top: 60px;
}

.demo__item {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
    gap: 60px;
    overflow-x: hidden;
}

.demo__item--reverse {
    flex-direction: row-reverse;
}

.demo__visual {
    flex: 1;
    max-width: 600px;
    min-width: 0;
    overflow: hidden;
}

.demo__description {
    flex: 1;
    max-width: 500px;
    min-width: 0;
}

.demo__description h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 16px;
}

.demo__description p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WordPress Mockup */
.wp-mockup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #ddd;
}

.wp-header {
    background: #23282d;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #32373c;
}

.wp-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.wp-actions {
    display: flex;
    gap: 10px;
}

.wp-content {
    padding: 20px;
    min-height: 300px;
}

.wp-section {
    margin-bottom: 25px;
}

.wp-section h3 {
    margin-bottom: 15px;
    color: #23282d;
    font-size: 1rem;
    font-weight: 600;
}

/* WordPress Buttons */
.wp-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.wp-button--primary {
    background: #0073aa;
}

.wp-button--secondary {
    background: #f0f0f1;
    color: #50575e;
}

.wp-button-small {
    padding: 4px 8px;
    font-size: 12px;
    background: #f0f0f1;
    color: #50575e;
    border: 1px solid #c3c4c7;
    border-radius: 3px;
}

/* WordPress Form Table */
.wp-form-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    overflow-x: auto;
}

.wp-form-table th {
    text-align: left;
    padding: 15px 10px 15px 0;
    width: 30%;
    color: #23282d;
    font-weight: 600;
    font-size: 14px;
}

.wp-form-table td {
    padding: 15px 0;
}

.wp-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
}

/* Automation Status */
.automation-status {
    background: #e7f5e7;
    border: 1px solid #00a32a;
    border-radius: 4px;
    padding: 15px;
}

.status-enabled {
    color: #00a32a;
    font-weight: 600;
}

.next-gen {
    color: #0073aa;
    font-weight: 500;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #e1e4e8;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 5px;
}

.stat-label {
    color: #50575e;
    font-size: 0.9rem;
}

/* Resources Table */
.resources-table {
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    overflow-x: auto;
}

.resource-row {
    display: grid;
    grid-template-columns: minmax(200px, 2fr) minmax(80px, 1fr) minmax(80px, 100px) minmax(60px, 80px);
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e1e4e8;
    background: white;
    min-width: 0;
}

.resource-row:nth-child(even) {
    background: #f9f9f9;
}

.resource-info strong {
    color: #0073aa;
    display: block;
    margin-bottom: 4px;
}

.resource-details {
    font-size: 0.85rem;
    color: #646970;
}

.resource-price {
    font-weight: 600;
    color: #1d2327;
}

.resource-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.status-active {
    background: #e7f5e7;
    color: #00a32a;
}

.status-changed {
    background: #fff3cd;
    color: #856404;
}

.status-sold {
    background: #f8d7da;
    color: #721c24;
}

.resource-actions {
    display: flex;
    gap: 5px;
}

/* Updated resources table styling to match real implementation */
.resources-table {
    width: 100%;
    min-width: 700px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.resource-row {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 50px;
}

.resource-row:hover {
    background: #f7f9fc;
    border-color: #2271b1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.resource-info {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.resource-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-title strong {
    font-size: 13px;
    color: #1d2327;
    font-weight: 600;
}

.resource-number {
    color: #646970;
    font-size: 12px;
}

.resource-details {
    font-size: 12px;
    color: #50575e;
}

.resource-pricing {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
    min-width: 200px;
}

.price-main, .price-total {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.price-label {
    font-size: 10px;
    color: #646970;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
}

.price-value {
    font-size: 13px;
    color: #1d2327;
    font-weight: 600;
    line-height: 1.2;
}

.resource-status {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid;
    line-height: 1;
}

.status-badge.status-dostepny {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.status-badge.status-rezerwacja {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.status-badge.status-sprzedany {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f1aeb5;
}

.date-info {
    font-size: 9px;
    color: #646970;
    text-align: center;
    line-height: 1;
}

.resource-actions {
    flex: 0 0 110px;
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.wp-button-small {
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1;
    min-height: auto;
    border-radius: 3px;
}

.wp-button-small.wp-button-primary {
    background-color: #2271b1;
    color: white;
    border-color: #2271b1;
}

.wp-button-small.wp-button-primary:hover {
    background-color: #135e96;
    border-color: #135e96;
}

/* Ensure mockup container has enough width */
.wp-mockup {
    min-width: 750px;
}

.wp-content {
    overflow-x: auto;
}

/* Files List */
.files-list {
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #e1e4e8;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    font-size: 1.2rem;
}

.file-meta {
    font-size: 0.8rem;
    color: #646970;
    margin-top: 4px;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.automation-info {
    background: #e7f5e7;
    border: 1px solid #00a32a;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
}

.automation-details {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #646970;
}

/* Demo CTA */
.demo__cta {
    text-align: center;
    margin-top: 80px;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.demo__cta h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.demo__cta p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.demo__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Demo */
@media (max-width: 768px) {
    .demo__item {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
        overflow-x: hidden;
    }
    
    .demo__item--reverse {
        flex-direction: column;
    }
    
    .wp-mockup {
        margin: 0 auto;
        max-width: 100%;
        overflow-x: auto;
        min-width: 0;
    }
    
    .wp-content {
        min-width: 0;
        overflow-x: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .resource-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
        min-width: 280px;
    }
    
    .demo__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
    .demo__item {
        gap: 20px;
    }
    
    .wp-mockup {
        min-width: 300px;
    }
}

/* Articles Section */
.articles {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Article Page */
.article-page {
    background: white;
    padding: 40px 0 80px;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-page h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.article-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-content section {
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
    padding: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.related-card h3 {
    margin-bottom: 10px;
}

.related-card a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.related-card a:hover {
    color: var(--primary-color);
}

.loading-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
}

/* Responsive Articles */
@media (max-width: 768px) {
    .articles__grid {
        grid-template-columns: 1fr;
    }
    
    .article-card--featured {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .article-page h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Simple Articles List */
.articles-simple {
    padding: 60px 0;
    background: white;
}

.articles-simple h1 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-color);
}

.articles-intro {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Articles List - Simple Vertical Layout */
.articles-list {
    max-width: 800px;
    margin: 0 auto;
}

.article-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 40px;
}

.article-item-link:hover .article-item {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.article-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.article-item-link:last-child .article-item {
    border-bottom: none;
}

.article-item h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--primary-color);
}

.article-item p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 1rem;
}

.article-item .article-date {
    color: #999;
    font-size: 0.9rem;
    margin-top: 8px;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-simple {
        padding: 40px 0;
    }
    
    .article-item {
        display: block;
        padding: 20px 0;
    }
    
    .article-icon {
        width: auto;
        text-align: left;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing__card,
.testimonial {
    animation: fadeInUp 0.6s ease-out;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact__info h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact__info > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact__item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact__item a {
    color: #687AE5;
    text-decoration: none;
}

.contact__item a:hover {
    text-decoration: underline;
}

.contact__item span {
    color: #666;
}

.contact__form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact__form {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #687AE5;
    box-shadow: 0 0 0 3px rgba(104, 122, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-label span {
    color: #666;
    line-height: 1.4;
}

.btn-loading {
    display: none;
}

.form-message {
    margin-top: 20px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert--info {
    background: #cce7ff;
    color: #0056b3;
    border: 1px solid #9ecaff;
}

.alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Pricing Implementation */
.pricing__implementation {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    text-align: center;
}

.pricing__implementation h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.pricing__implementation p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

.implementation__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.implementation__item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-weight: 500;
    color: var(--text-color);
}

.implementation__contact {
    font-size: 1.1rem;
    color: var(--text-color);
}

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

.implementation__contact a:hover {
    text-decoration: underline;
}

/* Pricing footer */
.pricing__footer {
    margin-top: 60px;
    text-align: center;
}

.pricing__cta {
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.pricing__cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.pricing__cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.pricing__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing__contact-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.pricing__faq {
    text-align: left;
}

.pricing__faq h4 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.4rem;
}

/* Contact responsive */
@media (max-width: 968px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .contact__form-wrapper {
        padding: 25px;
    }
    
    .contact {
        padding: 60px 0;
    }
}

/* Minimal Showcase Styles */
.minimal-showcase {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.minimal-showcase h3 {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.showcase-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-style: italic;
}

.visual-stack {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main table in center */
.apartments-table-minimal {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    max-width: 500px;
}

.table-header {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1rem;
}

.minimal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.minimal-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f3f4;
    text-align: left;
}

.minimal-table td:last-child {
    text-align: center;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.status-dot.status-available {
    background: #28a745;
}

.status-dot.status-reserved {
    background: #ffc107;
}

.status-dot.status-sold {
    background: #dc3545;
}

.mini-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    font-weight: 500;
}

/* Overlapping elements */
.gutenberg-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.block-picker {
    background: #3498db;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-weight: 600;
    font-size: 0.9rem;
    transform: rotate(-5deg);
}

.block-picker small {
    display: block;
    opacity: 0.8;
    font-size: 0.7rem;
    margin-top: 4px;
}

.history-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.mini-modal {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #007cba;
    transform: rotate(2deg);
    min-width: 200px;
}

.modal-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.history-line {
    font-size: 0.75rem;
    margin: 4px 0;
    color: #6c757d;
}

.old-price {
    text-decoration: line-through;
    color: #dc3545;
}

.new-price {
    color: #007cba;
    font-weight: 600;
}

.integrations-overlay {
    position: absolute;
    top: 50%;
    right: -10px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.integration-box {
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    box-shadow: 0 4px 15px rgba(104, 122, 229, 0.3);
}

.integration-arrow {
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
}

.data-source-badge {
    position: absolute;
    bottom: 50%;
    left: -20px;
    z-index: 1;
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(104, 122, 229, 0.4);
    transform: rotate(-10deg);
}

.source-lines {
    position: absolute;
    top: 50%;
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, white, transparent);
    opacity: 0.6;
}

.source-lines::before,
.source-lines::after {
    content: '';
    position: absolute;
    right: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, white, transparent);
    opacity: 0.4;
}

.source-lines::before {
    top: -20px;
    transform: rotate(15deg);
}

.source-lines::after {
    top: 20px;
    transform: rotate(-15deg);
}

/* Integration Highlight */
.integration-highlight {
    background: linear-gradient(135deg, #687AE5 0%, #764FA7 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .visual-stack {
        height: 300px;
    }
    
    .minimal-showcase {
        padding: 20px;
    }
    
    .apartments-table-minimal {
        padding: 15px;
    }
    
    .gutenberg-overlay {
        top: 10px;
        right: 10px;
    }
    
    .history-overlay {
        bottom: 10px;
        left: 10px;
    }
    
    .data-source-badge {
        left: -10px;
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    .integration-highlight {
        padding: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .integrations-overlay {
        display: none;
    }

    .minimal-table td:nth-child(2) {
        font-size: 0.75rem;
    }

    .visual-stack {
        height: 250px;
    }
}

/* ============================================
   Legal Page (Polityka Prywatności, Regulamin)
   ============================================ */

.legal-page {
    padding: 80px 20px;
    background: #fff;
    min-height: calc(100vh - 80px);
}

.legal-page .container {
    max-width: 900px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.2;
}

.legal-page__updated {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-page__content {
    line-height: 1.8;
    color: #333;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-section strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Responsive dla urządzeń mobilnych */
@media (max-width: 768px) {
    .legal-page {
        padding: 60px 15px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .legal-page {
        padding: 40px 15px;
    }

    .legal-page h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-page__updated {
        font-size: 0.85rem;
    }
}

