:root {
    --bg-color: #f8fafc; /* Jasne tło strony (slate-50) */
    --text-primary: #0f172a; /* Ciemny tekst (slate-900) */
    --text-secondary: #475569; /* Szary tekst poboczny (slate-600) */
    --primary-accent: #4f46e5; /* Główny niebieski akcent (indigo-600) */
    --primary-hover: #4338ca; /* Ciemniejszy niebieski na hover (indigo-700) */
    --card-bg: #ffffff; /* Białe tło kart */
    --border-color: #e2e8f0; /* Jasnoszara krawędź (slate-200) */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    
    /* Fokus dla klawiatury (Accessibility) */
    --focus-ring: 0 0 0 3px rgba(79, 70, 229, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Wygaszona, czytelna siatka w tle */
.background-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2; pointer-events: none;
}

/* Ukrycie dla screen readerów */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* Klasy Accessibility dla Fokusu */
a:focus, button:focus, input:focus {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 4px;
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -1px; color: var(--text-primary); }
.logo span { color: var(--primary-accent); }

nav a {
    color: var(--text-secondary); text-decoration: none;
    margin-left: 30px; font-weight: 600; font-size: 0.9rem;
    transition: color 0.3s ease;
}
nav a:hover, nav a:focus { color: var(--primary-accent); }

.btn-primary-small {
    background: var(--primary-accent); padding: 8px 16px; border-radius: 8px; color: #fff;
}
.btn-primary-small:hover { background: var(--primary-hover); color: white; }

.hero { text-align: center; padding: 100px 20px; max-width: 800px; margin: 0 auto; }

.badge {
    display: inline-block; background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2); padding: 6px 16px;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    color: var(--primary-accent); margin-bottom: 20px;
}

.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--text-primary); }
.hero h1 span { color: var(--primary-accent); }
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; }

.btn-primary {
    display: inline-block; background: var(--primary-accent); color: white;
    padding: 16px 32px; border-radius: 12px; text-decoration: none;
    font-weight: 600; font-size: 1.1rem; border: none; cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--primary-hover); transform: translateY(-2px);
    box-shadow: var(--shadow-md); color: white;
}
.w-100 { width: 100%; text-align: center; }

