:root {
    --bg-main: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.05);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #8b5cf6;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #06b6d4;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-5 { margin-bottom: 2rem; }
.w-100 { width: 100%; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Gradients and Colors */
.text-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}



.bg-primary-soft { background-color: rgba(59, 130, 246, 0.1); }
.bg-secondary-soft { background-color: rgba(139, 92, 246, 0.1); }
.bg-success-soft { background-color: rgba(16, 185, 129, 0.1); }
.bg-danger-soft { background-color: rgba(239, 68, 68, 0.1); }
.bg-warning-soft { background-color: rgba(245, 158, 11, 0.1); }
.bg-info-soft { background-color: rgba(6, 182, 212, 0.1); }

/* Glassmorphism */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    border-radius: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 10px 20px -10px var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--primary-color);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.btn-icon:hover {
    background: var(--bg-glass);
    border-color: var(--border-glass);
}
.btn-icon.circle { border-radius: 50%; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s;
    padding: 1rem 0;
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-text span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switch {
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
}

.mobile-menu-btn { display: none; }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-main);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    border-left: 1px solid var(--border-glass);
}

.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 1.5rem; left: 1.5rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.mobile-nav-links a { font-size: 1.25rem; font-weight: 600; }

/* Hero Section */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, rgba(139,92,246,0.1) 40%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-avatars { display: flex; gap: -0.5rem; margin-top: 0.5rem; }
.avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-secondary); border: 2px solid var(--bg-main);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 1.25rem; margin-right: -10px; z-index: 1;
}

.hero-image { position: relative; }
.floating-img {
    width: 115%;
    max-width: 700px;
    animation: floating 6s ease-in-out infinite;
    transform: translateX(-5%);
}

@keyframes floating {
    0% { transform: translateY(0px) translateX(-5%); }
    50% { transform: translateY(-20px) translateX(-5%); }
    100% { transform: translateY(0px) translateX(-5%); }
}

/* Sections Common */
.section-header { margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 700px; margin: 0 auto; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-hover);
}

.feature-icon {
    width: 4rem; height: 4rem;
    border-radius: 1rem; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 1.5rem;
}

.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.feature-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--text-secondary); }
.feature-list i { color: var(--success); font-size: 1.25rem; }

/* Comparison Section */
.dark-bg-section { background-color: var(--bg-secondary); border-top: 1px solid var(--border-glass); border-bottom: 1px solid var(--border-glass); }
.comparison-container { display: flex; align-items: stretch; justify-content: center; gap: 2rem; position: relative; }

.compare-card { flex: 1; border-radius: 1.5rem; padding: 2.5rem; max-width: 500px; }
.old-systems { background: var(--bg-main); border: 1px solid var(--border-glass); }
.new-system { background: linear-gradient(145deg, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.05) 100%); border: 1px solid rgba(59, 130, 246, 0.3); position: relative; overflow: hidden; }

.card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.icon-large { font-size: 2.5rem; }
.compare-list { display: flex; flex-direction: column; gap: 1rem; }
.compare-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: 0.5rem; background: var(--bg-main); }
.compare-list .negative { color: var(--text-secondary); }
.compare-list .negative i { color: var(--danger); }
.compare-list .positive { font-weight: 600; }
.compare-list .positive i { color: var(--success); font-size: 1.25rem; }

.vs-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 4rem; height: 4rem; border-radius: 50%; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3); border: 4px solid var(--bg-secondary); z-index: 10; }

/* Reports */
.reports-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.reports-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.reports-features li { display: flex; align-items: center; gap: 1rem; font-size: 1.125rem; font-weight: 600; }
.reports-features i { font-size: 1.75rem; padding: 0.5rem; background: var(--bg-secondary); border-radius: 0.5rem; box-shadow: var(--shadow-sm); }
.reports-image img { width: 100%; border-radius: 1.5rem; display: block; border: 1px solid var(--border-glass); }

