/* Public Pages Common Styles (Index, Features, Pricing) */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Page Header (for Features and Pricing pages) */
.page-header {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card .card-body {
    padding: 2rem;
}

.feature-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h4 {
    color: #128C7E;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    border: 3px solid #25D366;
    position: relative;
}

.pricing-card.featured::before {
    content: 'الأكثر شهرة';
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 5px 40px;
    transform: rotate(-45deg);
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.pricing-card .card-header {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    color: #25D366;
}

.pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-card .features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card .features-list li:last-child {
    border-bottom: none;
}

.pricing-card .features-list i {
    color: #25D366;
    margin-left: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-section .lead,
    .page-header p {
        font-size: 1.1rem;
    }
}
