/* --- VARIABLES & RESET --- */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #06b6d4;
    --dark-bg: #0f172a;
    --text-main: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --gradient-main: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --radius: 12px;
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}
.visual-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 50px;
}

.visual-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.visual-card.reverse {
    direction: rtl; /* Odwraca kolejność kolumn */
}

.visual-card.reverse .visual-text {
    direction: ltr; /* Przywraca kierunek tekstu */
}

.visual-card .visual-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.visual-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.visual-card p {
    color: #666;
    line-height: 1.6;
}

.trust-micro-copy {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .visual-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .btn {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.badge {
    background: #e0e7ff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-light);
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- NAVBAR --- */
nav {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid #f1f5f9;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.logo span {
    color: var(--primary);
}

.logo svg {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
}

.nav-links a.btn-nav {    
    color: white;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--gradient-main);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    color: white;
}

.btn-nav-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.15), transparent 45%),
                radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.15), transparent 45%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 70px;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    padding: 16px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.5);
}

.btn-outline {
    background: white;
    color: var(--text-main);
    border: 2px solid #e2e8f0;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-image-wrapper {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.hero-image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    border: 4px solid white;
}

/* --- PAIN POINTS SECTION (NEW) --- */
.pain-section {
    background: var(--bg-white);
    border-top: 1px solid #f1f5f9;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pain-card {
    background: white;
    padding: 35px 30px;
    border-radius: var(--radius);
    /* Slightly different shadow to feature cards */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); 
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pain-icon-wrapper {
    width: 50px;
    height: 50px;
    background: #fee2e2; /* Red/Danger tint */
    color: #ef4444; /* Red color */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pain-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.pain-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 600;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.pain-bridge {
    margin-top: 60px;
}