/* Slider Section */
.bg-alt { background-color: var(--bg-secondary); }
.slider-container { position: relative; overflow: hidden; padding: 2rem 0; }
.slider-track { display: flex; gap: 2rem; transition: transform 0.5s ease-out; padding-left: 20%; width: max-content; }
.slide { width: 600px; flex-shrink: 0; padding: 1rem; border-radius: 1.5rem; transition: transform 0.3s; opacity: 0.8; transform: scale(0.95); }
.slide.active-slide { opacity: 1; transform: scale(1); box-shadow: var(--shadow-md); border-color: rgba(59, 130, 246, 0.3); }
.slide img { width: 100%; border-radius: 1rem; margin-bottom: 1rem; object-fit: cover; aspect-ratio: 16/9; }
.slide h4 { text-align: center; }
.slider-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* Testimonials */
.testimo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.testimo-card { padding: 2.5rem; border-radius: 1.5rem; }
.stars { color: var(--warning); margin-bottom: 1rem; font-size: 1.25rem; display: flex; gap: 0.25rem; }
.testimo-card p { font-size: 1.125rem; font-style: italic; margin-bottom: 2rem; color: var(--text-primary); }
.author { display: flex; align-items: center; gap: 1rem; }
.author-info h4 { margin: 0; }
.author-info span { font-size: 0.875rem; color: var(--text-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: center; }
.pricing-card { padding: 2.5rem; border-radius: 1.5rem; position: relative; }
.pricing-card.popular { transform: scale(1.05); border-color: var(--primary-color); box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; padding: 0.25rem 1rem; border-radius: 2rem; font-size: 0.875rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.package-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.package-price { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; line-height: 1; }
.package-price span { font-size: 1.5rem; vertical-align: super; }
.period { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.package-desc { color: var(--text-secondary); margin-bottom: 2rem; min-height: 50px; }
.package-features { margin-bottom: 2.5rem; }
.package-features li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-weight: 600; }
.package-features li.disabled { color: var(--text-muted); font-weight: 400; }
.package-features i { font-size: 1.25rem; }

/* FAQ */
.faq-container { max-width: 800px; }
.accordion-wrapper { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { border-radius: 1rem; overflow: hidden; }
.accordion-header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: transparent; border: none; font-size: 1.125rem; font-weight: 700; color: var(--text-primary); cursor: pointer; text-align: right; font-family: inherit; }
.accordion-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; color: var(--text-secondary); }
.accordion-item.active .accordion-body { padding-bottom: 1.5rem; max-height: 500px; }
.accordion-item.active i { transform: rotate(180deg); }
.accordion-header i { transition: transform 0.3s; }

/* Agents */
.agents-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.agent-card { text-align: center; padding: 2.5rem; border-radius: 1.5rem; transition: transform 0.3s; border: 1px solid var(--border-glass); }
.agent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-color); }
.agent-icon { width: 5rem; height: 5rem; border-radius: 50%; background: linear-gradient(135deg, var(--bg-main), var(--bg-secondary)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border-glass); color: var(--primary-color); }
.agent-name { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.agent-location { color: var(--secondary-color); font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.agent-contact { background: var(--bg-main); padding: 0.75rem; border-radius: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; color: var(--text-primary); font-weight: 700; direction: ltr; border: 1px solid var(--border-glass); }

/* Contact Section */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.method-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; border-radius: 1rem; margin-bottom: 1rem; transition: transform 0.3s; }
.method-card:hover { transform: translateY(-5px); }
.icon-box { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; background: var(--bg-main); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-form-wrapper { padding: 2.5rem; }
.contact-form h3 { margin-bottom: 2rem; font-size: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border-radius: 0.75rem; background: var(--bg-main); border: 1px solid var(--border-glass); color: var(--text-primary); font-family: inherit; font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }

/* Footer */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-glass); padding-top: 4rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-links h4 { font-size: 1.25rem; margin-bottom: 1.5rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-secondary); transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-color); }
.social-icons { display: flex; gap: 1rem; }
.footer-bottom { border-top: 1px solid var(--border-glass); padding: 2rem 0; text-align: center; color: var(--text-muted); }

/* Animations - Reveal */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card.popular { transform: none; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .hero-container, .reports-container, .contact-container { grid-template-columns: 1fr; }
    .comparison-container { flex-direction: column; align-items: center; }
    .hero { padding-top: 8rem; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .floating-img { width: 100%; transform: none; animation: none; }
    .vs-badge { position: relative; left: auto; top: auto; transform: none; margin: -1.5rem auto; z-index: 20; }
    .compare-card { max-width: 100%; width: 100%; }
    .reports-content { order: 2; }
    .reports-image { order: 1; margin-bottom: 2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .slider-track { padding-left: 0; }
    .slide { width: 90vw; max-width: 500px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-menu-btn { display: flex; }
    .section-padding { padding: 4rem 0; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-social { display: flex; flex-direction: column; align-items: center; }
}
