/* Reset & Global Styles */
:root {
    --bg-color: #020710;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --primary-color: #00bfff;
    --primary-hover: #009ce6;
    --secondary-color: #005bb5;
    --card-bg: rgba(20, 30, 50, 0.4);
    --form-bg: rgba(8, 15, 25, 0.7);
    --nav-bg: rgba(2, 7, 16, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
    --glass-blur: blur(20px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Utils dla płynnego scrollowania pod menu */
.scroll-mt {
    scroll-margin-top: 100px;
}

/* Ambient Background Blobs */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.3;
    animation: drift 25s infinite alternate ease-in-out;
}
.blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,191,255,0.7) 0%, rgba(0,191,255,0) 70%);
    top: -100px; left: -200px;
}
.blob-2 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,91,181,0.6) 0%, rgba(0,91,181,0) 70%);
    bottom: -200px; right: -200px;
}

/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Rozwiazanie ciemnego Logo: Bialy "Pill" chroniący widoczność PNG */
.logo-wrapper {
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 60px; /* lekka pigułka */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-wrapper:hover {
    transform: scale(1.02);
}

.logo {
    height: auto;
    max-height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.nav-btn.btn {
    padding: 0.6rem 1.2rem;
    margin-top: 0px;
    width: auto;
    border-radius: 8px;
}

/* Hero Background Image */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0) 100%);
}

/* Layout - Jeden glowny ciąg z centrowaniem */
.container {
    max-width: 1000px; /* Zwezony, poniewaz formularz spadł w dół */
    margin: 0 auto;
    padding: 8rem 2rem 4rem 2rem; /* padding-top z uwagi na stały header */
    display: block;
}

.header-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.badge {
    background: rgba(0, 191, 255, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero {
    margin-bottom: 5rem;
    text-align: left;
}

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

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, #80dfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    max-width: 650px;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-actions .large-btn {
    display: inline-block;
    width: auto;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 12px;
}

/* Sections Global */
section {
    margin-bottom: 6rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.4);
    background: rgba(20, 30, 50, 0.6);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.focus-alert {
    background: linear-gradient(90deg, rgba(0,91,181,0.2) 0%, transparent 100%);
    border-left: 3px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    font-size: 1.05rem;
}

/* Theme Section with Visual */
.theme-section {
    position: relative;
    border-radius: 20px;
    padding: 3rem;
    overflow: hidden;
    background: #061122;
    border: 1px solid var(--border-color);
}

.section-bg-image {
    position: absolute;
    top: 50%; right: -100px;
    transform: translateY(-50%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    height: 120%;
    mix-blend-mode: color-dodge;
}

.theme-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.eyebrow {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.theme-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.theme-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* List Cards */
.list-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-item {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    gap: 1.5rem;
}

.list-item .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0, 191, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.list-item div:not(.num) {
    font-size: 1rem;
    color: #cbd5e1;
}

/* Timeline Agenda */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color) 0%, rgba(255,255,255,0.1) 100%);
}

.timeline-day h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    margin-left: -20px;
    background: var(--bg-color);
    display: inline-block;
    padding-right: 15px;
}

.timeline-day h3 span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1.1rem;
}

.timeline-event {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 25px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border: 2px solid var(--bg-color);
}

.highlight-event {
    border-color: rgba(0, 191, 255, 0.3);
    background: rgba(0, 91, 181, 0.1);
}

.timeline .time {
    font-family: monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 2rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.event-desc strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.event-desc span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mt-l {
    margin-top: 3rem;
}

/* Venue Showcase */
.venue-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: flex-end;
}

.venue-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.venue-showcase::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.venue-details {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
}

.venue-details h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.venue-details p {
    color: #cbd5e1;
    max-width: 700px;
    font-size: 1.1rem;
}

/* Organizers Section */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.organizer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.3s ease;
}

.organizer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.3);
}

.org-logo-wrapper {
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 2rem;
    min-height: 60px;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.org-logo {
    height: auto;
    max-height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.text-logo-placeholder {
    background: linear-gradient(135deg, #2a2a2a, #111111);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.1);
}

.organizer-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.organizer-card strong {
    color: #fff;
}

.organizer-card.text-left {
    text-align: left;
}
.organizer-card.text-left .org-logo-wrapper {
    margin-bottom: 2rem;
}
.organizer-card.text-left p {
    margin-bottom: 1rem;
}

.org-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.org-link:hover {
    color: #fff;
    text-decoration: underline;
    transform: translateX(3px);
}

/* Full Width Form Section na dole */
.registration-section {
    margin-top: 2rem;
}

.glass-form-wrapper {
    background: var(--form-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: var(--glass-shadow);
}

.glow-border {
    position: relative;
}
.glow-border::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0,191,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(0,91,181,0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
    max-width: 700px;
    margin: 0 auto;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.input-group {
    margin-bottom: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .half {
    width: 50%;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cbd5e1;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--primary-color);
}

.input-wrapper input {
    padding-left: 2.8rem;
}

input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.15);
    background: rgba(0, 0, 0, 0.5);
}

.btn {
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 1rem;
    text-align: center;
}

.primary-btn, .final-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
}

.primary-btn:hover, .final-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.4);
    transform: translateY(-2px);
}

.error-msg {
    color: #ff4d4f;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.terms-consent {
    margin: 1rem 0 0.5rem;
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.5;
}

.terms-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.terms-checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-checkbox-label a:hover {
    text-decoration: underline;
}

input.error {
    border-color: #ff4d4f;
    background: rgba(255, 77, 79, 0.05);
}

.success-banner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    margin-bottom: 2rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

/* Success Step */
.success-container {
    text-align: center;
    padding: 3rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.success-container h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.success-container p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.success-details {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.main-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.contact-box h3 {
    margin-bottom: 0.7rem;
    color: #fff;
    font-size: 1.15rem;
}

.contact-box p {
    margin: 0.2rem 0;
    color: var(--text-muted);
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu {
        display: none; /* simple fix, on mobile hide links, keep button or logo */
    }
    
    .logo-wrapper {
        margin: 0 auto;
    }

    .hero h1 { font-size: 3rem; }
    .container { padding: 8rem 1rem 2rem 1rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .form-row .half { width: 100%; }
    .theme-section { padding: 2rem 1.5rem; }
    .glass-form-wrapper { padding: 2rem 1rem; }
}
