/* =========================================================
   HOME PAGE SALES FLOW + RESTAURANTOS POPUP
   Additive styles only. Existing design system remains intact.
   ========================================================= */

/* ---------- Hero ---------- */
.home-hero-content {
    max-width: 1180px;
}

.home-hero h1 {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.7rem, 5.2vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.home-hero-statement {
    max-width: 980px;
    margin: 1.2rem auto 0;
    font-family: 'Clash Display', sans-serif;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.022em;
    color: rgba(255, 255, 255, 0.82);
}

.home-hero-statement strong {
    color: #ffffff;
    font-weight: 650;
}

.home-hero-actions {
    margin-top: 2.4rem;
}

/* ---------- Shared home sections ---------- */
.home-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.5rem 2rem;
}

.home-section-heading {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.home-section-heading-left {
    max-width: 850px;
    margin-left: 0;
    text-align: left;
}

.home-eyebrow,
.ros-popup-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-eyebrow::before {
    content: '';
    width: 1.8rem;
    height: 1px;
    background: currentColor;
    opacity: 0.8;
}

.home-section-heading h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

.home-section-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: #9CA3AF;
    font-size: 1.08rem;
    line-height: 1.75;
}

.home-section-heading-left p {
    margin-left: 0;
}

.home-card-grid {
    display: grid;
    gap: 1.5rem;
}

.home-card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    padding: 1.75rem;
    background: linear-gradient(145deg, rgba(26, 19, 51, 0.95), rgba(37, 26, 64, 0.82));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.home-card::after {
    content: '';
    position: absolute;
    width: 8rem;
    height: 8rem;
    right: -4rem;
    bottom: -4rem;
    border-radius: 50%;
    background: rgba(147, 51, 234, 0.08);
    filter: blur(2px);
    pointer-events: none;
}

.home-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.26);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.home-card-emphasis {
    border-color: rgba(168, 85, 247, 0.25);
    background: linear-gradient(145deg, rgba(60, 32, 93, 0.72), rgba(26, 19, 51, 0.98));
}

.home-card-icon,
.home-solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.25rem;
    color: var(--color-primary-light);
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.14);
    border-radius: 0.8rem;
}

.home-card-icon svg,
.home-solution-icon svg {
    width: 22px;
    height: 22px;
}

.home-card h3,
.home-solution-card h3 {
    color: #fff;
    font-family: 'Clash Display', sans-serif;
    font-size: 1.26rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.home-card p,
.home-solution-card p {
    color: #9CA3AF;
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Solution ---------- */
.home-solution-section {
    max-width: 1280px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.home-solution-shell {
    position: relative;
    overflow: hidden;
    padding: 4rem;
    background:
        radial-gradient(circle at 8% 12%, rgba(147, 51, 234, 0.16), transparent 30%),
        linear-gradient(145deg, var(--color-dark-light), var(--color-dark-lighter));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.35rem;
    box-shadow: var(--shadow-xl);
}

.home-solution-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
    pointer-events: none;
}

.home-solution-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-solution-card {
    position: relative;
    padding: 1.5rem;
    min-height: 270px;
    background: rgba(15, 10, 31, 0.42);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.home-step {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    color: rgba(255,255,255,0.18);
    font-family: 'Clash Display', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

/* ---------- Desire ---------- */
.home-desire-section {
    padding-top: 7rem;
}

.home-benefit-grid .home-card {
    min-height: 270px;
}

.home-center-action {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* ---------- Final CTA ---------- */
.home-final-cta {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.home-final-cta::before {
    content: '';
    position: absolute;
    width: 34rem;
    height: 34rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(147,51,234,0.13), transparent 68%);
    pointer-events: none;
}

.home-final-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.home-final-cta .home-eyebrow {
    justify-content: center;
}

/* ---------- RestaurantOS popup ---------- */
.ros-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.ros-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ros-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 4, 16, 0.78);
    backdrop-filter: blur(8px);
}

.ros-popup-dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    width: min(1060px, 100%);
    max-height: min(720px, calc(100vh - 3rem));
    overflow: hidden;
    background: #130d27;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.35rem;
    box-shadow: 0 35px 100px rgba(0,0,0,0.5);
    transform: translateY(16px) scale(0.985);
    transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}

.ros-popup.is-open .ros-popup-dialog {
    transform: translateY(0) scale(1);
}

.ros-popup-close {
    position: absolute;
    z-index: 5;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    background: rgba(15,10,31,0.58);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ros-popup-close:hover {
    background: rgba(147,51,234,0.24);
    border-color: rgba(168,85,247,0.45);
    transform: rotate(4deg);
}

.ros-popup-close svg {
    width: 20px;
    height: 20px;
}

.ros-popup-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3.5rem;
}

.ros-popup-label {
    width: fit-content;
    padding: 0.45rem 0.75rem;
    margin-bottom: 1.35rem;
    background: rgba(147,51,234,0.1);
    border: 1px solid rgba(168,85,247,0.22);
    border-radius: 999px;
    letter-spacing: 0.1em;
}

.ros-popup-question {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ros-popup-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.ros-popup-copy > p:not(.ros-popup-question) {
    color: #a9a3b7;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.ros-popup-cta {
    width: fit-content;
}

.ros-popup-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3rem 2.5rem;
    background:
        radial-gradient(circle at 76% 18%, rgba(168,85,247,0.25), transparent 28%),
        radial-gradient(circle at 20% 82%, rgba(126,34,206,0.22), transparent 30%),
        linear-gradient(145deg, #1a1235, #251542 55%, #150d2c);
}

.ros-popup-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom right, rgba(0,0,0,.8), transparent 85%);
}

.ros-visual-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.6;
}

