/* HRBYTES marketing site styles */
:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-2: #eef2f9;
    --card: #ffffff;
    --accent: #0aa4ff;
    --accent-2: #f3b23a;
    --text: #0b1b32;
    --muted: #526282;
    --line: #d8e2f2;
    --success: #1f9d6c;
    --danger: #cc3f3f;
    --shadow: 0 24px 70px rgba(15, 40, 82, 0.15);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
    --bg: #060915;
    --surface: #0c1327;
    --surface-2: #101b35;
    --card: #0f1a33;
    --accent: #00c2ff;
    --accent-2: #f3b23a;
    --text: #e7eefb;
    --muted: #9fb3d0;
    --line: #1f2b45;
    --success: #5be5a8;
    --danger: #ff6b6b;
    --shadow: 0 30px 80px rgba(3, 7, 20, 0.45);
}

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

body {
    margin: 0;
    background: radial-gradient(120% 80% at 20% 20%, rgba(0, 194, 255, 0.08), transparent 50%), radial-gradient(90% 60% at 80% 0%, rgba(243, 178, 58, 0.08), transparent 50%), var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.hero {
    padding: 20px clamp(14px, 5vw, 32px) 64px;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 80% 0%, rgba(0, 194, 255, 0.12), transparent), radial-gradient(45% 45% at 0% 0%, rgba(243, 178, 58, 0.08), transparent);
    pointer-events: none;
}

.hero.compact {
    padding-bottom: 32px;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: auto;
    height: 48px;
    border-radius: 0;
    overflow: visible;
    display: grid;
    place-items: center;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.brand-logo {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand-logo-dark {
    display: none;
}

[data-theme="dark"] .brand-logo-light {
    display: none;
}

[data-theme="dark"] .brand-logo-dark {
    display: block;
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.brand-tag {
    color: var(--muted);
    font-size: 13px;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(6, 18, 40, 0.08);
}

.link-strong {
    color: var(--text) !important;
}

.theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.theme-switch-text {
    font-size: 13px;
    color: var(--muted);
}

[data-theme="dark"] .theme-switch-text {
    color: var(--text);
}

.theme-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.theme-slider {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: var(--line);
    position: relative;
    transition: background 0.2s ease;
}

.theme-slider::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background 0.2s ease;
}

.theme-switch input:checked + .theme-slider {
    background: rgba(10, 164, 255, 0.35);
}

.theme-switch input:checked + .theme-slider::after {
    transform: translateX(20px);
    background: #0aa4ff;
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-theme-switch {
    margin-left: 12px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 8px 0 12px;
}

.hero-copy .lede {
    color: var(--muted);
    max-width: 780px;
}

.eyebrow {
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-2);
    font-weight: 700;
    font-size: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.trial-note {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    color: #041024;
    background: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 194, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 194, 255, 0.3);
}

.btn.ghost {
    background: rgba(6, 18, 40, 0.06);
    border-color: var(--line);
    color: var(--text);
    box-shadow: none;
}

.btn.outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn.primary {
    color: #041024;
}

.btn.block {
    width: 100%;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(6, 18, 40, 0.08);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pill.success {
    background: rgba(31, 157, 108, 0.15);
    color: var(--success);
}

.hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.panel-card {
    background: linear-gradient(145deg, var(--card), var(--surface-2));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.panel-eyebrow {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.panel-list strong {
    color: var(--text);
}

.panel-foot {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mini-stat {
    background: rgba(6, 18, 40, 0.05);
    border-radius: 10px;
    padding: 10px 12px;
    flex: 1;
}

.mini-stat .label {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.mini-stat .value {
    margin: 4px 0 0;
    font-weight: 700;
}

.section {
    padding: 64px clamp(20px, 5vw, 48px);
}

.section.alt {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.section-head {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
    max-width: 980px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.card h3 {
    margin-top: 0;
}

.card ul {
    padding-left: 18px;
    color: var(--muted);
    margin: 8px 0 0;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    color: var(--muted);
}

.checklist li::before {
    content: "✔";
    margin-right: 8px;
    color: var(--success);
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.roadmap-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}

.lead-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.lead-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

input,
textarea {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    padding: 12px;
    font-size: 15px;
}

textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 16px;
}

.contact.chip {
    background: rgba(6, 18, 40, 0.05);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    color: var(--text);
}

.note {
    color: var(--muted);
    font-size: 14px;
}

.faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.faq article {
    background: var(--card);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
}

.cta {
    background: radial-gradient(50% 50% at 10% 10%, rgba(0, 194, 255, 0.1), transparent), radial-gradient(40% 40% at 90% 10%, rgba(243, 178, 58, 0.12), transparent);
}

.cta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer {
    padding: 32px clamp(20px, 5vw, 48px);
    background: var(--surface-2);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.footer-links a {
    color: var(--muted);
}

.footer-note {
    color: var(--muted);
    margin-top: 18px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.price-card {
    background: linear-gradient(145deg, rgba(0, 194, 255, 0.08), rgba(243, 178, 58, 0.04));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.price {
    font-size: 28px;
    margin: 6px 0;
}

.price span {
    color: var(--muted);
    font-size: 15px;
}

.comparison-table {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 12px 14px;
    gap: 10px;
    background: var(--surface);
}

.comparison-row:nth-child(even) {
    background: var(--surface-2);
}

.comparison-row.head {
    background: var(--surface-2);
    font-weight: 700;
}

.comparison-row .good {
    color: var(--success);
    font-weight: 700;
}

.lead-card h4 {
    margin-bottom: 6px;
}

.cta .btn {
    min-width: 140px;
}

.note,
.muted {
    max-width: 780px;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #0c1327;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    color: var(--text);
    box-shadow: var(--shadow);
    z-index: 20;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-4px);
}

.scroll-top:hover {
    transform: translateY(-6px);
}

.comparison-row div:last-child {
    color: var(--muted);
}

@media (max-width: 960px) {
    .nav-links {
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 12px clamp(20px, 5vw, 48px);
        display: none;
        flex-direction: column;
        border: 1px solid var(--line);
        border-radius: 12px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }
}

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

    .brand-name {
        font-size: 16px;
    }

    .brand {
        gap: 8px;
    }

    .nav {
        padding: 10px 12px;
        gap: 10px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
