:root {
    --primary: #1596d1;
    --primary-dark: #0e6d99;
    --bg-dark: #0a0e14;
    --bg-alt: rgba(18, 24, 32, 0.85); /* Półprzezroczyste tło sekcji */
    --text-light: #f4f7f9;
    --text-muted: #a0aec0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(
            135deg,
            rgba(10, 14, 20, 0.95) 0%,
            rgba(10, 14, 20, 0.7) 100%
        ),
        url("hero-bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    background-color: transparent; /* Sekcje są teraz przezroczyste */
}

.bg-alt {
    background-color: rgba(
        18,
        24,
        32,
        0.4
    ); /* Lekkie przyciemnienie dla sekcji alternatywnych */
    backdrop-filter: blur(5px);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(21, 150, 209, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 22px; /* Zmniejszono o 50% */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto;
    margin-right: 40px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

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

.mobile-only {
    display: none;
}

.nav-actions {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent; /* Tło jest teraz w body */
}

.hero-overlay {
    display: none; /* Overlay jest teraz częścią tła body */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding-top: 100px; /* Zwiększono odstęp od loga w nagłówku */
}

.invitation-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.title-line1 {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.2;
}

.title-line2 {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-svg svg {
    stroke: var(--primary);
    width: 20px;
    height: 20px;
}

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

/* Partners Bar (pod hero) */
.partners-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
}

.partner-item-organizer {
    flex-direction: column;
}

.partner-item-sap {
    margin-left: -25px;
}

.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.partner-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.partner-logo {
    object-fit: contain;
    transition: var(--transition);
}

.partner-logo-westernacher {
    height: 16px;
    width: auto;
}

.partner-logo-sap {
    height: 32px;
    width: auto;
}

.partner-logo-bielik {
    height: 40px;
    width: auto;
}

.partner-logo-pb {
    height: 35px;
    width: auto;
}

.partner-divider {
    width: 1px;
    height: 40px;
    background-color: var(--glass-border);
}

/* Footer Partners */
.footer-partners {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 30px;
}

/* Speakers */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.speaker-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

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

.speaker-img-svg {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(21, 150, 209, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.speaker-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.speaker-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features Grid */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.feature-card {
    background-color: var(--glass);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background-color: rgba(21, 150, 209, 0.05);
}

.feature-icon-svg {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.feature-icon-svg svg {
    stroke: var(--primary);
}

/* Agenda Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 120px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--glass-border);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item .time {
    width: 100px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.timeline-item .details {
    margin-left: 50px;
    padding: 25px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    flex-grow: 1;
}

.timeline-item.highlight .details {
    border-color: var(--primary);
    background: rgba(21, 150, 209, 0.1);
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 116px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
}

/* Info Cards */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.card {
    padding: 40px;
    border-radius: 15px;
    background-color: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.price small {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Registration Form */
.registration-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.glass-form {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

.req {
    color: var(--primary);
    font-weight: 700;
}

/* RODO Consent */
.rodo-consent {
    grid-column: 1 / -1;
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rodo-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 2px;
    position: relative;
}

.rodo-consent input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.rodo-consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.rodo-consent input[type="checkbox"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 150, 209, 0.2);
}

.checkbox-label {
    cursor: pointer;
}

.rodo-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.hidden {
    display: none;
}

.success-message {
    text-align: center;
    padding: 50px;
    background: rgba(21, 150, 209, 0.1);
    border-radius: 20px;
    border: 1px solid var(--primary);
}

/* Partners */
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
    opacity: 0.7;
}

.partner {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: transparent;
}

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

.footer-logo {
    height: 22px;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
}

.footer-grid h4 {
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--primary);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Lead text */
.lead-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 15px;
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.audience-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 15px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background-color: rgba(21, 150, 209, 0.03);
}

.audience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(21, 150, 209, 0.1);
    color: var(--primary);
}

.audience-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.audience-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Timeline Custom Styles */
.timeline-item.break-item {
    margin-bottom: 25px;
}

.timeline-item.break-item::after {
    background-color: var(--text-muted);
    width: 8px;
    height: 8px;
    left: 117px;
}

.timeline-item .details-break {
    margin-left: 50px;
    padding: 10px 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    background: transparent;
    border-left: 3px solid var(--glass-border);
}

.timeline-item .details h3 {
    margin-top: 5px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Check list */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.list-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(21, 150, 209, 0.15);
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.list-icon svg {
    stroke: var(--primary);
}

.list-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 20px;
        margin-right: 20px;
    }
    nav {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        margin: 0;
        padding: 40px 0;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-only {
        display: block;
        margin-top: 20px;
    }

    .nav-actions {
        display: none;
    }

    .grid-2,
    .form-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-info,
    .footer-contact,
    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .timeline::before {
        left: 20px;
    }
    .timeline-item .time {
        width: auto;
        position: absolute;
        top: -25px;
        left: 40px;
    }
    .timeline-item .details {
        margin-left: 40px;
        margin-top: 20px;
    }
    .timeline-item.break-item .details-break {
        margin-left: 40px;
        margin-top: 20px;
    }
    .timeline-item::after {
        left: 16px;
    }
    .timeline-item.break-item::after {
        left: 17px;
    }
    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }
}