.ros-visual-glow-one {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -50px;
    background: rgba(147,51,234,0.34);
}

.ros-visual-glow-two {
    width: 180px;
    height: 180px;
    bottom: -70px;
    left: -40px;
    background: rgba(168,85,247,0.18);
}

.ros-product-window {
    position: relative;
    z-index: 2;
    width: min(480px, 100%);
    overflow: hidden;
    background: rgba(14, 9, 29, 0.76);
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 1.15rem;
    box-shadow: 0 28px 80px rgba(0,0,0,0.35);
    backdrop-filter: blur(16px);
    transform: rotate(1.2deg);
}

.ros-product-topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ros-product-dots {
    display: flex;
    gap: 0.32rem;
}

.ros-product-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

.ros-product-name {
    color: rgba(255,255,255,0.84);
    font-size: 0.82rem;
    font-weight: 700;
}

.ros-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #d7c4ea;
    font-size: 0.7rem;
    font-weight: 600;
}

.ros-live-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 0 4px rgba(168,85,247,0.09);
}

.ros-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}

.ros-product-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 74px;
    padding: 0.9rem;
    color: #d8d3e1;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.ros-product-card svg {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    color: #b66df3;
}

.ros-product-card-wide {
    grid-column: 1 / -1;
    min-height: 96px;
    background: linear-gradient(135deg, rgba(147,51,234,0.16), rgba(255,255,255,0.025));
}

.ros-product-card-wide strong,
.ros-product-card-wide small {
    display: block;
}

.ros-product-card-wide strong {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.ros-product-card-wide small {
    color: #9f98ad;
    font-size: 0.72rem;
    font-weight: 500;
}

.ros-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 0.7rem;
    background: rgba(147,51,234,0.16);
}

body.ros-popup-open {
    overflow: hidden;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .home-card-grid-4,
    .home-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ros-popup-dialog {
        grid-template-columns: 1fr 0.9fr;
    }

    .ros-popup-copy {
        padding: 3.25rem 2.5rem;
    }
}

