/* ========================================
   POLYGONFOX - MAIN.CSS
   Modern, letisztult, teches, polygonos hatás
   ======================================== */

/* ========================================
   CSS VARIABLES - Színpaletta
   ======================================== */
:root {
    --black-color: #0D1117;
    --black-color-light: #161B22;
    --black-color-lighten: #21262D;
    --gray-color: #30363D;
    --light-gray-color: #C9D1D9;
    --white-color: #fffdfd;
    --accent-light-color: #d2d4d4;
    --accent-dark-color: #64666d;
    
    /* Neon Accent szín - Electric Blue */
    --accent-neon: #00D9FF;
    --accent-neon-glow: rgba(0, 217, 255, 0.4);
    --accent-neon-light: rgba(0, 217, 255, 0.2);
    --accent-neon-dark: #00B8D4;
    
    /* Polygonos hatás színek */
    --polygon-primary: #C9D1D9;
    --polygon-secondary: #8B949E;
    --polygon-accent: #F0F6FC;
    
    /* Ezüst árnyalatok */
    --silver-light: #E5E7EB;
    --silver-medium: #9CA3AF;
    --silver-dark: #6B7280;
    
    /* Árnyékok */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-neon: 0 0 20px var(--accent-neon-glow), 0 0 40px var(--accent-neon-light);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    border: none;
    outline: none;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--black-color);
    color: var(--light-gray-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    /* contain removed - prevents fixed positioning from working correctly */
}

/* Polygon geometriai háttér mintázat */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(201, 209, 217, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 209, 217, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(139, 148, 158, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 148, 158, 0.015) 1px, transparent 1px);
    background-size: 
        100px 100px,
        100px 100px,
        50px 50px,
        50px 50px;
    background-position: 
        0 0,
        0 0,
        25px 25px,
        25px 25px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: polygonMove 120s linear infinite;
    will-change: transform;
}

/* Polygon háttér animáció - nagyon lassú mozgás */
@keyframes polygonMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

/* Polygon háttér - háromszögek SVG mintázat */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9D1D9' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    animation: polygonPattern 180s linear infinite;
    will-change: transform;
}

@keyframes polygonPattern {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-120px, -120px) rotate(360deg);
    }
}

/* Ensure cookie bar is always visible */
body #cookie-bar {
    position: fixed !important;
    z-index: 2147483647 !important;
}

/* ========================================
   TIPOGRAFIA
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--white-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: var(--light-gray-color);
}

a {
    color: var(--accent-light-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    will-change: color;
}

a:hover {
    color: var(--accent-neon);
    text-shadow: 0 0 8px var(--accent-neon-glow);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid rgba(201, 209, 217, 0.2);
    border-top: none;
    outline: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    height: 80px;
    will-change: background;
    /* fontos: ne legyen paint/layout containment, hogy a dropdown ne vágódjon le */
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    z-index: 2;
}

.logo {
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
}

.logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, transparent, rgba(201, 209, 217, 0.1), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover::before {
    opacity: 1;
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    position: relative;
    z-index: 2;
    will-change: transform, filter;
    transform: translateZ(0);
}

.logo-image:hover {
    filter: brightness(0) invert(0.9);
    transform: scale(1.08) rotate(2deg) translateZ(0);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 50%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    position: relative;
    z-index: 2;
    will-change: transform;
    transform: translateZ(0);
}

.logo-text:hover {
    transform: translateY(-2px) translateZ(0);
    filter: drop-shadow(0 4px 8px rgba(201, 209, 217, 0.3));
}

.nav {
    display: flex;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.nav a {
    color: var(--light-gray-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    will-change: transform;
    transform: translateZ(0);
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 209, 217, 0.1), rgba(139, 148, 158, 0.05));
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    color: var(--accent-neon);
    transform: translateY(-2px) translateZ(0);
    text-shadow: 0 0 10px var(--accent-neon-glow);
}

.nav a:hover::before {
    opacity: 1;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    transform: translateX(-50%) translateZ(0);
    box-shadow: 0 0 10px var(--accent-neon-glow);
}

.nav a:hover::after {
    width: 80%;
    box-shadow: 0 0 15px var(--accent-neon-glow);
}

.nav a.active {
    color: var(--accent-neon);
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent-neon-glow);
}

.nav a.active::before {
    opacity: 1;
}

.nav a.active::after {
    width: 80%;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark));
    box-shadow: 0 0 15px var(--accent-neon-glow);
}

