/* Zmienne CSS */
:root {
    --primary: #ff6600;
    --primary-hover: #e65c00;
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-dark: #1a1a1a;
    --text-main: #1a1a1a;
    --text-light: #4a4a4a;
    --text-white: #ffffff;
    --border-color: #e5e7eb;
    --radius: 24px;
    --radius-sm: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(255, 102, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typografia */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-light h2, .text-light p { color: var(--text-white); }
.text-light p { opacity: 0.9; }

/* Układ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-alt { background-color: var(--bg-alt); }
.bg-dark { background-color: var(--bg-dark); }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Header & Nawigacja */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 11px; }
.mobile-menu-btn span:nth-child(3) { top: 22px; }

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 11px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 11px; }

/* Hero */
.hero {
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual Panel */
.panel {
    background-color: var(--bg-dark);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--text-white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid #333;
}

.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
}

.dots span:nth-child(1) { background-color: #ff5f56; }
.dots span:nth-child(2) { background-color: #ffbd2e; }
.dots span:nth-child(3) { background-color: #27c93f; }

.panel-title {
    font-size: 0.9rem;
    color: #888;
    font-family: monospace;
}

.status-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a;
    font-size: 0.95rem;
}

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

.status-row.highlight {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px dashed #444;
    color: var(--primary);
    font-weight: 600;
}

.value.success {
    color: #27c93f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.value.success::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #27c93f;
    border-radius: 50%;
    box-shadow: 0 0 8px #27c93f;
}

/* Grid System */
.grid {
    display: grid;
    gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Karty */
.card {
    background-color: var(--bg-main);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.bg-alt .card {
    background-color: var(--bg-main);
}

.card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card h3 {
    position: relative;
    padding-left: 16px;
}

.card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background-color: var(--primary);
    border-radius: 4px;
}

.card p:last-child {
    margin-bottom: 0;
}

/* Proces */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    background-color: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Zaufanie (Tekst SEO) */
.content-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.content-block p {
    margin-bottom: 1.5rem;
}

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

/* CTA Środkowe */
.cta-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-item summary {
    padding: 24px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 50px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 24px 24px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* Kontakt */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    padding: 60px;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-form-container {
    background-color: var(--bg-main);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.hidden {
    display: none !important;
}

.form-message {
    text-align: center;
    padding: 20px 0;
}

.form-message h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: #aaa;
    max-width: 400px;
}

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

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: #aaa;
}

.footer-links ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #666;
}

/* Responsywność (Mobile First podejście odwrócone dla wygody w tym pliku) */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content p { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    
    .contact-wrapper { grid-template-columns: 1fr; padding: 30px; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .mobile-menu-btn { display: block; }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-main);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .hero { padding: 40px 0 80px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .contact-form-container { padding: 24px; }
}