@media (max-width: 780px) {
    .home-section {
        padding: 4.5rem 1rem;
    }

    .home-hero h1 {
        font-size: clamp(2.2rem, 9vw, 3.15rem);
        line-height: 1.09;
    }

    .home-hero-statement {
        max-width: 34rem;
        margin-top: 1rem;
        font-size: clamp(1.3rem, 5.7vw, 1.75rem);
        line-height: 1.28;
    }

    .home-solution-section {
        padding: 1rem;
    }

    .home-solution-shell {
        padding: 2.5rem 1.35rem;
    }

    .home-card-grid-4,
    .home-solution-grid {
        grid-template-columns: 1fr;
    }

    .home-solution-card,
    .home-benefit-grid .home-card {
        min-height: auto;
    }

    .ros-popup {
        align-items: flex-end;
        padding: 0.75rem;
    }

    .ros-popup-dialog {
        display: block;
        max-height: calc(100vh - 1.5rem);
        overflow-y: auto;
        border-radius: 1.15rem;
    }

    .ros-popup-copy {
        padding: 3.25rem 1.4rem 1.75rem;
    }

    .ros-popup-copy h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .ros-popup-visual {
        min-height: auto;
        padding: 1rem 1rem 1.4rem;
        background: linear-gradient(145deg, #1a1235, #21133b);
    }

    .ros-product-window {
        transform: none;
    }
}

@media (max-width: 480px) {
    .home-section-heading h2 {
        font-size: 2rem;
    }

    .home-card {
        padding: 1.4rem;
    }

    .home-hero-actions .btn,
    .home-final-cta .btn-group2 .btn {
        width: 100%;
    }

    .ros-product-grid {
        gap: 0.55rem;
        padding: 0.75rem;
    }

    .ros-product-card {
        min-height: 66px;
        padding: 0.7rem;
        font-size: 0.72rem;
    }

    .ros-popup-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ros-popup,
    .ros-popup-dialog,
    .home-card {
        transition: none;
    }
}

/* =========================================================
   NAVBAR RESTRUCTURE - PATCH 03
   Loaded globally from navbar.html.
   ========================================================= */

.nav-product-link {
    color: rgba(255, 255, 255, 0.92);
}

.nav-product-link:hover {
    color: #ffffff;
}

.nav-product-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 999px;
    background: #a855f7;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12), 0 0 14px rgba(168, 85, 247, 0.5);
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    position: relative;
}

.nav-dropdown-arrow {
    width: 14px !important;
    height: 14px !important;
    margin-left: -2px;
    transition: transform 0.22s ease;
}

.services-nav-dropdown:hover .nav-dropdown-arrow,
.services-nav-dropdown:focus-within .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-services-panel {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    width: 350px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(26, 19, 51, 0.97);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 120;
}

.nav-services-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 22px;
}

.services-nav-dropdown:hover .nav-services-panel,
.services-nav-dropdown:focus-within .nav-services-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-service-item.nav-link {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
}

.nav-service-item.nav-link:hover,
.nav-service-item.nav-link.active {
    color: #ffffff;
    background: rgba(147, 51, 234, 0.12);
}

.nav-service-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(168, 85, 247, 0.22);
    border-radius: 10px;
    background: rgba(147, 51, 234, 0.09);
    color: #c084fc;
}

.nav-service-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.nav-service-item strong,
.nav-service-item small {
    display: block;
}

.nav-service-item strong {
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
}

.nav-service-item small {
    color: #9ca3af;
    font-size: 0.76rem;
    font-weight: 400;
    line-height: 1.35;
}

.mobile-services-dropdown {
    width: 100%;
    max-width: 240px;
}

.mobile-services-dropdown summary {
    list-style: none;
}

.mobile-services-dropdown summary::-webkit-details-marker {
    display: none;
}

.mobile-services-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-services-summary:hover {
    color: #ffffff;
}

.mobile-services-summary.active {
    color: #9333ea;
}

.mobile-services-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-services-label svg {
    width: 20px;
    height: 20px;
}

.mobile-services-arrow {
    transition: transform 0.22s ease;
}

.mobile-services-dropdown[open] .mobile-services-arrow {
    transform: rotate(180deg);
}

.mobile-services-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.mobile-services-list .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
}

.mobile-services-list .nav-link:hover,
.mobile-services-list .nav-link.active {
    color: #ffffff;
    background: rgba(147, 51, 234, 0.12);
}

.mobile-service-all {
    color: #c084fc !important;
    font-weight: 600;
}

@media (min-width: 768px) and (max-width: 1080px) {
    .desktop-nav {
        gap: 14px;
    }

    .desktop-nav .nav-link {
        gap: 6px;
        font-size: 0.9rem;
    }

    .desktop-nav .nav-link > svg:not(.nav-dropdown-arrow) {
        display: none;
    }

    .contact-btn {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 767px) {
    .mobile-nav > .nav-link,
    .mobile-services-dropdown {
        max-width: 240px;
        width: 100%;
    }

    .mobile-nav > .nav-link {
        justify-content: flex-start;
    }
}


/* =========================================================
   ACTIVE NAVIGATION - PATCH 04
   ========================================================= */
.contact-btn.active {
    background-color: #7E22CE;
    box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.42), 0 0 22px rgba(147, 51, 234, 0.22);
}

.mobile-contact button.active {
    background-color: #7E22CE;
    box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.35);
}

/* =========================================================
   RESTAURANTOS PRODUCT PAGE - PATCH 05
   ========================================================= */
