﻿/* === Základné nastavenia === */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background-color: #0b1020;
    max-width: 100%;
    overflow-x: hidden;

}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* === Layout === */

.rb-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.rb-main {
    flex: 1;
}

/* === Container === */

.rb-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Header === */

.rb-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.rb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
}

.rb-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.rb-logo-img {
    width: 36px;
    height: 36px;
}

.rb-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.rb-logo-main {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #e5f1ff;
}

.rb-logo-sub {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* === Navigation === */

.rb-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.rb-nav-link {
    font-size: 0.9rem;
    color: #cbd5f5;
    position: relative;
    padding-bottom: 0.2rem;
}

    .rb-nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #38bdf8, #a855f7);
        transition: width 0.2s ease;
    }

    .rb-nav-link:hover::after {
        width: 100%;
    }

.rb-nav-link--cta {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

    .rb-nav-link--cta:hover {
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: white;
        border-color: transparent;
    }

/* Hamburger pre mobil */

.rb-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .rb-nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: #e5e7eb;
        border-radius: 999px;
    }

/* === Sekcie === */

.rb-section {
    padding: 4rem 0;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 55%), radial-gradient(circle at bottom, rgba(168, 85, 247, 0.16), transparent 55%);
}

.rb-section-alt {
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.18), transparent 50%), #020617;
}

.rb-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .rb-section-header h2 {
        font-size: 2rem;
        color: #e5f1ff;
        margin-bottom: 0.6rem;
    }

    .rb-section-header p {
        color: #94a3b8;
        max-width: 540px;
        margin: 0.3rem auto 0;
    }

/* === Hero === */

.rb-hero {
    padding-top: 5rem;
}

.rb-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2.5rem;
    align-items: center;
}

.rb-hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #f9fafb;
}

.rb-hero-text p {
    color: #cbd5f5;
    font-size: 1rem;
    max-width: 600px;
}

.rb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.8rem 0 0.8rem;
}

.rb-hero-note {
    font-size: 0.85rem;
    color: #9ca3af;
}

.rb-hero-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

    .rb-hero-card h2 {
        font-size: 1.2rem;
        margin-top: 0;
        margin-bottom: 1rem;
        color: #e5f1ff;
    }

.rb-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .rb-checklist li {
        position: relative;
        padding-left: 1.3rem;
        margin-bottom: 0.45rem;
        color: #cbd5f5;
        font-size: 0.9rem;
    }

        .rb-checklist li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            font-size: 0.8rem;
            color: #22c55e;
        }

.rb-hero-badge {
    margin-top: 1.2rem;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
    font-size: 0.85rem;
}

    .rb-hero-badge span {
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-weight: 600;
        font-size: 0.75rem;
    }

/* === Buttons === */

.rb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.08s ease, box-shadow 0.08s ease;
}

.rb-btn-primary {
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    color: white;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
}

    .rb-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 34px rgba(56, 189, 248, 0.55);
    }

.rb-btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

    .rb-btn-outline:hover {
        border-color: #38bdf8;
        color: #e0f2fe;
    }

.rb-btn-full {
    width: 100%;
}

/* === Grid & Cards === */

.rb-grid {
    display: grid;
    gap: 1.5rem;
}

.rb-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rb-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #cbd5f5;
}

    .rb-card h3 {
        margin-top: 0;
        margin-bottom: 0.7rem;
        color: #e5f1ff;
    }

.rb-card-border {
    border: 1px solid rgba(148, 163, 184, 0.35);
}

/* === Pricing === */

.rb-pricing-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rb-pricing-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1.1rem;
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rb-pricing-card--highlight {
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.35);
}

.rb-pricing-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.rb-pricing-label--highlight {
    color: #22c55e;
}

.rb-pricing-card h3 {
    margin: 0 0 0.4rem;
    color: #f9fafb;
}

.rb-price {
    font-size: 1.7rem;
    font-weight: 700;
    color: #e0f2fe;
    margin: 0.5rem 0 0.9rem;
}

    .rb-price span {
        font-size: 0.95rem;
        font-weight: 400;
        color: #9ca3af;
        margin-left: 0.2rem;
    }

