:root {
    /* Premium Color Palette */
    --clr-navy: #0f172a;        /* Deep corporate slate */
    --clr-navy-dark: #020617;   /* Almost black for footer/dark sections */
    --clr-electric: #2563eb;    /* Trustworthy blue */
    --clr-electric-hover: #1d4ed8;
    --clr-violet: #6366f1;      /* Refined indigo accent */
    --clr-white: #ffffff;
    --clr-light: #f8fafc;
    --clr-gray: #64748b;
    --clr-gray-light: #e2e8f0;
    --clr-gray-dark: #334155;
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* UI Variables */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --box-shadow-hover: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--clr-gray-dark);
    background-color: var(--clr-light);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--clr-navy); font-weight: 700; line-height: 1.25; }
a { color: var(--clr-electric); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--clr-electric-hover); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-small { max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; }
.text-muted { color: var(--clr-gray); }
.text-accent { color: var(--clr-electric); }
.text-small { font-size: 0.875rem; }
.py-small { padding: 40px 0; }
.py-large { padding: 80px 0; }
@media (min-width: 768px) { .py-large { padding: 100px 0; } }
.bg-light { background-color: #f1f5f9; }
.bg-dark { background-color: var(--clr-navy-dark); color: var(--clr-white); }
.bg-white { background-color: var(--clr-white); }
.bg-accent { background-color: var(--clr-navy-dark); }
.w-100 { width: 100%; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Layout Grids */
.grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
    min-height: 48px;
    font-family: inherit;
}
.btn-primary { background-color: var(--clr-electric); color: var(--clr-white); }
.btn-primary:hover { background-color: var(--clr-electric-hover); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(37,99,235,0.3); color: var(--clr-white); }
.btn-outline { border-color: var(--clr-navy); color: var(--clr-navy); background: transparent; }
.btn-outline:hover { background: var(--clr-navy); color: var(--clr-white); }
.btn-large { font-size: 1.125rem; padding: 16px 36px; }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; min-height: 38px; }
.btn-text { background: none; border: none; color: var(--clr-gray); cursor: pointer; text-decoration: underline; padding: 0; min-height: auto; font-weight: 500; }
.btn-text:hover { color: var(--clr-navy); }

/* Header & Nav */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; }
.lang-selector { display: flex; gap: 8px; }
.flag-btn {
    background: none; border: none; font-size: 1.25rem; cursor: pointer; filter: grayscale(100%); transition: var(--transition);
}
.flag-btn:hover, .flag-btn.active { filter: grayscale(0%); transform: scale(1.1); }
.brand-link { display: flex; align-items: center; }
.brand-logo { max-height: 35px; }
.brand-text { font-size: 1.25rem; font-weight: 700; color: var(--clr-navy); letter-spacing: -0.5px; }

/* Mobile Menu */
.mobile-toggle {
    display: flex; flex-direction: column; justify-content: space-around; width: 28px; height: 24px;
    background: transparent; border: none; cursor: pointer; z-index: 1100;
}
.mobile-toggle span { width: 100%; height: 2px; background: var(--clr-navy); border-radius: 2px; transition: var(--transition); }
.main-nav {
    position: absolute; top: 100%; left: 0; width: 100%; background: var(--clr-white);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); display: none; padding: 20px; border-top: 1px solid var(--clr-gray-light);
}
.main-nav.active { display: block; }
.main-nav ul { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.main-nav a { display: flex; align-items: center; justify-content: center; padding: 12px; font-weight: 500; color: var(--clr-gray-dark); border-radius: var(--border-radius-sm); }
.main-nav a:hover { background: var(--clr-light); color: var(--clr-electric); }
.nav-cta { background: var(--clr-electric) !important; color: var(--clr-white) !important; }
.nav-cta:hover { background: var(--clr-electric-hover) !important; }

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    .main-nav { position: static; display: block; box-shadow: none; width: auto; background: transparent; padding: 0; border: none; }
    .main-nav ul { flex-direction: row; gap: 8px; align-items: center; }
    .main-nav a { padding: 8px 16px; background: transparent; }
    .main-nav a:hover { background: transparent; color: var(--clr-electric); }
    .nav-cta { background: var(--clr-navy) !important; }
    .nav-cta:hover { background: var(--clr-electric) !important; transform: translateY(-1px); }
}

/* Sections Structure */
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2.25rem; color: var(--clr-navy); margin-bottom: 15px; letter-spacing: -0.5px; }
.lead { font-size: 1.125rem; color: var(--clr-gray); font-weight: 400; line-height: 1.7; }