.ros-page {
    overflow: hidden;
}

.ros-page-hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
    align-items: center;
    gap: clamp(48px, 6vw, 96px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 150px 32px 95px;
}

.ros-page-hero::before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    top: 2%;
    right: -310px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.18), rgba(147, 51, 234, 0) 68%);
    pointer-events: none;
}

.ros-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #c084fc;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ros-page-kicker span {
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, #9333ea, #c084fc);
}

.ros-page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Clash Display", "Inter", sans-serif;
    font-size: clamp(3.35rem, 5.25vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    background: linear-gradient(135deg, #ffffff 8%, #e9d5ff 55%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ros-page-hero-lead {
    max-width: 700px;
    margin: 30px 0 0;
    color: #d1d5db;
    font-size: clamp(1.04rem, 1.35vw, 1.22rem);
    line-height: 1.75;
}

.ros-page-hero-note {
    max-width: 650px;
    margin: 18px 0 0;
    color: #9ca3af;
    font-size: 0.96rem;
    line-height: 1.65;
}

.ros-page-actions {
    margin-top: 34px;
}

.ros-hero-product {
    position: relative;
    min-width: 0;
}

.ros-hero-orbit {
    position: absolute;
    border: 1px solid rgba(192, 132, 252, 0.14);
    border-radius: 50%;
    pointer-events: none;
}

.ros-hero-orbit-one {
    width: 560px;
    height: 560px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ros-hero-orbit-two {
    width: 690px;
    height: 690px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.55;
}

.ros-hero-window {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(24, 17, 47, 0.96), rgba(10, 8, 24, 0.98));
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42), 0 0 60px rgba(147, 51, 234, 0.09);
    transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.ros-hero-window-top {
    height: 54px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
}

.ros-hero-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #f3e8ff;
    font-size: 0.78rem;
    font-weight: 700;
}

.ros-hero-brand-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.75);
}

.ros-hero-live {
    justify-self: end;
    padding: 5px 8px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 999px;
    color: #86efac;
    background: rgba(34, 197, 94, 0.08);
    font-size: 0.62rem;
    font-weight: 700;
}

.ros-hero-dashboard {
    display: grid;
    grid-template-columns: 58px 1fr;
    min-height: 405px;
}

.ros-hero-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    padding: 18px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.ros-hero-sidebar span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #6b7280;
}

.ros-hero-sidebar span.active {
    color: #d8b4fe;
    background: rgba(147, 51, 234, 0.16);
}

.ros-hero-sidebar svg {
    width: 16px;
    height: 16px;
}

.ros-hero-main {
    padding: 22px;
}

.ros-hero-main-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ros-hero-main-head div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ros-hero-main-head small,
.ros-hero-main-head > span {
    color: #6b7280;
    font-size: 0.66rem;
}

.ros-hero-main-head strong {
    color: #f9fafb;
    font-size: 0.93rem;
}

.ros-hero-main-head > span {
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
}

.ros-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.ros-hero-stats > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 11px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.ros-hero-stats svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #c084fc;
}

.ros-hero-stats span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ros-hero-stats small {
    overflow: hidden;
    color: #6b7280;
    font-size: 0.55rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ros-hero-stats strong {
    color: #f3f4f6;
    font-size: 1rem;
}

.ros-hero-flow-card {
    margin-top: 13px;
    padding: 16px;
    border: 1px solid rgba(192, 132, 252, 0.12);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.075), rgba(255, 255, 255, 0.018));
}

.ros-hero-flow-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 19px;
}

.ros-hero-flow-title strong {
    color: #e5e7eb;
    font-size: 0.72rem;
}

.ros-hero-flow-title span {
    color: #a78bfa;
    font-size: 0.58rem;
}

.ros-hero-flow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.ros-hero-flow-row span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9ca3af;
    font-size: 0.59rem;
}

.ros-hero-flow-row svg {
    width: 12px;
    height: 12px;
    color: #c084fc;
}

.ros-hero-flow-row b {
    color: #4b5563;
    font-weight: 400;
}

.ros-page-section {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 105px 32px;
}

.ros-page-heading {
    max-width: 820px;
    margin: 0 auto 52px;
    text-align: center;
}

.ros-page-heading-left {
    margin: 0;
    text-align: left;
}

