/* ══════════════════════════════════════════════════════════
   kryptotax.sk: CSS pre samostatné stránky služieb
   Rovnaké tokeny ako index.html (svetlá téma)
   ══════════════════════════════════════════════════════════ */

:root {
    --bg: #FAFBFD;
    --bg-card: #FFFFFF;
    --bg-dark: #0B1426;
    --bg-dark-2: #111D35;
    --text: #1A2233;
    --text-light: #5A6680;
    --text-lighter: #8A94A6;
    --primary: #1652F0;
    --primary-light: #E8EEFF;
    --primary-dark: #0D3CB8;
    --accent: #00C076;
    --accent-light: #E6FAF2;
    --amber: #FF8A4C;
    --amber-light: #FFF1E8;
    --amber-dark: #C25415;
    --border: #E3E8F0;
    --border-light: #F0F3F8;
    --shadow-sm: 0 1px 3px rgba(11,20,38,0.06);
    --shadow-md: 0 4px 16px rgba(11,20,38,0.08);
    --shadow-lg: 0 12px 40px rgba(11,20,38,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --font: 'Outfit', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

/* Kompenzacia navigacie (88 px) pri skoku na kotvu */
[id] { scroll-margin-top: 110px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAV (identická s index.html a blogom) ─── */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250,251,253,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }
nav .container-wide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--bg-dark); }
.nav-logo img { height: 72px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-light); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); text-decoration: none; }
.nav-links a.nav-plain::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.25s; }
.nav-links a.nav-plain:hover::after { width: 100%; }
.nav-cta { background: var(--primary); color: #fff !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 0.88rem; transition: all 0.2s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,82,240,0.3); text-decoration: none; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 8px; background: var(--border-light); border-radius: 8px; padding: 3px; }
.lang-btn { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border: none; background: none; border-radius: 6px; font-family: var(--font); font-size: 0.8rem; font-weight: 600; cursor: pointer; color: var(--text-light); transition: all 0.2s; line-height: 1; }
.lang-btn.active { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.lang-btn:hover { text-decoration: none; }
.lang-btn:hover:not(.active) { color: var(--text); }
.lang-btn::after { display: none !important; }
.lang-flag { width: 18px; height: 14px; border-radius: 2px; display: inline-block; background-size: cover; background-position: center; flex-shrink: 0; }
.lang-flag.sk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect fill='%23fff' width='900' height='600'/%3E%3Crect fill='%230b4ea2' y='200' width='900' height='200'/%3E%3Crect fill='%23ee1c25' y='400' width='900' height='200'/%3E%3Cpath fill='%23fff' d='M100 130h250v340H100z'/%3E%3Cpath fill='%23ee1c25' d='M115 145h220v310H115z'/%3E%3Cpath fill='%23fff' d='M225 200c-30 0-55 20-70 50 15-20 40-30 70-30s55 10 70 30c-15-30-40-50-70-50zm-80 60c0 60 35 110 80 140 45-30 80-80 80-140H145z'/%3E%3Cpath fill='%230b4ea2' d='M225 220c-25 0-50 15-65 40h130c-15-25-40-40-65-40zm-70 55c0 50 30 95 70 120 40-25 70-70 70-120H155z'/%3E%3C/svg%3E"); }
.lang-flag.en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23b)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }

/* ─── HERO ────────────────────────────────── */
.page-hero { padding: 72px 0 56px; }
.crumb { font-size: 0.85rem; color: var(--text-lighter); margin-bottom: 20px; }
.crumb a { color: var(--text-lighter); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amber-light);
    color: var(--amber-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 100px;
    margin-bottom: 22px;
}

h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
h1 .hl { color: var(--primary); }

.lead { font-size: 1.15rem; color: var(--text-light); line-height: 1.7; max-width: 720px; }
.lead strong { color: var(--text); font-weight: 700; }

/* ─── SECTIONS ────────────────────────────── */
section { padding: 44px 0; }
section.tight { padding: 28px 0; }

h2 {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 18px;
}
h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }

p { margin-bottom: 16px; color: var(--text-light); }
p.body-dark { color: var(--text); }

ul, ol { margin: 0 0 18px 0; padding-left: 0; list-style: none; }

.ticks li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 13px;
    color: var(--text-light);
}
.ticks li strong { color: var(--text); font-weight: 700; }
.ticks li svg {
    width: 20px; height: 20px;
    flex-shrink: 0; margin-top: 4px;
    color: var(--accent);
}

.bullets li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 11px;
    color: var(--text-light);
}
.bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ─── QUOTE BOX ───────────────────────────── */
.quotebox {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.quotebox ul li {
    font-style: italic;
    color: var(--text-light);
    padding-left: 16px;
    border-left: 2px solid var(--border);
    margin-bottom: 15px;
    line-height: 1.6;
}
.quotebox ul li:last-child { margin-bottom: 0; }

/* ─── CALLOUT ─────────────────────────────── */
.callout {
    background: var(--amber-light);
    border-left: 4px solid var(--amber);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin: 26px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--amber-dark); }

.callout.info {
    background: var(--primary-light);
    border-left-color: var(--primary);
}
.callout.info strong { color: var(--primary-dark); }

/* ─── STEPS ───────────────────────────────── */
.steps { counter-reset: s; }
.steps li {
    counter-increment: s;
    position: relative;
    padding-left: 56px;
    margin-bottom: 26px;
}
.steps li::before {
    content: '0' counter(s);
    position: absolute;
    left: 0; top: 0;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps li strong { display: block; color: var(--text); font-size: 1.03rem; margin-bottom: 4px; }
.steps li span { color: var(--text-light); }

/* ─── PRICE CARDS ─────────────────────────── */
.tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}
.tier {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}
.tier.hot { border-color: var(--primary); box-shadow: var(--shadow-md); }
.tier-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-lighter);
    margin-bottom: 10px;
}
.tier.hot .tier-label { color: var(--primary); }
.tier h3 { font-size: 1.05rem; margin-bottom: 12px; }
.tier .amt {
    font-family: var(--mono);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    display: block;
}
.tier .amt small { font-size: 0.8rem; font-weight: 500; color: var(--text-lighter); font-family: var(--font); }
.tier p { font-size: 0.9rem; margin-bottom: 16px; }
.tier ul li {
    font-size: 0.87rem;
    color: var(--text-light);
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
}
.tier ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ─── FAQ ─────────────────────────────────── */
.faq details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq summary {
    padding: 18px 22px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-lighter);
    flex-shrink: 0;
}
.faq details[open] summary::after { content: '\2212'; }
.faq .ans { padding: 0 22px 20px; color: var(--text-light); }
.faq .ans p:last-child { margin-bottom: 0; }

/* ─── CTA ─────────────────────────────────── */
.cta-band {
    background: var(--bg-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    margin: 20px 0 56px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 26px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-white { background: #fff; color: var(--bg-dark); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-outline { background: none; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ─── FOOTER ──────────────────────────────── */
footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 40px 0;
    font-size: 0.9rem;
}
footer .container-wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
footer a { color: rgba(255,255,255,0.75); }
footer ul { display: flex; gap: 20px; margin: 0; flex-wrap: wrap; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
    .tiers { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 88px;
        left: 0; right: 0;
        background: rgba(250,251,253,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .lang-switch { margin-left: 0; align-self: center; }

    h1 { font-size: 1.95rem; }
    h2 { font-size: 1.4rem; }
    .lead { font-size: 1.05rem; }
    .page-hero { padding: 44px 0 36px; }
    .cta-band { padding: 36px 24px; }
    .quotebox { padding: 24px; }
}

/* .nav-links a ma vyssiu specificitu ako .lang-btn, takze na podstrankach
   prepisovalo velkost pisma prepinaca na 0.9rem. Na domovskej stranke sú
   jazykove tlacidla <button>, preto tam k tomu nedoslo. Zjednotene na 0.8rem. */
.nav-links .lang-btn { font-size: 0.8rem; }