/* Hero Section (Redesigned) */
.hero-section {
    position: relative;
    background-color: var(--clr-navy);
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%),
        url('../img/hero-maxpc2003.webp');
    background-size: cover;
    background-position: center;
    color: var(--clr-white);
    padding: 100px 20px 120px;
}
.hero-container { position: relative; z-index: 2; display: flex; align-items: center; }
.hero-content { max-width: 700px; text-align: left; }
.hero-headline { font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; font-weight: 800; color: var(--clr-white); letter-spacing: -1px; }
.hero-subheadline { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 40px; font-weight: 400; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.hero-bullets { display: inline-flex; flex-direction: column; gap: 12px; }
.hero-bullets li { display: flex; align-items: flex-start; font-size: 1rem; color: #f8fafc; font-weight: 500; }
.hero-bullets .icon { margin-right: 12px; color: #38bdf8; font-size: 1.1rem; }

@media (min-width: 768px) {
    .hero-section { padding: 140px 20px 160px; }
    .hero-headline { font-size: 4rem; }
    .hero-subheadline { font-size: 1.25rem; max-width: 600px; }
}

@media (max-width: 767px) {
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-actions { justify-content: center; }
    .hero-bullets { text-align: left; display: block; margin: 0 auto; max-width: 300px; }
}

/* Service Cards */
.card { 
    background: var(--clr-white); 
    border-radius: var(--border-radius); 
    padding: 40px 30px; 
    box-shadow: var(--box-shadow); 
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--box-shadow-hover); }
.service-icon { 
    font-size: 1.5rem; 
    margin-bottom: 24px; 
    display: inline-flex; 
    width: 60px; height: 60px; 
    align-items: center; justify-content: center; 
    background: rgba(37, 99, 235, 0.08); 
    border-radius: var(--border-radius-sm); 
    color: var(--clr-electric); 
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--clr-gray); font-size: 1rem; }
.service-examples { margin-top: 20px; font-size: 0.9rem !important; color: var(--clr-gray-dark) !important; background: var(--clr-light); padding: 12px 16px; border-radius: var(--border-radius-sm); border-left: 3px solid var(--clr-electric); }

/* Process Section */
.process-step { text-align: center; padding: 20px 10px; position: relative; }
.step-num { 
    width: 50px; height: 50px; 
    display: flex; align-items: center; justify-content: center; 
    background: var(--clr-white); color: var(--clr-electric); 
    font-size: 1.25rem; font-weight: 700; 
    border-radius: 50%; border: 2px solid var(--clr-gray-light);
    margin: 0 auto 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative; z-index: 2;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: 12px; }
.process-step p { color: var(--clr-gray); }
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: ''; position: absolute; top: 45px; right: -50%; width: 100%;
        height: 2px; background: var(--clr-gray-light); z-index: 1;
    }
}

