/* Custom Advanced Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Base Landing Styling */
.landing-page .main-content {
    padding: 0 !important;
    overflow-x: hidden;
}

/* Rak-Mrigle Brand Utilities */
.text-accent { color: var(--brand-accent, #D97706) !important; }
.bg-accent { background-color: var(--brand-accent, #D97706) !important; }
.bg-dark-blue { background-color: var(--brand-dark, #0F172A) !important; }
.bg-light-grey { background-color: var(--brand-light, #F5F5F5) !important; }
.bg-accent-soft { background-color: rgba(217, 119, 6, 0.05) !important; }
.text-dark-blue { color: var(--brand-dark, #0F172A) !important; }

/* Buttons */
.btn-accent {
    background-color: var(--brand-accent, #D97706);
    color: white;
    border: none;
}
.btn-accent:hover {
    background-color: #B45309;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
}

.btn-dark-blue {
    background-color: var(--brand-dark, #0F172A);
    color: white;
    border: none;
}
.btn-dark-blue:hover {
    background-color: #1E293B;
    color: white;
    transform: translateY(-3px);
}

.btn-outline-dark-blue {
    color: var(--brand-dark, #0F172A);
    border: 2px solid var(--brand-dark, #0F172A);
}
.btn-outline-dark-blue:hover {
    background-color: var(--brand-dark, #0F172A);
    color: white;
}

.btn-outline-white {
    color: white;
    border: 2px solid white;
}
.btn-outline-white:hover {
    background-color: white;
    color: var(--brand-accent, #D97706);
}

/* 1. Hero Section */
.custom-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0;
}

.hero-accent-shape {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--brand-accent, #D97706) 0%, #FBBF24 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morph 8s ease-in-out infinite;
    position: relative;
}

.hero-accent-shape i {
    animation: float 6s ease-in-out infinite;
}

/* 2. Service Grid */
.accent-bar {
    width: 80px;
    height: 5px;
    background: var(--brand-accent, #D97706);
}

.service-card {
    background: white;
    transition: all 0.3s ease;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1) !important;
}

.accent-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: var(--brand-accent, #D97706);
    transition: width 0.3s ease;
}

.service-card:hover .accent-top-bar {
    width: 100%;
}

.service-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

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

/* 3. Pricing & Value Premium Design */
.premium-stat-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.premium-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(217, 119, 6, 0.4) !important;
}

.stat-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.2; /* Higher default visibility */
}

.logic-card {
    transition: all 0.3s ease;
    border-left: 3px solid transparent !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logic-card:hover {
    border-left-color: var(--brand-accent, #D97706) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.logic-icon-box {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logic-card:hover .logic-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.stats-premium-grid .display-4 {
    letter-spacing: -2px;
}

.bg-dark-blue {
    background-color: #0F172A !important;
}

/* RTL Stat Border Adjustment */
[dir="rtl"] .logic-card {
    border-left: none !important;
    border-right: 3px solid transparent !important;
}

[dir="rtl"] .logic-card:hover {
    border-right-color: var(--brand-accent, #D97706) !important;
}

/* 4. Steps Modern */
.step-num-accent {
    width: 70px;
    height: 70px;
    background: var(--brand-accent, #D97706);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
}

.step-card-modern {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card-modern:hover {
    transform: translateY(-10px);
}

/* 5. Final CTA Banner */
.cta-banner-accent {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&q=80'); /* Industrial fallback */
    background-size: cover;
    background-position: center;
}

/* RTL Adjustments */
[dir="rtl"] .hero-accent-shape { transform: scaleX(-1); }
[dir="rtl"] .hero-accent-shape i { transform: scaleX(-1); }

[dir="rtl"] .border-start { 
    border-right: 4px solid var(--brand-accent, #D97706) !important; 
    border-left: none !important; 
}

/* Common Utilities */
.fw-black { font-weight: 900; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover-up { transition: transform 0.3s ease; }
.hover-up:hover { transform: translateY(-5px); }

@media (max-width: 991px) {
    .custom-hero { text-align: center; padding: 80px 0; }
    .hero-accent-shape { width: 300px; height: 300px; margin: 0 auto; }
}
