@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap');

body {
    font-family: 'Tajawal', sans-serif !important;
    background-color: #f8fafc !important;
    color: #334155;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main, .main-content, .container-fluid, #content {
    flex: 1 0 auto;
}

/* Header/hero/dark sections */
.hero-section, header, .bottom-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border-radius: 0;
}

/* Cards */
.card, .feature-box, .step-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s ease !important;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border-color: #3b82f6 !important;
}

/* Pricing cards — kept minimal, full styling in upgrade-pricing.css */
.pricing-card {
    overflow: visible;
}

/* Buttons */
.btn, button {
    border-radius: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    transition: all 0.2s ease !important;
    border: none !important;
}

.btn-primary {
    background: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3) !important;
}

.btn-primary:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4) !important;
}

.btn-success {
    background: #3b82f6 !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3) !important;
}

.btn-success:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4) !important;
}

.btn-info {
    background: #3b82f6 !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3) !important;
}

.btn-info:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4) !important;
}

.btn-warning {
    background: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3) !important;
}

.btn-warning:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4) !important;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

/* Step numbers */
.step-number {
    background: #eff6ff !important;
    color: #3b82f6 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin: 0 auto 16px auto !important;
}

/* Header text & links white */
header, header a, header span, header i, header div,
.hero-section p, .hero-section h1, .hero-section h2 {
    color: #ffffff !important;
}

/* Logo: invert black to white */
header img, .navbar-brand img, .logo img, .hero-section img {
    filter: brightness(0) invert(1) !important;
}

/* Outline buttons in header/hero */
.hero-section .btn-outline, header .btn-outline, .hero-section a[href*="login"] {
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    background: transparent !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.hero-section .btn-outline:hover, header .btn-outline:hover, .hero-section a[href*="login"]:hover {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* No gaps around header/hero */
header, .hero-section {
    margin: 0 !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Site Footer */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 0;
    margin-top: auto;
    width: 100%;
}
.site-footer img {
    filter: brightness(0) invert(1);
}
.footer-logo {
    height: 36px;
    width: auto;
}
.footer-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #94a3b8;
    max-width: 300px;
}
.footer-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: #3b82f6;
    border-radius: 1px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s, padding-right 0.2s;
    display: inline-block;
}
.footer-links a:hover {
    color: #ffffff;
    padding-right: 4px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
    font-size: 1rem;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 32px 0 20px;
}
.footer-bottom {
    text-align: center;
    padding-bottom: 24px;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}

/* Full-width header/hero/CTA sections */
header, .hero-section, .bottom-cta, .cta-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    border-radius: 0 !important;
}

/* Force dark CTA — override Bootstrap bg-primary */
div.bg-primary,
section.bg-primary,
.bottom-cta {
    background: #0f172a !important;
    background-color: #0f172a !important;
    background-image: none !important;
}

/* CTA button white on dark */
.bottom-cta .btn, .cta-section .btn, .bg-primary .btn {
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: bold !important;
    border: none !important;
}

/* CTA text white */
.bg-primary h2, .bg-primary h3, .bg-primary p,
.cta-section h2, .cta-section p {
    color: #ffffff !important;
}
