:root {
    --dark-bg: #121212;
    --primary-text: #ffffff;
    --secondary-text: #bbbbbb;
    --accent-color1: #00f2ea;
    --accent-color2: #ff00c1;
    --card-bg: #1e1e1e;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--primary-text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent-color1), var(--accent-color2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-button {
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-bg);
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--accent-color1), var(--accent-color2));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 234, 0.2);
}

/* Hero Section */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 242, 234, 0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 900;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--secondary-text);
}

/* Final CTA Section */
.cta-final-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(18,18,18,0.9), rgba(18,18,18,0.9)), url('/* KÉP HELYE: háttérkép linkje ide */') no-repeat center center/cover;
}

.cta-final-section h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-final-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.cta-image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-image-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover; /* Ez biztosítja, hogy a kép torzítás nélkül töltse ki a kört */
    border-radius: 50%;
    border: 3px solid var(--accent-color1);
    transition: transform 0.3s;
    object-position: 50% calc(50% - 75px); /* <<-- EZ AZ ÚJ SOR */
}

.cta-image-gallery img:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 40px 0;
    text-align: center;
    color: var(--secondary-text);
    border-top: 1px solid #222;
}

.footer a {
    color: var(--accent-color1);
    text-decoration: none;
    font-weight: 700;
}

.footer a:hover {
    text-decoration: underline;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0;
}
.fade-in-delay1 {
    animation: fadeIn 1s 0.3s ease-in-out forwards;
    opacity: 0;
}
.fade-in-delay2 {
    animation: fadeIn 1s 0.6s ease-in-out forwards;
    opacity: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-image {
        margin-top: 40px;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .cta-image-gallery {
        flex-wrap: wrap;
    }
}

.feature-card, .features-section h2, .cta-final-section h2, .cta-final-section p, .cta-final-section a {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .feature-card.visible, .features-section.visible h2, .cta-final-section.visible h2, .cta-final-section.visible p, .cta-final-section.visible a {
        opacity: 1;
        transform: translateY(0);
    }
    
    .feature-card:nth-child(1) { transition-delay: 0.1s; }
    .feature-card:nth-child(2) { transition-delay: 0.2s; }
    .feature-card:nth-child(3) { transition-delay: 0.3s; }
    .feature-card:nth-child(4) { transition-delay: 0.4s; }