/* ===================================
   Landing Page Custom Styles
   =================================== */

:root {
    --brand-primary: #5e72e4;
    --brand-accent: #FFCC00;
    --brand-grad: linear-gradient(87deg, #5e72e4 0, #825ee4 100%);
    --brand-grad-soft: linear-gradient(87deg, rgba(94, 114, 228, 0.05) 0, rgba(130, 94, 228, 0.05) 100%);
}

/* Gradient Text */
.gradient-text {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.jarallax {
    position: relative;
    z-index: 0;
}

.jarallax-img {
    position: absolute;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

/* Brand Thumb - Image Container */
.brand-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

.brand-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.brand-thumb:hover img {
    transform: scale(1.05);
}

/* Ratio - Maintain aspect ratio */
.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 الافتراضي */
}

.ratio.ratio-4x3::before {
    padding-top: 75%;
}

.ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Shadow Soft */
.shadow-soft {
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1) !important;
}

/* Lift Effect */
.lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.75rem 3rem rgba(0, 0, 0, 0.45);
}

/* Hero Phone */
.hero-phone {
    position: relative;
}

.qr-floating {
    bottom: -12px;
    left: -12px;
    border-radius: 0.75rem;
}

.rounded-xl {
    border-radius: 1.25rem;
}

.shadow-xl {
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.35);
}

/* Background */
.bg-brand-soft {
    background: var(--brand-grad-soft) !important;
}

/* Pricing Section */
.pricing-section {
    background: var(--brand-grad);
    padding: 6rem 0;
}

.plan-card {
    background: #fff !important;
    border-radius: 1rem !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.25) !important;
}

.plan-card-header {
    background: linear-gradient(87deg, rgba(94, 114, 228, 0.05) 0, rgba(130, 94, 228, 0.05) 100%);
    padding: 2rem;
}

.plan-price-wrap {
    display: flex;
    align-items: flex-end;
}

.plan-price-wrap .currency {
    margin-right: 0.5rem;
}

.plan-price-wrap .price-amount {
    font-weight: 700;
    color: var(--brand-primary);
}

.plan-price-wrap .period {
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-check {
    color: var(--brand-primary);
}

.btn-cta {
    background: var(--brand-grad) !important;
    color: #fff !important;
    border: none !important;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
}

.footer-heading {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-text {
    line-height: 1.7;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-element {
    text-align: center;
}

.loader-animated-dot {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 0.3rem solid #f3f3f3;
    border-top: 0.3rem solid var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar Sticky */
.navbar.sticky-top {
    transition: all 0.3s ease;
}

.navbar.sticky-top.navbar-scrolled {
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-phone {
        max-width: 320px !important;
    }
    
    .qr-floating {
        display: none;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .section-lg {
        padding: 3rem 0 !important;
    }
    
    .py-7 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Card Hover Effect */
.card.hover-zoom {
    transition: transform 0.25s ease;
}

.card.hover-zoom:hover {
    transform: scale(1.02);
}

/* FAQ Accordion */
#faqAccordion .card {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#faqAccordion .btn-link {
    text-decoration: none;
    color: #212529;
    padding: 1rem 0;
}

#faqAccordion .btn-link:hover {
    color: var(--brand-primary);
}

#faqAccordion .btn-link i {
    color: var(--brand-primary);
}

/* Simple List */
.simple-list {
    list-style: none;
    padding-right: 0;
}

.simple-list .list-group-item {
    padding: 0.75rem 0;
    background: transparent;
}

