/* ===== ROOT VARIABLES & THEME ===== */
:root {
    /* Light Mode (default) */
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #555555;
    --text-muted: #666666;
    --text-light: #4a4a6a;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --accent: #2563eb;
    --accent-gradient: linear-gradient(135deg, #2563eb, #06b6d4);
    --highlight-bg: #f0f4ff;
    --input-bg: #ffffff;
    --nav-bg: #ffffff;
    --footer-bg: #ffffff;
    --card-glow: rgba(37, 99, 235, 0.1);
}

body.dark {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-glass: #1e2436;
    --text-primary: #f0f2f8;
    --text-secondary: #b0b7c9;
    --text-muted: #8f9bb3;
    --text-light: #cbd5e1;
    --border-color: #2d3748;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.3);
    --accent: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #38bdf8);
    --highlight-bg: #1e2a4a;
    --input-bg: #1a1f2e;
    --nav-bg: #111827;
    --footer-bg: #0f172a;
    --card-glow: rgba(59, 130, 246, 0.25);
}

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

body {
    font-family: 'Gabriela', serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 85px;
    z-index: 1002;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.theme-toggle i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.theme-toggle i.fa-sun { color: #f59e0b; }
.theme-toggle i.fa-moon { color: #8b5cf7; }

/* ===== HEADER & NAVIGATION ===== */
#home { background: var(--bg-secondary); padding-bottom: 60px; }

.header {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.header img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header img:hover { transform: scale(1.02); }

.nav__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 20px;
    flex-wrap: wrap;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav__links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: 0.3s;
    font-size: 1rem;
}

.nav__links a:hover { color: var(--accent); }

.nav__links a.active {
    color: var(--accent);
    font-weight: 600;
    position: relative;
}

.nav__links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #06b6d4);
    border-radius: 2px;
    animation: underlineSlide 0.3s ease forwards;
}

@keyframes underlineSlide {
    from { width: 0; opacity: 0; }
    to { width: 100%; opacity: 1; }
}

/* ===== BURGER MENU (Mobile) ===== */
.burger-menu {
    display: none;
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1001;
    cursor: pointer;
    background: var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: 0.3s;
}

.burger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-icon span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger-menu.active .burger-icon span:nth-child(2) { opacity: 0; }
.burger-menu.active .burger-icon span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 20px 40px;
        gap: 20px;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    body.dark .nav__links {
        background: rgba(17, 24, 39, 0.98);
    }
    
    body:not(.dark) .nav__links {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav__links.active {
        transform: translateY(0);
    }
    
    .nav__links a {
        font-size: 1.25rem;
        padding: 14px 28px;
        width: 80%;
        max-width: 260px;
        text-align: center;
        border-radius: 50px;
        transition: all 0.3s ease;
        background: var(--bg-secondary);
        color: var(--text-primary);
        font-weight: 600;
        box-shadow: var(--shadow-sm);
        opacity: 0;
        transform: translateY(30px);
        animation: slideUpFade 0.5s ease forwards;
        border: 1px solid var(--border-color);
    }
    
    body.dark .nav__links a {
        background: var(--bg-card);
        color: var(--text-primary);
    }
    
    .nav__links.active a:nth-child(1) { animation-delay: 0.05s; }
    .nav__links.active a:nth-child(2) { animation-delay: 0.1s; }
    .nav__links.active a:nth-child(3) { animation-delay: 0.15s; }
    .nav__links.active a:nth-child(4) { animation-delay: 0.2s; }
    .nav__links.active a:nth-child(5) { animation-delay: 0.25s; }
    
    @keyframes slideUpFade {
        0% { opacity: 0; transform: translateY(40px); }
        100% { opacity: 1; transform: translateY(0); }
    }
    
    .nav__links a:hover {
        background: var(--accent);
        color: white;
        transform: translateX(5px) scale(1.02);
    }
    
    body.menu-open { overflow: hidden; }
    
    .blur-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    body.menu-open .blur-overlay {
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 769px) {
    .nav__links {
        display: flex;
        justify-content: center;
        gap: 30px;
        padding: 15px 20px;
        flex-wrap: wrap;
        background: var(--nav-bg);
        border-bottom: 1px solid var(--border-color);
        position: relative;
        transform: none !important;
    }
    .nav__links a { opacity: 1; transform: none; animation: none; }
}

/* ===== MAIN CONTENT ===== */
.main__content {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
}
.main__content h1 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: 30px; }
.main__content p { color: var(--text-secondary); line-height: 1.7; font-size: 1rem; }

/* ===== WHATSAPP BUTTON ===== */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}
.whatsapp a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}
.whatsapp a:hover { transform: scale(1.05); }

/* ===== SERVICES SECTION ===== */
#services { background: var(--bg-primary); padding: 60px 20px; }
.services h2 { text-align: center; font-size: 2.2rem; margin-bottom: 30px; color: var(--text-primary); }
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-items: center;
}
.card {
    position: relative;
    width: 220px;
    min-height: 220px;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover .blob { opacity: 0.6; animation: blob-spin 6s linear infinite; }
.bg {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background: var(--bg-card);
    border-radius: 12px;
    z-index: 2;
}
.blob {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(12px);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
}
@keyframes blob-spin {
    0% { transform: rotate(0deg) translateX(55px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(55px) rotate(-360deg); }
}
.content { position: relative; z-index: 3; padding: 15px; text-align: center; color: var(--text-primary); }

.content h3 { font-size: 18px; margin-bottom: 10px; color: var(--accent); }
.content p { font-size: 13px; line-height: 1.4; color: var(--text-muted); }

/* Service Icon Styling */
.service-icon {
    font-size: 32px;
    margin-bottom: 14px;
    color: var(--accent);
    transition: transform 0.3s ease, color 0.3s ease;
    display: block;
    text-align: center;
}

.card:hover .service-icon {
    transform: scale(1.15) translateY(-3px);
    color: #1d4ed8;
}

body.dark .card:hover .service-icon {
    color: #60a5fa;
}

/* ===== WHY US SECTION ===== */
#why-us { padding: 80px 20px; text-align: center; background: var(--bg-secondary); }
#why-us h2 { font-size: 2.2rem; margin-bottom: 15px; color: var(--text-primary); }
#why-us>p { max-width: 700px; margin: 0 auto 60px auto; color: var(--text-muted); }
.why-us-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.why-us-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 180px;
    width: 220px;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: 0.4s ease;
    padding: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.why-us-card.red { background: linear-gradient(135deg, #ea580c, #f97316); }
.why-us-card.blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.why-us-card.green { background: linear-gradient(135deg, #059669, #10b981); }
.why-us-card.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.why-us-card .tip { font-size: 1.1em; font-weight: 700; margin-bottom: 10px; }
.why-us-card .second-text { font-size: 0.85em; opacity: 0.95; }
.why-us-card:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.why-us-cards:hover > .why-us-card:not(:hover) { filter: blur(2px); transform: scale(0.98); }
.why-us-card i { font-size: 28px; margin-bottom: 12px; }

/* ===== PRICING ===== */
/* #pricing { padding: 80px 20px; text-align: center; background: var(--bg-primary); }
#pricing h2 { font-size: 2.2rem; margin-bottom: 15px; color: var(--text-primary); }
#pricing>p { color: var(--text-muted); margin-bottom: 40px; }
.pricing-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.pricing-card.basic { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.pricing-card.standard { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.pricing-card.premium { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.pricing-card {
    width: 290px;
    padding: 30px 25px;
    border-radius: 20px;
    transition: 0.3s ease;
    position: relative;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.pricing-card:hover { transform: translateY(-10px); }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: white; }
.pricing-card h1 { font-size: 1.8rem; margin-bottom: 20px; color: white; }
.pricing-card ul { list-style: none; margin-bottom: 25px; }
.pricing-card ul li { margin: 12px 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.9); }
.pricing-card button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: white;
    color: #1a1a2e;
    font-weight: bold;
    transition: 0.3s;
    width: 100%;
}
.pricing-card button:hover { transform: scale(1.02); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.popular { transform: scale(1.02); }
.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #1a1a2e;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}
.card_box { position: relative; overflow: hidden; }
.card_box span {
    position: absolute;
    overflow: hidden;
    width: 150px;
    height: 150px;
    top: -10px;
    left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_box span::before {
    content: 'PRO';
    position: absolute;
    width: 170%;
    height: 35px;
    background: #ffd700;
    color: #1a1a2e;
    transform: rotate(-45deg) translateY(-20px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
} */



/* ===== OUR STORY ===== */
#our-story { padding: 80px 20px; text-align: center; background: var(--bg-secondary); }
.our-story { max-width: 800px; margin: auto; }
.our-story h2 { font-size: 2.2rem; margin-bottom: 25px; color: var(--text-primary); }
.our-story p { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 15px; }
.our-story .highlight {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
    padding: 20px;
    border-left: 4px solid var(--accent);
    background: var(--highlight-bg);
    border-radius: 8px;
}

/* ===== CONTACT SECTION ===== */
#contact-us { padding: 80px 20px; background: var(--bg-primary); text-align: center; }
.contact-us h2 { font-size: 2.2rem; margin-bottom: 15px; color: var(--text-primary); }
.contact-us>p { color: var(--text-muted); margin-bottom: 30px; }
.input { margin: 10px auto; max-width: 500px; }
.input input, .textarea textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
    text-align: center;
}
.input input:focus, .textarea textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }
.textarea { max-width: 500px; margin: 0 auto; }
.contact-us button {
    margin: 15px 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
#send-via-Email { background: linear-gradient(135deg, #2563eb, #06b6d4); color: white; }
#send-via-whatsapp { background: #25D366; color: white; }
.contact-us button:hover { transform: translateY(-3px); filter: brightness(1.05); }
button:disabled { opacity: 0.6; cursor: not-allowed; }
.phone-container { max-width: 500px; margin: 10px auto; width: 100%; }
.phone-container .iti { width: 100%; display: block; }
.phone-container .iti__tel-input { font-size: 16px; width: 100% !important; text-align: center; padding: 14px 18px !important; border-radius: 12px !important; border: 1px solid var(--border-color) !important; background: var(--input-bg) !important; color: var(--text-primary) !important; }
body.dark .phone-container .iti__selected-flag { background: var(--input-bg); border-right-color: var(--border-color); }
body.dark .phone-container .iti__country-list { background: var(--bg-card); color: var(--text-primary); }

/* ===== FOOTER ===== */
#quick-links, #Legal { background: var(--footer-bg); padding: 40px 20px 20px; text-align: center; border-top: 1px solid var(--border-color); }
.quick-links h2, .legal h2 { color: var(--text-primary); font-size: 1.3rem; margin-bottom: 15px; }
.quick-links ul, .legal ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }
.quick-links li a, .legal li a { color: var(--text-muted); text-decoration: none; transition: 0.3s; }
.quick-links li a:hover, .legal li a:hover { color: var(--accent); }
#social-media { background: var(--footer-bg); padding: 20px; text-align: center; border-top: 1px solid var(--border-color); }
.social-icons { display: flex; justify-content: center; gap: 25px; }
.social-icons a { color: var(--text-muted); font-size: 24px; transition: 0.3s; }
.social-icons a:hover { color: var(--accent); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .main__content h1 { font-size: 1.8rem; }
    .cards-container { grid-template-columns: 1fr; justify-items: center; }
    .pricing-card { width: 100%; max-width: 320px; }
    .popular { transform: scale(1); }
    .header img { height: 50px; }
    .theme-toggle { right: 80px; top: 15px; width: 42px; height: 42px; }
    .theme-toggle i { font-size: 20px; }
}

::selection { background-color: #2563eb; color: white; }
::-moz-selection { background-color: #2563eb; color: white; }