/* Globális Változók - Cyberpunk / Dark minimalizmus (Provided by user) */
:root {
    --bg-dark: #0B0813;
    --panel-bg: #161224;
    --primary-blue: #6366F1;
    --primary-purple: #A855F7;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(168, 85, 247, 0.2);
    --success-green: #10B981; /* Added based on context */
    --error-red: #EF4444;    /* Added based on context */
}

/* Global Styles (Provided by user) */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-light); overflow-x: hidden; }

/* --- Navigáció --- */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; background: rgba(11, 8, 19, 0.9); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border-color); }
.nav-brand { font-size: 24px; font-weight: bold; background: linear-gradient(to right, var(--primary-blue), var(--primary-purple)); -webkit-background-clip: text; color: transparent; }
.btn-nav { padding: 10px 24px; border-radius: 8px; background: linear-gradient(to right, var(--primary-blue), var(--primary-purple)); color: white; border: none; cursor: pointer; font-weight: bold; transition: opacity 0.3s; }
.btn-nav:hover { opacity: 0.9; }

/* --- Hero Szekció (TELJES FLOW-RA ÁTÍRVA) --- */
.hero { 
    min-height: 100vh; /* height helyett min-height, hogy ne nyomja össze a képet */
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; /* Középről fentre igazítva */
    align-items: center; 
    text-align: center; 
    background: radial-gradient(circle at top center, #1a153a 0%, var(--bg-dark) 60%); 
    padding: 160px 20px 80px 20px; /* Hely a menünek és lélegzőtér az elemeknek */
}
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 800px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 25px; line-height: 1.15; }
.hero h1 span { background: linear-gradient(to right, var(--primary-blue), var(--primary-purple)); -webkit-background-clip: text; color: transparent; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; margin-bottom: 45px; line-height: 1.6; }

.btn-hero { padding: 16px 36px; font-size: 1.1rem; border-radius: 10px; background: linear-gradient(to right, var(--primary-blue), var(--primary-purple)); color: white; border: none; cursor: pointer; font-weight: bold; transition: transform 0.2s, box-shadow 0.2s; margin-bottom: 70px; box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3); }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5); }

/* --- ÚJ: FŐ DASHBOARD SCREENSHOT ÉS ELHELYEZÉS (Képek reszponzív, lebegő, izzó keret) --- */
.hero-screenshot-wrapper {
    width: 100%;
    max-width: 1200px; /* Megnövelt szélesség, hogy dominánsabb legyen a főoldalon */
    margin: 0 auto;
    perspective: 1000px; /* Perspektíva a lebegéshez */
}

/* Alapstílus minden valódi screenshot képhez */
.screenshot-real-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.1), 0 30px 60px -15px rgba(0,0,0,0.8);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-real-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.2), 0 40px 70px -15px rgba(0,0,0,0.9);
}

/* Egyedi igazítás a Hero Dashboard képhez, ha szükséges (pl. max méret) */
.dashboard-hero-img {
    max-width: 1000px; /* Elegáns nagy méret, tablet és desktopon is szép */
}

/* =========================================
   GALÉRIA SZEKCIÓ (PILLANTÁS A ZÓNÁBA) - SOKKAL NAGYOBB KÉPEK
   ========================================= */

.showcase-section { 
    /* DRASZTIKUS NÖVELÉS: 1400px-ről 1700px-re, hogy a képek közel fussanak a képernyő széléhez */
    max-width: 1700px; 
    margin: 0 auto 120px auto; /* Nagyobb térköz alul */
    padding: 0 40px; /* Több padding a széleken az egyensúlyért */
}

.showcase-grid { 
    display: grid; 
    grid-template-columns: 1fr; /* Alapértelmezett: 1 oszlop (mobilon) */
    gap: 50px; /* Nagyobb térköz a képek között */
}

