/* =========================================
   AdPerforma - Global Stylesheet
   ========================================= */

/* --- 1. CSS Variables (Color Palette) --- */
:root {
    --bg-dark: #0B101E;         /* Deep Midnight Blue for premium tech feel */
    --card-bg: #1A233A;         /* Lighter blue for metric boxes and forms */
    --accent-green: #00D084;    /* Performance Growth Green for high conversions */
    --accent-hover: #00A669;    /* Darker green for button hovers */
    --text-main: #F8FAFC;       /* Off-white for easy reading */
    --text-muted: #94A3B8;      /* Slate gray for secondary text */
    --font-family: 'Montserrat', sans-serif;
}

/* --- 2. Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 3. Typography --- */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

/* --- 4. Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(11, 16, 30, 0.95); /* Slight transparency */
    backdrop-filter: blur(10px);        /* Frosted glass effect */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar nav a:hover {
    color: var(--accent-green);
}

/* --- 5. Buttons --- */
.primary-btn, .cta-btn {
    display: inline-block;
    background-color: var(--accent-green);
    color: #000;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
}

.primary-btn:hover, .cta-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
}

/* --- 6. Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: radial-gradient(circle at center, #131d36 0%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 800px;
    margin-top: 60px; /* Accounts for fixed navbar */
}

.hero-content h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #FFF, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- 7. Blinking WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    padding: 10px 15px 10px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    animation: pulse 2s infinite;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-icon {
    background: #FFF;
    color: #25D366;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Pulse Animation for WhatsApp */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- 8. Mobile Responsiveness --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .navbar nav {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-btn {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .whatsapp-text {
        display: none; /* Show only icon on small mobile screens */
    }
    
    .whatsapp-float {
        padding: 10px;
        border-radius: 50%;
    }
}