/* Dashboard Mockup - Motyw Jasny */
.mockup-section { padding: 0 5% 80px 5%; display: flex; justify-content: center; margin-top: -30px; position: relative; z-index: 10; }
.mac-window {
    background: #ffffff; border: 1px solid var(--border-color);
    border-radius: 12px; width: 100%; max-width: 1000px;
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.mac-header {
    background: #f1f5f9; padding: 12px 20px;
    display: flex; align-items: center; border-bottom: 1px solid var(--border-color);
}
.mac-buttons { display: flex; gap: 8px; margin-right: 20px; }
.mac-buttons span { width: 12px; height: 12px; border-radius: 50%; }
.mac-buttons .close { background: #ff5f56; border: 1px solid #e0443e; }
.mac-buttons .minimize { background: #ffbd2e; border: 1px solid #dea123; }
.mac-buttons .maximize { background: #27c93f; border: 1px solid #1aab29; }
.mac-title { color: var(--text-secondary); font-size: 0.85rem; font-weight: 600; margin: 0 auto; transform: translateX(-25px); }
.mac-body { padding: 20px; overflow-x: auto; }
.mockup-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; min-width: 700px;}
.mockup-table th { padding: 15px; color: var(--text-secondary); font-weight: 600; border-bottom: 2px solid var(--border-color); background: #f8fafc; }
.mockup-table td { padding: 15px; border-bottom: 1px solid var(--border-color); color: var(--text-primary); }
.mockup-table tr:hover { background: #f8fafc; }
.tag { padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }
.tag.nm { background: #dcfce7; color: #166534; }
.tag.ex { background: #fef08a; color: #854d0e; }
.strike { text-decoration: line-through; color: #94a3b8; }
.highlight-price { color: #0284c7; font-weight: 800; }
.btn-approve {
    background: #e0e7ff; color: #3730a3;
    border: 1px solid #c7d2fe; padding: 6px 12px;
    border-radius: 6px; cursor: pointer; transition: 0.2s; font-weight: 600;
}
.btn-approve:hover, .btn-approve:focus { background: var(--primary-accent); color: white; }
.mockup-footer { display: flex; justify-content: flex-end; padding-top: 20px; }
.btn-approve-all {
    background: var(--primary-accent); color: white; border: none;
    padding: 10px 20px; border-radius: 8px; font-weight: 600;
    cursor: pointer; box-shadow: var(--shadow-sm);
}
.btn-approve-all:hover, .btn-approve-all:focus { background: var(--primary-hover); }

/* ROI Section */
.roi-section {
    padding: 80px 5%; text-align: center; background: #ffffff;
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.roi-section h2 { margin-bottom: 50px; font-size: 2.5rem; color: var(--text-primary); }
.stats-grid { display: flex; justify-content: center; gap: 30px; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; }
.stat-box {
    background: #f8fafc; border: 1px solid var(--border-color);
    border-radius: 20px; padding: 40px; flex: 1; min-width: 300px; text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.stat-icon { font-size: 3rem; margin-bottom: 10px; }
.stat-value { font-size: 2.2rem; font-weight: 800; color: var(--primary-accent); margin-bottom: 15px; }
.stat-desc { color: var(--text-secondary); font-size: 1rem; }

/* Features */
.features { padding: 80px 5%; text-align: center; }
.features h2 { font-size: 2.5rem; margin-bottom: 50px; color: var(--text-primary); }
.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.glass-card {
    background: #ffffff; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
    padding: 40px 30px; border-radius: 20px; text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.glass-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.glass-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-primary); }
.glass-card p { color: var(--text-secondary); font-size: 0.95rem; }
.highlight-text { background: #f1f5f9; border-left: 4px solid var(--primary-accent); padding: 10px; border-radius: 0 5px 5px 0; display: block; color: var(--text-primary); font-family: monospace;}

/* Pricing */
.pricing { padding: 80px 5%; text-align: center; background: #ffffff; border-top: 1px solid var(--border-color); }
.pricing h2 { font-size: 2.5rem; margin-bottom: 10px; color: var(--text-primary); }
.pricing .subtitle { color: var(--text-secondary); margin-bottom: 60px; font-size: 1.1rem; }
.b2b-badge {
    display: inline-block;
    color: #4338ca; font-weight: 600; border: 1px solid #c7d2fe;
    padding: 8px 15px; border-radius: 12px; font-size: 0.85rem; background: #e0e7ff;
    line-height: 1.4; margin-top: 10px;
}

/* Featured Promo Banner */
.featured-promo {
    background: #ffffff; border: 2px solid var(--primary-accent); padding: 40px; border-radius: 24px;
    position: relative; max-width: 1200px; margin: 0 auto 60px; box-shadow: var(--shadow-lg);
}
.promo-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--primary-accent); color: white;
    font-size: 0.9rem; font-weight: 800; padding: 8px 24px; border-radius: 20px;
    white-space: nowrap; box-shadow: var(--shadow-md);
}
.featured-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; text-align: left; }
.featured-left { flex: 1; min-width: 200px; border-right: 1px solid var(--border-color); padding-right: 20px;}
.featured-middle { flex: 2; min-width: 300px; }
.featured-right { flex: 1.5; min-width: 250px; text-align: center;}

.pricing-header { margin-bottom: 15px; }
.pricing-header h3 { font-size: 1.8rem; margin-bottom: 5px; color: var(--text-primary); }
.price { font-size: 3rem; font-weight: 800; color: var(--text-primary);}
.price span { font-size: 1rem; color: var(--text-secondary); }
.old-price { text-decoration: line-through; color: #94a3b8; font-size: 1rem; font-weight: 600; }

.features-list { list-style: none; text-align: left; }
.features-list li { margin-bottom: 12px; color: var(--text-primary); font-size: 1rem; display: flex; gap: 10px;}

.action-box p.terms, .featured-right p.terms { margin-top: 15px; font-size: 0.85rem; color: var(--text-secondary); }

/* Upcoming Grid (4 columns) */
.upcoming-title { text-align: center; color: var(--text-primary); font-size: 1.5rem; margin-bottom: 30px; font-weight: 600;}
.pricing-grid {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; width: 100%; max-width: 1200px; margin: 0 auto;
}
.pricing-card.disabled {
    background: #f8fafc; border: 1px solid var(--border-color); padding: 30px 20px;
    border-radius: 20px; position: relative; flex: 1; min-width: 220px; max-width: 280px;
    display: flex; flex-direction: column; text-align: left; opacity: 0.6; pointer-events: none;
}
.coming-soon-badge {
    position: absolute; top: 15px; right: 15px; background: #cbd5e1; color: #475569;
    font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 10px; text-transform: uppercase;
}
.pricing-card.disabled .price { font-size: 2rem; color: var(--text-secondary); }
.pricing-card.disabled .features-list li { color: var(--text-secondary); font-size: 0.9rem;}

/* Contact Form */
.contact-section { padding: 80px 5%; display: flex; justify-content: center; background: #f8fafc; }
.glass-form-container {
    background: #ffffff; border: 1px solid var(--border-color); box-shadow: var(--shadow-md);
    padding: 50px; border-radius: 20px; max-width: 500px; width: 100%;
}
.glass-form-container h2 { margin-bottom: 10px; color: var(--text-primary); }
.glass-form-container p { color: var(--text-secondary); margin-bottom: 30px; font-size: 0.9rem; }

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.input-group input {
    width: 100%; padding: 14px; border-radius: 10px; border: 1px solid #cbd5e1;
    background: #ffffff; color: var(--text-primary); font-family: inherit; font-size: 1rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.input-group input:focus { border-color: var(--primary-accent); box-shadow: var(--focus-ring); }

.hidden { display: none; }
.success-msg {
    margin-top: 20px; padding: 15px; background: #dcfce7; border: 1px solid #bbf7d0;
    color: #166534; border-radius: 10px; text-align: center; font-weight: 600;
}

footer { text-align: center; padding: 40px; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.9rem; background: #ffffff; }

@media (max-width: 1024px) {
    .featured-content { flex-direction: column; text-align: center; gap: 20px;}
    .featured-left { border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 20px;}
    .features-list { display: inline-block; text-align: left;}
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .cards-container, .stats-grid { grid-template-columns: 1fr; }
    .navbar { flex-direction: column; gap: 15px; }
    nav a { display: none; }
    nav a.btn-primary-small { display: block; margin: 0; }
    
    .pricing-grid { 
        flex-direction: column; flex-wrap: nowrap; gap: 20px;
    }
    .pricing-card.disabled { width: 100%; min-width: 100%; max-width: none; }
}
