:root {
    --primary: #0066ff;
    --primary-dark: #004ecc;
    --secondary: #0a0e17;
    --text-dark: #333333;
    --text-light: #f4f7f6;
    --gradient: linear-gradient(135deg, #0066ff, #00d4ff);
    --bg-light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.section-padding {
    padding: 100px 0;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Przyciski */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Nawigacja */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

nav.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
}

.nav-logo {
    height: 45px;
    display: block;
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav.scrolled .nav-links a {
    color: #ddd;
}

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

.nav-links a.btn-primary {
    color: white !important;
}

/* Sekcja Hero */
.hero {
    min-height: 100vh;
    background-color: var(--secondary);
    background-image: radial-gradient(circle at center, #1a2333 0%, #0a0e17 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    animation: pulse 6s infinite alternate;
}

.orb-1 {
    width: 450px; height: 450px;
    background: #0066ff;
    top: -100px; right: -50px;
}

.orb-2 {
    width: 350px; height: 350px;
    background: #e67e22;
    bottom: -100px; left: 5%;
    animation-delay: 3s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    color: #a0aec0;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.hero-graphics {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 15%; right: 15%; color: #00d4ff; width: 120px; height: 120px; font-size: 3.5rem; }
.card-2 { top: 45%; left: 5%; animation-delay: 2s; color: #e67e22; width: 160px; height: 160px; font-size: 4.5rem; z-index: 3; }
.card-3 { bottom: 10%; right: 25%; animation-delay: 4s; color: #0066ff; width: 100px; height: 100px; font-size: 2.5rem; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Usługi i kafelki */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
    height: 100%;
    border: 2px solid transparent;
}

.card-link:hover .card, .card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* O firmie */
.about {
    background-color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-top: 15px;
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--primary);
}

.insert-partner {
    background: var(--secondary);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.15);
}

.insert-partner h3 {
    color: #00d4ff;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* Partnerzy */
.partners {
    background-color: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.partner-link {
    text-decoration: none;
    color: var(--text-dark);
}

.partner-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.1);
    border-color: var(--primary);
}

.partner-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
}

.partner-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.partner-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Kontakt z mapą */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary);
}

.info-text strong {
    display: block;
    font-size: 0.9rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.map-container {
    width: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 40px 0 20px;
}

.center-footer {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: white;
}

.footer-logo p {
    color: #a0aec0;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Responsywność */
@media(max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero p {
        margin: 0 auto 40px auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-graphics {
        height: 350px;
    }
    .card-1 { width: 90px; height: 90px; font-size: 2.5rem; top: 10%; right: 20%; }
    .card-2 { width: 120px; height: 120px; font-size: 3.5rem; top: 40%; left: 15%; }
    .card-3 { width: 80px; height: 80px; font-size: 2rem; bottom: 10%; right: 30%; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
    .about-container { grid-template-columns: 1fr; }
}

@media(max-width: 768px) {
    .nav-container { flex-direction: row; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
}