/* GEOJAZDA DESIGN SYSTEM - FINAL COMPLETE VERSION */

:root {
    /* --- FARBY (Light Mode) --- */
    
    /* Primary: Tmavá Navy (pre nadpisy a tmavé pozadia) */
    --primary: #051025;       
    
    /* Accent: Kráľovská modrá (pre tlačidlá a odkazy) */
    --accent: #0f3d85;        
    
    /* Hover: Tmavšia modrá pre interakciu */
    --accent-hover: #0a2a5c;

    --bg-body: #ffffff;
    --bg-light: #f6f8fb;      /* Veľmi jemný modrastý podtón */
    --bg-card: #ffffff;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    /* Tvar: Hranaté s oblým pravým horným rohom */
    --geo-radius: 0px 16px 0px 0px;
    
    /* Efekty */
    --shadow-sm: 0 1px 3px rgba(15, 61, 133, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 61, 133, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(15, 61, 133, 0.15);
    
    /* Rozloženie */
    --container-width: 1100px;
    --header-height: 70px;
}

[data-theme="dark"] {
    /* Primary: V tme zmeníme nadpisy na takmer biele, aby boli čitateľné */
    --primary: #f1f5f9;       
    
    /* Accent: Tlmenejšia Royal Blue (nie neónová) pre tmavý režim */
    --accent: #2563eb;
    
    /* Hover: Svetlejšia modrá pre kontrast v tme */
    --accent-hover: #3b82f6;

    /* Pozadia (Tmavá Navy) */
    --bg-body: #051025;       
    --bg-light: #0b1a36;
    --bg-card: #0b1a36;       
    
    /* Texty */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Okraje */
    --border: #1e3a5f;
    
    /* Tiene */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* --- RESET & ZÁKLAD --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- TYPOGRAFIA --- */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary); /* Farba sa mení podľa témy (Navy <-> White) */
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* --- TLAČIDLÁ (Buttons) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--geo-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline {
    background: transparent;
    color: var(--text-main); /* Prispôsobí sa téme */
    border-color: var(--border);
}
.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-light);
}

.btn--ghost { background: transparent; color: var(--text-muted); }
.btn--ghost:hover { color: var(--accent); background: var(--bg-light); }

.btn--lg { padding: 14px 32px; font-size: 1.1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.full-width { width: 100%; display: flex; }

/* --- HEADER & NAV --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}
[data-theme="dark"] .header { background: rgba(5, 16, 37, 0.95); }

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand__logo { height: 38px; width: auto; object-fit: contain; }

/* Desktop Menu */
.nav { display: flex; gap: 30px; align-items: center; }
.nav__link { font-weight: 600; font-size: 0.95rem; color: var(--text-muted); position: relative; }
.nav__link:hover { color: var(--accent); }

/* Tabletka (Language/Theme) */
.pillGroup { display: inline-flex; gap: 10px; align-items: center; }
.pill {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--geo-radius);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex; gap: 6px;
    transition: all 0.2s;
}
.pill:hover { border-color: var(--accent); }
.pill__muted { opacity: 0.4; }

/* Mobilný Toggle (Burger) */
.nav__toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px;
    padding: 5px;
}
.nav__toggle span {
    display: block; width: 24px; height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* --- HERO SEKCIA --- */
.hero {
    padding: 60px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-main);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(15, 61, 133, 0.1); 
    color: var(--accent);
    padding: 6px 14px; border-radius: var(--geo-radius);
    font-weight: 700; font-size: 0.85rem; margin-bottom: 25px;
}
.badge__dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

.hero__btns {
    display: flex; gap: 15px; margin-bottom: 60px; flex-wrap: wrap; justify-content: center;
}