/* ========================================
   DROPDOWN NAVIGATION
   ======================================== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    will-change: transform;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: rgba(22, 27, 34, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(201, 209, 217, 0.15);
    border-radius: 12px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95) translateZ(0);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1003;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    will-change: transform, opacity;
    contain: layout style paint;
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1) translateZ(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--light-gray-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(201, 209, 217, 0.08);
    will-change: transform;
    transform: translateZ(0);
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark));
    transition: width 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--accent-neon);
    background: rgba(22, 27, 34, 0.6);
    padding-left: 2.25rem;
    transform: translateX(8px) translateZ(0);
    text-shadow: 0 0 8px var(--accent-neon-glow);
}

.dropdown-menu a:hover::before {
    width: 4px;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark));
    box-shadow: 0 0 8px var(--accent-neon-glow);
}

.dropdown-menu a.active {
    color: var(--white-color);
    background: rgba(22, 27, 34, 0.6);
    font-weight: 700;
}

.dropdown-menu a.active::before {
    width: 4px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-menu a:first-child {
    border-radius: 12px 12px 0 0;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1003;
    padding: 0;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--silver-light);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) translateZ(0);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) translateZ(0);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 300px;
    height: calc(100vh - 80px);
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--gray-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    gap: 0;
    transform: translateX(100%) translateZ(0);
    transition: transform 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
    z-index: 1002;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    will-change: transform, visibility, opacity;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-content {
    padding-top: 2.5rem;
    flex: 1;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.mobile-menu.active {
    transform: translateX(0) translateZ(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    display: flex;
}

.mobile-menu a {
    color: var(--light-gray-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, padding-left 0.3s ease;
    position: relative;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-color);
    display: block;
    width: 100%;
    margin: 0;
    will-change: padding-left, background;
}

.mobile-menu a:first-of-type {
    margin-top: 1rem;
}

.mobile-menu a:hover {
    color: var(--accent-neon);
    background: rgba(22, 27, 34, 0.5);
    padding-left: 2rem;
    text-shadow: 0 0 8px var(--accent-neon-glow);
}

.mobile-menu a.active {
    color: var(--accent-neon);
    background: rgba(22, 27, 34, 0.7);
    font-weight: 700;
    border-left: 4px solid var(--accent-neon);
    box-shadow: 0 0 10px var(--accent-neon-glow);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu::before {
    content: "MENÜ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: var(--silver-light);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 3px solid var(--silver-light);
    padding: 0.5rem 2rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

/* ========================================
   MOBILE DROPDOWN
   ======================================== */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-color);
    color: var(--light-gray-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
    margin-top: 1rem;
}

.mobile-dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    will-change: transform;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0 0 12px 12px;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 250px;
}

.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
    color: var(--light-gray-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, transform 0.3s ease, padding-left 0.3s ease;
    border-bottom: 1px solid rgba(201, 209, 217, 0.1);
    position: relative;
    will-change: transform, padding-left;
    transform: translateZ(0);
}

.mobile-dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark));
    transition: width 0.3s ease;
}

.mobile-dropdown-menu a:hover {
    color: var(--accent-neon);
    background: rgba(22, 27, 34, 0.6);
    padding-left: 3.5rem;
    transform: translateX(8px) translateZ(0);
    text-shadow: 0 0 8px var(--accent-neon-glow);
}

.mobile-dropdown-menu a:hover::before {
    width: 4px;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark));
    box-shadow: 0 0 8px var(--accent-neon-glow);
}

.mobile-dropdown-menu a.active {
    color: var(--white-color);
    background: rgba(22, 27, 34, 0.6);
    font-weight: 700;
}

.mobile-dropdown-menu a.active::before {
    width: 4px;
}

.mobile-dropdown-menu a:last-child {
    border-bottom: none;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--black-color) 0%, var(--black-color-light) 50%, var(--black-color-lighten) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    contain: layout style;
    z-index: 1;
    will-change: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 209, 217, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 148, 158, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 246, 252, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0.3;
    filter: blur(2px) brightness(0.8);
    transition: opacity 0.5s ease, filter 0.5s ease;
    will-change: opacity, filter;
    contain: strict;
    pointer-events: none;
    display: block;
}

.hero-video:hover {
    opacity: 0.4;
    filter: blur(1px) brightness(0.9);
}

/* Poster kép elrejtése, hogy ne jelenjen meg halványan */
.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 8rem;
    align-items: center;
    position: relative;
    z-index: 3;
    height: 100%;
    max-height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    text-align: left;
    position: relative;
    opacity: 1;
    max-width: 720px;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-height: 100%;
    overflow: visible;
    visibility: visible;
}

.hero-image {
    text-align: center;
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-image img {
    width: 480px;
    height: 480px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 100%, 30px 100%);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
    opacity: 1;
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg) translateZ(0);
}

.hero-motto {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    color: var(--silver-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    animation: slideInLeft 1.2s ease-out 0.1s both;
    text-shadow: 0 2px 8px rgba(201, 209, 217, 0.3);
    position: relative;
    display: inline-block;
}

.hero-motto::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--silver-light), transparent);
    border-radius: 2px;
}

.hero h1 {
    margin-bottom: 2.5rem;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 30%, #9ca3af 70%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    position: relative;
    animation: slideInLeft 1.2s ease-out;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    padding-bottom: 0.2em;
    overflow: visible;
}