.pain-bridge span {
    display: inline-block;
    background-color: #dbeafe; /* Light Blue */
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pain section badge */
.pain-section .badge.pain-badge {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}


/* --- FEATURES GRID --- */
.features {
    background: var(--bg-light);
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- INSTANT SETUP HIGHLIGHT --- */
.instant-section {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 80px 0;
}

.instant-highlight {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.instant-icon {
    font-size: 5rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    width: 120px;
    height: 120px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instant-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.instant-content h2 .text-gradient {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instant-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 25px;
}

.instant-content strong {
    color: #fbbf24;
}

.instant-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.instant-benefits li {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .instant-highlight {
        flex-direction: column;
        text-align: center;
    }

    .instant-icon {
        width: 100px;
        height: 100px;
        font-size: 4rem;
    }

    .instant-content h2 {
        font-size: 1.6rem;
    }

    .instant-benefits {
        justify-content: center;
    }
}

/* --- DEMO SHOWCASE --- */
.demos-section {
    background: white;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.demo-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.browser-header {
    background: #f8fafc;
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-url {
    background: white;
    flex: 1;
    margin-left: 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #64748b;
    padding: 4px 12px;
    font-family: monospace;
    border: 1px solid #e2e8f0;
}

.demo-preview {
    height: 220px;
    background-size: cover;
    background-position: top;
    position: relative;
}

.demo-info {
    padding: 30px;
    text-align: left;
}

.demo-info h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.demo-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.demo-link {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.demo-link:hover {
    gap: 10px;
}

/* --- PRICING --- */
.pricing {
    background: var(--dark-bg);
    color: white;
    position: relative;
}

.pricing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.pricing-header p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Trial Banner */
.trial-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius);
    padding: 40px 50px;
    margin: 50px auto 0;
    max-width: 800px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.trial-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.trial-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.trial-banner h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.trial-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.trial-banner .btn-primary {
    background: white;
    color: #059669;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.trial-banner .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .trial-banner {
        padding: 30px 25px;
        margin: 40px auto 0;
    }
    
    .trial-banner h3 {
        font-size: 1.4rem;
    }
    
    .trial-banner p {
        font-size: 0.95rem;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 70px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius);
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.popular {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card.popular::before {
    content: 'NAJCZĘŚCIEJ WYBIERANY';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.tier-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0 5px 0;
    color: #fff;
    line-height: 1;
}

.price-tag span {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
    margin-left: 5px;
}

.price-tag.enterprise {
    font-size: 2.2rem;
    margin-top: 25px;
    margin-bottom: 18px;
}

.price-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 25px;
    display: block;
}

.price-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.price-features li svg {
    width: 20px;
    min-width: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.price-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: white;
    color: var(--dark-bg);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: auto;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.pricing-card.popular .price-btn {
    background: var(--primary);
    color: white;
}

.price-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* enterprise-btn kept for backwards compatibility */
.price-btn.enterprise-btn,
.price-btn.dedicated-btn {
    background: #8e44ad;
    color: white;
}

.price-btn.enterprise-btn:hover,
.price-btn.dedicated-btn:hover {
    background: #a855f7;
}

.vat-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 40px;
    text-align: center;
    font-style: italic;
}

/* Import data banner */
.import-banner {
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 50px;
    max-width: 800px;
    font-size: 14px;
    color: #94a3b8;
}

.import-banner strong {
    color: white;
}

/* Dedicated plan card - Premium dark style */
.pricing-card.dedicated {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid #8e44ad;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.dedicated .tier-name {
    color: #c084fc;
}

.pricing-card.dedicated .price-tag {
    color: #ffffff;
}

.pricing-card.dedicated .price-features li svg {
    color: #c084fc;
}

.pricing-card.dedicated .price-btn {
    background: #8e44ad;
    color: white;
}

.pricing-card.dedicated .price-btn:hover {
    background: #a855f7;
}

/* Pricing feature list refinements */
.price-features li strong {
    color: #8e44ad;
}

/* Pricing badge */
.pricing-header .badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .import-banner {
        border-radius: 12px;
        flex-direction: column;
        text-align: center;
    }
}

/* Addon Banner */
.addon-banner {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: var(--radius);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-top: 40px;
}

.addon-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.addon-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.addon-left h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.addon-left p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin: 0;
}

.addon-price {
    text-align: right;
}

.addon-price-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.addon-price span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* --- FAQ SECTION --- */
.faq-section {
    background: var(--bg-white);
}

.faq-grid {
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: grid;
    gap: 20px;
}

.faq-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* --- FOOTER --- */
footer {
    background: white;
    padding: 60px 0;
    border-top: 1px solid #f1f5f9;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer-brand {
    text-align: left;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    color: #94a3b8;
    font-size: 0.85rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-links {
        display: none;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-preview {
        height: 250px;
    }
    
    .pricing-card.popular {
        z-index: 1;
        border-width: 1px;
    }
    
    .pricing-card.popular::before {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
    
    .addon-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }
    
    .addon-left {
        flex-direction: column;
    }
    
    .addon-price {
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 25px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .pricing-header h2 {
        font-size: 1.8rem;
    }
    
    .pricing-grid {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 25px;
    }
    
    .price-tag {
        font-size: 2.5rem;
    }
}


/* --- MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: auto;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.modal-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    min-height: 48px; /* Minimum touch target size */
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.modal-submit {
    width: 100%;
    margin-top: 10px;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.success-next-steps {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.success-next-steps h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-align: center;
}

.success-next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-next-steps li {
    padding: 8px 0;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-actions {
    margin-top: 25px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn-primary,
.success-actions .btn-outline {
    width: auto;
    padding: 12px 24px;
    min-width: 120px;
}

/* Loading state */
.modal-submit.loading {
    position: relative;
    color: transparent;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form input error states */
.form-group input.error,
.form-group textarea.error,
.form-group .g-recaptcha.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.error .checkbox-label .checkmark {
    border-color: #dc2626;
}

/* Enhanced checkbox error states */
.checkbox-group.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.checkbox-group.error .checkbox-label {
    color: #dc2626;
}

.checkbox-group.error .checkmark {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.checkbox-group.error .field-error {
    margin-top: 8px;
    margin-left: 36px; /* Align with checkbox text: 24px checkbox + 12px gap */
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.password-strength.weak {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.password-strength.medium {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fed7aa;
}

.password-strength.strong {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        padding-right: 30px;
    }
}


/* Form Error State */
.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.form-error p {
    color: #dc2626;
    margin: 0;
    font-size: 0.9rem;
}

.modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Field-level error messages */
.field-error {
    display: none;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 500;
    line-height: 1.4;
    padding: 4px 0;
}

/* Checkbox styling */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center; /* Center align checkbox and text for better inline alignment */
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.3; /* Tighter line height for better alignment */
    gap: 12px;
    min-height: 48px; /* Minimum touch target */
    padding: 2px 0; /* Reduced padding for better alignment */
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 0; /* Remove any top margin for perfect alignment */
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-label a {
    color: #8e44ad;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #6c2d82;
}

/* Password toggle & slug preview */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    line-height: 1;
}

.field-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #8e44ad;
    font-weight: 500;
}

#slugPreview {
    color: #1a1a2e;
    text-decoration: underline;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 15px;
}

.form-footer-agreements {
    margin: 20px 0;
    font-size: 13px;
}

.form-footer-agreements.error .checkmark {
    border-color: #dc3545;
}

.captcha-container {
    margin-bottom: 15px;
}

/* reCAPTCHA styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Ensure reCAPTCHA is responsive */
.g-recaptcha > div {
    transform-origin: 0 0;
}

/* Responsive improvements for registration form */

/* Large screens and high DPI (1080p at 125% zoom = ~1536px effective width) */
@media (max-width: 1600px) and (min-resolution: 120dpi) {
    .modal-content {
        max-width: 480px;
        padding: 35px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 18px;
        font-size: 1.05rem;
    }
    
    .checkbox-label {
        font-size: 0.95rem;
    }
}

/* Tablet landscape (1024px - 1366px) */
@media (max-width: 1366px) and (min-width: 1024px) {
    .modal-content {
        max-width: 460px;
        padding: 35px;
    }
}

/* Tablet portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .modal-content {
        max-width: 500px;
        padding: 35px 30px;
    }
    
    .form-group {
        margin-bottom: 22px;
    }
    
    .g-recaptcha {
        transform: scale(0.95);
        transform-origin: center;
    }
}

/* Mobile landscape (568px - 767px) */
@media (max-width: 767px) and (min-width: 568px) {
    .modal-overlay {
        padding: 15px;
    }
    
    .modal-content {
        padding: 30px 25px;
        border-radius: 12px;
        max-height: calc(100vh - 30px);
    }
    
    .modal-content h2 {
        font-size: 1.4rem;
        padding-right: 35px;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .checkbox-label {
        font-size: 0.9rem;
        gap: 14px;
        align-items: center; /* Maintain center alignment on mobile */
    }
    
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: center;
    }
}

/* Mobile portrait (320px - 567px) */
@media (max-width: 567px) {
    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .modal-content {
        padding: 25px 20px;
        border-radius: 12px;
        max-height: calc(100vh - 40px);
        width: 100%;
        margin: 0;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        padding-right: 35px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .modal-content > p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 16px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 6px;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
        gap: 12px;
        line-height: 1.4;
        align-items: center; /* Maintain center alignment on small mobile */
    }
    
    .checkmark {
        width: 22px;
        height: 22px;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        font-size: 14px;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center;
        margin: 12px 0;
    }
    
    .modal-submit {
        padding: 16px;
        font-size: 1rem;
        margin-top: 8px;
    }
    
    .field-error {
        font-size: 0.8rem;
        margin-top: 6px;
    }
    
    .password-requirements small {
        font-size: 0.75rem;
    }
    
    .success-next-steps {
        padding: 15px;
        margin: 15px 0;
    }
    
    .success-next-steps h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .success-next-steps li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }
    
    .success-actions .btn-primary,
    .success-actions .btn-outline {
        width: 100%;
        min-width: auto;
    }
}

/* Very small screens (< 320px) */
@media (max-width: 319px) {
    .modal-overlay {
        padding: 5px;
    }
    
    .modal-content {
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 12px;
    }
    
    .g-recaptcha {
        transform: scale(0.8);
    }
}

/* High contrast and accessibility improvements */
@media (prefers-contrast: high) {
    .form-group input,
    .form-group textarea {
        border-width: 3px;
    }
    
    .checkmark {
        border-width: 3px;
    }
    
    .field-error {
        font-weight: 600;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .modal-overlay,
    .modal-content,
    .form-group input,
    .form-group textarea,
    .checkmark {
        transition: none;
    }
}

/* Print styles */
@media print {
    .modal-overlay {
        display: none;
    }
}

/* Enhanced Form Validation Styles */
.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
    background-color: #fef2f2;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.error .g-recaptcha {
    border: 2px solid #dc2626;
    border-radius: 4px;
    background-color: #fef2f2;
}

.field-error {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 6px;
    font-weight: 500;
    line-height: 1.4;
}

.field-error:before {
    content: "⚠ ";
    margin-right: 4px;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.password-strength.medium {
    background-color: #fefce8;
    color: #ca8a04;
    border: 1px solid #fde68a;
}

.password-strength.strong {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.password-requirements {
    margin-top: 6px;
}

.password-requirements small {
    color: #6b7280;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}



/* Success state for valid fields */
.form-group input:valid:not(:placeholder-shown):not(.error) {
    border-color: #16a34a;
    background-color: #f0fdf4;
}

.form-group input:valid:not(:placeholder-shown):not(.error):focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Loading state for submit button */
.modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

/* Enhanced accessibility for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for better keyboard navigation */
.form-group input:focus,
.form-group textarea:focus,
.checkbox-label input:focus + .checkmark {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .field-error {
        background-color: #ffffff;
        border: 2px solid #dc2626;
        padding: 4px 8px;
        border-radius: 4px;
    }
    
    .password-strength {
        border-width: 2px;
    }
    
    .form-group input.error,
    .form-group textarea.error {
        border-width: 3px;
    }
}

/* Mobile-specific validation styles */
@media (max-width: 768px) {
    .field-error {
        font-size: 0.8rem;
        margin-top: 4px;
    }
    
    .password-strength {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .password-requirements small {
        font-size: 0.75rem;
    }
}

/* ============================================
   BLOG STYLES
   All classes prefixed with blog- for isolation
   ============================================ */

/* --- Blog Listing Page --- */

.blog-hero {
    padding: 1rem 1.5rem 3rem;
    text-align: center;
    margin-top: 70px;
}

.blog-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.blog-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured post (magazine hero) */
.blog-featured {
    max-width: 1100px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.blog-featured-content {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-featured-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Category pill */
.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.blog-category--branze {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.blog-category--poradnik {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
}

.blog-category--funkcje {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Meta line (date + reading time) */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-read-time::before {
    content: "\00b7";
    margin-right: 0.5rem;
}

/* Card grid */
.blog-listing {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.blog-listing h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* --- Blog Post Page --- */

/* Breadcrumbs */
.blog-breadcrumbs {
    width: 65%;
    margin: 0 auto;
    padding-top: calc(70px + 1.5rem);
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.blog-breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    text-decoration: underline;
}

.blog-breadcrumb-sep {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* Article */
.blog-article {
    width: 65%;
    margin: 0 auto;
    padding-bottom: 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-article-header {
    margin-bottom: 2rem;
}

.blog-article-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Lead paragraph */
.blog-lead {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

/* Table of contents */
.blog-toc {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.blog-toc h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.blog-toc ol {
    list-style: decimal;
    padding-left: 1.25rem;
    margin: 0;
}

.blog-toc li {
    margin-bottom: 0.5rem;
}

.blog-toc a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.blog-toc a:hover {
    text-decoration: underline;
}

/* Prose content */
.blog-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 2.5rem 0 1rem;
}

.blog-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 2rem 0 0.75rem;
}

.blog-content p {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blog-content ul,
.blog-content ol {
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-light);
    font-style: italic;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin: 1.5rem auto;
    display: block;
}

.blog-content figure {
    margin: 2rem 0;
    text-align: center;
}

.blog-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.blog-content strong {
    font-weight: 600;
    color: var(--text-main);
}

/* Author box */
.blog-author {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.blog-author-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.blog-author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-author-info strong {
    color: var(--text-main);
    font-weight: 600;
}

/* CTA section at bottom of post */
.blog-cta {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
}

.blog-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.blog-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.blog-cta .btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--gradient-main);
    color: white;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.4);
}

/* --- Blog Comparison Table --- */

.blog-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem;
}

.blog-comparison-table thead th {
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.blog-comparison-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.blog-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.blog-savings {
    color: #16a34a;
    font-weight: 700;
}

@media (max-width: 640px) {
    .blog-comparison-table {
        font-size: 0.82rem;
    }

    .blog-comparison-table thead th,
    .blog-comparison-table tbody td {
        padding: 0.6rem 0.5rem;
    }
}

/* --- Blog Responsive --- */

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding-top: 5rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-img {
        min-height: 220px;
    }

    .blog-featured-content {
        padding: 1.5rem;
    }

    .blog-featured-content h2 {
        font-size: 1.4rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-breadcrumbs {
        width: 90%;
        padding-top: calc(70px + 1rem);
    }

    .blog-article {
        width: 90%;
    }

    .blog-article-header h1 {
        font-size: 1.75rem;
    }

    .blog-lead {
        font-size: 1.05rem;
    }

    .blog-cta {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 1.75rem;
    }

    .blog-article-header h1 {
        font-size: 1.5rem;
    }

    .blog-content h2 {
        font-size: 1.25rem;
    }
}