/* Zmienne kolorystyczne projektu */
:root {
    --bg-dark: #070b14;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --primary-blue: #2563eb;
    --primary-hover: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.4);
}

/* Reset marginesów i ustawienie fontu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Dekoracyjne poświaty w tle */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.35;
}

.blue-glow {
    top: -100px;
    right: -100px;
    width: 650px;
    height: 650px;
    background: var(--primary-blue);
}

.purple-glow {
    bottom: -100px;
    left: -100px;
    width: 550px;
    height: 550px;
    background: #6d28d9;
    opacity: 0.2;
}

/* Kontener trzymający stronę w osi */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Nagłówek */
header {
    padding: 25px 0;
}

.header-container {
    display: flex;
    justify-content: flex-start;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo span {
    color: #60a5fa;
    font-weight: 400;
}

/* Sekcja Główna */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 180px);
    gap: 40px;
    padding-bottom: 20px;
}

/* Teksty z lewej */
.hero-content {
    flex: 1;
    max-width: 620px;
}

.badge-role {
    display: inline-block;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* Główny slogan */
.slogan {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.25;
    margin-bottom: 20px;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.emoji {
    font-size: clamp(32px, 4vw, 48px);
    display: inline-block;
    -webkit-text-fill-color: initial;
}

.description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.config-text {
    color: #e2e8f0;
    font-weight: 500;
}

/* Styl listy technologii */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tech-item:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

/* Przyciski akcji głównej */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* STAN OFF (Szary, nieaktywny, z dopiskiem) */
.btn-disabled {
    background-color: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
}

.btn-subtext {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 2px;
}

/* STAN ON (Aktywny, niebieski, z linkiem - zmień klasę na 'enabled') */
.enabled {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 8px 20px var(--accent-glow);
    border: 1px solid transparent;
}

.enabled:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.6);
}

.enabled .btn-subtext {
    display: none;
}

/* WIDGET KAWY I OPIS */
.coffee-widget-wrapper {
    margin-top: 15px;
    max-width: 620px;
}

.coffee-description {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.9;
}

.coffee-widget {
    display: inline-block;
}

.coffee-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cup {
    position: relative;
    width: 65px;
    height: 50px;
    border: 3px solid #cbd5e1;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.handle {
    position: absolute;
    right: -14px;
    top: 10px;
    width: 14px;
    height: 22px;
    border: 3px solid #cbd5e1;
    border-left: none;
    border-radius: 0 14px 14px 0;
}

.coffee {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(#b87d4b, #6f4e37);
    transition: height 1.8s ease;
}

.steam {
    position: absolute;
    width: 100%;
    top: -18px;
    display: flex;
    justify-content: center;
    gap: 3px;
    opacity: 0;
    transition: .6s;
}

.steam span {
    width: 3px;
    height: 12px;
    background: #94a3b8;
    border-radius: 50%;
    animation: steam 2s infinite ease-in-out;
}

.steam span:nth-child(2) {
    animation-delay: .3s;
}

.steam span:nth-child(3) {
    animation-delay: .6s;
}

@keyframes steam {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    40% {
        opacity: .8;
    }
    100% {
        transform: translateY(-10px);
        opacity: 0;
    }
}

.coffee-action {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Wyrównanie w pionie na sam środek */
    text-align: left;
}

#btn-coffee {
    background: #8b5a2b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    box-shadow: 0 6px 15px rgba(139, 90, 43, 0.3);
}

#btn-coffee:hover {
    transform: translateY(-2px);
    background: #9c6533;
}

#btn-coffee:active {
    transform: scale(.96);
}

.message {
    margin-top: 6px;
    color: #f472b6;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: .5s;
}

/* Miejsce na zdjęcie z prawej */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 100%;
}

.image-wrapper img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 14px;
}

/* Pływające kafelki IT */
.floating-tag {
    position: absolute;
    background: rgba(11, 17, 32, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
    color: #e2e8f0;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    animation: float 4s ease-in-out infinite;
}

.tag-1 { top: 10%; left: -15px; animation-delay: 0s; }
.tag-2 { bottom: 15%; right: -15px; animation-delay: 1.5s; }
.tag-3 { bottom: 5%; left: 10%; animation-delay: 3s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Stopka */
.footer-container {
    padding: 20px 30px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.test-notice {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.8;
}

.footer-brand {
    color: rgba(215, 228, 247, 0.5);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Wersja mobilna */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .header-container {
        justify-content: center;
    }

    .cta-group, .tech-list {
        justify-content: center;
    }

    .coffee-widget-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .floating-tag {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px 15px;
    }
}