/* Global Styles */
:root {
    --primary: #f59e0b;
    --secondary: #fb923c;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --light: #f3f4f6;
    --dark: #1f2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

body.rtl-support {
    direction: rtl;
    text-align: right;
}

body.rtl-support .navbar .navbar-nav {
    margin-right: 0;
    margin-left: auto;
}

body.rtl-support .navbar .navbar-nav .nav-link {
    margin-left: 0;
    margin-right: 1rem;
}

body.rtl-support .text-start {
    text-align: right !important;
}

body.rtl-support .text-end {
    text-align: left !important;
}

.navbar-brand.brand-responsive {
    gap: 0.5rem;
    flex-wrap: wrap;
}

.navbar-brand .brand-title {
    font-weight: 700;
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.1;
}

.navbar-brand .brand-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    align-self: center;
}

.navbar-brand.brand-responsive .brand-title,
.navbar-brand.brand-responsive .brand-badge {
    flex-shrink: 0;
}

@media (min-width: 992px) {
    body.admin-layout-active .navbar {
        padding-left: 260px;
    }

    body.admin-layout-active .navbar .container {
        max-width: 100%;
        margin: 0;
    }
}

/* Gradient Background */
.gradient-hero {
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 50%, #f97316 100%);
}

.gradient-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #fb923c 100%);
    border: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    color: white;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

/* Feature Cards */
.feature-card {
    border-radius: 1rem;
    border: 2px solid;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card.pink {
    background-color: #fce7f3;
    border-color: #f9a8d4;
}

.feature-card.mint {
    background-color: #d1fae5;
    border-color: #6ee7b7;
}

.feature-card.blue {
    background-color: #dbeafe;
    border-color: #93c5fd;
}

.feature-card.cream {
    background-color: #fef3c7;
    border-color: #fcd34d;
}

.feature-card.purple {
    background-color: #e9d5ff;
    border-color: #c084fc;
}

.feature-card.peach {
    background-color: #fed7aa;
    border-color: #fdba74;
}

/* Badge Styles */
.badge-hot {
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.badge-new {
    background-color: #10b981;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.badge-popular {
    background-color: #3b82f6;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.stat-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: #f59e0b;
    line-height: 1.2;
    white-space: nowrap;
}

.stat-label {
    margin-top: 0.75rem;
    color: #6b7280;
    font-size: 1rem;
}

/* Payment Systems */
.payment-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-logo {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.2s;
}

.payment-logo:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.1);
}

/* Updates Timeline */
.update-item {
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.update-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
}

.update-date {
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* FAQ Accordion */
.accordion-button:not(.collapsed) {
    background-color: #fef3c7;
    color: #1f2937;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* Pricing Cards */
.pricing-card {
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Checkout Page */
.order-summary {
    background-color: #f9fafb;
    border-radius: 1rem;
    padding: 2rem;
}

/* Success/Error Pages */
.status-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 0;
}

.status-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    animation: scaleIn 0.5s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.status-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.status-icon.error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.status-icon.warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.status-content {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.order-id-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.action-buttons .btn {
    min-width: 200px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .price-tag {
        font-size: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.spinner-border-custom {
    border-color: var(--primary);
    border-right-color: transparent;
}