.ros-page-heading h2,
.ros-control-copy h2,
.ros-infra-copy h2 {
    margin: 13px 0 16px;
    color: #f9fafb;
    font-family: "Clash Display", "Inter", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.ros-page-heading p,
.ros-control-copy > p,
.ros-infra-copy p {
    margin: 0;
    color: #9ca3af;
    font-size: 1.02rem;
    line-height: 1.75;
}

.ros-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ros-info-card,
.ros-module-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ros-info-card:hover,
.ros-module-card:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 132, 252, 0.24);
    background: rgba(147, 51, 234, 0.045);
}

.ros-info-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(192, 132, 252, 0.18);
    border-radius: 13px;
    color: #c084fc;
    background: rgba(147, 51, 234, 0.09);
}

.ros-info-icon svg {
    width: 21px;
    height: 21px;
}

.ros-info-card h3,
.ros-module-card h3,
.ros-guest-list h3 {
    margin: 0 0 10px;
    color: #f3f4f6;
    font-size: 1.08rem;
}

.ros-info-card p,
.ros-module-card p,
.ros-guest-list p {
    margin: 0;
    color: #8f96a3;
    line-height: 1.68;
}

.ros-connected-section {
    max-width: none;
    padding-left: max(32px, calc((100vw - 1240px) / 2));
    padding-right: max(32px, calc((100vw - 1240px) / 2));
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.025), rgba(147, 51, 234, 0.055), rgba(147, 51, 234, 0.02));
    border-top: 1px solid rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.ros-connected-shell {
    max-width: 1240px;
    margin: 0 auto;
}

.ros-flow-map {
    display: grid;
    grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr 34px 1fr;
    align-items: center;
    gap: 0;
    margin-top: 55px;
}

.ros-flow-item {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 18px;
    background: rgba(13, 10, 29, 0.72);
}

.ros-flow-item > span {
    color: #6b7280;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.ros-flow-item > svg {
    width: 24px;
    height: 24px;
    color: #c084fc;
}

.ros-flow-item div {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ros-flow-item strong {
    color: #f3f4f6;
    font-size: 0.88rem;
}

.ros-flow-item small {
    color: #7d8592;
    font-size: 0.69rem;
    line-height: 1.4;
}

.ros-flow-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(147, 51, 234, 0.25), rgba(192, 132, 252, 0.8), rgba(147, 51, 234, 0.25));
}

.ros-module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ros-module-card {
    min-height: 285px;
}

.ros-module-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(192, 132, 252, 0.38);
    font-family: "Clash Display", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.ros-module-card > svg {
    width: 28px;
    height: 28px;
    margin-bottom: 42px;
    color: #c084fc;
}

.ros-guest-section {
    max-width: none;
    padding-left: max(32px, calc((100vw - 1240px) / 2));
    padding-right: max(32px, calc((100vw - 1240px) / 2));
    background: rgba(255, 255, 255, 0.012);
}

.ros-guest-layout {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 85px;
    align-items: center;
}

.ros-guest-list {
    display: grid;
    gap: 12px;
}

.ros-guest-list article {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.018);
}

.ros-guest-list article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #c084fc;
    background: rgba(147, 51, 234, 0.09);
}

.ros-guest-list article > span svg {
    width: 20px;
    height: 20px;
}

.ros-control-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.ros-control-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.ros-check-list {
    list-style: none;
    display: grid;
    gap: 13px;
    margin: 28px 0 0;
    padding: 0;
}

.ros-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #c7cbd2;
    line-height: 1.55;
}

.ros-check-list svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 3px;
    border-radius: 50%;
    color: #e9d5ff;
    background: rgba(147, 51, 234, 0.18);
}

.ros-control-visual {
    position: relative;
}

.ros-control-visual::before {
    content: "";
    position: absolute;
    inset: 5% 8%;
    filter: blur(60px);
    background: rgba(147, 51, 234, 0.13);
}

.ros-control-panel {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(24, 17, 47, 0.9), rgba(11, 9, 24, 0.96));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.ros-control-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 3px 10px;
    color: #e5e7eb;
    font-size: 0.8rem;
    font-weight: 600;
}

.ros-control-top small {
    color: #7c8390;
    font-weight: 500;
}

.ros-control-status {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.022);
}

.ros-control-status > svg {
    width: 19px;
    height: 19px;
    color: #c084fc;
}

.ros-control-status div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ros-control-status small {
    color: #737b88;
    font-size: 0.66rem;
}

.ros-control-status strong {
    color: #eef0f3;
    font-size: 0.8rem;
}

