.hero-section {
    position: relative;
    min-height: calc(100vh - 88px);
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon-tl,
.hero-icon-tr,
.hero-icon-bl,
.hero-icon-br {
    position: absolute;
    font-family: monospace;
    font-size: 36px;
    opacity: 0.4;
    user-select: none;
}

.hero-icon-tl {
    top: 100px;
    left: 40px;
    color: #fee2e2;
}

.hero-icon-tr {
    top: 100px;
    right: 40px;
    color: #e5e7eb;
}

.hero-icon-bl {
    bottom: 40px;
    left: 40px;
    color: #e5e7eb;
}

.hero-icon-br {
    bottom: 40px;
    right: 40px;
    color: #fee2e2;
}

.hero-dot {
    position: absolute;
    left: 25%;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #f9a8d4;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-diamond {
    position: absolute;
    left: 50%;
    bottom: 80px;
    width: 16px;
    height: 16px;
    background: #e5e7eb;
    transform: rotate(45deg);
    opacity: 0.5;
}

.hero-card {
    position: absolute;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-card--left {
    left: 48px;
    top: 33%;
}

.hero-card--right {
    right: 48px;
    top: 50%;
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-icon--red {
    background: #fef2f2;
    color: #dc2626;
}

.hero-card-icon--gray {
    background: #f9fafb;
    color: #4b5563;
}

.hero-card-svg {
    width: 24px;
    height: 24px;
}

.hero-card-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1B2A4A;
    line-height: 1;
}

.hero-card-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.hero-terminal,
.hero-snippet {
    position: absolute;
    background: #1e1e1e;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 20;
    width: 280px;
}

.hero-terminal {
    left: 40px;
    bottom: 120px;
}

.hero-snippet {
    right: 40px;
    bottom: 150px;
}

.hero-terminal-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.hero-terminal-dot--red,
.hero-terminal-dot--yellow,
.hero-terminal-dot--green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-terminal-dot--red {
    background: #ff5f57;
}

.hero-terminal-dot--yellow {
    background: #febc2e;
}

.hero-terminal-dot--green {
    background: #28c840;
}

.hero-terminal-text {
    font-family: monospace;
    font-size: 14px;
    color: #4ADE80;
}

.hero-snippet-pre {
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #abb2bf;
}

.hero-content {
    position: relative;
    z-index: 30;
    text-align: center;
    padding: 0 16px;
    max-width: 896px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid #f9a8a8;
    border-radius: 9999px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    background: rgba(254, 242, 242, 0.5);
    margin-bottom: 32px;
    user-select: none;
}

.hero-title,
.hero-subtitle {
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(2.25rem, 8vw, 4.5rem);
}

.hero-title {
    color: #1B2A4A;
}

.hero-subtitle {
    color: var(--color-secondary);
    min-height: 1.2em;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 560px;
    margin: 24px auto 0;
    line-height: 1.7;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-vermelho-mscode);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 14px 28px;
    border-radius: 9999px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.hero-btn-primary:hover {
    opacity: 0.85;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #1B2A4A;
    font-weight: 500;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-btn-secondary:hover {
    background: #f9fafb;
}

@keyframes fadePill {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.fade-pill-anim {
    opacity: 0;
    animation: fadePill 0.6s ease-out forwards;
}

.fade-slide-up-anim {
    opacity: 0;
    animation: fadeSlideUp 0.6s ease-out 0.5s forwards;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background-color: currentColor;
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 0.8s step-end infinite;
}

/* Responsividade */
@media(max-width: 767px) {
    .hero-animated-el {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

@media (max-width: 380px) {
    .hero-title,
    .hero-subtitle {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}
