:root {
    --bg-main: #0f0f0f;
    --bg-card: #161616;
    --bg-darker: #0a0a0a;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.2);
    --border: rgba(255, 255, 255, 0.08);
    --text-high: #ffffff;
    --text-med: #a1a1aa;
    --text-low: #71717a;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Nawigacja */
nav {
    position: fixed; top: 0; width: 100%; height: 75px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex; align-items: center;
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-high); text-decoration: none; cursor: pointer; z-index: 1001; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-med); font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--text-high); }

.mobile-btn { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    z-index: 1001; 
    padding: 5px;
}
.burger-line { width: 24px; height: 2px; background: #fff; margin: 6px 0; transition: var(--transition); }

section { padding: 120px 0 80px; min-height: 100vh; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.badge { display: inline-block; padding: 0.4rem 1rem; background: rgba(59, 130, 246, 0.1); color: var(--accent); border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(2.2rem, 6vw, 3.5rem); color: var(--text-high); margin-bottom: 1.5rem; line-height: 1.1; font-weight: 800; }
.subtitle { font-size: 1.15rem; color: var(--text-low); margin-bottom: 3rem; max-width: 650px; }

/* Sekcja START */
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.bento-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 2rem; transition: var(--transition); }
.bento-item:hover { border-color: var(--accent); transform: translateY(-5px); }
.bento-item.large { grid-column: span 2; }
.bento-item h3 { color: #fff; margin-bottom: 1rem; font-size: 1.3rem; }
.bento-item p { font-size: 0.95rem; color: var(--text-med); }
.icon-box { width: 48px; height: 48px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--accent); font-weight: 800; font-size: 1.5rem; }

.btn { display: inline-flex; align-items: center; padding: 1rem 2rem; background: var(--accent); color: #fff; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: var(--transition); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px var(--accent-glow); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; }

/* Realizacje */
.startup-banner { background: linear-gradient(135deg, #161616 0%, #0a0a0a 100%); padding: 4rem; border-radius: 32px; border: 1px solid var(--border); margin-bottom: 4rem; text-align: center; position: relative; overflow: hidden; }
.project-card { display: grid; grid-template-columns: 1fr 2fr; background: var(--bg-card); border-radius: 24px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 3rem; transition: var(--transition); text-decoration: none; color: inherit; }
.project-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.project-img { width: 100%; height: 100%; min-height: 350px; background: #222; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: var(--transition); }
.project-card:hover .project-img img { opacity: 1; transform: scale(1.05); }
.project-content { padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; }

/* Cennik */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.price-card { background: var(--bg-card); padding: 3rem; border-radius: 24px; border: 1px solid var(--border); display: flex; flex-direction: column; position: relative; transition: var(--transition); }
.price-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.price-card.featured { border-color: var(--accent); }
.price-card .cost { font-size: 2.2rem; font-weight: 800; color: #fff; margin: 1.5rem 0; }
.price-list { list-style: none; margin-bottom: 2.5rem; flex-grow: 1; }
.price-list li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.check-icon { color: var(--accent); font-weight: bold; }

/* FAQ - Style weryfikowane, wymuszają poprawne działanie kliknięcia */
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.faq-header { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; font-weight: 600; color: #fff; transition: var(--transition); user-select: none; }
.faq-header:hover { color: var(--accent); }
.faq-body { padding: 0 1.5rem 1.5rem; display: none; color: var(--text-low); border-top: 1px solid rgba(255,255,255,0.03); padding-top: 1rem; }
.faq-item.active .faq-body { display: block; animation: fadeIn 0.3s ease; }

/* Kontakt */
.contact-section-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: flex-start; }
.contact-box { background: var(--bg-card); padding: clamp(1.5rem, 5vw, 3rem); border-radius: 24px; border: 1px solid var(--border); width: 100%; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-low); font-size: 0.9rem; }
.form-input { width: 100%; padding: 1rem; background: var(--bg-darker); border: 1px solid var(--border); border-radius: 10px; color: #fff; font-family: inherit; font-size: 1rem; transition: var(--transition); }
.form-input:focus { outline: none; border-color: var(--accent); }

select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2371717a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.2rem; cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 120px; }
.captcha-wrapper { display: flex; justify-content: center; margin-bottom: 1.5rem; width: 100%; }

#contact-status { display: none; padding: 1.5rem; border-radius: 12px; margin-bottom: 2rem; text-align: center; font-weight: 600; }
.status-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid #22c55e; }
.status-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid #ef4444; }

/* Stopka */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: var(--bg-darker); }
.footer-main { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 4rem; }
.footer-nav-container { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h5 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-nav a { color: var(--text-low); text-decoration: none; font-size: 0.9rem; transition: var(--transition); cursor: pointer; }
.footer-nav a:hover { color: var(--accent); }

/* Responsywność */
@media (max-width: 968px) {
    .hero-layout, .project-card, .contact-section-grid { grid-template-columns: 1fr; }
    .hero-layout, .contact-section-grid { text-align: center; }
    .hero-layout .subtitle { margin: 0 auto 3rem; }
    .hero-layout .btn { margin: 0 auto; }
    .project-img { min-height: 250px; }
    .project-content { padding: 2.5rem; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item.large { grid-column: span 2; }
}
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.large { grid-column: auto; }
    .mobile-btn { display: block; }
    .nav-links { 
        display: none; 
        position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
        background: var(--bg-main); padding: 100px 2rem 2rem; flex-direction: column; 
        gap: 2rem; text-align: center; z-index: 1000; justify-content: center;
        animation: fadeInMenu 0.3s ease forwards;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.5rem; font-weight: 700; }
    @keyframes fadeInMenu { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
    body.menu-open { overflow: hidden; }
    .startup-banner { padding: 2rem 1.5rem; }
}