/* Variables & Design Tokens */
:root {
    --primary: #1565D8;
    --primary-dark: #0a469e;
    --primary-light: #eff5ff;
    --accent: #E81C63;
    --accent-hover: #c2154f;
    --accent-secondary: #FFC107;
    
    --text-dark: #111827;
    --text-gray: #4b5563;
    --text-light: #9ca3af;
    
    --bg-main: #FAFBFC;
    --bg-white: #FFFFFF;
    
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-gray);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Enhancements */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--bg-white);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1.25rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

nav a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.25rem;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width var(--transition-base);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a:hover, nav a.active {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-main) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(232, 28, 99, 0.05) 0%, transparent 70%);
    transform: rotate(30deg);
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-gray);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Advantages */
.advantages {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0;
    margin-top: -1px;
}

.advantages .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.advantage-item h3 {
    color: var(--bg-white);
    font-size: 1.125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Services */
.services {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(21, 101, 216, 0.1);
}

.service-card h3 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* How it works */
.how-it-works {
    background-color: var(--bg-white);
    padding: 6rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px -5px rgba(232, 28, 99, 0.4);
    font-family: var(--font-heading);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Page Headers (About, Contact) */
.page-header {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-main) 100%);
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Forms */
.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    background-color: #f9fafb;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(21, 101, 216, 0.15);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

/* Contact Grid */
.contact-grid, .about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.contact-info h2, .contact-info h3 {
    color: var(--bg-white);
}

.contact-info h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p {
    color: #9ca3af;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: all var(--transition-base);
}

.value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 5rem 0 2rem;
}

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

footer h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: #94a3b8;
}

footer a:hover {
    color: var(--primary-light);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .contact-grid, .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-dark);
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        gap: 1.5rem;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .header-btn {
        display: none;
    }
    
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 4rem 0; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}
