:root {
    --bs-danger: #FC5A46;
    --bs-danger-rgb: 252, 90, 70;
    --bs-danger-text-emphasis: #c54433;
    --bs-danger-bg-subtle: #feece9;
    --bs-danger-border-subtle: #fdd8d3;
}

body {
    background-color: #f5f2f0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 600 !important;
}

.bg-gradient-laravel {
    background: linear-gradient(45deg, #162456, #c800de);
}

.hero-bg-pattern {
    background-color: #f5f2f0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
}

.hero-with-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../assets/img/hero-cover.jpg') center/cover no-repeat;
    position: relative;
}

.hero-with-bg h1,
.hero-with-bg p,
.hero-with-bg .text-danger {
    color: white !important;
}

/* Highlight style for "berbahasa Melayu" */
.highlight-melayu {
    background: linear-gradient(135deg, #ff2d20, #ff4d3d);
    color: white !important;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 45, 32, 0.3);
    display: inline-block;
}

.bg-gradient-lamp {
    background: linear-gradient(to bottom right, #3b82f6, #a855f7);
}

.bg-gradient-pro-tip {
    background: linear-gradient(45deg, #2b32b2, #1488cc);
}

.bg-gradient-bonuses {
    background: linear-gradient(to right, #22c55e, #10b981);
}

.feature-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #ff2d20;
    border-radius: 9999px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.timeline {
    position: relative;
    padding-left: 4rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-icon {
    position: absolute;
    left: -4rem;
    top: 0;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #ff2d20;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.timeline-line {
    position: absolute;
    left: calc(-4rem + 2.5rem - 1px);
    top: 5rem;
    bottom: -3rem;
    width: 2px;
    background-color: rgba(255, 45, 32, 0.3);
}

.hover-scale {
    transition: transform 0.3s;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.content-container {
    max-width: 950px;
}

.footer-dark-card {
    background-color: #0a0a14;
    border-radius: 1rem;
}

.bg-methods-section {
    background-color: #fcfbfa;
}

.method-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
}

.method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #ef4444;
    /* red-500 */
    border-radius: 0.75rem;
}

.method-icon i {
    font-size: 2rem;
    color: white;
}

.logo-item {
    text-align: center;
    padding: 0.5rem 1rem;
}

.logo-item .logo-img {
    height: 40px;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease-in-out;
}

.logo-item:hover .logo-img {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

.logo-item p {
    margin-top: 0.5rem;
    font-size: 0.875em;
    color: #6c757d;
    /* text-muted */
    transition: all 0.3s ease-in-out;
    font-weight: 400;
}

.logo-item:hover p {
    color: #212529;
    font-weight: 600;
}

/* TALL Stack Icons Hover Effect */
.tall-icon {
    transition: transform 0.3s ease-in-out;
}

.tall-icon:hover {
    transform: scale(1.2);
}

/* Marquee Styles */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 0;
    margin: 0 20px;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 40px;
    min-width: 120px;
    flex-shrink: 0;
}

.marquee-logo {
    height: 40px;
    width: 40px;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease-in-out;
    margin-bottom: 8px;
}

.marquee-item:hover .marquee-logo {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

.marquee-text {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.marquee-item:hover .marquee-text {
    color: #212529;
    font-weight: 600;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.list-container .list-item {
    display: flex;
    align-items: baseline;
    padding: 0.25rem 0;
}

.list-container .arrow {
    color: var(--bs-danger);
    margin-right: 0.75rem;
    font-weight: 600;
}

.btn-custom-red {
    background-color: #ff2d20;
    border-color: #ff2d20;
    color: #fff;
}

.btn-custom-red:hover {
    background-color: #e62818;
    border-color: #d92616;
    color: #fff;
}

/* Transparent Navigation */
.navbar-transparent {
    background-color: transparent !important;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* White Navigation on Scroll */
.navbar-scrolled {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 !important;
    border-radius: 0 !important;
    left: 0;
    right: 0;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%) !important;
}

/* Full Screen Hero */
.hero-fullscreen {
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Header spacing for mobile */
    header.sticky-top {
        padding-top: 0.5rem;
    }

    /* Navigation responsive */
    .navbar-transparent {
        margin: 0.5rem 1rem !important;
        padding: 0.75rem 1rem !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        border-radius: 0.75rem !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Ensure navbar scrolled state works on mobile */
    .navbar-scrolled {
        margin: 0 !important;
        border-radius: 0 !important;
        background-color: white !important;
    }

    /* Hero adjustments for mobile */
    .hero-fullscreen {
        min-height: 80vh;
        padding: 2rem 0;
        padding-top: 1rem;
    }

    /* Typography responsive */
    .display-3 {
        font-size: 2.5rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    /* Bonus section images responsive */
    .bonus-image-mobile {
        width: 100px !important;
        height: 100px !important;
    }

    /* Method cards responsive */
    .method-card {
        flex-direction: column;
        text-align: center;
    }

    .method-card .me-4 {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    /* Logo section responsive */
    .logo-item {
        padding: 0.25rem 0.5rem;
    }

    .logo-item .logo-img {
        height: 30px;
    }
}

@media (max-width: 576px) {

    /* Extra small devices */
    .display-3 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Card spacing */
    .card-body {
        padding: 1.5rem !important;
    }
}

/* FAQ Accordion Styles */
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.5rem !important;
    box-shadow: none;
    background-color: #fff;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #dc3545;
    border: none;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dc3545'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-body {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Timeline Tab Button Styles */
#timeline-tab .nav-link {
    background-color: transparent;
    border: 2px solid #FC5A46;
    color: #212529;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

#timeline-tab .nav-link:hover {
    background-color: #FC5A46;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(252, 90, 70, 0.3);
}

#timeline-tab .nav-link.active {
    background-color: #FC5A46;
    border-color: #FC5A46;
    color: #212529;
    box-shadow: 0 4px 12px rgba(252, 90, 70, 0.4);
}

#timeline-tab .nav-link.active:hover {
    background-color: #FC5A46;
    color: #212529;
}

.pricing-divider {
    margin-top: 70px;
}

@media only screen and (min-width: 992px) {
    .pricing-divider {
        border-left: 1px solid #999;
        margin-top: 23px;
    }
}