.rb-pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    font-size: 0.9rem;
    color: #cbd5f5;
}

    .rb-pricing-list li {
        margin-bottom: 0.4rem;
    }

.rb-pricing-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* === Kontakt / formulár === */

.rb-contact-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
}

.rb-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

    .rb-form label {
        font-size: 0.85rem;
        color: #cbd5f5;
    }

    .rb-form input,
    .rb-form textarea {
        width: 100%;
        border-radius: 0.6rem;
        border: 1px solid rgba(148, 163, 184, 0.6);
        background: rgba(15, 23, 42, 0.9);
        color: #e5e7eb;
        padding: 0.55rem 0.7rem;
        font-size: 0.9rem;
    }

        .rb-form input:focus,
        .rb-form textarea:focus {
            outline: none;
            border-color: #38bdf8;
            box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
        }

.rb-form-note {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.4rem;
}

/* === Footer === */

.rb-footer {
    background: #020617;
    border-top: 1px solid rgba(30, 64, 175, 0.7);
    color: #9ca3af;
    margin-top: 2rem;
}

.rb-footer-inner {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 2fr 1fr 1.4fr;
    padding: 2rem 1.5rem 1.5rem;
}

.rb-footer h4 {
    margin: 0 0 0.6rem;
    color: #e5f1ff;
}

.rb-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rb-footer li {
    margin-bottom: 0.3rem;
}

.rb-footer a {
    color: #cbd5f5;
    font-size: 0.88rem;
}

    .rb-footer a:hover {
        color: #38bdf8;
    }

.rb-footer-bottom {
    border-top: 1px solid rgba(30, 64, 175, 0.6);
    padding: 0.7rem 0;
    font-size: 0.8rem;
}

/* === Responsive === */

@media (max-width: 960px) {
    .rb-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .rb-hero-card {
        order: -1;
    }

    .rb-grid-3,
    .rb-pricing-grid,
    .rb-contact-grid,
    .rb-footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .rb-header-inner {
        padding-inline: 1rem;
    }

    .rb-nav {
        position: absolute;
        right: 1rem;
        top: 52px;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 1rem;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 0.8rem;
        border: 1px solid rgba(148, 163, 184, 0.4);
        display: none;
    }

        .rb-nav.rb-nav--open {
            display: flex;
        }

    .rb-nav-toggle {
        display: flex;
    }
}

@media (max-width: 640px) {
    .rb-section {
        padding: 3rem 0;
    }

    .rb-hero {
        padding-top: 4rem;
    }

    .rb-hero-text h1 {
        font-size: 1.8rem;
    }
}

.rb-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
    font-size: 0.8rem;
    color: #cbd5f5;
}

.rb-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rb-flag {
    width: 18px;
    height: auto;
    display: block;
}


    .rb-lang-link:hover {
        opacity: 1;
    }

.rb-lang-sep {
    opacity: 0.6;
}

/* Kontajner na prepínače */
.rb-plan-group {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Skryť pôvodný radio input (btn-check) */
.btn-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Vzhľad tlačidiel */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    border-radius: 999px; /* pekné zaoblené tlačidlo */
    border: 1px solid #cbd5f5;
    background-color: #0f172a;
    color: #e5e7eb;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* „Outline primary“ štýl – default */
.btn-outline-primary {
    background-color: transparent;
    color: #e5e7eb;
    border-color: #4f46e5;
}

    /* Hover efekt */
    .btn-outline-primary:hover {
        background-color: rgba(79, 70, 229, 0.12);
    }

/* AK JE ZAŠKRTNUTÝ KONKRÉTNY RADIO, ZAFARBÍME JEHO LABEL */
.btn-check:checked + .btn-outline-primary {
    background-color: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
}

/* Pre menšie displeje – stack namiesto v riadku */
@media (max-width: 600px) {
    .rb-plan-group {
        flex-direction: column;
        align-items: stretch;
    }

        .rb-plan-group .btn {
            width: 100%;
            justify-content: center;
        }
}

.rb-honey {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rb-error {
    color: #f97373;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
