/* 
    MARKETING AI - Design System 
    Author: Antigravity
*/

:root {
    /* Primary Colors */
    --accent: #ff9800;
    --accent-dark: #ec8800;
    --accent-light: #ffa424;
    
    /* Neutrals */
    --bg-dark: #121212;
    --bg-surface: #1e1e1e;
    --bg-light: #f8f9fa;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #2c2c2c;
    --text-dark-muted: rgba(44, 44, 44, 0.6);
    
    /* Effects */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
    
    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

/* --- Layout Utils --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 8rem 0;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-box {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border-radius: 8px;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: var(--text-dark) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 5rem;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(to right, var(--accent), #ffca28);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-outline:hover {
    background: var(--glass);
    transform: translateY(-2px);
}

/* --- Section Background Utils --- */
.section-with-bg {
    position: relative;
    overflow: hidden;
    color: white;
}

.section-bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.section-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.section-with-bg .container {
    position: relative;
    z-index: 3;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* --- Form Styles --- */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 152, 0, 0.05);
}

/* --- Image Placeholders --- */
.image-placeholder {
    background: #252525;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03));
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Navigation Visibility --- */
.mobile-menu-toggle {
    display: none;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateX(100%);
    visibility: hidden;
}

.mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-links {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-links li {
    margin-bottom: 2rem;
}

.mobile-links a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    font-family: var(--font-display);
    font-weight: 800;
}

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

.mobile-cta {
    color: var(--accent) !important;
}

@media (max-width: 1100px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--glass-border);
        color: white;
        padding: 0.5rem;
        border-radius: 8px;
        cursor: pointer;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
}

/* --- Responsive Overhaul --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero {
        padding-top: 8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Force single column for all structural grids */
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr !important;
    }
}/* --- WhatsApp Floating Button --- */
.whatsapp-float-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.whatsapp-options {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 320px;
    backdrop-filter: blur(20px);
    animation: slideUp 0.3s ease forwards;
}

.whatsapp-options.active {
    display: flex;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    padding: 1rem;
    background: var(--glass);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.whatsapp-option:hover {
    background: rgba(255, 152, 0, 0.1);
    border-color: var(--accent);
    transform: translateX(-5px);
}

.whatsapp-option-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.whatsapp-option-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.whatsapp-main-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.whatsapp-main-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

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