/* :root {
        --bg: #080c14;
        --surface: #0d1526;
        --border: rgba(255, 255, 255, 0.06);
        --text: #e8edf5;
        --muted: #6b7a99;
        --accent: #3b82f6;
    }

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

    body {
        background: var(--bg);
        font-family: 'DM Sans', sans-serif;
        color: var(--text);
    } */

#aplicacoes {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* background grid */
#aplicacoes::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* glow top center */
#aplicacoes::after {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    color: #93c5fd;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.section-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #000000;
} */

.section-title span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    color: var(--muted);
    font-size: 17px;
    font-weight: 300;
    margin-top: 12px;
    max-width: 480px;
}

/* Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 64px;
}

/* Card */
.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    animation: fadeUp 0.5s ease both;
}

.app-card:nth-child(1) {
    animation-delay: 0.05s;
}

.app-card:nth-child(2) {
    animation-delay: 0.12s;
}

.app-card:nth-child(3) {
    animation-delay: 0.19s;
}

.app-card:nth-child(4) {
    animation-delay: 0.26s;
}

.app-card:nth-child(5) {
    animation-delay: 0.33s;
}

.app-card:nth-child(6) {
    animation-delay: 0.40s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

.app-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.15);
}

/* Card top accent line */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:nth-child(1)::before {
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
}

.app-card:nth-child(2)::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.app-card:nth-child(3)::before {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.app-card:nth-child(4)::before {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.app-card:nth-child(5)::before {
    background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.app-card:nth-child(6)::before {
    background: linear-gradient(90deg, #fa709a, #fee140);
}

/* Card Header */
.app-header {
    /* padding: 28px 28px 0; */
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    color: #fff;
    position: relative;
}

.app-card:nth-child(1) .icon-wrap {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.app-card:nth-child(2) .icon-wrap {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.app-card:nth-child(3) .icon-wrap {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}

.app-card:nth-child(4) .icon-wrap {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
}

.app-card:nth-child(5) .icon-wrap {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.3);
}

.app-card:nth-child(6) .icon-wrap {
    background: linear-gradient(135deg, #fa709a, #fee140);
    box-shadow: 0 8px 20px rgba(250, 112, 154, 0.3);
}

.app-title {
    font-family: 'Syne', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin-top: 6px;
    letter-spacing: -0.3px;
}

.app-tag {
    font-size: 11px;
    font-weight: 500;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    padding: 2px 8px;
    margin-top: 6px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Card Body */
.app-body {
    padding: 20px 28px 28px;
    color: #000000;
}

.app-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 24px;
    font-weight: 300;
}

/* Button */
.btn-app {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-app:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

.btn-app .arrow {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.btn-app:hover .arrow {
    transform: translateX(3px);
    background: rgba(59, 130, 246, 0.25);
}

/* Divider */
.card-divider {
    margin: 0 28px;
    border: none;
    border-top: 1px solid var(--border);
}

/* Bottom stats strip */
.app-meta {
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    flex-shrink: 0;
}

.meta-text {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.meta-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 6px;
    padding: 3px 10px;
    letter-spacing: 0.4px;
}

/* Responsive */
@media (max-width: 640px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }
}