/* Why Us */
.why-us-section { background: var(--clr-white); }
.why-list { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.why-list li { display: flex; align-items: flex-start; font-weight: 500; font-size: 1.05rem; color: var(--clr-navy); }
.why-list .icon { color: var(--clr-electric); margin-right: 12px; font-size: 1.1rem; }

/* Sectors */
.sectors-section { border-bottom: 1px solid rgba(255,255,255,0.1); }
.sectors-section h2 { color: var(--clr-white); }
.sectors-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.tag { 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 10px 24px; 
    border-radius: 30px; 
    font-weight: 500; font-size: 0.95rem;
    transition: var(--transition);
}
.tag:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* Payments Info */
.payments-bar { font-size: 0.95rem; letter-spacing: 0.5px; opacity: 0.9; }

/* FAQ Accordion (Clean Corporate Style) */
.faq-section { background: var(--clr-white); }
.accordion { border-top: 1px solid var(--clr-gray-light); }
.acc-item { background: transparent; border-bottom: 1px solid var(--clr-gray-light); }
.acc-header { 
    width: 100%; text-align: left; padding: 24px 0; border: none; background: transparent; 
    font-size: 1.1rem; font-weight: 600; color: var(--clr-navy); cursor: pointer; 
    display: flex; justify-content: space-between; align-items: center; 
}
.acc-icon { font-size: 1.25rem; font-weight: 300; color: var(--clr-gray); transition: transform 0.3s; }
.acc-header:hover .acc-icon { color: var(--clr-electric); }
.acc-header.active .acc-icon { transform: rotate(45deg); color: var(--clr-electric); }
.acc-body { padding: 0 0 24px 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; opacity: 0; }
.acc-header.active + .acc-body { max-height: 500px; opacity: 1; }
.acc-body p { color: var(--clr-gray-dark); }

/* Contact Form */
.form-wrapper { padding: 40px; max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 24px; text-align: left; }
.form-group label { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 8px; color: var(--clr-navy); }
.form-control { 
    width: 100%; padding: 14px 16px; border: 1px solid var(--clr-gray-light); 
    border-radius: var(--border-radius-sm); font-size: 1rem; color: var(--clr-navy);
    font-family: inherit; transition: var(--transition); background: var(--clr-light);
}
.form-control:focus { background: var(--clr-white); border-color: var(--clr-electric); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input[type="checkbox"] { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--clr-electric); }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.05); }
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--clr-white); }
.social-links a { 
    display: inline-flex; width: 36px; height: 36px; 
    border-radius: 50%; background: rgba(255,255,255,0.05); 
    align-items: center; justify-content: center; color: var(--clr-gray-light); 
    margin-right: 12px; font-size: 0.9rem; font-weight: 500; text-transform: uppercase;
}
.social-links a:hover { background: var(--clr-electric); color: var(--clr-white); }
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; color: var(--clr-white); margin-bottom: 20px; }
.footer-links ul { padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-contact p { color: var(--clr-gray); font-size: 0.95rem; }
.footer-links a:hover { color: var(--clr-white); text-decoration: underline; }
.footer-contact a { color: var(--clr-gray-light); }
.footer-contact a:hover { color: var(--clr-white); }
.footer-bottom { border-color: rgba(255,255,255,0.1) !important; font-size: 0.85rem; }

/* WhatsApp Float */
.wa-float-btn {
    position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px;
    background-color: #25d366; color: white; border-radius: 50%; display: flex;
    justify-content: center; align-items: center; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 99; transition: var(--transition);
}
.wa-float-btn:hover { transform: translateY(-4px) scale(1.05); }

/* Chatbot Widget */
.chatbot-container { position: fixed; bottom: 24px; right: 24px; z-index: 100; }
.chatbot-btn {
    width: 60px; height: 60px; border-radius: 50%; background: var(--clr-navy); color: white;
    border: none; box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2); cursor: pointer; font-size: 1.5rem;
    display: flex; justify-content: center; align-items: center; transition: var(--transition);
}
.chatbot-btn:hover { transform: translateY(-4px); }
.chatbot-panel {
    position: absolute; bottom: 80px; right: 0; width: 340px; background: white;
    border-radius: var(--border-radius); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15); overflow: hidden;
    display: flex; flex-direction: column; border: 1px solid var(--clr-gray-light);
}
.chatbot-header { background: var(--clr-navy); color: white; padding: 16px; font-weight: 600; text-align: center; font-size: 0.95rem; }
.chatbot-messages { height: 320px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: var(--clr-light); }
.bot-msg, .user-msg { max-width: 85%; padding: 12px 16px; border-radius: var(--border-radius-sm); font-size: 0.9rem; line-height: 1.5; }
.bot-msg { background: white; align-self: flex-start; border: 1px solid #e2e8f0; border-bottom-left-radius: 2px; color: var(--clr-navy); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.user-msg { background: var(--clr-navy); color: white; align-self: flex-end; border-bottom-right-radius: 2px; }
.chatbot-options { padding: 16px; background: white; border-top: 1px solid var(--clr-gray-light); display: flex; flex-wrap: wrap; gap: 8px; }
.chat-opt-btn { background: var(--clr-light); border: 1px solid transparent; padding: 8px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.2s; color: var(--clr-navy); }
.chat-opt-btn:hover { background: var(--clr-gray-light); }

@media (max-width: 480px) {
    .chatbot-panel { position: fixed; bottom: 0; right: 0; width: 100vw; height: 100vh; border-radius: 0; z-index: 101; }
    .chatbot-messages { flex: 1; height: auto; }
}

/* Exit Popup Overlay */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.3s ease-out forwards; }
.popup-box { background: white; padding: 48px 40px; border-radius: var(--border-radius); max-width: 500px; width: 90%; text-align: center; position: relative; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.popup-box h2 { font-size: 1.75rem; margin-bottom: 8px; }
.popup-box h3 { font-size: 1.15rem; margin-bottom: 20px; font-weight: 600; }
.popup-box p { color: var(--clr-gray); font-size: 1rem; margin-bottom: 30px; }
.popup-close { position: absolute; top: 16px; right: 16px; border: none; background: var(--clr-light); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--clr-gray); transition: 0.2s; display: flex; justify-content: center; align-items: center; font-size: 12px; }
.popup-close:hover { background: var(--clr-gray-light); color: var(--clr-navy); }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--clr-navy); color: rgba(255,255,255,0.9); padding: 20px 24px; z-index: 9998; display: flex; flex-direction: column; gap: 16px; font-size: 0.85rem; align-items: center; box-shadow: 0 -10px 20px rgba(0,0,0,0.1); }
.cookie-banner a { color: #38bdf8; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { border-color: rgba(255,255,255,0.2); color: white; background: transparent; }
.cookie-actions .btn:hover { background: rgba(255,255,255,0.1); }
.cookie-actions .btn-primary { background: var(--clr-electric); border-color: transparent; }
.cookie-actions .btn-primary:hover { background: var(--clr-electric-hover); }
@media (min-width: 768px) {
    .cookie-banner { flex-direction: row; justify-content: space-between; }
    .cookie-content { max-width: 70%; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
