/* الألوان المستخدمة في الموقع الأصلي */
:root {
    --primary-color: #4CAF50; /* أخضر */
    --secondary-color: #333;
    --dark-bg: #2b3e51; /* أزرق داكن */
    --light-bg: #f8f9fa;
    --text-color: #555;
}

.preview-stack{
  position: relative;
  display: inline-block;
}
#qr_preview_canvas{
  display:block;
}
#frameImg{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  pointer-events:none;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
}

.hero-section {
    background-color: var(--dark-bg);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p.lead {
    font-size: 1.25rem;
    color: #ddd;
}

.cta-button {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: darken(var(--primary-color), 10%);
}

.navbar-brand {
    font-weight: bold;
}

.features-section {
    padding: 5rem 0;
    background-color: white;
}

.features-section h2, .pricing-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.pricing-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.pricing-section .card {
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* تنسيقات السلايدر */
#heroCarousel {
    height: 600px;
    background-color: var(--dark-bg);
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    padding: 1rem;
    bottom: 20%;
}

.hero-fallback-content {
    padding: 8rem 0;
    text-align: center;
    background-color: var(--dark-bg);
    color: white;
}
.phone-frame {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    background-color: white; /* لون افتراضي للخلفية */
    min-height: 400px;
    overflow-y: auto;
}

.link-item.card-link {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.link-item.list-link {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.link-item .link-title {
    font-weight: bold;
}