/* Alap beállítások */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    background: #121212;
}

/* Gépelő animáció a főcímhez */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

header h1 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid #0dcaf0;
    width: 0;
    animation:
        typing 3s steps(30, end) forwards,
        blink 0.75s step-end infinite;
}

/* Kártyák */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(13, 202, 240, 0.3);
    border-color: #0dcaf0;
}

/* Gombok */
.btn-info {
    background: linear-gradient(45deg, #0dcaf0, #00b4d8);
    border: none;
}

.btn-info:hover {
    background: linear-gradient(45deg, #00b4d8, #0dcaf0);
}

/* Szekciócím kiemelés */
h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: #0dcaf0;
    bottom: 0;
    left: 20%;
    border-radius: 2px;
}

/* Ikon animáció */
.fab:hover,
.fas:hover {
    transform: scale(1.2);
    transition: 0.3s;
    color: #00b4d8;
}

/* Fejléc háttérkép + overlay */
header {
    background-image: url('https://images.unsplash.com/photo-1581090700227-1e8f1c06d60a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

header .container,
header h1,
header p,
header a {
    position: relative;
    z-index: 1;
}


/* --- Letöltés gomb animáció --- */
.download-btn {
    display: inline-block;
    /* fontos az <a> méretezéséhez */
    position: relative;
    padding: 14px 40px;
    background: linear-gradient(45deg, #00fff5, #0066ff);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 255, 245, 0.3);
    text-align: center;
    text-decoration: none;
    /* ne legyen aláhúzott a link */
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 245, 0.5);
}

.download-btn.disabled {
    background: #444;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.download-btn .text {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.download-btn .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    transition: width 3s linear;
}

.download-btn .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 22px;
}

.download-btn.animating {
    animation: buttonPulse 1.5s infinite;
}

.download-btn.animating .text {
    opacity: 0;
    transform: translateY(-30px);
}

.download-btn.animating .icon {
    opacity: 1;
    animation: iconFloat 1.5s infinite;
}

@keyframes buttonPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -70%);
    }
}

.card-footer {
    display: flex;
    flex-direction: column; /* Függőleges irányba rendezi először a tech címkéket, majd a gombot */
    align-items: center;    /* Középre igazítja vízszintesen */
    gap: 0.75rem;           /* Kis távolság a címkék és gomb között */
    padding-top: 1rem;
    padding-bottom: 1rem;
}


.tech-tags .badge {
    font-size: 0.85rem;
    padding: 0.35em 0.65em;
    display: inline-block;
    align-items: center;
    gap: 0.3em;
}