:root {
    --sienar-blue-soft: #8bb7ff;
    --sienar-blue-soft-dark: #5d8fe6;
    --sienar-mint: #a3f0d1;
    --sienar-mint-soft: #d1f8e7;
    --sienar-purple-soft: #c6b5ff;
    --sienar-purple-deep: #8b6cff;
    --sienar-bg: #f7fbff;
    --sienar-white: #ffffff;
    --sienar-text-dark: #243144;
    --sienar-text-muted: #6c7a92;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--sienar-bg);
    color: var(--sienar-text-dark);
    padding-top: 70px;
}

.sienar-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.sienar-logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sienar-blue-soft), var(--sienar-purple-soft));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
    margin-inline: 0.25rem;
    color: var(--sienar-text-muted);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--sienar-text-dark);
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(203, 222, 255, 0.6);
    box-shadow: 0 10px 30px rgba(15, 40, 87, 0.1);
}

.dropdown-item {
    font-size: 0.9rem;
    color: var(--sienar-text-muted);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(139, 183, 255, 0.1);
    color: var(--sienar-text-dark);
}

.btn-sienar {
    background: linear-gradient(135deg, var(--sienar-blue-soft-dark), var(--sienar-purple-deep));
    border: none;
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(93, 143, 230, 0.35);
}

.btn-sienar:hover {
    opacity: 0.96;
    color: #fff;
}

.btn-soft {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.sienar-hero {
    min-height: calc(100vh - 70px);
    background: radial-gradient(circle at 10% 0, var(--sienar-mint-soft) 0, transparent 55%),
                radial-gradient(circle at 90% 10%, var(--sienar-purple-soft) 0, transparent 55%),
                linear-gradient(180deg, #fafdff 0, #eef5ff 100%);
}

.sienar-gradient-text {
    background: linear-gradient(135deg, var(--sienar-blue-soft-dark), var(--sienar-purple-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sienar-hero-card {
    background: var(--sienar-white);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(83, 119, 179, 0.25);
    position: relative;
    overflow: hidden;
}

.sienar-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(163, 240, 209, 0.25), transparent 55%);
    pointer-events: none;
}

.sienar-hero-badge {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(203, 222, 255, 0.9);
    color: #274174;
    display: inline-flex;
    align-items: center;
    z-index: 2;
}

.sienar-hero-body {
    position: relative;
    z-index: 1;
}

.mini-card {
    background: #f6f8ff;
    border-radius: 14px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.mini-label {
    font-size: 0.7rem;
    color: var(--sienar-text-muted);
}

.mini-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sienar-text-dark);
}

.sienar-progress {
    background: #e3ebff;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.sienar-progress .progress-bar {
    background: linear-gradient(90deg, var(--sienar-mint), var(--sienar-blue-soft-dark));
}

.sienar-section-bg {
    background: linear-gradient(180deg, #f8fbff 0, #ffffff 100%);
}

.sienar-card {
    background: var(--sienar-white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 40, 87, 0.06);
    border: 1px solid rgba(203, 222, 255, 0.6);
}

.icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.sienar-icon-blue {
    background: rgba(139, 183, 255, 0.18);
    color: #335ea8;
}

.sienar-icon-mint {
    background: rgba(163, 240, 209, 0.2);
    color: #208c5e;
}

.sienar-icon-purple {
    background: rgba(198, 181, 255, 0.2);
    color: #5e44c6;
}

.sienar-feature-list li {
    font-size: 0.95rem;
    color: var(--sienar-text-muted);
    margin-bottom: 0.4rem;
}

.sienar-feature-list i {
    color: var(--sienar-purple-deep);
    font-size: 0.9rem;
}

.sienar-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sienar-feature-box {
    background: #f5f7ff;
    border-radius: 18px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(203, 222, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sienar-feature-box .label {
    font-size: 0.75rem;
    color: var(--sienar-text-muted);
}

.sienar-feature-box .value {
    font-weight: 600;
    font-size: 0.95rem;
}

.sienar-timeline {
    position: relative;
}

.sienar-timeline::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--sienar-mint), var(--sienar-purple-soft));
    opacity: 0.4;
}

@media (max-width: 767.98px) {
    .sienar-timeline::before {
        display: none;
    }
}

.timeline-step {
    text-align: center;
}

.timeline-step .circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #274174;
    background: #fff;
    border: 2px solid rgba(160, 199, 255, 0.9);
    box-shadow: 0 6px 16px rgba(68, 101, 170, 0.2);
}

.sienar-badge-soft {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    color: var(--sienar-text-muted);
    border: 1px solid rgba(203, 222, 255, 0.9);
}

.sienar-footer {
    background: #f5f8ff;
    border-top: 1px solid rgba(203, 222, 255, 0.8);
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: #d6def0;
    font-size: 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sienar-blue-soft-dark);
    box-shadow: 0 0 0 0.15rem rgba(93, 143, 230, 0.25);
}

/* Hero Illustration Styles */
.hero-illustration-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Circles */
.illustration-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatSlow 10s ease-in-out infinite;
}

.circle-bg-1 {
    width: 200px;
    height: 200px;
    background: var(--sienar-purple-soft);
    top: 5%;
    right: 10%;
    animation-delay: 0s;
}

.circle-bg-2 {
    width: 150px;
    height: 150px;
    background: var(--sienar-mint);
    bottom: 15%;
    left: 5%;
    animation-delay: 3s;
}

.circle-bg-3 {
    width: 100px;
    height: 100px;
    background: var(--sienar-blue-soft);
    top: 40%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Main Illustration Card */
.hero-illustration-card {
    position: relative;
    width: 450px;
    height: 400px;
    background: var(--sienar-white);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(83, 119, 179, 0.2);
    overflow: hidden;
}

.hero-illustration-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(198, 181, 255, 0.15), transparent 50%);
    pointer-events: none;
}