.hero h1::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, transparent, rgba(201, 209, 217, 0.05), transparent);
    border-radius: 20px;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-neon), var(--accent-neon-dark), var(--accent-neon));
    border-radius: 3px;
    animation: expandWidth 2s ease-out 0.8s both;
    box-shadow: 0 0 10px var(--accent-neon-glow), 0 0 20px var(--accent-neon-light);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-gray-color);
    line-height: 1.7;
    animation: slideInLeft 1.2s ease-out 0.3s both;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p:last-of-type {
    font-size: 1.2rem;
    color: var(--silver-medium);
    margin-bottom: 0;
    animation: slideInLeft 1.2s ease-out 0.5s both;
    font-weight: 300;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: slideInLeft 1.2s ease-out 0.7s both;
    margin-top: 3.5rem;
}

/* Hero háttér geometriai elemek */
.hero::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(240, 246, 252, 0.08), rgba(201, 209, 217, 0.03));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: 2;
    animation: float 8s ease-in-out infinite reverse;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--black-color-light) 0%, var(--black-color) 100%);
    border-top: 1px solid rgba(201, 209, 217, 0.2);
    padding: 3rem 0 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(201, 209, 217, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 148, 158, 0.03) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    text-align: left;
    align-items: start;
}

.footer-section h3 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--silver-light), var(--silver-medium));
    border-radius: 2px;
}

.footer-section p,
.footer-section a {
    color: var(--light-gray-color);
    margin-bottom: 0.75rem;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
    will-change: transform;
    transform: translateZ(0);
}

.footer-section a:hover {
    color: var(--accent-neon);
    transform: translateX(5px) translateZ(0);
    text-shadow: 0 0 8px var(--accent-neon-glow);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 209, 217, 0.2);
    padding-top: 2.5rem;
    color: var(--light-gray-color);
    font-size: 0.95rem;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-medium), transparent);
}

.footer-left,
.footer-center {
    text-align: left;
}

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-info {
    margin-bottom: 2rem;
    width: 100%;
}

.contact-info p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--light-gray-color);
    font-size: 1rem;
}

.contact-info i {
    color: var(--accent-neon);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px var(--accent-neon-glow));
}

.social-media {
    width: 100%;
}

.social-media h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(201, 209, 217, 0.1);
    border: 1px solid rgba(201, 209, 217, 0.2);
    color: var(--light-gray-color);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1;
    will-change: transform;
    transform: translateZ(0);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 209, 217, 0.1), rgba(139, 148, 158, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05) translateZ(0);
    border-color: var(--accent-neon);
    background: rgba(0, 217, 255, 0.1);
    color: var(--accent-neon);
    box-shadow: 0 8px 25px rgba(201, 209, 217, 0.2), 0 0 20px var(--accent-neon-glow);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon i {
    font-size: 1.6rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
    margin: 0 auto;
    text-align: center;
    line-height: 1;
    padding-top: 0.75rem;
    will-change: transform, color;
}

.social-icon:hover i {
    color: var(--white-color);
    transform: scale(1.1) translateZ(0);
}

/* Social media specific colors */
.social-icon.facebook:hover {
    background: linear-gradient(135deg, #1877F2, #0D47A1);
    border-color: #1877F2;
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #E4405F, #833AB4, #F77737);
    border-color: #E4405F;
}

.social-icon.tiktok:hover {
    background: linear-gradient(135deg, #000000, #FF0050);
    border-color: #FF0050;
}

.social-icon.twitter:hover {
    background: linear-gradient(135deg, #1DA1F2, #0D47A1);
    border-color: #1DA1F2;
}

.social-icon.youtube:hover {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    border-color: #FF0000;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--polygon-primary), var(--polygon-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.polygon-shape {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 20px 100%);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateZ(0);
    }
    50% {
        transform: translateY(-20px) translateZ(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg) translateZ(0);
    }
    to {
        transform: rotate(360deg) translateZ(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) translateZ(0);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05) translateZ(0);
    }
}

.fade-in-up {
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black-color-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-color);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
        height: 80px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .mobile-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        height: 100%;
        max-height: 100%;
    }
    
    .hero-content {
        text-align: center;
        padding-top: 1rem;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
    }
    
    .hero-motto {
        font-size: clamp(0.85rem, 2vw, 1.1rem);
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero p {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p:last-of-type {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-top: 3.5rem;
    }
    
    .hero::after {
        display: none;
    }
    
    .hero-image {
        display: none;
    }
    
    .main-container {
        padding: 0 1.5rem;
    }
    
    .footer-container {
        padding: 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        align-items: center;
    }
    
    .footer-right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .social-media h4 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav {
        display: none !important;
    }

    .hero-image img {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
        height: 70px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        flex-shrink: 0;
    }
    
    .mobile-menu {
        height: calc(100vh - 70px);
    }
    
    .hero {
        padding-top: 80px;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    
    .hero-container {
        gap: 2rem;
        height: 100%;
        max-height: 100%;
        padding: 0 1rem;
    }
    
    .hero-motto {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero p:last-of-type {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .hero-content {
        padding-top: 1rem;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        overflow: visible;
        opacity: 1;
        visibility: visible;
    }
    
    .hero-buttons {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .main-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
