/* Base and Reset */
:root {
    --text-color: #333333;
    --text-muted: #666666;
    --bg-color: #fafafa;
    --card-bg: #ffffff;
    --border-color: #e5e5e5;
    --border-radius: 12px;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --text-color: #f4f4f5;
    --text-muted: #a1a1aa;
    --bg-color: #09090b;
    --card-bg: #18181b;
    --border-color: #27272a;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; }
.py-xl { padding: 5rem 0; }
.text-lg { font-size: 1.125rem; }
.text-md { font-size: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: none;
}
.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-color);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}
.icon-button {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}
.icon-button:hover { color: var(--primary); }

/* Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.glassmorphism-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
[data-theme="dark"] .glassmorphism-nav {
    background: rgba(9, 9, 11, 0.7);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}
.logo img {
    max-height: 40px;
}
.main-navigation ul {
    display: flex;
    gap: 2rem;
}
.main-navigation a {
    color: var(--text-muted);
    font-weight: 500;
}
.main-navigation a:hover {
    color: var(--text-color);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.site-main {
    padding-top: var(--nav-height);
    min-height: calc(100vh - 250px);
}

/* Hero Section */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: calc(90vh - var(--nav-height));
    display: flex;
    align-items: center;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}
.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #333;
}
[data-theme="dark"] .floating-card {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}
.top-right { top: 10%; right: -20px; transform: translateX(-20px); }
.bottom-left { bottom: 10%; left: -20px; transform: translateX(20px); }

/* Features Section */
.features-section, .services-preview-section {
    padding: 6rem 0;
    background-color: var(--card-bg);
}
.section-header {
    margin-bottom: 4rem;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(15, 98, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.icon-box i {
    font-size: 2rem;
    color: var(--primary);
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}
.cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Basic Pages */
.page-header {
    background: var(--card-bg);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
}
.page-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background-color: var(--card-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}
.footer-col p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul li a {
    color: var(--text-muted);
}
.footer-col ul li a:hover {
    color: var(--primary);
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    left: auto;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .floating-card.top-right, .floating-card.bottom-left {
        transform: none;
        right: 10px;
        left: 10px;
        font-size: 0.9rem;
    }
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hidden-mobile {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
}
