:root {
    --color-bg: #f7f9fc;
    --color-surface: #ffffff;
    --color-text: #1b2430;
    --color-muted: #5b6b7c;
    --color-primary: #1f6feb;
    --color-primary-dark: #1554b8;
    --color-border: #e2e8f0;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(27, 36, 48, 0.08);
    --container: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0 0 0.5em;
}

p {
    margin: 0 0 1em;
}

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

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.site-header .header-inner {
    position: relative;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

/* Logo notch – záložka, ktorá začína na spodku lišty,
   vystúpi smerom dole a opäť končí na spodku lišty.
   Vnútro je spojené s lištou – rovnaká farba pozadia. */
.logo-notch {
    position: absolute;
    top: calc(100% - 14px);
    left: 0;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.logo-notch::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 22px rgba(27, 36, 48, 0.10);
    clip-path: polygon(
        0 0,
        100% 0,
        82% 100%,
        18% 100%
    );
}

.logo {
    position: relative;
    top: -16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo:hover {
    text-decoration: none;
}

.logo-img {
    display: block;
    width: 140px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.main-nav a {
    color: var(--color-muted);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn-small {
    padding: 9px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-ghost:hover {
    background: rgba(31, 111, 235, 0.08);
}

/* Hero */
.hero {
    padding: 80px 0 70px;
    background: linear-gradient(180deg, #eef4ff 0%, var(--color-bg) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(31, 111, 235, 0.12);
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.lead {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 34em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.hero-card-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--color-border);
    color: var(--color-muted);
}

.hero-card-row strong {
    color: var(--color-text);
}

.hero-card-bar {
    margin-top: 18px;
    height: 10px;
    border-radius: 999px;
    background: var(--color-border);
    overflow: hidden;
}

.hero-card-bar span {
    display: block;
    height: 100%;
    background: var(--color-primary);
    border-radius: 999px;
}

/* Sections */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-head p {
    color: var(--color-muted);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.card h3 {
    font-size: 1.15rem;
}

.card p {
    color: var(--color-muted);
    margin-bottom: 0;
}

/* Stats */
.stat {
    text-align: center;
    padding: 28px 20px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.stat-value {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-primary);
}

.stat-label {
    display: block;
    color: var(--color-muted);
    margin-top: 6px;
}

/* Pricing */
.plan {
    display: flex;
    flex-direction: column;
    position: relative;
}

.plan-highlight {
    border-color: var(--color-primary);
    box-shadow: 0 16px 40px rgba(31, 111, 235, 0.18);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 26px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-price {
    margin: 6px 0 4px;
}

.plan-price strong {
    font-size: 2rem;
}

.plan-price span {
    color: var(--color-muted);
}

.plan-note {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.plan-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 26px;
    flex: 1;
}

.plan-list li {
    padding: 7px 0 7px 26px;
    position: relative;
    color: var(--color-text);
}

.plan-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.plan .btn {
    text-align: center;
}

/* Contact */
.section-contact {
    background: linear-gradient(135deg, #1f6feb 0%, #1554b8 100%);
    color: #fff;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-contact h2 {
    color: #fff;
}

.section-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.contact-list li {
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.contact-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
}

.contact-list a,
.contact-list span {
    color: #fff;
    font-weight: 600;
}

/* Footer */
.site-footer {
    padding: 26px 0;
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-inner p {
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .main-nav {
        display: none;
    }

    .logo-notch {
        padding: 10px 22px;
    }

    .logo-img {
        width: 130px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0 48px;
    }

    .section {
        padding: 52px 0;
    }
}
