:root {

    --bg-main: #0a0a0c;

    --bg-card: #121216;

    --text-main: #f3f4f6;

    --text-muted: #9ca3af;

    --accent: #2563eb;

    --accent-hover: #3b82f6;

    --border: #222227;

    --hero-gradient: radial-gradient(circle at 80% 20%, #171721 0%, #0a0a0c 50%);

    --gradient-text-start: #ffffff;

    --gradient-text-end: #64748b;

    --toggle-bg: #1e1e24;

    --toggle-handle: #2563eb;

    --toggle-translate: 0px;

}



body.light-mode {

    --bg-main: #f1f5f9;

    --bg-card: #ffffff;

    --text-main: #0f172a;

    --text-muted: #334155;

    --accent: #ff3b30;

    --accent-hover: #e0241b;

    --border: #cbd5e1;

    --hero-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);

    --gradient-text-start: #1e3a8a;

    --gradient-text-end: #3b82f6;

    --toggle-bg: #2563eb;

    --toggle-handle: #ffffff;

    --toggle-translate: 22px;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: Arial, sans-serif;

    background-color: var(--bg-main);

    color: var(--text-main);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s ease;

    overflow-x: hidden;

}



.container {

    width: 90%;

    max-width: 1150px;

    margin: 0 auto;

}



/* Navbar - kőkeményen fixált magasságokkal a rángatózás ellen */

.navbar {

    background-color: var(--bg-main);

    border-bottom: 1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 75px; 

    display: flex;

    align-items: center;

    transition: background-color 0.4s ease, border-color 0.4s ease;

}



.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    width: 100%;

    height: 100%;

}



.logo {

    font-size: 1.3rem;

    font-weight: 800;

    color: var(--text-main);

    text-decoration: none;

    letter-spacing: -0.5px;

    line-height: 1; 

    display: block;

}



.logo span {

    color: #2563eb;

}



.nav-menu {

    display: flex;

    align-items: center;

    gap: 1.5rem;

    height: 100%;

}



.nav-menu a {

    color: var(--text-muted);

    text-decoration: none;

    font-size: 0.95rem;

    font-weight: 500;

    line-height: 1;

    transition: color 0.2s;

}



.nav-menu a:hover {

    color: var(--text-main);

}



/* Letisztult, tiszta csúszka konténer feliratok nélkül */

.theme-toggle-container {

    background: none;

    border: none;

    padding: 0;

    cursor: pointer;

    display: flex;

    align-items: center;

    width: 46px;   

    height: 22px;  

    flex-shrink: 0;

}



.toggle-switch {

    width: 46px;

    height: 22px;

    background-color: var(--toggle-bg);

    border-radius: 20px;

    position: relative;

    padding: 2px;

    transition: background-color 0.3s;

    flex-shrink: 0; 

}



.toggle-handle {

    width: 18px;

    height: 18px;

    background-color: var(--toggle-handle);

    border-radius: 50px;

    position: absolute;

    left: 2px;

    transform: translateX(var(--toggle-translate));

    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s;

}



.nav-menu .cta-nav-btn {

    background-color: #2563eb;

    color: #ffffff;

    padding: 0.5rem 1rem;

    border-radius: 6px;

    font-weight: 600;

    transition: background-color 0.2s;

    white-space: nowrap;

    display: inline-flex;

    align-items: center;

}



.nav-menu .cta-nav-btn:hover {

    background-color: #1d4ed8;

}



/* Hero szekció */

.hero {

    padding: 8rem 0 6rem 0;

    border-bottom: 1px solid var(--border);

    background-image: var(--hero-gradient);

    transition: border-color 0.4s ease;

}



.hero-badge {

    display: inline-block;

    background-color: var(--bg-card);

    border: 1px solid var(--border);

    padding: 0.4rem 1rem;

    border-radius: 20px;

    font-size: 0.85rem;

    font-weight: 600;

    color: #2563eb;

    margin-bottom: 1.5rem;

}



.hero h1 {

    font-size: 3.8rem;

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 1.5rem;

}



.gradient-text {

    background: linear-gradient(90deg, var(--gradient-text-start), var(--gradient-text-end));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.hero-text {

    font-size: 1.3rem;

    color: var(--text-muted);

    max-width: 750px;

    margin-bottom: 3rem;

}



.hero-buttons {

    display: flex;

    gap: 1rem;

}



.btn {

    display: inline-block;

    padding: 0.9rem 1.8rem;

    border-radius: 8px;

    font-weight: 600;

    font-size: 1rem;

    text-decoration: none;

    transition: all 0.2s ease;

}



.btn-main {

    background-color: #2563eb;

    color: #ffffff;

}



.btn-main:hover {

    background-color: #1d4ed8;

    transform: translateY(-1px);

}



.btn-sub {

    background-color: var(--bg-card);

    color: var(--text-main);

    border: 1px solid var(--border);

}



/* Szolgáltatások Grid */

.services {

    padding: 7rem 0;

    background-color: var(--bg-main);

    border-bottom: 1px solid var(--border);

    transition: background-color 0.4s ease, border-color 0.4s ease;

}



.section-header {

    margin-bottom: 4rem;

}



.section-header h2 {

    font-size: 2.4rem;

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 1rem;

}



.section-header p {

    color: var(--text-muted);

    font-size: 1.15rem;

}



.services-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

}



