/* ==========================================================================
   SITE CREATORS — CORE DESIGN SYSTEM (MIGRADO DO DESIGN.HTML)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --yellow: #ffda03;
    --orange: #f6931e;
    --bg-main: #0a0a0a;
    --bg-alt: #050505;
    --card-bg: #111111;
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f5f5f5;
    --text-muted: #888888;
}

.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 218, 3, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 218, 3, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* --- Reset & Base Estilização --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif !important;
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
    -webkit-font-smoothing: antialiased;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace !important;
}

/* --- Elementos de Texto e Destaques --- */
.text-yellow {
    color: var(--yellow) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* --- Componente: Header & Navigation --- */
header {
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

header a:not(.btn-premium) {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

header a:not(.btn-premium):hover {
    color: #ffffff;
}

/* --- Componente: Bento Cards & Hovers --- */
.bento-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    border-radius: 1rem !important;
    padding: 2.5rem 2rem !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.bento-card:hover {
    border-color: rgba(255, 218, 3, 0.3) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7) !important;
}

/* Tags Tecnológicas Internas */
.tag-tech {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border) !important;
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--yellow) !important;
    letter-spacing: 0.05em;
    display: inline-block;
}

/* Números Grandes Vazados do Passo a Passo */
.step-number {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    font-size: 3rem !important;
    color: rgba(255, 255, 255, 0.04) !important;
    line-height: 1;
}

/* --- Componente: Botões Premium de Conversão --- */
.btn-premium {
    background-color: var(--yellow) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-premium:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 8px 24px rgba(255, 218, 3, 0.25) !important;
}

.btn-premium-secondary {
    background-color: #111111 !important;
    border: 1px solid var(--border) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
}

.btn-premium-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: #18181b !important;
}

/* --- Componente: Elementos de Formulário --- */
input,
textarea,
select {
    background-color: #121212 !important;
    border: 1px solid var(--border) !important;
    color: var(--text-main) !important;
    font-family: 'Montserrat', sans-serif !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--yellow) !important;
    box-shadow: 0 0 0 2px rgba(255, 218, 3, 0.15) !important;
    outline: none;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1.2em), calc(100% - 14px) calc(1.2em);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background-color: #121212;
    color: var(--text-main);
}

/* --- Engine de Animação (Fade-in) --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .bento-card:hover {
        transform: none !important;
    }
}