/**
 * SC Attendance - Pricing Page Styles
 * صفحة الأسعار والباقات
 */

:root {
    --primary: #2596be;
    --primary-dark: #1e7a9e;
    --secondary: #2596be;
    --accent: #1e7a9e;
    --success: #10b981;
    --info: #06b6d4;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0a3d5c;
    --light: #f8fafc;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--light);
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
.navbar-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 45px;
}

.nav-link-modern {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 12px 20px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link-modern:hover {
    color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.1);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

/* Hero Section */
.hero-pricing {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #2596be 0%, #1e7a9e 100%);
    position: relative;
    overflow: hidden;
}

.hero-pricing::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 100 100" preserveAspectRatio="none"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-pricing h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.hero-pricing p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-section {
    padding: 80px 0;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

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

.pricing-card.popular {
    border: 3px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.pricing-card:nth-child(1) .pricing-icon {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    color: white;
}

.pricing-card:nth-child(2) .pricing-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.pricing-card:nth-child(3) .pricing-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-price span {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: right;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .icon-check {
    color: var(--success);
}

.pricing-features .icon-x {
    color: #ccc;
}

.pricing-features .text-muted {
    color: #999;
}

.btn-subscribe {
    width: 100%;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

.pricing-card.popular .btn-subscribe {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.pricing-card.popular .btn-subscribe:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Comparison Table */
.comparison-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

.comparison-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.comparison-table table {
    width: 100%;
    margin-bottom: 0;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--dark), #145a7a);
    color: white;
    padding: 20px;
    font-weight: 700;
    text-align: center;
}

.comparison-table th:first-child {
    text-align: right;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.comparison-table td:first-child {
    text-align: right;
    font-weight: 600;
    color: var(--dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .fa-check {
    color: var(--success);
    font-size: 1.2rem;
}

.comparison-table .fa-times {
    color: #ddd;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light);
}

.accordion-item {
    background: white;
    border: none;
    border-radius: 16px !important;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    padding: 20px 25px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.accordion-body {
    padding: 20px 25px;
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark), #145a7a);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-pricing h1 {
        font-size: 2rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .pricing-card {
        margin-bottom: 30px;
    }
}
