@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&display=swap');

.rs-hero-section {
    padding: 30px 0 72px;
    background: #f5f7fb;
    overflow-x: hidden;
}

.rs-hero-section .bv-container {
    width: min(1500px, calc(100% - 34px));
    max-width: 1500px;
}

.rs-hero-card {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(47, 82, 140, .16);
    background:
        radial-gradient(circle at 12% 88%, rgba(95, 55, 160, .40) 0%, rgba(95, 55, 160, 0) 30%),
        radial-gradient(circle at 86% 10%, rgba(41, 112, 196, .28) 0%, rgba(41, 112, 196, 0) 34%),
        linear-gradient(118deg, #0b1431 0%, #0f274d 58%, #17476f 100%);
    box-shadow: 0 24px 60px rgba(17, 33, 58, .16);
    padding: 34px 36px 34px;
}

.rs-hero-grid {
    display: grid;
    grid-template-columns: 25% 75%;
    gap: 24px;
    align-items: center;
}

.rs-hero-copy {
    min-width: 0;
    padding-right: 8px;
}

.rs-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.rs-hero-copy p {
    margin: 16px 0 0;
    color: rgba(232, 239, 248, .84);
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.58;
    max-width: 290px;
}

.rs-hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rs-hero-button {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-family: Poppins, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.rs-hero-button-primary {
    background: #2563eb;
    border: 1px solid #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
}

.rs-hero-button-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.rs-hero-button-secondary {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(215, 228, 244, .30);
    color: #ffffff;
}

.rs-hero-button-secondary:hover {
    border-color: rgba(255,255,255,.68);
    color: #ffffff;
}

.rs-demo-shell {
    min-width: 0;
}

.rs-demo-window {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(141, 168, 205, .22);
    background:
        linear-gradient(135deg, rgba(8, 18, 43, .94) 0%, rgba(10, 31, 67, .94) 55%, rgba(17, 57, 99, .92) 100%);
    box-shadow: 0 18px 44px rgba(0, 9, 26, .20);
}

.rs-demo-browser {
    min-height: 50px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.rs-demo-dots {
    display: flex;
    gap: 6px;
}

.rs-demo-dots span {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: rgba(191, 204, 223, .65);
}

.rs-demo-browser strong {
    color: #f3f7fc;
    font-family: Poppins, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.rs-demo-live {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dbe5f3;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.rs-demo-live span {
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .14);
}

.rs-demo-head {
    min-height: 62px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.rs-demo-head-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.rs-demo-head-copy strong {
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.rs-demo-head-copy span {
    color: rgba(217, 228, 244, .76);
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.rs-demo-badge {
    color: rgba(213, 224, 241, .72);
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.rs-stage {
    height: 415px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 100%, rgba(69, 45, 131, .18) 0%, rgba(69, 45, 131, 0) 28%),
        linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(255,255,255,.01) 100%);
}

.rs-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 18px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.rs-screen.is-active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rs-pos-layout {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) 290px;
    gap: 14px;
}

.rs-pos-left {
    min-width: 0;
}

.rs-category-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rs-category-row span {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: #d5def0;
    font-family: Arial, sans-serif;
    font-size: 10px;
}

.rs-category-row span.is-active {
    border-color: rgba(65, 121, 255, .55);
    background: #2563eb;
    color: #ffffff;
}

.rs-food-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.rs-food-card,
.rs-order-card,
.rs-stat-card,
.rs-data-table,
.rs-ticket-card,
.rs-floor-card,
.rs-report-card,
.rs-report-chart {
    box-shadow: 0 10px 20px rgba(5, 12, 29, .08);
}

.rs-food-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-food-card img {
    width: 100%;
    height: 88px;
    display: block;
    object-fit: cover;
}

.rs-food-card div {
    padding: 8px 9px 9px;
    display: grid;
    gap: 2px;
}

.rs-food-card strong {
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.rs-food-card span {
    color: rgba(220, 231, 247, .82);
    font-family: Arial, sans-serif;
    font-size: 9px;
}

.rs-order-card {
    min-width: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-order-head {
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.rs-order-head div {
    display: grid;
    gap: 2px;
}

.rs-order-head strong {
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.rs-order-head span {
    color: rgba(220, 231, 247, .76);
    font-family: Arial, sans-serif;
    font-size: 9px;
}

.rs-pill-green {
    padding: 5px 8px;
    align-self: flex-start;
    border-radius: 99px;
    background: rgba(34, 197, 94, .16);
    color: #8cf0b4 !important;
    font-size: 8px !important;
}

.rs-order-items {
    padding: 8px 0;
    display: grid;
}

.rs-order-items div {
    min-height: 32px;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.rs-order-items span,
.rs-order-items strong,
.rs-order-items b {
    color: #e9eff8;
    font-family: Arial, sans-serif;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-order-items b {
    color: #ffffff;
}

.rs-order-total {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs-order-total span {
    color: rgba(220, 231, 247, .82);
    font-family: Arial, sans-serif;
    font-size: 10px;
}

.rs-order-total strong {
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.rs-primary-button {
    min-height: 36px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
}

.rs-stat-grid {
    height: 78px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rs-stat-card {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-stat-card span {
    display: block;
    color: rgba(220, 231, 247, .74);
    font-family: Arial, sans-serif;
    font-size: 9px;
}

.rs-stat-card strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
}

.rs-data-table {
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-table-head,
.rs-table-row {
    min-height: 52px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: .8fr 1fr 1fr .7fr;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.rs-table-head.inventory,
.rs-table-row.inventory {
    grid-template-columns: 1.2fr .7fr .8fr .8fr;
}

.rs-table-head {
    min-height: 38px;
    background: rgba(255,255,255,.03);
    color: rgba(219, 229, 244, .65);
    font-family: Arial, sans-serif;
    font-size: 9px;
}

.rs-table-row:last-child {
    border-bottom: 0;
}

.rs-table-row strong,
.rs-table-row span {
    min-width: 0;
    color: #edf3fb;
    font-family: Arial, sans-serif;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-table-row strong {
    color: #ffffff;
}

.rs-status {
    width: fit-content;
    min-height: 24px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    font-family: Arial, sans-serif;
    font-size: 8px !important;
    font-weight: 600;
}

.rs-status.green,
.rs-floor-card span.green {
    background: rgba(34, 197, 94, .16);
    color: #8cf0b4;
}

.rs-status.yellow,
.rs-floor-card span.yellow {
    background: rgba(245, 158, 11, .16);
    color: #f8cb76;
}

.rs-status.blue,
.rs-floor-card span.blue {
    background: rgba(37, 99, 235, .16);
    color: #93b6ff;
}

.rs-ticket-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.rs-ticket-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-ticket-head {
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.rs-ticket-head strong {
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.rs-ticket-head span {
    color: rgba(220, 231, 247, .74);
    font-family: Arial, sans-serif;
    font-size: 9px;
}

.rs-ticket-card p {
    margin: 9px 0 0;
    color: #e9eff8;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.35;
}

.rs-ticket-card .rs-status {
    margin-top: auto;
}

.rs-table-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rs-floor-card {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-floor-card strong {
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.rs-floor-card span {
    width: fit-content;
    padding: 6px 8px;
    border-radius: 99px;
    font-family: Arial, sans-serif;
    font-size: 8px;
}

.rs-report-grid {
    height: 82px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rs-report-card {
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-report-card span {
    display: block;
    color: rgba(220, 231, 247, .74);
    font-family: Arial, sans-serif;
    font-size: 9px;
}

.rs-report-card strong {
    display: block;
    margin-top: 6px;
    color: #ffffff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 19px;
    font-weight: 600;
}

.rs-report-chart {
    height: 236px;
    margin-top: 10px;
    padding: 16px 18px 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(6px);
}

.rs-report-chart span {
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #7aa5ff, #2563eb);
}

.rs-demo-footer {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.rs-progress-dots {
    display: flex;
    gap: 5px;
}

.rs-progress-dots span {
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 20px;
    background: rgba(190, 205, 226, .34);
    transition: width .2s ease, background .2s ease;
}

.rs-progress-dots span.is-active {
    width: 18px;
    background: #4b8bff;
}

@media (max-width: 1200px) {
    .rs-hero-grid {
        grid-template-columns: 30% 70%;
    }

    .rs-hero-copy h1 {
        font-size: 32px;
    }
}

@media (max-width: 980px) {
    .rs-hero-card {
        padding: 26px 24px 26px;
    }

    .rs-hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .rs-hero-copy {
        max-width: 720px;
    }

    .rs-hero-copy p {
        max-width: 560px;
    }

    .rs-demo-shell {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .rs-hero-section {
        padding: 10px 0 34px;
    }

    .rs-hero-section .bv-container {
        width: calc(100% - 12px);
    }

    .rs-hero-card {
        padding: 18px 10px 18px;
        border-radius: 18px;
    }

    .rs-hero-copy {
        padding: 0 4px;
    }

    .rs-hero-copy h1 {
        font-size: 27px;
        line-height: 1.16;
    }

    .rs-hero-copy p {
        margin-top: 10px;
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
    }

    .rs-hero-actions {
        margin-top: 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .rs-hero-button {
        width: 100%;
        min-height: 42px;
        padding: 0 8px;
        font-size: 11px;
    }

    .rs-demo-window {
        border-radius: 12px;
    }

    .rs-demo-browser {
        min-height: 42px;
        padding: 0 10px;
    }

    .rs-demo-browser strong {
        font-size: 10px;
    }

    .rs-demo-live {
        font-size: 8px;
    }

    .rs-demo-head {
        min-height: 50px;
        padding: 0 10px;
    }

    .rs-demo-head-copy strong {
        font-size: 11px;
    }

    .rs-demo-head-copy span,
    .rs-demo-badge {
        font-size: 8px;
    }

    .rs-stage {
        height: 330px;
    }

    .rs-screen {
        padding: 8px;
    }

    .rs-pos-layout {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 5px;
    }

    .rs-category-row {
        gap: 3px;
    }

    .rs-category-row span {
        min-height: 22px;
        padding: 0 4px;
        font-size: 6px;
    }

    .rs-food-grid {
        margin-top: 5px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .rs-food-card img {
        height: 42px;
    }

    .rs-food-card div {
        padding: 4px 5px 5px;
    }

    .rs-food-card strong,
    .rs-food-card span {
        font-size: 6px;
    }

    .rs-order-card {
        padding: 6px;
        border-radius: 7px;
    }

    .rs-order-head strong {
        font-size: 8px;
    }

    .rs-order-head span {
        font-size: 5px;
    }

    .rs-pill-green {
        display: none;
    }

    .rs-order-items div {
        min-height: 24px;
        grid-template-columns: 8px minmax(0, 1fr) auto;
        gap: 2px;
    }

    .rs-order-items span,
    .rs-order-items strong,
    .rs-order-items b {
        font-size: 5px;
    }

    .rs-order-total span {
        font-size: 6px;
    }

    .rs-order-total strong {
        font-size: 9px;
    }

    .rs-primary-button {
        min-height: 26px;
        font-size: 6px;
    }

    .rs-stat-grid {
        height: 61px;
        gap: 4px;
    }

    .rs-stat-card {
        padding: 6px;
        border-radius: 7px;
    }

    .rs-stat-card span {
        font-size: 5px;
    }

    .rs-stat-card strong {
        margin-top: 3px;
        font-size: 13px;
    }

    .rs-data-table {
        margin-top: 5px;
        border-radius: 7px;
    }

    .rs-table-head,
    .rs-table-row {
        min-height: 39px;
        padding: 0 6px;
        gap: 3px;
    }

    .rs-table-head {
        min-height: 28px;
        font-size: 5px;
    }

    .rs-table-row strong,
    .rs-table-row span,
    .rs-status {
        font-size: 6px !important;
    }

    .rs-ticket-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .rs-ticket-card {
        padding: 7px;
        border-radius: 7px;
    }

    .rs-ticket-head {
        padding-bottom: 4px;
    }

    .rs-ticket-head strong {
        font-size: 7px;
    }

    .rs-ticket-head span {
        font-size: 5px;
    }

    .rs-ticket-card p {
        margin: 4px 8px 0 0;
        display: inline;
        font-size: 5px;
    }

    .rs-table-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }

    .rs-floor-card {
        padding: 7px;
        border-radius: 7px;
    }

    .rs-floor-card strong {
        font-size: 7px;
    }

    .rs-floor-card span {
        padding: 4px 5px;
        font-size: 5px;
    }

    .rs-report-grid {
        height: 106px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 4px;
    }

    .rs-report-card {
        padding: 6px;
        border-radius: 7px;
    }

    .rs-report-card span {
        font-size: 5px;
    }

    .rs-report-card strong {
        margin-top: 3px;
        font-size: 11px;
    }

    .rs-report-chart {
        height: 178px;
        margin-top: 5px;
        padding: 8px 7px 0;
        gap: 4px;
        border-radius: 7px;
    }

    .rs-demo-footer {
        min-height: 34px;
    }
}

@media (max-width: 390px) {
    .rs-hero-copy h1 {
        font-size: 24px;
    }

    .rs-stage {
        height: 308px;
    }

    .rs-pos-layout {
        grid-template-columns: minmax(0, 1fr) 100px;
    }

    .rs-hero-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-screen {
        transition: none;
    }
}