@media (min-width: 992px) { 
    .showcase-grid { grid-template-columns: 1fr 1fr; } /* Tablet/Desktop: 2 oszlop */
}
/* Az igazi screenshotok stílusa ebben a szekcióban */
.showcase-real-img {
    width: 100%; /* Kitölti a grid cellát */
    height: auto; /* Visszaállítva automatikusra: megtartja a saját, természetes (széles) arányát! */
    display: block;
    margin: 0 auto;
    max-width: 850px; /* Szép széles lehet, de nem lesz indokolatlanul magas */
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 30px rgba(99, 102, 241, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.showcase-real-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 50px rgba(168, 85, 247, 0.25);
}

/* --- ÚJ: TELJES FUNKCIÓLISTA GRID --- */
.full-features-section { max-width: 1200px; margin: 0 auto 100px; padding: 0 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: rgba(22, 18, 36, 0.4); border: 1px solid rgba(255, 255, 255, 0.03); padding: 35px 30px; border-radius: 20px; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: flex-start; }
.feature-card:hover { border-color: rgba(99, 102, 241, 0.4); background: rgba(22, 18, 36, 0.8); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; background: rgba(255,255,255,0.05); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.feature-card h3 { color: var(--text-light); margin-bottom: 12px; font-size: 1.25rem; font-weight: 600; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* --- ÚJ: SZAKMAI / TECH SZEKCIÓ --- */
.tech-section { max-width: 1000px; margin: 0 auto 120px; padding: 60px; background: #0f0c1b; border: 1px solid rgba(168, 85, 247, 0.2); border-radius: 24px; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.tech-section::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--primary-blue), var(--primary-purple)); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; }
.tech-item h4 { color: var(--primary-purple); margin-bottom: 15px; font-family: 'Courier New', Courier, monospace; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.tech-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* --- Adatok / Statisztikák Sáv --- */
.stats-banner { display: flex; justify-content: center; gap: 80px; padding: 50px 20px; background: rgba(22, 18, 36, 0.3); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); flex-wrap: wrap; margin-top: 40px; }
.stat-item { text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--text-light); text-shadow: 0 0 20px rgba(99, 102, 241, 0.4); margin-bottom: 8px; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; }

/* --- Promóciós / Jellemzők Szekció --- */
/* --- ÚJ, PRÉMIUM SZEKCIÓ CÍMEK --- */
.section-title { 
    position: relative;
    text-align: center; 
    font-size: clamp(2rem, 4vw, 2.6rem); /* Reszponzív méretezés */
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 130px auto 60px auto; /* Még több lélegzőtér (whitespace) */
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3); /* Finom lila ragyogás a szöveg körül */
    cursor: default; /* Elegáns kurzor */
}

/* Cím feletti kis tech "kód" jelölés */
.section-title::before {
    content: '///';
    display: block;
    font-size: 1rem;
    font-family: 'Courier New', Courier, monospace;
    color: var(--primary-purple);
    letter-spacing: 8px;
    margin-bottom: 10px;
    opacity: 0.8;
    text-shadow: 0 0 15px var(--primary-purple);
}

/* Alatta lévő izzó cyberpunk vonal */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    margin: 20px auto 0;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.8), 0 0 10px rgba(99, 102, 241, 0.5);
    transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

/* Interakció - kinyílik és felizzik a vonal hoverre */
.section-title:hover::after {
    width: 160px;
    box-shadow: 0 0 35px rgba(168, 85, 247, 1), 0 0 20px rgba(99, 102, 241, 0.8);
}


.promo-section { padding: 0 20px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.promo-card { background: rgba(22, 18, 36, 0.6); padding: 40px 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); text-align: center; transition: transform 0.3s, box-shadow 0.3s; backdrop-filter: blur(5px); }
.promo-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15); border-color: rgba(99, 102, 241, 0.3); }
.promo-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--text-light); }
.promo-card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* --- Hogyan Működik Szekció --- */
.how-it-works { max-width: 900px; margin: 0 auto 100px; padding: 0 20px; }
.step { display: flex; align-items: flex-start; gap: 30px; margin-bottom: 30px; background: rgba(255, 255, 255, 0.02); padding: 40px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.3s; }
.step:hover { background: rgba(255, 255, 255, 0.04); }
.step-number { font-size: 3.5rem; font-weight: 800; color: rgba(168, 85, 247, 0.15); line-height: 1; min-width: 80px; }
.step-content h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--text-light); }
.step-content p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* --- IGAZI PRÉMIUM FOOTER (Designed by Szabodz Dev) --- */
.modern-footer { background-color: #0d0a14; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 80px 20px 30px 20px; font-family: inherit; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 50px; margin-bottom: 60px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h3 { color: #f8fafc; font-size: 1.1rem; margin-bottom: 25px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.footer-brand { color: #6366f1 !important; font-weight: 800 !important; letter-spacing: 1px; font-size: 1.5rem !important; }
.footer-desc, .dev-info { color: #94a3b8; line-height: 1.7; font-size: 0.95rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color 0.2s ease; font-size: 0.95rem; }
.footer-links a:hover { color: #a855f7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.copyright { color: #64748b; font-size: 0.85rem; }
.dev-badge { background: rgba(255, 255, 255, 0.03); padding: 8px 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05); color: #cbd5e1; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 5px; }

/* --- Görgetési Animációk --- */
.hidden { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* Modal and Toast are not changed, just ensure green/red are from variables */
/* =========================================
   MODAL STÍLUSOK (A belépési ablak) - ÉRINTETLEN
   ========================================= */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 8, 19, 0.85); backdrop-filter: blur(8px); z-index: 2000; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { display: flex; opacity: 1; }

.auth-container { background: var(--panel-bg); padding: 40px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(99, 102, 241, 0.2); width: 100%; max-width: 420px; border: 1px solid var(--border-color); position: relative; transform: scale(0.9); transition: transform 0.3s ease; }
.modal-overlay.active .auth-container { transform: scale(1); }

.close-btn { position: absolute; top: 15px; right: 20px; font-size: 28px; color: var(--text-muted); cursor: pointer; background: none; border: none; transition: color 0.3s; }
.close-btn:hover { color: var(--error-red); }

.brand-header { text-align: center; margin-bottom: 30px; }
.brand-header h2 { font-size: 28px; margin-bottom: 5px; background: linear-gradient(to right, var(--primary-blue), var(--primary-purple)); -webkit-background-clip: text; color: transparent; }
.brand-header p { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.form-group input { width: 100%; padding: 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-light); outline: none; }
.form-group input:focus { border-color: var(--primary-blue); box-shadow: 0 0 8px rgba(99, 102, 241, 0.4); }

.btn-submit { width: 100%; padding: 14px; border: none; border-radius: 8px; background: linear-gradient(to right, var(--primary-blue), var(--primary-purple)); color: white; font-weight: bold; font-size: 16px; cursor: pointer; transition: opacity 0.3s; }
.btn-submit:hover { opacity: 0.9; }
.toggle-form { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.toggle-form:hover { color: var(--primary-blue); }
#registerForm { display: none; }

/* GLOBÁLIS ÉRTESÍTÉSEK (TOAST NOTIFICATIONS) */
.toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.toast { background: var(--panel-bg); color: var(--text-light); padding: 15px 25px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); position: relative; overflow: hidden; min-width: 300px; transform: translateX(120%); animation: toastSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; border: 1px solid var(--border-color); }
.toast.success { border-left: 4px solid var(--success-green); }
.toast.error { border-left: 4px solid var(--error-red); }
.toast.info { border-left: 4px solid var(--primary-blue); }
.toast-content { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; }
.toast.success .toast-progress { background: var(--success-green); }
.toast.error .toast-progress { background: var(--error-red); }
.toast.info .toast-progress { background: var(--primary-blue); }
@keyframes toastSlideIn { to { transform: translateX(0); } }
@keyframes toastSlideOut { to { transform: translateX(120%); opacity: 0; } }
@keyframes progressShrink { from { width: 100%; } to { width: 0%; } }