/* --- Zmienne Globalne: Jasny motyw, Soczysty Niebieski i Jaskrawy Czerwony --- */
:root {
    --bg-light-pure: #ffffff;
    --bg-light-shaded: #f4f7fa;
    --text-dark: #0f172a;
    --text-muted: #475569;
    
    /* Jasne i wyraziste kolory akcentowe */
    --primary-blue: #0066ff;       
    --primary-blue-hover: #0052cc;
    --primary-red: #ff3b30;        
    --primary-red-hover: #e0241b;
    
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-sm: 8px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 102, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset i Konfiguracja Podstawowa --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light-pure);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- System kontenerów dla elastyczności modułów --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light-shaded);
}

/* --- Style Przycisków i Odznak --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-blue {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.btn-blue:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.btn-red {
    background-color: var(--primary-red);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 59, 48, 0.25);
}

.btn-red:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-dark);
    background-color: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background-color: rgba(0, 102, 255, 0.02);
}

.btn-full {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 59, 48, 0.1);
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* --- Nagłówek (Header) --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-accent-blue { color: var(--primary-blue); }
.logo-accent-red { color: var(--primary-red); }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    border: 2px solid rgba(0, 102, 255, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.phone-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* --- Główny Ekran (Hero Section) --- */
.hero-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 90% 10%, rgba(0, 102, 255, 0.05), transparent 40%),
                radial-gradient(circle at 10% 90%, rgba(255, 59, 48, 0.04), transparent 40%);
}

.hero-container-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-text h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.floating-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 4px solid #fff;
    transform: rotate(1deg);
    transition: var(--transition);
}

.floating-img:hover {
    transform: scale(1.02) rotate(0deg);
}

/* --- Nagłówki Sekcji --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.tag-blue { background-color: rgba(0, 102, 255, 0.1); color: var(--primary-blue); }
.tag-red { background-color: rgba(255, 59, 48, 0.1); color: var(--primary-red); }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Sekcja: Proces (Karty z obrazkami) --- */
.process-section {
    padding: 7rem 0;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-light-pure);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-accent-blue:hover { border-color: var(--primary-blue); }
.card-accent-red:hover { border-color: var(--primary-red); }

.card-img-holder {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-holder img {
    transform: scale(1.08);
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-step {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Sekcja: Narzędzia (Grid element) --- */
.tools-section {
    padding: 7rem 0;
}

.grid-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.tool-box {
    background-color: var(--bg-light-pure);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tool-box:hover {
    border-color: transparent;
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.tool-icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-blue { color: var(--primary-blue); }
.text-red { color: var(--primary-red); }

.tool-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Sekcja Kontaktowa i Stopka (Footer) --- */
.main-footer {
    background-color: var(--text-dark);
    color: #ffffff;
    padding: 6rem 0 3rem;
}

.footer-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
}

.footer-contact-form h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.form-lead {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.form-success-box {
    background-color: #10b981;
    color: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.interactive-form .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.interactive-form .input-field {
    margin-bottom: 1rem;
}

.interactive-form input,
.interactive-form textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.interactive-form input:focus,
.interactive-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.brand-box p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

/* Elementy adresowe */
.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-text strong {
    color: #fff;
    font-size: 1rem;
}

.footer-copyright-text {
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* --- Responsywność i Media Queries --- */
@media screen and (max-width: 992px) {
    .hero-container-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrapper { max-width: 500px; margin: 0 auto; }
    
    .footer-grid-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media screen and (max-width: 768px) {
    .navbar { display: none; } /* Uproszczenie mobilne */
    .header-flex { justify-content: space-between; }
    .interactive-form .input-row { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
}
.process-section, .tools-section, .industries-section {
    padding: 7rem 0;
}