
:root {
    --brand: #83c5be;
    --brand-hover: #68a8a2;
    --brand-light: rgba(131, 197, 190, 0.15);
}
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

#energyCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-light);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    min-height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 55px; 
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.nav-links {
    display: flex;
    width: 100%;
    justify-content: center; 
    gap: 20px;
    padding-top: 10px;
}

@media(min-width: 768px) {
    .nav-container { 
        flex-wrap: nowrap; 
        padding: 0 20px; 
        height: 80px; 
    }
    .nav-links { 
        width: auto; 
        padding: 0; 
        gap: 32px; 
        justify-content: flex-end; 
    }
}

.nav-link:hover { color: var(--brand); }

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
}

.hero-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay-dark { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.overlay-light { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 1280px;
    margin: 64px auto 0;
    padding: 0 20px;
    width: 100%;
}

.hero-text-wrapper {
    position: relative;
    max-width: 672px;
    min-height: 250px;
}

.text-state-1, .text-state-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.title-dark {
    font-size: 2.2rem; 
    font-weight: 600;
    color: #6b7280;
    line-height: 1.2;
}

.title-light {
    font-size: 2.2rem; 
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media(min-width: 768px) {
    .title-dark, .title-light { font-size: 3.75rem; } 
}

.text-brand { color: var(--brand); }
.glow-text { text-shadow: 0 0 15px rgba(131, 197, 190, 0.6); }

.subtitle {
    font-size: 1.3rem;
    color: #e5e7eb;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media(min-width: 768px) {
    .subtitle { font-size: 1.5rem; }
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media(min-width: 640px) {
    .btn-group { flex-direction: row; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand);
    color: #111;
    box-shadow: 0 0 20px rgba(131, 197, 190, 0.4);
}

.btn-primary:hover {
    background: var(--brand-hover);
    box-shadow: 0 0 30px rgba(131, 197, 190, 0.7);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-outline:hover {
    background: rgba(131, 197, 190, 0.1);
}

.ticker-wrapper {
    position: relative;
    width: 100%;
    border-top: 1px solid var(--brand);
    border-bottom: 1px solid var(--brand);
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 0;
    overflow: hidden;
    z-index: 20;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: scrollText 60s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    align-items: center;
    padding: 0;
    white-space: nowrap;
    color: #b1b3b5;
    font-size: 1rem !important;
    font-weight: 400;
    letter-spacing: 0.05em;
   
}

@media(min-width: 768px) {
    .ticker-content { font-size: 1.125rem; }
}

.ticker-item { 
    position: relative;
    margin: 0 32px; 
}
.ticker-item::after {
    content: "•"; 
    position: absolute;
    right: -35px; 
    color: #b1b3b5; 
}
.sos-text {
    color: #68a8a2;
    font-weight: 800; 
}
.ticker-link {
    color: var(--brand);
    font-weight: 700;
    transition: color 0.3s;
}

.ticker-link:hover { color: #fff; }

.lights-on {
    opacity: 0;
    animation: turnOnLights 1s ease-in forwards 2s;
}

.show-with-lights {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards 2.2s;
}

.hide-with-lights {
    opacity: 1;
    animation: fadeOutText 0.1s forwards 2s;
}

@keyframes turnOnLights {
    0% { opacity: 0; }
    20% { opacity: 0.8; }
    35% { opacity: 0.1; }
    50% { opacity: 1; }
    65% { opacity: 0.2; }
    80% { opacity: 0.9; }
    85% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutText {
    to { opacity: 0; visibility: hidden; }
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.why-us-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 60px 0; 
    background: rgba(0, 0, 0, 0.75); 
}
@media(min-width: 768px) {
    .why-us-section {
        padding: 100px 0; 
    }
}
.why-us-layout {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 60px;
    align-items: center;
}

@media(min-width: 1024px) {
    .why-us-layout {
        grid-template-columns: 1.5fr 1fr; 
    }
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

@media(min-width: 768px) {
    .section-title { font-size: 3rem; }
}

.section-desc {
    color: #b1b3b5;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 700px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 24px;
}
.features-grid .reveal-element {
    display: flex;
    height: 100%;
}

@media(min-width: 640px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); } 
}

.glass-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    cursor: default;
    flex: 1;
    width: 100%;
}

.glass-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(131, 197, 190, 0.3);
    box-shadow: 0 15px 35px rgba(131, 197, 190, 0.65);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--brand); 
    margin-bottom: 20px;
}

.box-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.box-desc {
    color: #b1b3b5;
    font-size: 0.95rem;
    line-height: 1.5;
}

.glass-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.glass-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.65) contrast(1.1);
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    inset: 0;
   
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.4) 40%,
        rgba(104, 168, 162, 0.4) 100%
    );
    pointer-events: none;
    transition: all 0.5s ease;
}

.glass-image-box:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(131, 197, 190, 0.4);
    box-shadow: 0 20px 40px rgba(131, 197, 190, 0.65);
}

.glass-image-box:hover img {
    filter: brightness(1) contrast(1.05);
}

.glass-image-box:hover .image-overlay {
    background: linear-gradient(
        to top, 
        rgba(0,0,0,0.7) 0%, 
        rgba(0,0,0,0.1) 40%,
        rgba(104, 168, 162, 0.05) 100%
    );
}

.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}


.glass-footer {
    position: relative;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(131, 197, 190, 0.2);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-link {
    color: #b1b3b5;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand);
}

.separator {
    color: rgba(255, 255, 255, 0.15);
}


@media(min-width: 1024px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-links, .footer-contact {
        flex: 1;
    }
    .footer-links {
        justify-content: flex-start;
    }
    .footer-contact {
        justify-content: flex-end;
    }
    .footer-logo {
        flex: 0 0 auto;
        padding: 0 20px;
    }
}


.footer-logo-img {
    height: 70px; 
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    filter: none;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: none;
}


.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media(min-width: 768px) {
    .footer-contact {
        flex-direction: row;
        gap: 28px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e5e7eb;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--brand);
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--brand);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    width: 100%;
    justify-content: center;
}

@media(min-width: 768px) {
    .social-icons {
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0;
        padding-left: 20px;
        width: auto;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #b1b3b5;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand);
    color: #111; 
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(131, 197, 190, 0.3);
}

.social-icon {
    width: 20px;
    height: 20px;
}
.szerzoi-jog {
            text-align: center; 
            font-size: 0.85rem; 
            color: #666;
            padding: 20px 5%;
            width: 100%;
        }