/**
 * CRIMIFY - Landing Page Clean & Modern
 * Design limpo, responsivo e profissional
 */

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta Clean Dark */
    --bg-deep: #0a0a0a;
    --bg-dark: #111111;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    
    /* Vermelho Principal */
    --red-primary: #8b0000;
    --red-dark: #5a0000;
    --red-light: #b00000;
    --red-glow: rgba(139, 0, 0, 0.3);
    
    /* Textos */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    
    /* Bordas */
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(139, 0, 0, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ========================================
   TIPOGRAFIA
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* ========================================
   INTRO ANIMADA
   ======================================== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    text-align: center;
}

.intro-stamp {
    font-size: 48px;
    color: var(--red-primary);
    opacity: 0;
    transform: scale(0.8);
    animation: stampAppear 0.8s ease-out 0.3s forwards;
}

.intro-text {
    margin-top: 20px;
    font-size: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

@keyframes stampAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--red-primary);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--red-light);
}

.header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    padding: 10px 24px;
    background: transparent;
    border: 1.5px solid var(--red-primary);
    color: var(--red-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--red-primary);
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--red-primary);
    color: var(--red-primary);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--red-primary);
    color: var(--text-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.hero-headline-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-headline-line:nth-child(1) {
    animation: heroLine1 0.8s ease-out 0.5s forwards;
}

.hero-headline-line:nth-child(2) {
    animation: heroLine2 0.8s ease-out 0.7s forwards;
    color: var(--red-primary);
}

.hero-headline-line:nth-child(3) {
    animation: heroLine3 0.8s ease-out 0.9s forwards;
}

@keyframes heroLine1,
@keyframes heroLine2,
@keyframes heroLine3 {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subheadline {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 64px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.5s forwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--red-primary);
    display: block;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: inherit;
}

.btn-primary {
    background: var(--red-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 16px var(--red-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--red-glow);
    background: var(--red-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
}

.btn-sticky {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    border-radius: 50px;
    padding: 14px 28px;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
    display: none;
}

.btn-sticky.visible {
    display: block;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 28px rgba(139, 0, 0, 0.6);
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 24px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-title .highlight {
    color: var(--red-primary);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

/* ========================================
   CLASSIFIED SECTION
   ======================================== */
.classified-section {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
    position: relative;
}

.classified-stamp {
    display: none; /* Removido para design mais clean */
}

.classified-content {
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.how-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
}

.how-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.how-card:hover {
    border-color: var(--red-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.how-card-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--red-primary);
    opacity: 0.15;
    position: absolute;
    top: 16px;
    right: 16px;
    line-height: 1;
}

.how-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.how-card:hover .how-card-icon {
    filter: grayscale(0);
}

.how-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.how-card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

/* ========================================
   DECISION DEMO
   ======================================== */
.decision-demo {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 48px;
    margin-top: 48px;
    border-radius: 12px;
}

.decision-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.choice-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.choice-card:hover {
    border-color: var(--red-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.choice-card.selected {
    border-color: var(--red-primary);
    background: rgba(139, 0, 0, 0.08);
}

.choice-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--red-primary);
}

.choice-card-impact {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ========================================
   EVIDENCE BOARD
   ======================================== */
.evidence-board {
    background: var(--bg-dark);
    border: 1px solid var(--border-strong);
    padding: 48px;
    margin-top: 48px;
    border-radius: 12px;
    position: relative;
    min-height: 400px;
}

.evidence-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(139, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(139, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
    border-radius: 12px;
}

.evidence-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.evidence-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.evidence-item::before {
    content: '📎';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    background: var(--bg-dark);
    padding: 0 8px;
}

.evidence-item:hover {
    border-color: var(--red-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.evidence-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.evidence-item-desc {
    color: var(--text-muted);
    font-size: 12px;
}

/* ========================================
   CRIMCOINS SECTION
   ======================================== */
.crimcoins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.crimcoin-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 170, 0, 0.2);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.crimcoin-card:hover {
    border-color: rgba(255, 170, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 170, 0, 0.1);
}

.crimcoin-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.crimcoin-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffaa00;
}

.crimcoin-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   RANKING SECTION
   ======================================== */
.ranking-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    margin-top: 48px;
    border-radius: 12px;
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.ranking-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ranking-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

.ranking-table tr:hover {
    background: rgba(139, 0, 0, 0.03);
}

.ranking-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--red-primary);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* ========================================
   CHECKLIST SECTION
   ======================================== */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.checklist-column h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.checklist-column.for h3 {
    color: var(--red-primary);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-card);
    border-left: 3px solid var(--border);
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
}

.checklist-item:hover {
    border-left-color: var(--red-primary);
    background: rgba(139, 0, 0, 0.03);
}

.checklist-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.checklist-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.faq-item.active {
    border-color: var(--red-primary);
}

.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--red-primary);
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
    border-top: 1px solid var(--border-strong);
    padding: 100px 24px;
    text-align: center;
    position: relative;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.final-cta-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 48px 24px 24px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   PROMO BANNER
   ======================================== */
.promo-banner {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(90, 0, 0, 0.9));
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
    z-index: 1001;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .header-nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .section {
        padding: 80px 20px;
    }

    .how-works-grid {
        grid-template-columns: 1fr;
    }

    .decision-choice {
        grid-template-columns: 1fr;
    }

    .classified-content {
        padding: 40px 24px;
    }

    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .btn-sticky {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .crimcoins-grid {
        grid-template-columns: 1fr;
    }

    .evidence-items {
        grid-template-columns: 1fr;
    }

    .ranking-preview {
        padding: 24px 16px;
    }

    .decision-demo {
        padding: 32px 20px;
    }

    .evidence-board {
        padding: 32px 20px;
        min-height: auto;
    }

    .hero-stats {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .hero-subheadline {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* ========================================
   REDUCE MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