/* Stats Grid v Hero */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--geo-radius);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat strong { font-size: 1.3rem; color: var(--accent); display: block; margin-bottom: 5px; }
.stat span { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* --- VŠEOBECNÉ SEKCIE --- */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section__head {
    text-align: center; margin-bottom: 60px;
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.section__title { font-size: 2.2rem; margin-bottom: 15px; }
.section__subtitle { color: var(--text-muted); font-size: 1.1rem; }

/* --- GRIDY (Mriežky) --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* --- KARTY (Cards) --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--geo-radius);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex; flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.card__icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; color: var(--primary); }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card--highlight { border-left: 4px solid var(--accent); }

/* --- NOVÝ INFO BOX V LEGISLATIVE --- */
.note {
    margin-top: 40px;
    padding: 20px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent); /* Modrý prúžok vľavo */
    border-radius: var(--geo-radius);
    
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    text-align: left;
}
.note strong {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

/* --- CENNÍK (Pricing) --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--geo-radius);
    padding: 40px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    position: relative;
    display: flex; flex-direction: column;
}

.price-card.popular {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transform: scale(1.05);
}

.price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white;
    padding: 4px 12px; border-radius: 10px;
    font-weight: 700; font-size: 0.8rem; letter-spacing: 0.5px;
}

.price { margin: 25px 0; }
.amount { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.period { color: var(--text-muted); font-weight: 500; }
.desc { margin-bottom: 25px; color: var(--text-main); font-weight: 500; }

.features-list { text-align: left; margin-bottom: 30px; color: var(--text-muted); flex-grow: 1; }
.features-list li { margin-bottom: 12px; padding-left: 25px; position: relative; }
.features-list li::before {
    content: "✔"; position: absolute; left: 0; color: var(--accent); font-weight: bold;
}

/* --- FAQ --- */
details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 15px;
    border-radius: var(--geo-radius);
    overflow: hidden;
}
summary {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--primary);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; color: var(--accent); }
details[open] summary::after { content: "−"; }

details[open] summary { border-bottom: 1px solid var(--border); background: var(--bg-light); }
details p { padding: 20px; color: var(--text-muted); margin: 0; }

/* --- CTA BOX (Special Fix) --- */
.cta-box {
    background: #051025; /* Fixná Tmavá Navy */
    color: white;
    padding: 60px 20px;
    border-radius: var(--geo-radius);
    text-align: center;
    background-image: linear-gradient(135deg, #051025 0%, #0a1835 100%);
    box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: white; margin-bottom: 15px; font-size: 2rem; }
.cta-box p { color: rgba(255,255,255,0.8); margin-bottom: 30px; max-width: 600px; margin: 0 auto; }
.cta-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* --- CONTACT SECTION --- */
.contact-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--geo-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.contact-icon { font-size: 3rem; margin-bottom: 20px; display: inline-block; }

.contact-email {
    display: inline-block;
    margin-top: 20px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}
.contact-email:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 50px 0;
    background: var(--bg-light);
    margin-top: 50px;
}
.footer__inner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 15px; }
.footer__logo {
    width: 36px; height: 36px; object-fit: contain;
    border-radius: 8px; flex-shrink: 0;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.footer__links a, .footer__links button {
    color: var(--text-muted); font-size: 0.9rem; font-weight: 600;
    background: none; border: none; cursor: pointer;
}
.footer__links a:hover, .footer__links button:hover { color: var(--accent); }

/* --- COOKIE BAR --- */
.cookie-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--geo-radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: flex; gap: 20px; align-items: center; justify-content: space-between;
    width: 90%; max-width: 700px;
}
.cookie-bar.hidden { display: none; }
.cookie-content p { font-size: 0.9rem; color: var(--text-muted); margin-top: 5px; }
.cookie-actions { display: flex; gap: 10px; }


/* ========================================= */
/* RESPONZIVITA (MOBILE FIRST)         */
/* ========================================= */

.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 992px) {
    .hero__stats { grid-template-columns: 1fr; gap: 15px; }
    .stat { flex-direction: row; justify-content: space-between; width: 100%; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
    .stat:last-child { border-bottom: none; }
    .price-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }
    .nav__toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 30px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        gap: 20px;
    }
    .nav.is-open { transform: translateY(0); }
    
    .nav__link { font-size: 1.1rem; padding: 10px; display: block; width: 100%; text-align: center; }
    
    .hero { padding-top: 40px; }
    .hero__btns { flex-direction: column; width: 100%; max-width: 400px; margin: 0 auto 40px; }
    .hero__btns .btn { width: 100%; }

    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .price-card { max-width: 100%; }
    
    .footer__inner { flex-direction: column; text-align: center; }
    .cookie-bar { flex-direction: column; text-align: center; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; }
}

/* --- DONATE SECTION --- */
.donate-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--geo-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.donate-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.donate-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.donate-card h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--primary);
}

.donate-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}