/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.w-full { width: 100%; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.text-center { text-align: center; }

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #2563eb;
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    color: #10b981;
}

.logo small {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #374151;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    padding: 6rem 2rem 2rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #2563eb;
}

.mobile-nav-link i {
    width: 20px;
    color: #6b7280;
}

.mobile-menu-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f3f4f6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.btn-outline-primary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(45deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Search Container */
.search-container {
    margin-bottom: 4rem;
}

.search-wrapper {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #f3f4f6;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-category {
    min-width: 180px;
    padding: 1rem;
    border: 2px solid #f3f4f6;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-category:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    padding: 6rem 0;
    background: #f9fafb;
}

/* Estilos para o Slick Slider (ajuste conforme necessário) */
/* Sobrescrever os estilos padrão do Slick Theme para as setas */
.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 6 Free"; /* Use a fonte Font Awesome */
    font-weight: 900; /* Para ícones sólidos */
    font-size: 2rem; /* Tamanho do ícone */
    color: #2563eb; /* Cor das setas */
}

.slick-prev:before {
    content: "\f053"; /* Código do ícone de seta para a esquerda (chevron-left) */
}

.slick-next:before {
    content: "\f054"; /* Código do ícone de seta para a direita (chevron-right) */
}

.slick-prev, .slick-next {
    width: 40px; /* Largura da área clicável */
    height: 40px; /* Altura da área clicável */
    z-index: 10;
}

.slick-prev {
    left: -25px; /* Posição da seta esquerda */
}

.slick-next {
    right: -25px; /* Posição da seta direita */
}

/* Sobrescrever os estilos padrão do Slick Theme para os pontos de paginação */
.slick-dots li button:before {
    font-size: 10px; /* Tamanho dos pontos */
    color: #6b7280; /* Cor dos pontos inativos */
}

.slick-dots li.slick-active button:before {
    color: #2563eb; /* Cor do ponto ativo */
}

/* Ajustes para o card da categoria dentro do slider - CORREÇÃO PARA CÍRCULOS PERFEITOS */
.categories-slider .category-card {
    width: 160px !important; /* Largura fixa para garantir círculo perfeito */
    height: 160px !important; /* Altura igual à largura para criar círculo */
    min-width: 160px; /* Garante largura mínima */
    min-height: 160px; /* Garante altura mínima */
    max-width: 160px; /* Garante largura máxima */
    max-height: 160px; /* Garante altura máxima */
    border-radius: 50% !important; /* Força o formato circular */
    display: flex !important; /* Flexbox para centralizar conteúdo */
    flex-direction: column !important; /* Organiza em coluna */
    align-items: center !important; /* Centraliza horizontalmente */
    justify-content: center !important; /* Centraliza verticalmente */
    padding: 15px !important; /* Padding interno */
    text-align: center !important; /* Centraliza texto */
    border: 2px solid #e5e7eb; /* Borda visível */
    background: white !important; /* Fundo branco */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Sombra suave */
    transition: all 0.3s ease;
    box-sizing: border-box !important; /* Inclui padding e border no tamanho total */
    margin: 0 15px !important; /* Margem entre slides */
    overflow: hidden; /* Esconde conteúdo que ultrapassar */
    position: relative; /* Para posicionamento correto */
}

.categories-slider .category-card:hover {
    transform: scale(1.05) !important; /* Efeito de zoom ao hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important; /* Sombra mais pronunciada */
    border-color: #2563eb !important; /* Borda azul ao hover */
}

/* Remove qualquer efeito de brilho que não combina com círculos */
.category-card::before {
    content: none !important;
}

/* Ícone da categoria - GARANTIA DE CIRCULARIDADE PERFEITA */
.category-icon {
    width: 70px !important; /* Largura fixa do ícone */
    height: 70px !important; /* Altura igual à largura para círculo perfeito */
    min-width: 70px; /* Largura mínima */
    min-height: 70px; /* Altura mínima */
    max-width: 70px; /* Largura máxima */
    max-height: 70px; /* Altura máxima */
    background: linear-gradient(135deg, #667eea, #764ba2) !important; /* Gradiente de fundo */
    border-radius: 50% !important; /* Força formato circular */
    display: flex !important; /* Flexbox para centralizar ícone */
    align-items: center !important; /* Centraliza verticalmente */
    justify-content: center !important; /* Centraliza horizontalmente */
    font-size: 1.8rem !important; /* Tamanho do ícone */
    color: white !important; /* Cor do ícone */
    flex-shrink: 0 !important; /* Não permite redução */
    margin-bottom: 12px !important; /* Espaçamento inferior */
    box-sizing: border-box !important; /* Inclui padding e border no tamanho */
    position: relative; /* Para posicionamento correto */
    overflow: hidden; /* Esconde conteúdo que ultrapassar */
}

/* Conteúdo da categoria */
.category-content {
    flex: none !important; /* Não permite crescimento */
    width: 100% !important; /* Ocupa largura total disponível */
    display: flex !important; /* Flexbox para centralizar */
    flex-direction: column !important; /* Organiza em coluna */
    align-items: center !important; /* Centraliza horizontalmente */
    justify-content: center !important; /* Centraliza verticalmente */
    text-align: center !important; /* Centraliza texto */
}

/* Título da categoria */
.category-title {
    font-size: 1rem !important; /* Tamanho da fonte */
    font-weight: 600 !important; /* Peso da fonte */
    margin-bottom: 6px !important; /* Espaçamento inferior */
    color: #111827 !important; /* Cor do texto */
    white-space: nowrap !important; /* Evita quebra de linha */
    overflow: hidden !important; /* Esconde texto que transborda */
    text-overflow: ellipsis !important; /* Adiciona "..." se necessário */
    max-width: 100% !important; /* Largura máxima */
    line-height: 1.2 !important; /* Altura da linha */
}

/* Oculta a descrição para manter o design limpo */
.category-description {
    display: none !important;
}

/* Contagem da categoria */
.category-count {
    color: #6b7280 !important; /* Cor do texto */
    font-weight: 500 !important; /* Peso da fonte */
    font-size: 0.85rem !important; /* Tamanho da fonte */
    white-space: nowrap !important; /* Evita quebra de linha */
    overflow: hidden !important; /* Esconde texto que transborda */
    text-overflow: ellipsis !important; /* Adiciona "..." se necessário */
    max-width: 100% !important; /* Largura máxima */
    line-height: 1.2 !important; /* Altura da linha */
}

/* Oculta a seta para manter o design circular limpo */
.category-arrow {
    display: none !important;
}

/* Featured Ads Section */
.featured-ads {
    padding: 6rem 0;
    background: white;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ad-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #e5e7eb;
}

.ad-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ad-content {
    padding: 1.5rem;
}

.ad-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
    line-height: 1.4;
}

