/* =============================================================================
   MonsterASP.NET Help — brand base
   Převzato z Web.v04 (dist/css/main.css): tokeny, base, tlačítka, navbar, footer.
   Vše specifické pro dokumentaci je v help.css.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Design tokens
   ----------------------------------------------------------------------------- */

:root {
    /* Brand */
    --brand-1: #4f46e5;
    --brand-1-rgb: 79, 70, 229;
    --brand-2: #7c3aed;
    --brand-2-rgb: 124, 58, 237;
    --brand-3: #a855f7;
    --brand-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(79, 70, 229, .08) 0%, rgba(124, 58, 237, .12) 100%);

    /* Semantic */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #06b6d4;

    /* Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Easings */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Override Tabler primary */
    --tblr-primary: #4f46e5;
    --tblr-primary-rgb: 79, 70, 229;
    --tblr-primary-darken: #4338ca;
    --tblr-primary-lt: #eef2ff;
    --tblr-primary-fg: #ffffff;

    /* Font */
    --tblr-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --tblr-body-font-family: var(--tblr-font-sans-serif);
    --tblr-headings-font-family: var(--tblr-font-sans-serif);
    --tblr-body-font-feature-settings: "cv11", "ss01", "ss03";
    --tblr-headings-font-weight: 700;
}

/* Light theme */
:root,
[data-bs-theme="light"] {
    --bg-base: #ffffff;
    --bg-subtle: #fafafb;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);
    --text-base: #1e293b;
    --text-muted: #64748b;
    --text-strong: #0f172a;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, .06), 0 2px 4px -2px rgba(15, 23, 42, .04);
    --shadow-lg: 0 12px 28px -8px rgba(79, 70, 229, .15), 0 8px 16px -8px rgba(15, 23, 42, .08);
    --shadow-xl: 0 24px 56px -12px rgba(79, 70, 229, .22), 0 12px 24px -12px rgba(15, 23, 42, .10);

    --tblr-body-bg: var(--bg-base);
    --tblr-body-color: var(--text-base);
    --tblr-bg-surface: var(--surface);
    --tblr-bg-surface-secondary: var(--bg-subtle);
    --tblr-secondary: var(--text-muted);
    --tblr-border-color: var(--border-color);
}

/* Dark theme */
[data-bs-theme="dark"] {
    --bg-base: #0a0a14;
    --bg-subtle: #12121f;
    --surface: #181828;
    --surface-elevated: #1f1f33;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text-base: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-strong: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, .4), 0 2px 4px -2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 12px 28px -8px rgba(124, 58, 237, .35), 0 8px 16px -8px rgba(0, 0, 0, .5);
    --shadow-xl: 0 24px 56px -12px rgba(124, 58, 237, .45), 0 12px 24px -12px rgba(0, 0, 0, .6);

    --tblr-body-bg: var(--bg-base);
    --tblr-body-color: var(--text-base);
    --tblr-bg-surface: var(--surface);
    --tblr-bg-surface-secondary: var(--bg-subtle);
    --tblr-secondary: var(--text-muted);
    --tblr-border-color: var(--border-color);
    --tblr-primary-lt: #1e1b4b;
}

/* -----------------------------------------------------------------------------
   2. Base
   ----------------------------------------------------------------------------- */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body {
    overflow-x: clip;
}

body {
    background-color: var(--bg-base);
    color: var(--text-base);
    font-family: var(--tblr-font-sans-serif);
    font-feature-settings: "cv11", "ss01", "ss03";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: rgba(124, 58, 237, .25);
    color: inherit;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text-strong);
    font-family: var(--tblr-font-sans-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p { color: var(--text-base); line-height: 1.7; }

.text-muted, .text-secondary { color: var(--text-muted) !important; }
strong, b { color: var(--text-strong); font-weight: 600; }

a { color: var(--brand-1); text-decoration: none; transition: color .15s var(--ease-out); }
a:hover { color: var(--brand-2); }

.container { max-width: 1200px; }
.container-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* -----------------------------------------------------------------------------
   3. Brand utilities
   ----------------------------------------------------------------------------- */

.text-brand { color: var(--brand-1) !important; }
.text-brand-2 { color: var(--brand-2) !important; }
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.bg-gradient-brand { background: var(--brand-gradient); color: #fff; }

.text-primary { color: var(--brand-1) !important; }
.text-success { color: var(--color-success) !important; }
.text-danger  { color: var(--color-danger) !important; }
.text-warning { color: var(--color-warning) !important; }
.text-green   { color: var(--color-success) !important; }

/* -----------------------------------------------------------------------------
   4. Buttons
   ----------------------------------------------------------------------------- */

.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.25rem;
    transition: transform .15s var(--ease-out), box-shadow .2s var(--ease-out), background .2s, filter .2s;
    border-width: 1px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius);
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background: var(--brand-gradient);
    border: none;
    box-shadow: 0 6px 16px -4px rgba(79, 70, 229, .35);
    color: #fff;
}
.btn-primary:hover {
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(124, 58, 237, .55);
    filter: brightness(1.05);
}

.btn-outline-primary {
    color: var(--brand-2);
    background: transparent;
    border: 1.5px solid rgba(124, 58, 237, .35);
}
.btn-outline-primary:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px -6px rgba(124, 58, 237, .45);
}

.btn-warning,
.btn-warning:focus,
.btn-warning:active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    box-shadow: 0 6px 16px -4px rgba(245, 158, 11, .35);
}
.btn-warning:hover {
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(245, 158, 11, .55);
    filter: brightness(1.05);
}

