@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

/* Anestesiocheck - Premium UI Theme */
:root {
    --primary-color: #2c5cff;
    --primary-strong: #1b46e3;
    --primary-soft: #e9efff;
    --secondary-color: #5f6b84;
    --success-color: #14995f;
    --danger-color: #cf3951;
    --warning-color: #cc8500;
    --info-color: #237cbf;
    --light-color: #f5f7fc;
    --dark-color: #101a33;
    --border-color: #dce2ef;
    --surface-0: #ffffff;
    --surface-1: #f7f9ff;
    --surface-2: #edf2ff;
    --text-muted: #5e6b86;
    --shadow-sm: 0 2px 8px rgba(15, 30, 70, 0.08);
    --shadow-md: 0 12px 28px rgba(20, 36, 77, 0.12);
    --shadow-lg: 0 18px 40px rgba(12, 24, 58, 0.16);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

html, body {
    height: 100%;
    min-height: 100vh;
}

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.58;
    letter-spacing: 0.01em;
    color: var(--dark-color);
    background:
        radial-gradient(circle at 0 0, rgba(44, 92, 255, 0.09) 0%, transparent 42%),
        radial-gradient(circle at 100% 10%, rgba(27, 70, 227, 0.07) 0%, transparent 38%),
        linear-gradient(180deg, #f7f9ff 0%, #eff3fc 100%);
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.015em;
    color: #121e3a;
}

p, .text-muted, .form-text, small {
    color: var(--text-muted) !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-strong);
}

/* Layout primitives */
.main-content-wrapper {
    width: 100%;
    padding: 1.4rem !important;
    margin-top: 0 !important;
}

main {
    flex: 1 0 auto;
    min-height: 0;
}

.app-main-content {
    margin-left: 235px !important;
    width: calc(100% - 235px) !important;
    padding: 1.65rem 1.75rem !important;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, #f4f7ff 0%, #eef3fb 100%);
    min-height: calc(100vh - 58px);
}

