/* Podstawowe resety i zmienne */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    background: #0d1d33;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

strong {
    color: #fff;
}

.accent-text {
    color: #e87722;
}

/* Animacje */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tło i dekoracje SVG */
.background-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.wave-orange {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    opacity: 0.06;
}

.wave-blue {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    opacity: 0.04;
}

.diagonal-pattern {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.025;
}

/* Główne kontenery */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 32px;
}

.content-card {
    max-width: 720px;
    width: 100%;
    text-align: center;
    animation: fadeUp 0.9s ease both;
    padding-top: 40px;
}

/* Wstążka "W przebudowie" */
.construction-ribbon {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(232,119,34,0.95);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(4px);
}

.construction-ribbon span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

.pulse-dot.delay {
    animation-delay: 0.7s;
}

/* Logo */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-box {
    padding: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    height: 170px;
    width: auto;
    display: block;
}

/* Typografia nagłówków */
.location-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.location-bar .line {
    height: 1px;
    width: 48px;
    background: rgba(232,119,34,0.6);
}

.location-bar span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 4px;
    color: #e87722;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(52px, 9vw, 96px);
    text-transform: uppercase;
    line-height: 0.88;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-size: 20px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

/* Opis */
.description-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 36px 40px;
    margin-bottom: 32px;
    text-align: left;
}

.description-box p {
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
}

.description-box p:last-child {
    margin-bottom: 0;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 48px;
    text-align: left;
}

.highlight-item {
    background: #0d1d33;
    padding: 24px 22px;
}

.hi-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    color: #e87722;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hi-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    line-height: 1.2;
}

.hi-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
}

/* Sekcja Call To Action (PGE Baltica) */
.cta-box {
    background: linear-gradient(135deg, rgba(232,119,34,0.15) 0%, rgba(232,119,34,0.05) 100%);
    border: 1px solid rgba(232,119,34,0.3);
    padding: 28px 36px;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-text {
    text-align: left;
}

.cta-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3px;
    color: #e87722;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.cta-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e87722;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #d06a10;
}

/* Pliki do pobrania */
.downloads-section {
    margin-bottom: 48px;
    text-align: left;
}

.downloads-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.downloads-header .line {
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,0.1);
}

.downloads-header span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3.5px;
    color: #e87722;
    text-transform: uppercase;
}

.downloads-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s, border-color 0.2s;
}

.download-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(232,119,34,0.3);
}

.dl-icon {
    width: 36px;
    height: 36px;
    background: rgba(232,119,34,0.15);
    border: 1px solid rgba(232,119,34,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dl-content {
    flex: 1;
    min-width: 0;
}

.dl-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    line-height: 1.2;
}

.dl-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}

.dl-type {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Kontakt Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 48px;
}

.contact-item {
    background: #0d1d33;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.contact-item:hover {
    background: #1a3057;
}

.contact-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.contact-value {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.contact-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,0.3);
}

/* Stopka */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.copyright {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.powered-by:hover    { opacity: 0.8 !important; }


.powered-by span {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

.powered-by img {
    height: 13px;
    width: auto;
    display: block;
}

/* Responsywność */
@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .highlights-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}