.btn-success,
.btn-success:focus,
.btn-success:active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #fff;
    box-shadow: 0 6px 16px -4px rgba(16, 185, 129, .35);
}
.btn-success:hover {
    color: #fff;
    box-shadow: 0 12px 28px -8px rgba(16, 185, 129, .55);
    filter: brightness(1.05);
}

/* -----------------------------------------------------------------------------
   5. Navbar
   ----------------------------------------------------------------------------- */

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(90deg, rgba(237, 233, 254, 0.85) 0%, rgba(245, 243, 255, 0.85) 50%, rgba(237, 233, 254, 0.85) 100%);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(124, 58, 237, .15);
    transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
[data-bs-theme="dark"] .site-navbar {
    background: linear-gradient(90deg, rgba(26, 21, 48, 0.85) 0%, rgba(20, 16, 31, 0.85) 50%, rgba(26, 21, 48, 0.85) 100%);
    border-bottom-color: rgba(124, 58, 237, .25);
}
.site-navbar.is-scrolled {
    background: linear-gradient(90deg, rgba(237, 233, 254, 0.96) 0%, rgba(245, 243, 255, 0.96) 50%, rgba(237, 233, 254, 0.96) 100%);
    border-bottom-color: rgba(124, 58, 237, .22);
    box-shadow: 0 1px 0 rgba(124, 58, 237, .12), 0 8px 24px -16px rgba(124, 58, 237, .25);
}
[data-bs-theme="dark"] .site-navbar.is-scrolled {
    background: linear-gradient(90deg, rgba(26, 21, 48, 0.96) 0%, rgba(20, 16, 31, 0.96) 50%, rgba(26, 21, 48, 0.96) 100%);
    box-shadow: 0 1px 0 rgba(124, 58, 237, .25), 0 8px 24px -16px rgba(124, 58, 237, .35);
}

.navbar-brand-text { font-weight: 700; letter-spacing: -0.02em; }
.navbar-brand-tagline { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

.nav-link {
    color: var(--text-base) !important;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color .15s var(--ease-out), background .15s var(--ease-out);
}
.nav-link:hover, .nav-link:focus {
    color: var(--brand-2) !important;
    background: rgba(124, 58, 237, .06);
}

/* Theme toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--surface);
    color: var(--text-base);
    cursor: pointer;
    transition: all .2s var(--ease-out);
    padding: 0;
}
.theme-toggle:hover {
    border-color: var(--brand-2);
    color: var(--brand-2);
    transform: rotate(15deg);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-bs-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-bs-theme="dark"] .theme-toggle .icon-moon { display: none; }


/* -----------------------------------------------------------------------------
   15. Footer
   ----------------------------------------------------------------------------- */

.site-footer {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 60%, #a855f7 100%);
    color: #fff;
    padding: 4.5rem 0 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -32px 64px -24px rgba(124, 58, 237, .35);
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, .15) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, .12) 0%, transparent 40%);
    pointer-events: none;
}
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}
.site-footer > .container {
    position: relative;
    z-index: 1;
}

/* Brand block in footer — mirrors header logo, recolored for purple background */
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    text-decoration: none;
}
.site-footer .navbar-brand-text {
    display: block;
    font-size: 1.5rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, .7);
}
.site-footer .navbar-brand-tagline {
    color: rgba(255, 255, 255, .8);
    margin-top: 2px;
}
.site-footer .text-gradient,
.site-footer .text-primary {
    background: none;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

/* Generic strong/b override inside footer — keep emphasis bright */
.site-footer strong,
.site-footer b {
    color: #fff;
    font-weight: 700;
}

/* Trustpilot fallback link */
.site-footer .trustpilot-widget a {
    color: #fff;
}

.footer-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 1rem;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.footer-list a {
    color: rgba(255, 255, 255, .85);
    font-size: 0.9375rem;
    transition: color .15s, opacity .15s;
}
.footer-list a:hover { color: #fff; opacity: 1; }

.footer-about {
    color: rgba(255, 255, 255, .88);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.footer-about strong { color: #fff; font-weight: 700; }
.footer-about a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .4);
    text-underline-offset: 2px;
}
.footer-about a:hover { text-decoration-color: #fff; }

.social-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.social-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all .2s var(--ease-out);
}
.social-btn:hover {
    background: #fff;
    border-color: #fff;
    color: var(--brand-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .3);
}
.social-btn svg { width: 18px; height: 18px; }

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, .75);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom a { color: rgba(255, 255, 255, .75); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Trust widgets — glassy translucent on violet bg */
.google-review-widget,
.trustpilot-review-widget {
    text-align: center;
    background: rgba(255, 255, 255, .12);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.review-container { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.review-link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}
.review-link:hover { color: #fff; opacity: .85; }
.stars { width: 140px; }

/* -----------------------------------------------------------------------------
   16. Loader / dimmer
   ----------------------------------------------------------------------------- */

.ui.dimmer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
}
[data-bs-theme="dark"] .ui.dimmer { background: rgba(10, 10, 20, .85); }

/* -----------------------------------------------------------------------------
   17. Misc utilities
   ----------------------------------------------------------------------------- */

.fs-tiny { font-size: 0.75rem; }
.text-strong { font-weight: 600; color: var(--text-strong); }
.section-white { background: var(--surface); }
.navbar-border-none { border: none; box-shadow: none; }

.divider-soft {
    height: 1px;
    background: var(--border-color);
    border: 0;
    margin: 0;
}

