:root {
    --primary-purple: #481e5d;
    --primary-purple-hover: #2d113a;
    --primary-metallic: linear-gradient(135deg, #481e5d 0%, #2a1136 50%, #1c0926 100%);
    --light-purple: #f4f2f7;
    --grey-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
}
body.loading-state {
    overflow: hidden;
}
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader-hide {
    transform: translateY(-100%);
}
.logo-move-up {
    transform: translateY(-50px) scale(0.9);
    transition: transform 0.6s ease;
}
.text-purple { color: var(--primary-purple) !important; }
.bg-purple { background: var(--primary-metallic); color: #ffffff; }
.bg-light-purple { background-color: var(--light-purple); }

.bg-dynamic, .bg-dynamic-2, .bg-dynamic-3 {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    color: #ffffff;
}
.bg-dynamic { background-image: url('../assets/bg1.png'); }
.bg-dynamic-2 { background-image: url('../assets/bg1.png'); }
.bg-dynamic-3 { background-image: url('../assets/bg1.png'); }

.bg-dynamic::before, .bg-dynamic-2::before, .bg-dynamic-3::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
}
.bg-dynamic::before { background: linear-gradient(135deg, rgba(72,30,93,0.4) 0%, rgba(28,9,38,0.4) 100%); }
.bg-dynamic-2::before { background: linear-gradient(135deg, rgba(45,17,58,0.95) 0%, rgba(10,3,15,0.95) 100%); }
.bg-dynamic-3::before { background: linear-gradient(135deg, rgba(72,30,93,0.9) 0%, rgba(0,0,0,0.95) 100%); }

.bg-dynamic .text-muted, .bg-dynamic-2 .text-muted, .bg-dynamic-3 .text-muted { color: #d1c8d6 !important; }

.bg-dynamic .card-service, .bg-dynamic-3 .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.bg-dynamic .card-service:hover, .bg-dynamic-3 .pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-video-wrapper {
    position: relative;
    padding: 140px 0 80px;
    background-color: #6f5d6e;
    overflow: hidden;
    color: #ffffff;
    z-index: 1;
}
.hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    opacity: 0.5;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(28,9,38,0.85) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}
.btn-purple {
    background: var(--primary-metallic);
    color: #ffffff;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}
.btn-purple:hover {
    background: linear-gradient(135deg, #2d113a 0%, #0a030f 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72,30,93,0.4);
}
.btn-outline-purple {
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 8px;
    padding: 9px 23px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}
.btn-outline-purple:hover {
    background: var(--primary-metallic);
    color: #ffffff;
    border-color: transparent;
}
.bg-dynamic .btn-outline-purple, .bg-dynamic-3 .btn-outline-purple {
    border-color: rgba(255,255,255,0.5);
    color: #ffffff;
}
.bg-dynamic .btn-outline-purple:hover, .bg-dynamic-3 .btn-outline-purple:hover {
    background: #ffffff;
    color: var(--primary-dark);
}
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out;
}
.nav-hidden {
    transform: translateY(-100%);
}
.navbar-brand img { height: 40px; }
.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}
.nav-link:hover { color: var(--primary-purple); }
.client-slider {
    overflow: hidden;
    padding: 30px 0;
    background: #ffffff;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
}
.client-track {
    display: inline-block;
    animation: scroll 30s linear infinite;
}
.client-track img {
    height: 40px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.client-track img:hover {
    filter: grayscale(0);
    opacity: 1;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.dynamic-text-section {
    padding: 100px 0;
    text-align: center;
}
.dynamic-text-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
}
.text-rotator {
    display: inline-block;
    color: #ffffff;
    border-bottom: 3px solid #ffffff;
    padding-bottom: 5px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.card-service {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.card-service:hover {
    box-shadow: var(--grey-shadow);
    transform: translateY(-5px);
    border-color: var(--primary-purple);
}
.service-icon {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
    background: var(--light-purple);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.bg-dynamic .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.card-target {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card-target:hover {
    box-shadow: var(--grey-shadow);
    border-color: var(--primary-purple);
    transform: translateY(-3px);
}
.card-target img {
    height: 45px;
    margin-bottom: 15px;
}
.gallery-carousel img {
    border-radius: 12px;
    height: 250px;
    object-fit: cover;
    width: 100%;
}
.workflow-step {
    text-align: center;
    position: relative;
    padding: 20px;
}
.workflow-icon {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    font-weight: bold;
}
.bg-dynamic-2 .workflow-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.workflow-line {
    position: absolute;
    top: 55px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}
.bg-dynamic-2 .workflow-line {
    background: rgba(255, 255, 255, 0.2);
}
.portfolio-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    background: #ffffff;
}
.portfolio-card:hover {
    box-shadow: var(--grey-shadow);
}
.portfolio-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.pricing-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 40px 20px;
    background: #ffffff;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    box-shadow: var(--grey-shadow);
    border-color: var(--primary-purple);
}
.pricing-card.popular {
    background: var(--primary-metallic);
    color: #ffffff;
    border-color: transparent;
}
.pricing-card.popular .text-muted {
    color: #d1c8d6 !important;
}
.bg-dynamic-3 .pricing-card.popular {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}
.accordion-button:not(.collapsed) {
    background-color: var(--light-purple);
    color: var(--primary-purple);
    font-weight: 700;
}
.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.125);
}
.accordion-item {
    border: 1px solid #eaeaea;
    margin-bottom: 15px;
    border-radius: 8px !important;
    overflow: hidden;
}
.modal-koran .modal-content {
    background: #faf9f5;
    border-radius: 0;
    border: none;
    color: #111;
}
.modal-koran .modal-header {
    border-bottom: 4px double #111;
    border-radius: 0;
    justify-content: center;
    padding: 30px 20px;
}
.modal-koran .modal-footer {
    border-top: 1px solid #ddd;
    border-radius: 0;
}
.modal-koran .modal-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.5rem;
    font-weight: bold;
}
.newsletter-section {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(28,9,38,0.95) 0%, rgba(0,0,0,0.9) 100%);
}
.newsletter-content {
    position: relative;
    z-index: 2;
}
.cta-huge {
    padding: 100px 0;
    background: var(--primary-metallic);
    color: #ffffff;
    text-align: center;
}
.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}
.wa-bubble {
    background: #ffffff;
    color: var(--text-dark);
    padding: 12px 18px;
    border-radius: 20px 20px 0 20px;
    box-shadow: var(--grey-shadow);
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 1;
    transition: opacity 0.4s ease;
    max-width: 250px;
    border: 1px solid #eaeaea;
}
.wa-person {
    width: 75px;
    height: 75px;
    background: #25D366;
    border-radius: 50%;
    padding: 5px;
    box-shadow: var(--grey-shadow);
    transition: transform 0.3s;
    object-fit: cover;
}
.wa-person:hover {
    transform: scale(1.1);
}
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 1049;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.promo-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    z-index: 1050;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.promo-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.popup-overlay.show {
    display: block;
    opacity: 1;
}
.btn-close-promo {
    position: absolute;
    top: 15px; right: 15px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    width: 30px; height: 30px;
    font-size: 1.2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--grey-shadow);
    height: 100%;
    border: 1px solid #eaeaea;
}
.contact-icon-box {
    width: 50px;
    height: 50px;
    background: var(--light-purple);
    color: var(--primary-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .workflow-line { display: none; }
    .hero-video-wrapper { text-align: center; padding: 100px 0 40px; }
    .hero-video-wrapper .d-flex { justify-content: center; }
    .wa-person { width: 60px; height: 60px; }
    .wa-bubble { font-size: 0.8rem; padding: 10px 15px; margin-bottom: 8px; }
    .dynamic-text-section h2 { font-size: 1.8rem; }
    .pricing-scroll-wrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        justify-content: flex-start !important;
        scroll-padding-left: 15px;
    }
    .pricing-scroll-wrapper::-webkit-scrollbar {
        height: 4px;
    }
    .pricing-scroll-wrapper::-webkit-scrollbar-thumb {
        background-color: #d1c8d6;
        border-radius: 10px;
    }
    .pricing-scroll-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

.navbar-toggler {
    border: none !important;
}
.navbar-toggler:focus, .navbar-toggler:active {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2872, 30, 93, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}