.card {

    background-color: var(--bg-card);

    border: 1px solid var(--border);

    padding: 3rem 2rem;

    border-radius: 12px;

    transition: border-color 0.3s, transform 0.3s, background-color 0.4s ease, box-shadow 0.3s;

}



body.light-mode .card {

    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);

}



.card:hover {

    border-color: var(--text-main);

    transform: translateY(-4px);

}



.card-num {

    font-size: 0.9rem;

    font-weight: 700;

    color: #2563eb;

    margin-bottom: 1.5rem;

}



.card h3 {

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 1rem;

    letter-spacing: -0.5px;

}



.card p {

    color: var(--text-muted);

    font-size: 1.05rem;

}



/* Audit / CTA */

.audit {

    padding: 8rem 0;

    background-color: var(--bg-main);

}



.audit-wrapper {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 3rem;

    background: var(--bg-card);

    border: 1px solid var(--border);

    padding: 4rem;

    border-radius: 16px;

    transition: background-color 0.4s ease, border-color 0.4s ease;

}



body.light-mode .audit-wrapper {

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);

}



.audit-content h2 {

    font-size: 2.2rem;

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 1rem;

}



.audit-content p {

    color: var(--text-muted);

    font-size: 1.15rem;

    max-width: 600px;

}



.email-link {

    font-size: 1.5rem;

    font-weight: 700;

    color: var(--text-main);

    text-decoration: none;

    border-bottom: 2px solid #2563eb;

    padding-bottom: 4px;

    transition: color 0.2s, border-color 0.2s;

}



.email-link:hover {

    color: #2563eb;

}



/* Lábléc */

.footer {

    background-color: var(--bg-main);

    padding: 5rem 0 2rem 0;

    border-top: 1px solid var(--border);

}



.footer-grid {

    display: flex;

    justify-content: space-between;

    gap: 4rem;

    padding-bottom: 4rem;

    border-bottom: 1px solid var(--border);

}



.f-logo {

    font-size: 1.4rem;

    font-weight: 800;

    color: var(--text-main);

    margin-bottom: 1rem;

}



.f-logo span {

    color: #2563eb;

}



.footer-brand p {

    color: var(--text-muted);

    max-width: 320px;

}



.footer-law h4 {

    font-size: 1rem;

    font-weight: 600;

    margin-bottom: 1.2rem;

    color: var(--text-main);

}



.footer-law a {

    display: block;

    color: var(--text-muted);

    text-decoration: none;

    margin-bottom: 0.8rem;

    font-size: 0.95rem;

}



.footer-law a:hover {

    color: var(--text-main);

}



.footer-bottom {

    padding-top: 2rem;

    font-size: 0.9rem;

    color: var(--text-muted);

}



/* GDPR Cookie Banner */

.cookie-banner {

    position: fixed;

    bottom: -150px;

    left: 50%;

    transform: translateX(-50%);

    width: 90%;

    max-width: 800px;

    background-color: var(--bg-card);

    border: 1px solid var(--border);

    padding: 1.5rem;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    z-index: 10000;

    transition: bottom 0.5s ease, background-color 0.4s;

}



.cookie-banner.show {

    bottom: 24px;

}



.cookie-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 2rem;

}



.cookie-content p {

    font-size: 0.9rem;

    color: var(--text-muted);

}



.cookie-content a {

    color: var(--text-main);

}



.cookie-btn {

    background-color: var(--text-main);

    color: var(--bg-main);

    border: none;

    padding: 0.6rem 1.2rem;

    border-radius: 6px;

    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.2s, color 0.2s;

}



/* RESPONSIVE JAVÍTÁSOK */

@media (max-width: 968px) {

    .audit-wrapper {

        flex-direction: column;

        align-items: flex-start;

        padding: 2.5rem;

        gap: 2rem;

    }



    .footer-grid {

        flex-direction: column;

        gap: 2.5rem;

    }

}



@media (max-width: 768px) {

    .navbar {

        height: auto; 

    }



    .nav-container {

        flex-direction: column;

        gap: 1.2rem;

        text-align: center;

    }



    .nav-menu {

        width: 100%;

        justify-content: center;

        gap: 1.5rem;

        flex-wrap: wrap;

    }



    .hero {

        padding: 5rem 0 3rem 0;

    }



    .hero h1 {

        font-size: 2.3rem;

        letter-spacing: -1px;

    }



    .hero-text {

        font-size: 1.1rem;

    }



    .hero-buttons {

        flex-direction: column;

        width: 100%;

    }



    .btn {

        width: 100%;

        text-align: center;

    }



    .services-grid {

        grid-template-columns: 1fr;

    }



    .cookie-content {

        flex-direction: column;

        align-items: stretch;

        gap: 1rem;

        text-align: center;

    }



    .cookie-btn {

        width: 100%;

    }

    

    .email-link {

        font-size: 1.15rem;

        word-break: break-all;

    }

}