/* ========================================
   RESET & ALAPBEÁLLÍTÁSOK
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --primary-glow: rgba(0, 212, 255, 0.3);
    --bg-dark: #0a1428;
    --bg-mid: #0d1f2d;
    --text-light: #ffffff;
    --text-muted: #a0c8ff;
    --glass-bg: rgba(10, 30, 60, 0.6);
    --border-glow: rgba(0, 212, 255, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   GLOBÁLIS ELEMEK
   ======================================== */
.glow-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVIGÁCIÓ
   ======================================== */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 20, 40, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--primary-glow);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-item:hover::before,
.nav-item.active::before {
    width: 60%;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}

/* ========================================
   HERO SZEKCIÓ
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 100, 200, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                var(--bg-dark);
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 40%);
    animation: floatBg 25s ease-in-out infinite alternate;
}

@keyframes floatBg {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.05); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 20, 40, 0.4) 0%,
        rgba(10, 20, 40, 0.1) 50%,
        rgba(10, 20, 40, 0.6) 100%);
    z-index: 2;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 6s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 880px;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 84px);
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary) 0%, #66d9ff 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px var(--primary-glow);
    animation: fadeDown 1s ease-out forwards;
    margin-bottom: 16px;
    line-height: 1.1;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 26px);
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 300;
    animation: fadeUp 1s ease-out 0.3s forwards;
    opacity: 0;
    margin-bottom: 48px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 38px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.25), rgba(0, 212, 255, 0.15));
    color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.45), rgba(0, 212, 255, 0.35));
    border-color: #66d9ff;
    color: #66d9ff;
    box-shadow: 0 0 40px var(--primary-glow), inset 0 0 30px rgba(0, 212, 255, 0.1);
    transform: translateY(-4px) scale(1.02);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-color: rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
}

/* ========================================
   CAROUSEL DOTS
   ======================================== */
.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary);
    width: 40px;
    border-radius: 8px;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* ========================================
   LAPOZÓ GOMBOK
   ======================================== */
.carousel-nav {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 4;
    pointer-events: none;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 100, 200, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.12);
}

/* ========================================
   ALOLDALAK
   ======================================== */
.page-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
}

.page-background {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 40% 30%, rgba(0, 80, 160, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 60% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 40%),
                var(--bg-dark);
    z-index: -2;
}

.page-background::before {
    content: '';
    position: absolute;
    inset: 0;
    animation: floatBg 30s ease-in-out infinite alternate;
}

.page-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 20, 40, 0.5) 0%,
        transparent 40%,
        transparent 60%,
        rgba(10, 20, 40, 0.5) 100%);
    z-index: -1;
}

.page-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(0, 100, 200, 0.12);
    color: var(--primary);
    text-decoration: none;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
    margin-bottom: 40px;
}

.back-btn::before {
    content: '←';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-btn:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.back-btn:hover::before {
    transform: translateX(-4px);
}

.page-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--primary-glow);
    margin-bottom: 40px;
}

.page-content {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glow);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========================================
   HÍREK / DOBOZOK
   ======================================== */
.news-box {
    padding: 28px 32px;
    margin-bottom: 28px;
    background: rgba(0, 100, 200, 0.06);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.08);
    border-left-width: 4px;
    transition: var(--transition);
    cursor: default;
}

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

.news-box:hover {
    background: rgba(0, 150, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.25);
    border-left-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.08);
    transform: translateX(6px);
}

.news-box h3 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.news-box p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.news-box strong {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   LETÖLTÉS GOMB
   ======================================== */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.2), rgba(0, 212, 255, 0.1));
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 16px;
}

.download-btn::after {
    content: '↓';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.4), rgba(0, 212, 255, 0.3));
    border-color: #66d9ff;
    color: #66d9ff;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-3px);
}

.download-btn:hover::after {
    transform: translateY(3px);
}

/* ========================================
   RESPONSZÍV
   ======================================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-item {
        font-size: 10px;
        padding: 8px 14px;
        letter-spacing: 1.2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    .page-content {
        padding: 28px 20px;
    }

    .news-box {
        padding: 20px;
    }

    .carousel-nav {
        padding: 0 16px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-dots {
        bottom: 28px;
        gap: 10px;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .page-title {
        font-size: 28px;
    }

    .nav-item {
        font-size: 9px;
        padding: 6px 10px;
        letter-spacing: 0.8px;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .page-content {
        padding: 20px 16px;
    }

    .news-box h3 {
        font-size: 15px;
    }
}