/* Topbar */
.app-topbar.navbar {
    backdrop-filter: blur(14px);
    background: linear-gradient(130deg, rgba(16, 38, 94, 0.96) 0%, rgba(35, 80, 209, 0.94) 55%, rgba(56, 103, 224, 0.94) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(9, 25, 66, 0.25);
}

.navbar-brand {
    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.navbar-nav .nav-link {
    font-weight: 600;
}

.auth-topbar {
    min-height: 58px;
    box-shadow: 0 4px 12px rgba(9, 25, 66, 0.14) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

.auth-topbar .container {
    justify-content: center;
}

/* Página pública de solicitar demonstração: menos espaço entre topbar e o card */
main.app-main-content.auth-main-slim {
    padding-top: 0.4rem !important;
}

.auth-brand {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    opacity: 0.98;
}

/* Buttons */
.btn {
    font-weight: 700;
    border-radius: 12px;
    border-width: 1px;
    padding: 0.72rem 1.2rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:focus {
    box-shadow: 0 0 0 0.24rem rgba(44, 92, 255, 0.2);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary-color) 0%, #4d79ff 100%);
    border-color: #2d59ec;
    box-shadow: 0 6px 16px rgba(44, 92, 255, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--primary-strong) 0%, #3d68ee 100%);
    border-color: #193fcc;
    box-shadow: 0 10px 20px rgba(34, 74, 198, 0.32);
}

.btn-outline-secondary {
    border-color: #b8c3db;
    color: #4a5876;
    background-color: #fff;
}

.btn-outline-secondary:hover {
    background-color: #eef2fc;
    border-color: #a5b3d2;
    color: #25324f;
}

/* Cards and containers */
.card {
    border: 1px solid rgba(220, 227, 242, 0.92);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: #c8d5f0;
    box-shadow: var(--shadow-md);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, #f7f9ff 0%, #f1f5ff 100%);
    border-top-left-radius: var(--radius-md) !important;
    border-top-right-radius: var(--radius-md) !important;
}

/* Forms */
.form-label {
    color: #2d3956;
    font-weight: 600;
    margin-bottom: 0.42rem;
}

.form-control, .form-select {
    border: 1px solid #ccd5ea;
    border-radius: 11px;
    background: #fff;
    color: #17233f;
    padding: 0.7rem 0.92rem;
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control::placeholder {
    color: #97a3c0;
}

.form-control:focus, .form-select:focus {
    border-color: #6e8fff;
    background: #fff;
    box-shadow: 0 0 0 0.25rem rgba(55, 101, 244, 0.18);
}

/* Tables */
.table-responsive {
    border-radius: var(--radius-md);
    border: 1px solid #d8e0f1;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
    color: #2a3756;
    border-bottom: 1px solid #d7e0f2;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.table tbody td {
    border-bottom-color: #eef2f9;
    color: #2c3752;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: #f8faff;
}

/* Alerts, badges, toasts */
.alert {
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.badge, .status-badge {
    border-radius: 999px;
    padding: 0.44rem 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.toast {
    border-radius: 12px;
    border: 1px solid #d8e0f2;
    box-shadow: var(--shadow-md);
}

/* Sidebar (desktop + mobile offcanvas) */
.app-sidebar {
    background: linear-gradient(180deg, #0f2c7d 0%, #1f4bc9 62%, #2a5df4 100%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 8px 0 22px rgba(11, 28, 78, 0.22);
    color: #eaf0ff;
}

.app-sidebar-desktop {
    width: 235px !important;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 0.95rem 0.75rem !important;
}

.app-sidebar .text-primary {
    color: #ffffff !important;
}

.app-sidebar .border-end,
.app-sidebar hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 1;
}

.app-sidebar hr {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    margin-top: 0.7rem;
    margin-bottom: 0.9rem;
}

.app-sidebar .nav-link {
    color: rgba(237, 243, 255, 0.9) !important;
    border-radius: 11px;
    margin-bottom: 0.2rem;
    transition: all 0.18s ease;
    border: 1px solid transparent;
}

.app-sidebar .nav-link.active {
    color: #0f2c7d !important;
    background: linear-gradient(120deg, #ffffff 0%, #edf3ff 100%);
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: 0 10px 18px rgba(8, 23, 63, 0.24);
}

.app-sidebar .nav-link:not(.active):hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25);
}

.sidebar-link-lg {
    font-size: 0.98rem;
    padding: 0.66rem 0.78rem;
}

.sidebar-text-lg {
    font-size: 0.94rem;
    font-weight: 600;
}

.app-sidebar .nav-link.text-danger {
    color: #ffd6dd !important;
}

.app-sidebar .nav-link.text-danger:hover {
    color: #ffffff !important;
    background: rgba(207, 57, 81, 0.26);
    border-color: rgba(255, 183, 197, 0.4);
}

/* Landing polish */
.hero-section {
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 28%),
        radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 32%),
        linear-gradient(140deg, #1b3fbc 0%, #2d5cff 54%, #4978f9 100%) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.16), 0 18px 34px rgba(14, 36, 92, 0.22);
}

.hero-section .btn-light {
    color: #163182;
    font-weight: 800;
}

/* Dashboard cards */
.dashboard-card {
    color: #fff;
    border: 0;
    border-radius: var(--radius-lg);
    padding: 1.45rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.dashboard-card.default,
.dashboard-card {
    background: linear-gradient(140deg, #2e62ff 0%, #2b52d9 100%);
}

.dashboard-card.success {
    background: linear-gradient(135deg, #18a56a 0%, #0f8b56 100%);
}

.dashboard-card.warning {
    background: linear-gradient(135deg, #f09a33 0%, #cb6f18 100%);
}

.dashboard-card.info {
    background: linear-gradient(135deg, #2f8cf0 0%, #1f66c1 100%);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #d1dbf0 0%, #b9c9ec 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 10px 18px rgba(29, 66, 179, 0.24);
}

.timeline-content {
    background: #fff;
    padding: 1.3rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid #dbe3f3;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modals */
.modal-content {
    border: 1px solid #dbe3f3;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header, .modal-footer {
    border-color: #e7edf8;
    padding: 1rem 1.25rem;
}

.modal-body {
    padding: 1.2rem 1.25rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f4fb;
}

::-webkit-scrollbar-thumb {
    background: #bdc8e3;
    border-radius: 999px;
    border: 2px solid #f1f4fb;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8b6d6;
}

/* Responsive refinements */
@media (max-width: 991.98px) {
    .app-main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 1rem !important;
    }
}

@media (max-width: 768px) {
    .timeline::before {
        left: 26px;
    }

    .timeline-marker {
        left: 26px;
        width: 42px;
        height: 42px;
    }

    .timeline-content {
        margin-left: 70px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }

    .hero-section {
        padding: 2.5rem 0;
    }

    .display-4 {
        font-size: 2.2rem;
    }
}

/* Print */
@media print {
    .navbar, .footer, .btn, .no-print {
        display: none !important;
    }

    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}

/* ------------------------------------------------------------------
   Premium Landing + Dashboard Enhancements
------------------------------------------------------------------- */
.hero-premium {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    overflow: hidden;
    position: relative;
}

.hero-premium::after {
    content: '';
    position: absolute;
    inset: auto -8% -38% auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, transparent 66%);
    pointer-events: none;
}

.hero-premium .display-4 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-stats {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f5f8ff;
    font-weight: 600;
    font-size: 0.84rem;
}

.section-premium {
    margin-top: 2.8rem;
    margin-bottom: 2.6rem;
}

.feature-premium-card {
    border: 1px solid #d7e3fb !important;
    border-radius: 16px;
    padding: 0.5rem 0.45rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.feature-premium-card .feature-icon {
    width: 68px;
    height: 68px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    background: linear-gradient(140deg, #edf2ff 0%, #e4ecff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px #d5e0ff;
}

.journey-premium {
    background: linear-gradient(180deg, #f2f6ff 0%, #f8faff 100%) !important;
    border-top: 1px solid #dfe7fa;
    border-bottom: 1px solid #dfe7fa;
}

.kpi-stat-card {
    border-left-width: 0 !important;
    border: 1px solid #d7e1f5 !important;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 14px 26px rgba(16, 38, 97, 0.1) !important;
}

.kpi-stat-card .card-body {
    position: relative;
}

.kpi-stat-card .card-body::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 0 10px 10px 0;
}

.kpi-stat-card.border-left-primary .card-body::before { background: #2c5cff; }
.kpi-stat-card.border-left-success .card-body::before { background: #119f69; }
.kpi-stat-card.border-left-info .card-body::before { background: #1e89d8; }
.kpi-stat-card.border-left-warning .card-body::before { background: #d98900; }

.dashboard-hero {
    border-radius: 18px;
    border: 1px solid #d6e1f8;
    background: linear-gradient(120deg, #edf3ff 0%, #f9fbff 100%);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 20px rgba(20, 44, 100, 0.08);
}

.dashboard-hero h1,
.dashboard-hero h4 {
    margin-bottom: 0.2rem;
}

.quick-actions-card .card-body .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.kpi-solid-card {
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 24px rgba(18, 35, 79, 0.16) !important;
}

.kpi-solid-card .card-body {
    padding: 0.9rem 1rem !important;
}

.kpi-solid-card h6 {
    font-size: 1.16rem;
    font-weight: 800;
}

/* New SaaS landing structure */
.landing-saas {
    color: #16213f;
}

.landing-hero {
    position: relative;
    padding: 5.5rem 0 4rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 100% 20%, rgba(255, 255, 255, 0.13) 0%, transparent 36%),
        linear-gradient(125deg, #102f88 0%, #1f4fd8 52%, #2f69ee 100%);
    color: #fff;
    overflow: hidden;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 999px;
    padding: 0.44rem 0.88rem;
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.14);
}

.landing-title {
    color: #fff;
    margin-top: 1rem;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.12;
    letter-spacing: -0.028em;
}

.landing-subtitle {
    color: rgba(248, 250, 255, 0.9) !important;
    font-size: 1.05rem;
    max-width: 640px;
    margin-top: 1rem;
}

.landing-cta {
    margin-top: 1.45rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.landing-proof {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.landing-proof span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.saas-preview {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(245, 249, 255, 0.13) 100%);
    box-shadow: 0 18px 32px rgba(6, 20, 53, 0.28);
    backdrop-filter: blur(8px);
    padding: 1rem;
}

.preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.1rem 0.35rem 0.85rem;
    color: #f8fbff;
}

.preview-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.24rem;
    background: rgba(255, 255, 255, 0.76);
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.72rem;
}

.preview-card {
    background: #fff;
    border: 1px solid #dae6ff;
    border-radius: 14px;
    padding: 0.8rem;
    box-shadow: 0 8px 18px rgba(20, 42, 95, 0.12);
}

.preview-card.wide {
    grid-column: span 2;
}

.preview-card small {
    color: #60719a !important;
    font-weight: 700;
}

.preview-card h4 {
    margin: 0.28rem 0 0.1rem;
    font-size: 1.45rem;
}

.preview-card .up {
    color: #11885a;
    font-weight: 700;
    font-size: 0.8rem;
}

.preview-bars {
    display: grid;
    gap: 0.34rem;
    margin-top: 0.55rem;
}

.preview-bars span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(120deg, #2f65f0 0%, #6490ff 100%);
}

.landing-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe5ff;
    box-shadow: 0 10px 22px rgba(17, 35, 82, 0.22);
    background: #0b1020;
}

.landing-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.landing-section {
    padding-top: 4rem;
    padding-bottom: 1rem;
}

.section-head {
    margin-bottom: 1.6rem;
}

.section-head h2 {
    font-size: clamp(1.55rem, 2.5vw, 2.28rem);
}

.pain-card {
    border: 1px solid #dce4f6;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
    padding: 1.2rem;
    box-shadow: 0 10px 24px rgba(15, 33, 79, 0.09);
    height: 100%;
}

.pain-card i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef3ff;
    color: #2b58dd;
    margin-bottom: 0.8rem;
}

.landing-solution {
    margin-top: 1.4rem;
    padding: 0.8rem 0 2.5rem;
    background: transparent;
    border-top: 0;
    border-bottom: 0;
}

.module-card {
    background: #fff;
    border: 1px solid #dce5fa;
    border-radius: 16px;
    padding: 1.05rem;
    box-shadow: 0 9px 20px rgba(21, 41, 92, 0.1);
    height: 100%;
}

.module-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #edf3ff 0%, #e3ecff 100%);
    color: #2854dd;
    font-size: 1.32rem;
    margin-bottom: 0.75rem;
}

.step-card {
    background: #fff;
    border: 1px solid #dce5f8;
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 22px rgba(19, 41, 89, 0.1);
    height: 100%;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(120deg, #2a5df4 0%, #5483ff 100%);
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.journey-flow {
    position: relative;
    margin: 2rem auto 0;
    max-width: 980px;
    padding: 0.3rem 0 0.5rem;
}

.journey-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #2c5cff 0%, #6f93ff 50%, #2c5cff 100%);
    border-radius: 999px;
    opacity: 0.35;
}

.journey-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    margin-bottom: 1.25rem;
}

.journey-dot {
    grid-column: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #2f63f5 0%, #4f7fff 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.88rem;
    border: 3px solid #f4f7ff;
    box-shadow: 0 8px 18px rgba(29, 68, 185, 0.28);
    z-index: 2;
}

.journey-stage-card {
    background: #fff;
    border: 1px solid #dce5f8;
    border-radius: 14px;
    padding: 0.88rem 1rem;
    box-shadow: 0 10px 20px rgba(16, 38, 88, 0.09);
}

.journey-stage.left .journey-stage-card {
    grid-column: 1;
    margin-right: 0.9rem;
    text-align: right;
}

.journey-stage.right .journey-stage-card {
    grid-column: 3;
    margin-left: 0.9rem;
    text-align: left;
}

.journey-stage-card h5 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    color: #1a2a4d;
}

.journey-stage-card h5 i {
    color: #2c5cff;
    margin-right: 0.32rem;
}

.journey-stage-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

.journey-orbit {
    position: relative;
    margin: 2.2rem auto 0.5rem;
    width: min(100%, 980px);
    height: 760px;
}

.journey-orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(57, 96, 220, 0.36);
    box-shadow: inset 0 0 0 22px rgba(79, 122, 255, 0.06);
}

.journey-orbit-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(145deg, #214fcf 0%, #3b72ff 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 14px 28px rgba(33, 76, 201, 0.34);
}

.journey-orbit-core h4 {
    color: #fff;
    margin: 0;
    line-height: 1.12;
    font-size: 1.45rem;
}

.journey-orbit-core small {
    margin-top: 0.3rem;
    color: rgba(246, 250, 255, 0.9) !important;
    font-weight: 600;
}

.orbit-step {
    position: absolute;
    width: 240px;
    background: #fff;
    border: 1px solid #dbe4f8;
    border-radius: 12px;
    padding: 0.65rem 0.75rem 0.7rem;
    box-shadow: 0 10px 20px rgba(17, 38, 89, 0.1);
}

.orbit-step h6 {
    margin: 0.24rem 0 0.22rem;
    font-size: 0.94rem;
    color: #1a2b4f;
}

.orbit-step h6 i {
    color: #2c5cff;
    margin-right: 0.3rem;
}

.orbit-step p {
    margin: 0;
    font-size: 0.81rem;
    line-height: 1.36;
}

.orbit-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(120deg, #2f63f5 0%, #4f7fff 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.77rem;
}

.orbit-1 { left: 370px; top: 5px; }
.orbit-2 { right: 115px; top: 115px; }
.orbit-3 { right: 75px; top: 290px; }
.orbit-4 { right: 150px; bottom: 120px; }
.orbit-5 { left: 370px; bottom: 5px; }
.orbit-6 { left: 150px; bottom: 120px; }
.orbit-7 { left: 75px; top: 290px; }
.orbit-8 { left: 115px; top: 115px; }

.faq-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #dce5f8;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(17, 36, 80, 0.12);
    padding: 1.3rem;
}

.landing-saas .accordion-item {
    border: 1px solid #dee6f8;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 0.55rem;
}

.landing-saas .accordion-button {
    font-weight: 700;
    color: #1b2a4c;
    background: #fff;
}

.landing-saas .accordion-button:not(.collapsed) {
    color: #17317d;
    background: #eef3ff;
}

.landing-final-cta {
    margin-top: 2rem;
    border-radius: 18px;
    padding: 1.8rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(120deg, #12358f 0%, #2d61ef 52%, #4d7eff 100%);
    box-shadow: 0 16px 30px rgba(19, 43, 101, 0.26);
}

.landing-final-cta h3 {
    color: #fff;
}

.landing-final-cta p {
    color: rgba(246, 250, 255, 0.9) !important;
}

@media (max-width: 768px) {
    .hero-premium {
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .landing-hero {
        padding-top: 4rem;
    }

    .landing-title {
        font-size: 2rem;
    }

    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .journey-line {
        left: 22px;
        transform: none;
    }

    .journey-stage {
        grid-template-columns: 48px 1fr;
        margin-bottom: 1rem;
    }

    .journey-dot {
        grid-column: 1;
    }

    .journey-stage.left .journey-stage-card,
    .journey-stage.right .journey-stage-card {
        grid-column: 2;
        margin: 0 0 0 0.8rem;
        text-align: left;
    }
}