/* Medical Equipment */
.medical-equipment {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.equipment-screen {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    border: 3px solid var(--sienar-blue-soft);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 20px rgba(139, 183, 255, 0.3);
}

.screen-line {
    height: 3px;
    background: var(--sienar-blue-soft-dark);
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

.screen-line:nth-child(2) {
    width: 70%;
    animation-delay: 0.3s;
}

.screen-line:nth-child(3) {
    width: 50%;
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.equipment-base {
    width: 60px;
    height: 40px;
    background: var(--sienar-white);
    border: 3px solid var(--sienar-blue-soft);
    border-radius: 6px;
    margin: 8px auto 0;
}

/* Characters */
.character {
    position: absolute;
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.character-head {
    width: 50px;
    height: 50px;
    background: #ffcc99;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.character-face {
    width: 30px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    bottom: 15px;
    left: 10px;
}

.character-body {
    width: 70px;
    height: 90px;
    border-radius: 12px;
    margin-top: 5px;
    position: relative;
}

/* Doctor */
.doctor-character {
    bottom: 90px;
    left: 80px;
    z-index: 2;
    animation-delay: 0s;
}

.doctor-coat {
    background: linear-gradient(135deg, var(--sienar-white) 0%, #f0f4f8 100%);
    border: 2px solid var(--sienar-blue-soft);
}

.stethoscope {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--sienar-purple-deep);
    border-radius: 50%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.stethoscope::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 25px;
    background: var(--sienar-purple-deep);
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

/* Patient */
.patient-character {
    bottom: 90px;
    right: 100px;
    z-index: 2;
    animation-delay: 1s;
}

.patient-gown {
    background: linear-gradient(135deg, var(--sienar-mint-soft) 0%, #e0f7f0 100%);
    border: 2px solid var(--sienar-mint);
}

/* Character Arms */
.character-arm {
    width: 12px;
    height: 50px;
    background: #ffcc99;
    border-radius: 12px;
    position: absolute;
    top: 60px;
}

.arm-left {
    left: -5px;
    transform: rotate(-10deg);
}

.arm-right {
    right: -5px;
    transform: rotate(10deg);
}

/* Medical Bed */
.medical-bed {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.bed-surface {
    width: 220px;
    height: 18px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 10px;
    border: 2px solid var(--sienar-purple-soft);
}

.bed-leg {
    width: 10px;
    height: 35px;
    background: var(--sienar-purple-soft);
    border-radius: 5px;
    margin: 0 auto;
}

/* Floating Icons */
.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--sienar-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

.icon-1 {
    top: 15px;
    left: 15px;
    color: var(--sienar-purple-deep);
    animation-delay: 0s;
}

.icon-2 {
    top: 15px;
    right: 15px;
    color: var(--sienar-mint);
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--sienar-blue-soft-dark);
    animation-delay: 2s;
}

.icon-3.floating-icon {
    animation: floatIcon3 3s ease-in-out infinite;
}

@keyframes floatIcon3 {
    0%, 100% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-15px) rotate(5deg);
    }
}

/* Info Cards */
.info-cards-wrapper {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 5;
}

.info-card {
    background: var(--sienar-white);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sienar-text-dark);
    border: 1px solid rgba(203, 222, 255, 0.6);
    animation: slideUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card-1 {
    animation-delay: 0.3s;
    transform: translateY(20px);
}

.info-card-2 {
    animation-delay: 0.5s;
    transform: translateY(20px);
}

.info-card i {
    font-size: 1.2rem;
    color: var(--sienar-purple-deep);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-illustration-wrapper {
        height: 450px;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .hero-illustration-card {
        width: 100%;
        max-width: 400px;
        height: 350px;
    }

    .info-cards-wrapper {
        gap: 0.5rem;
        bottom: -60px;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-illustration-wrapper {
        height: 480px;
        margin-bottom: 5rem;
    }

    .hero-illustration-card {
        max-width: 280px;
        height: 320px;
        padding: 1rem;
    }

    /* Scale down characters */
    .doctor-character,
    .patient-character {
        transform: scale(0.65);
    }

    .doctor-character {
        left: 15px;
        bottom: 85px;
    }

    .patient-character {
        right: 35px;
        bottom: 85px;
    }

    .character-head {
        width: 45px;
        height: 45px;
    }

    .character-body {
        width: 60px;
        height: 80px;
    }

    .character-arm {
        width: 10px;
        height: 45px;
    }

    /* Medical Equipment - posisikan di atas tengah */
    .medical-equipment {
        transform: scale(0.65);
        top: 20px;
        right: auto;
        left: 50%;
        margin-left: -40px;
    }

    /* Medical Bed */
    .medical-bed {
        bottom: 55px;
    }

    .bed-surface {
        width: 140px;
        height: 12px;
    }

    .bed-leg {
        width: 6px;
        height: 25px;
    }

    /* Floating Icons - reposisi agar tidak menimpa */
    .floating-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .icon-1 {
        top: 10px;
        left: 10px;
    }

    .icon-2 {
        top: 10px;
        right: 10px;
    }

    .icon-3 {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Info Cards */
    .info-cards-wrapper {
        bottom: -80px;
        flex-direction: column;
        gap: 0.5rem;
        width: 95%;
        max-width: 280px;
    }

    .info-card {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
        width: 100%;
        justify-content: center;
        white-space: nowrap;
    }

    .info-card i {
        font-size: 0.9rem;
    }

    .info-card span {
        font-size: 0.7rem;
    }
}
