/* Fonts moved to index.html for better performance */

:root {
    /* Colors */
    --primary: #0F62FE;
    --primary-hover: #0043CE;
    --secondary: #161616;
    --text-main: #161616;
    --text-muted: #525252;
    --bg-main: #FFFFFF;
    --bg-surface: #F4F7FB;
    --accent: #25D366;
    /* WhatsApp Green */
    --white: #FFFFFF;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--space-sm);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-lg) 0;
}

.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.flex-center {
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeIn 0.8s ease-out forwards;
}

/* FAQ Enhanced Styles */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-xs);
}

.accordion-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 98, 254, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.accordion-btn {
    width: 100%;
    padding: var(--space-md);
    border: none;
    background: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-btn:hover {
    color: var(--primary);
}

.accordion-btn .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
    font-size: 1.2rem;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--white);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-surface);
}

.accordion-content p {
    padding: var(--space-md);
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sticky Call Button (Mobile Only) */
.mobile-sticky-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-overlay ul {
    list-style: none;
    padding: 0;
}

.mobile-menu-overlay li {
    margin: 1.5rem 0;
}

.mobile-menu-overlay a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--secondary);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }

    .mobile-sticky-call {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    body {
        padding-bottom: 70px !important;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    header .logo img {
        height: 60px !important;
    }

    header nav ul,
    header nav .btn-primary {
        display: none !important;
    }

    .grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md);
    }

    .grid-3 {
        grid-template-columns: 1fr !important;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    h1 {
        font-size: 2.25rem !important;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .desktop-only {
        display: none !important;
    }

    /* Column stacking fixes */
    .grid[style*="grid-template-columns: 1.2fr 1fr"],
    .grid[style*="grid-template-columns: 1fr 1.2fr"],
    .section[style*="white"] .grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .glass[style*="top: -20px"] {
        top: 0 !important;
        right: 0 !important;
        position: relative !important;
        margin-top: 10px;
        max-width: 100% !important;
    }

    footer .grid-3 {
        text-align: center;
        gap: var(--space-md);
    }

    footer .grid-3 div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}