.ros-control-status > span {
    padding: 6px 8px;
    border-radius: 999px;
    color: #bda4d8;
    background: rgba(147, 51, 234, 0.08);
    font-size: 0.58rem;
}

.ros-infra-section {
    padding-top: 55px;
}

.ros-infra-shell {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 28px;
    padding: 40px;
    border: 1px solid rgba(192, 132, 252, 0.12);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.07), rgba(255, 255, 255, 0.018));
}

.ros-infra-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    grid-row: span 2;
    border: 1px solid rgba(192, 132, 252, 0.17);
    border-radius: 18px;
    color: #d8b4fe;
    background: rgba(147, 51, 234, 0.1);
}

.ros-infra-icon svg {
    width: 28px;
    height: 28px;
}

.ros-infra-copy h2 {
    max-width: 850px;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.ros-infra-tags {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 13px;
}

.ros-infra-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: #b6bbc4;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.72rem;
}

.ros-infra-tags svg {
    width: 13px;
    height: 13px;
    color: #c084fc;
}

.ros-final-cta {
    margin-top: 70px;
}

@media (max-width: 1060px) {
    .ros-page-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 145px;
    }

    .ros-page-hero-copy {
        max-width: 850px;
    }

    .ros-hero-product {
        width: min(760px, 100%);
        margin: 10px auto 0;
    }

    .ros-flow-map {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ros-flow-line {
        width: 1px;
        height: 24px;
        margin-left: 31px;
        background: linear-gradient(180deg, rgba(147,51,234,.25), rgba(192,132,252,.8), rgba(147,51,234,.25));
    }

    .ros-flow-item {
        min-height: 0;
        display: grid;
        grid-template-columns: 42px 30px 1fr;
        align-items: center;
        gap: 12px;
    }

    .ros-flow-item div {
        margin-top: 0;
    }

    .ros-guest-layout,
    .ros-control-shell {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 820px) {
    .ros-page-section {
        padding: 82px 22px;
    }

    .ros-page-hero {
        padding: 128px 22px 75px;
    }

    .ros-page-hero h1 {
        font-size: clamp(2.8rem, 11vw, 4.6rem);
    }

    .ros-problem-grid,
    .ros-module-grid {
        grid-template-columns: 1fr;
    }

    .ros-module-card {
        min-height: 0;
    }

    .ros-module-card > svg {
        margin-bottom: 28px;
    }

    .ros-connected-section,
    .ros-guest-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .ros-infra-shell {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .ros-infra-icon {
        grid-row: auto;
    }

    .ros-infra-tags {
        grid-column: 1;
    }
}

@media (max-width: 620px) {
    .ros-page-hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.7rem);
        line-height: 1.01;
    }

    .ros-page-hero-lead {
        font-size: 1rem;
        line-height: 1.68;
    }

    .ros-page-actions {
        align-items: stretch;
    }

    .ros-page-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .ros-hero-window {
        transform: none;
        border-radius: 18px;
    }

    .ros-hero-window-top {
        grid-template-columns: auto 1fr auto;
    }

    .ros-hero-brand {
        justify-self: center;
    }

    .ros-hero-dashboard {
        grid-template-columns: 44px 1fr;
        min-height: 330px;
    }

    .ros-hero-sidebar {
        padding: 13px 6px;
        gap: 7px;
    }

    .ros-hero-sidebar span {
        width: 29px;
        height: 29px;
    }

    .ros-hero-main {
        padding: 15px;
    }

    .ros-hero-stats {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .ros-hero-stats > div {
        padding: 9px 10px;
    }

    .ros-hero-flow-card {
        padding: 12px;
    }

    .ros-hero-flow-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .ros-hero-flow-row span {
        justify-content: center;
        text-align: center;
        font-size: 0.5rem;
    }

    .ros-hero-flow-row b {
        display: none;
    }

    .ros-page-heading h2,
    .ros-control-copy h2,
    .ros-infra-copy h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .ros-info-card,
    .ros-module-card {
        padding: 24px;
    }

    .ros-guest-list article {
        grid-template-columns: 42px 1fr;
        padding: 16px;
    }

    .ros-guest-list article > span {
        width: 38px;
        height: 38px;
    }

    .ros-control-status {
        grid-template-columns: 30px 1fr;
    }

    .ros-control-status > span {
        grid-column: 2;
        justify-self: start;
    }
}