.ad-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.ad-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.view-more-container {
    text-align: center;
}

/* Plans Section */
.plans-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.plans-section .section-title,
.plans-section .section-subtitle {
    color: white;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.plan-card.popular {
    border-color: #10b981;
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    color: #111827;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.feature i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.feature:not(.disabled) i {
    background: #10b981;
    color: white;
}

.feature.disabled {
    opacity: 0.5;
}

.feature.disabled i {
    background: #e5e7eb;
    color: #9ca3af;
}

/* How it Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #f9fafb;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2rem auto 1.5rem;
    font-size: 2rem;
    color: #2563eb;
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-logo i {
    font-size: 2rem;
    color: #10b981;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #10b981;
}

.contact-info {
    space-y: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9ca3af;
}

.contact-item i {
    color: #10b981;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #10b981;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(50px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal.large .modal-content {
    max-width: 800px;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 2rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.modal-close {
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #374151;
}

.modal-body {
    padding: 2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.file-upload-area:hover {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-area i {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.file-upload-area p {
    color: #6b7280;
    margin: 0;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.preview-image {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.form-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Plan Selection in Ad Form */
.plan-selection {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
}

.plan-selection h4 {
    margin-bottom: 1rem;
    color: #111827;
    font-weight: 600;
}

.plan-options {
    display: grid;
    gap: 1rem;
}

.plan-option {
    display: block;
    cursor: pointer;
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-option-content {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.plan-option input[type="radio"]:checked + .plan-option-content {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}

.plan-option-content:hover {
    border-color: #d1d5db;
}

.plan-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.plan-option-title {
    font-weight: 600;
    color: #111827;
}

.plan-option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.plan-option-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-option-features li {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.plan-option-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Loading States */
.loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }

    .search-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .search-category {
        min-width: auto;
    }

    .hero-stats {
        gap: 2rem;
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Media Queries para responsividade do slider */
    .slick-prev {
        left: -15px;
    }
    .slick-next {
        right: -15px;
    }
    .slick-dots {
        bottom: -30px; /* Ajuste a posição dos pontos em telas menores */
    }

    /* Ajustes específicos para os cards de categoria em mobile - CÍRCULOS PERFEITOS */
    .categories-slider .category-card {
        width: 130px !important; /* Reduz tamanho em mobile mas mantém proporção */
        height: 130px !important;
        min-width: 130px !important;
        min-height: 130px !important;
        max-width: 130px !important;
        max-height: 130px !important;
        padding: 12px !important;
        margin: 0 8px !important;
    }

    .category-icon {
        width: 55px !important; /* Reduz ícone proporcionalmente */
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }

    .category-title {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }

    .category-count {
        font-size: 0.75rem !important;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.popular {
        transform: none;
    }

    .plan-card.popular:hover {
        transform: translateY(-10px);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .modal {
        padding: 1rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    .plan-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .ads-grid {
        grid-template-columns: 1fr;
    }

    /* Ajustes ainda menores para telas muito pequenas - MANTÉM CÍRCULOS PERFEITOS */
    .categories-slider .category-card {
        width: 110px !important;
        height: 110px !important;
        min-width: 110px !important;
        min-height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
        padding: 8px !important;
        margin: 0 5px !important;
    }

    .category-icon {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
        min-height: 45px !important;
        max-width: 45px !important;
        max-height: 45px !important;
        font-size: 1.2rem !important;
        margin-bottom: 6px !important;
    }

    .category-title {
        font-size: 0.8rem !important;
        margin-bottom: 3px !important;
    }

    .category-count {
        font-size: 0.7rem !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .modal,
    .mobile-menu {
        display: none !important;
    }
    
    .hero {
        background: none !important;
        color: #000 !important;
    }
    
    .hero-title .highlight {
        -webkit-text-fill-color: #000 !important;
    }
}