/* MOXFY - Estilos Compartilhados para Todas as Páginas */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e8ecf4 100%);
    min-height: 100vh;
    color: #1a1a1a;
}

/* Navbar */
nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #6366f1;
}

.btn-primary {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #64748b;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-ghost:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #64748b;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    color: #6366f1;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.content-section h3 {
    color: #475569;
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.content-section p {
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
    color: #475569;
    line-height: 1.8;
    margin: 1rem 0 1rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Grid Layouts */
.features-grid,
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card,
.resource-card,
.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover,
.resource-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.15);
}

.resource-icon,
.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.resource-card h3,
.contact-card h3 {
    color: #6366f1;
    margin-bottom: 0.5rem;
}

.feature-card p,
.resource-card p,
.contact-card p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-card ul,
.resource-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li,
.resource-card li {
    padding: 0.5rem 0;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card li::before,
.resource-card li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

/* Highlight Box */
.highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #6366f1;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

.highlight-box h4 {
    color: #6366f1;
    margin-bottom: 0.75rem;
}

/* Forms */
.form-section {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin: 3rem 0;
}

.form-section h2 {
    color: #6366f1;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    color: #475569;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #6366f1;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #6366f1;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Article */
.article {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.article h2 {
    color: #6366f1;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.article h3 {
    color: #475569;
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
}

.article p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article ul,
.article ol {
    color: #475569;
    line-height: 1.8;
    margin: 1rem 0 1rem 2rem;
}

.article li {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .content-section,
    .article,
    .form-section {
        padding: 1.5rem;
    }

    .features-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
