/* 
 * File: base.css
 * Author: BIGSOFT, LDA
 * Description: Core CSS variables, resets, base typography, and utilities.
 */
/* RESET AND BASE STYLES */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #FF4444; /* Bright Red/Conversion Highlight Color */
    --color-secondary: #FFC400; /* Secondary yellow/gold accent */
    --color-text: #E6F1FF; /* Light text on dark background */
    --color-background-dark: #000000; /* Making it truly black/very dark */
    --color-background-light: #0C0C0C; /* Used for subtle contrast on dark background */
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
    --spacing-sm: 10px;
    --spacing-md: 25px; /* Increased spacing */
    --spacing-lg: 50px; /* Increased spacing */
    --spacing-xl: 100px; /* Increased padding for sections to feel expansive */
}

/* Keyframes for Button Animation */
@keyframes pulse-cta {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(255, 68, 68, 0.5); }
    50% { transform: scale(1.03); box-shadow: 0 15px 30px rgba(255, 68, 68, 0.8); } /* Enhanced pulse for primary (Red) */
    100% { transform: scale(1); box-shadow: 0 8px 20px rgba(255, 68, 68, 0.5); }
}

@keyframes pulse-cta-secondary {
    0% { transform: scale(1); box-shadow: 0 8px 15px rgba(255, 196, 0, 0.3); }
    50% { transform: scale(1.015); box-shadow: 0 10px 20px rgba(255, 196, 0, 0.5); } /* Subtle pulse for secondary (Yellow) */
    100% { transform: scale(1); box-shadow: 0 8px 15px rgba(255, 196, 0, 0.3); }
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background-dark);
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling on small screens */
}

/* CONTAINER AND LAYOUT UTILITIES */
.container {
    width: 90%;
    /* Removed explicit 1024px max-width constraint for full width requirement. Setting a practical limit for readability. */
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.bg-light {
    background-color: var(--color-background-light);
}

h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text); /* Changed H1 to dark text / now light text */
    font-weight: 900;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text); /* H2 in White/Light */
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
}

.mt-xl {
    margin-top: var(--spacing-xl);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

/* BUTTONS (CTAs) */
.btn {
    display: inline-block;
    padding: 16px 35px; /* Bigger buttons */
    margin: 15px 0;
    border-radius: 8px; /* Slightly less rounded than 50px */
    text-decoration: none;
    font-weight: 800; /* Bolder text */
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    min-width: 280px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    animation: pulse-cta 3s infinite ease-in-out; /* Apply subtle animation */
}

/* Specific styling for navigation CTA, which should be smaller */
.btn-cta-nav {
    min-width: unset;
    padding: 10px 20px;
    font-size: 0.9rem;
    animation: none; /* Disable animation for navigation button */
}

.btn-primary {
    background-color: var(--color-primary);
    color: #000; /* Black text for maximum contrast on bright red */
    box-shadow: 0 8px 15px rgba(255, 68, 68, 0.4); /* Stronger shadow */
}

.btn-primary:hover {
    background-color: #FF6666; /* Lighter red */
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 68, 68, 0.6);
    animation: none; /* Stop pulsing on hover */
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary); /* Now Red */
    border: 2px solid var(--color-primary);
}

/* DESKTOP/TABLET BASE OPTIMIZATION */
@media (min-width: 768px) {
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 2.8rem;
    }
    .section {
        padding: var(--spacing-xl) 0;
    }
}

/* Mobile-first tweaks: buttons & layout more touch-friendly */
@media (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .btn {
        width: 100%;
        min-width: 0;
        padding: 14px 16px;
        font-size: 1rem;
    }

    /* Keep nav CTA compact so it fits alongside the logo */
    .btn-cta-nav {
        width: auto;
        min-width: unset;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}