:root {
    --primary: #0F172A;
    --secondary: #2563EB;
    --accent: #EF4444;
    --bg: #F8FAFC;
    --bg-alt: #FFFFFF;
    --text: #1E293B;
    --gray: #64748B;
    
    --card-bg: #FFFFFF;
    --card-border: rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] {
    --primary: #FFFFFF;
    --secondary: #3B82F6;
    --accent: #F87171;
    --bg: #0B1120;
    --bg-alt: #111827;
    --text: #F8FAFC;
    --gray: #94A3B8;

    --card-bg: #1E293B;
    --card-border: rgba(255, 255, 255, 0.05);
    --shadow: 0 10px 30px rgba(0,0,0,0.3);

    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

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

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-primary { color: var(--secondary) !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.section-padding { padding: 6rem 0; }
.bg-alt { background-color: var(--bg-alt); }
.lead { font-size: 1.25rem; color: var(--gray); }

/* Typography */
h1, h2, h3, h4 { color: var(--primary); font-weight: 800; line-height: 1.3; }
.section-title { font-size: 2.8rem; }
.section-subtitle { display: block; font-size: 1rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.page-title { font-size: 4rem; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none;
    font-weight: 700; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--bg); }
.btn-glass { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-glass:hover { background: #fff; color: #000; }
.btn-xl { padding: 1.2rem 2.5rem; font-size: 1.1rem; }
.btn-link { color: var(--secondary); text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-link:hover { gap: 0.8rem; }
.btn-icon { background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); transition: transform 0.3s; }
.btn-icon:hover { transform: scale(1.1) rotate(15deg); }

/* Glow Animation */
.btn-glow { position: relative; }
.btn-glow::after {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: inherit; filter: blur(15px); z-index: -1; opacity: 0; transition: opacity 0.3s;
}
.btn-glow:hover::after { opacity: 0.6; }

/* Navbar */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: all 0.4s ease; padding: 1.5rem 0;
}
.navbar.scrolled {
    padding: 0.8rem 0; background: var(--glass-bg);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-icon { font-size: 2rem; color: var(--secondary); }
.logo-text { font-size: 1.8rem; font-weight: 900; color: #fff; font-family: 'Outfit', sans-serif; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; }
.nav-item { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem; position: relative; transition: color 0.3s; }
.nav-item::after { content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px; background: var(--secondary); transition: width 0.3s; }
.nav-item:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.menu-toggle { display: none; background: transparent; border: none; font-size: 2rem; color: #fff; cursor: pointer; }
.btn-icon { background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: #fff; transition: transform 0.3s, color 0.3s; }
.btn-icon:hover { transform: scale(1.1) rotate(15deg); }

.navbar.scrolled .nav-item, 
.navbar.scrolled .logo-text, 
.navbar.scrolled .menu-toggle, 
.navbar.scrolled .btn-icon {
    color: var(--primary) !important;
}

/* Premium Cards */
.premium-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}
.hover-lift:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; }

/* Grids */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }

/* Stats */
.stat-card { padding: 3rem 2rem; }
.stat-icon { font-size: 3.5rem; color: var(--secondary); margin-bottom: 1.5rem; }
.stat-number { font-size: 3.5rem; margin-bottom: 0.5rem; font-family: 'Outfit', sans-serif; }

/* Parallax & Hero */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.6) 100%); z-index: 1; }
.hero-premium { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding-top: 80px; }
.hero-content { position: relative; z-index: 10; max-width: 900px; color: #fff; }
.hero-content h1 { color: #fff; font-size: 5rem; margin-bottom: 1.5rem; }
.hero-content .lead { color: #E2E8F0; font-size: 1.5rem; margin-bottom: 3rem; }
.hero-actions { display: flex; justify-content: center; gap: 1.5rem; }

.page-header { padding: 8rem 0 4rem; position: relative; }

/* Badges */
.badge-premium { display: inline-block; padding: 0.5rem 1.5rem; background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(37, 99, 235, 0.5); color: #60A5FA; border-radius: 50px; font-weight: 700; margin-bottom: 1rem; backdrop-filter: blur(4px); }

/* Service Cards */
.card-img-wrapper { position: relative; overflow: hidden; border-radius: 24px 24px 0 0; }
.card-img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.5s; }
.hover-lift:hover .card-img { transform: scale(1.1); }
.card-icon-overlay { position: absolute; top: 20px; right: 20px; width: 60px; height: 60px; background: var(--glass-bg); backdrop-filter: blur(10px); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--secondary); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.card-body { padding: 2rem; }

/* Brand Boxes */
.brand-box { display: block; padding: 2rem; text-align: center; text-decoration: none; color: var(--primary); }
.brand-img { width: 100%; height: 120px; object-fit: contain; filter: grayscale(100%); transition: all 0.4s; opacity: 0.7; }
.brand-box:hover .brand-img { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; text-align: right; }
.testimonial-card { padding: 3rem; }
.stars { color: #FBBF24; margin-bottom: 1.5rem; font-size: 1.2rem; }
.quote { font-size: 1.25rem; font-style: italic; color: #fff; margin-bottom: 1.5rem; line-height: 1.8; }
.client-name { color: #94A3B8; font-size: 1.1rem; font-weight: 600; }

/* Forms */
.form-group { margin-bottom: 1.5rem; text-align: right; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--primary); }
.form-control { width: 100%; padding: 1.2rem; border: 1px solid var(--card-border); border-radius: 12px; background: var(--bg); color: var(--text); font-size: 1rem; transition: all 0.3s; outline: none; }
.form-control:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }

/* Footer */
.premium-footer { background: var(--primary); color: #fff; padding: 6rem 0 0; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 4rem; text-align: right; }
.footer-col h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; background: var(--secondary); border-radius: 2px; }
.footer-col p { color: #94A3B8; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; transition: all 0.3s; font-size: 1.2rem; }
.social-btn:hover { background: var(--secondary); transform: translateY(-5px); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #94A3B8; text-decoration: none; transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--secondary); gap: 0.8rem; }
.contact-info { list-style: none; }
.contact-info li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; color: #94A3B8; }
.contact-info i { color: var(--secondary); font-size: 1.2rem; width: 20px; text-align: center; }
.footer-bottom { text-align: center; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.1); color: #64748B; background: rgba(0,0,0,0.2); }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 40px; left: 40px; background-color: #25D366; color: white; border-radius: 50%; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 1000; text-decoration: none; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); }
.pulse-effect { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Map */
.map-container { border-radius: 24px; overflow: hidden; border: 1px solid var(--card-border); }

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.5rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--card-bg); padding: 2rem; flex-direction: column; text-align: center; box-shadow: var(--shadow); }
    .nav-links.active { display: flex; }
    .nav-actions { display: none; }
    .menu-toggle { display: block; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content .lead { font-size: 1.2rem; }
    .hero-actions { flex-direction: column; }
    .page-title { font-size: 2.5rem; }
    .section-padding { padding: 4rem 0; }
    .page-header { padding: 6rem 0 3rem; }
    .footer-grid { gap: 2rem; }
}
