/* clube-beneficios-specific.css */
.clube-beneficios-detail {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #2d3748;
}

.clube-beneficios-detail .project-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

/* Platform Mockup */
.platform-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-device {
    background: #1a202c;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.device-screen {
    width: 280px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.app-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.realtime-indicator {
    position: absolute;
    top: -10px;
    right: -20px;
    background: #e53e3e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animações em cascata para stat-cards */
.clube-beneficios-detail .stat-card:nth-child(1) {
    animation-delay: 0s;
}

.clube-beneficios-detail .stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.clube-beneficios-detail .stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

.clube-beneficios-detail .stat-card:nth-child(4) {
    animation-delay: 0.3s;
}

.clube-beneficios-detail .stat-card:nth-child(5) {
    animation-delay: 0.4s;
}

.floating-chart {
    position: absolute;
    bottom: 30px;
    left: -40px;
    font-size: 2rem;
    background: rgba(102, 126, 234, 0.9);
    padding: 0.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Ecosystem Overview */
.ecosystem-overview {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
}

.ecosystem-overview .section-header p {
    color: #ffffff;
}

.ecosystem-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.stakeholder-column {
    display: flex;
    justify-content: center;
}

.stakeholder-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    opacity: 0;
}

.stakeholder-card.enterprise {
    border-top: 4px solid #667eea;
}

.stakeholder-card.user {
    border-top: 4px solid #f093fb;
}

.stakeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stakeholder-features {
    margin-top: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    flex-shrink: 0;
}

.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.core-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.core-label {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.core-subtitle {
    font-size: 0.8rem;
    color: #e0e0e0;
}

.connector-lines {
    display: flex;
    gap: 2rem;
}

.connector-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #667eea, #f093fb);
}

/* Multi-Role System */
.multi-role-system .section-header p {
    color: #ffffff;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.role-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.role-card.admin-role {
    border-left: 4px solid #e53e3e;
}

.role-card.partner-role {
    border-left: 4px solid #3182ce;
}

.role-card.user-role {
    border-left: 4px solid #38a169;
}

.role-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.role-icon {
    font-size: 2rem;
}

.role-badge {
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

.role-permissions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.permission {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f7fafc;
    border-radius: 8px;
}

.permission-check {
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Real-time System */
.realtime-system .section-header p {
    color: #ffffff;
}

.websocket-demo {
    margin-top: 3rem;
}

.websocket-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.flow-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.flow-item.client {
    border-left: 4px solid #667eea;
}

.flow-item.server {
    border-right: 4px solid #764ba2;
}

.flow-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.message-stream {
    margin-top: 1rem;
}

.message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f7fafc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-family: monospace;
    font-size: 0.8rem;
}

.message.sent {
    background: #ebf8ff;
    color: #3182ce;
}

.message.received {
    background: #f0fff4;
    color: #38a169;
}

.message-time {
    font-weight: 600;
}

.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.connection-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, #667eea, #764ba2);
    position: relative;
    overflow: hidden;
}

.data-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #f093fb;
    border-radius: 50%;
    left: 0;
}

.connection-label {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.server-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    padding: 0.5rem;
    background: #f7fafc;
    border-radius: 8px;
    flex: 1;
}

.stat-value {
    display: block;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.8rem;
    color: #718096;
}

.realtime-features {
    margin-top: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.realtime-feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.realtime-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Enterprise Dashboard */
.enterprise-dashboard .section-header p {
    color: #ffffff;
}

.dashboard-preview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.company-info h3 {
    margin: 0;
    color: #2d3748;
}

.plan-badge {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dashboard-stats {
    display: flex;
    gap: 1.5rem;
}

.mini-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.8rem;
    color: #718096;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
}

.metric-card {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 12px;
    opacity: 0;
}

.metric-card.large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.metric-header h4 {
    margin: 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.trend.positive {
    color: #38a169;
    font-weight: 600;
}

.value {
    font-weight: 700;
    color: #667eea;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 120px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.progress-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#667eea calc(var(--progress) * 360deg), #e2e8f0 0deg);
    margin: 0 auto;
    position: relative;
}

.progress-ring::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.score-indicator {
    text-align: center;
    margin-top: 1rem;
}

.score-label {
    background: #c6f6d5;
    color: #276749;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dashboard-features {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.feature-content p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

/* Payment System */
.payment-system .section-header p {
    color: #ffffff;
}

.payment-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.payment-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.step-visual {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: #667eea;
}

.plan-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.plan-option {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.plan-option.featured {
    border-color: #667eea;
    background: #ebf8ff;
}

.plan-name {
    display: block;
    font-weight: 600;
    color: #2d3748;
}

.plan-price {
    display: block;
    color: #667eea;
    font-weight: 700;
    margin-top: 0.5rem;
}

.integration-details {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.25rem;
}

.detail-value {
    display: block;
    font-weight: 600;
    color: #2d3748;
}

.access-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.access-badge {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: #f0fff4;
    border-radius: 10px;
    border: 2px solid #c6f6d5;
}

.badge-icon {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Technical Architecture */
.technical-architecture .section-header p {
    color: #ffffff;
}

/* Anti-Fraud System */
.anti-fraud-system {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 6rem 0;
}

.anti-fraud-system .section-header h2 {
    color: #ffffff;
}

.anti-fraud-system .section-header p {
    color: #e0e0e0;
}

.fraud-overview {
    margin-top: 3rem;
}

.fraud-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.fraud-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-top: 4px solid;
    opacity: 0;
    transform: translateY(30px);
}

.fraud-card.critical {
    border-top-color: #e53e3e;
}

.fraud-card.challenge {
    border-top-color: #f59e0b;
}

.fraud-card.solution {
    border-top-color: #10b981;
}

.fraud-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fraud-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.fraud-card h3 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.fraud-list {
    list-style: none;
    padding: 0;
}

.fraud-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.fraud-list .bullet {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.fraud-layers {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    margin: 4rem 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.layers-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.kotlin-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.layers-header h3 {
    color: #2d3748;
    font-size: 1.8rem;
    margin: 0;
}

.layers-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.layer-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.layer-item:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.layer-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.layer-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.layer-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.fraud-code {
    margin: 4rem 0;
}

.fraud-code h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.code-showcase {
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.code-header {
    background: #2d2d2d;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3d3d3d;
}

.code-lang {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.code-file {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-family: monospace;
}

.code-showcase pre {
    margin: 0;
    padding: 2rem;
    overflow-x: auto;
}

.code-showcase code {
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.fraud-flow {
    margin: 4rem 0;
}

.fraud-flow h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-step {
    flex: 1;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.flow-step:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.flow-step.decision {
    flex: 1.5;
}

.flow-step .step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
}

.flow-step h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
    font-size: 1.1rem;
}

.flow-step p {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
}

.flow-arrow {
    color: #667eea;
    font-size: 2rem;
    font-weight: 700;
}

.decision-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.option {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.option.allow {
    background: #d1fae5;
    color: #065f46;
}

.option.block {
    background: #fee2e2;
    color: #991b1b;
}

.fraud-metrics {
    margin: 4rem 0;
}

.fraud-metrics h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric-card.highlight {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
    opacity: 0;
    transform: translateY(30px);
}

.metric-card.highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.metric-card.highlight .metric-value {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.metric-card.highlight .percent {
    font-size: 2rem;
}

.metric-card.highlight .metric-label {
    font-size: 1.2rem;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.metric-card.highlight p {
    color: #1a202c !important;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    -webkit-text-fill-color: #1a202c !important;
}

.fraud-impact {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    margin-top: 4rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.fraud-impact h3 {
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.impact-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.impact-item:hover {
    background: #edf2f7;
    transform: translateX(10px);
}

.impact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.impact-item p {
    margin: 0;
    color: #2d3748;
    line-height: 1.6;
}

.impact-item strong {
    color: #667eea;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.arch-layer {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.layer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1.5rem;
    text-align: center;
}

.layer-components {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.component-group h5 {
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.components {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.component {
    background: #f7fafc;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2d3748;
    text-align: center;
    transition: all 0.3s ease;
}

.component:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.arch-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: #667eea;
    margin: -0.5rem 0;
}

/* Flutter Architecture Section (NEW) */
.flutter-architecture {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 6rem 0;
}

.flutter-architecture .section-header h2 {
    color: #ffffff;
}

.flutter-architecture .section-header p {
    color: #e0e0e0;
}

/* Multi-tenant RBAC Highlight */
.architecture-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.highlight-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.highlight-content h3 {
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-content>p {
    color: #e0e0e0;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.tenant-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tenant-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.tenant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tenant-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tenant-card h4 {
    color: #2d3748;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.tenant-card span {
    color: #718096;
    font-size: 0.85rem;
}

.tenant-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.separator-line {
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.separator-label {
    color: #667eea;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rbac-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.rbac-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
}

.rbac-icon {
    font-size: 1.2rem;
}

/* Architecture Grid */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.arch-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.arch-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.arch-icon {
    font-size: 2rem;
}

.arch-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.arch-content {
    padding: 1.5rem;
}

.tech-stack {
    margin-bottom: 1rem;
}

.tech-primary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.tech-badge {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tech-badge.main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.tech-label {
    color: #10b981;
    font-weight: 600;
    font-size: 0.8rem;
}

.tech-secondary {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.code-preview {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
}

.code-preview pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.code-preview code {
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

.nav-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.nav-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: #f7fafc;
    border-radius: 8px;
}

.nav-icon {
    font-size: 1.2rem;
}

/* Clean Architecture Layers */
.architecture-layers {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.architecture-layers h3 {
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.layers-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.layer {
    width: 100%;
    max-width: 600px;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.layer:hover {
    transform: scale(1.02);
}

.layer.presentation {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.layer.domain {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.layer.data {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.layer-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.layer-tech {
    opacity: 0.9;
    font-size: 0.9rem;
}

.layer-arrow {
    font-size: 1.5rem;
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {

    /* Menu hamburger */
    .menu-toggle {
        display: block;
    }

    .menu-items {
        display: none;
        position: fixed;
        top: 70px;
        right: 20px;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-radius: 12px;
        padding: 30px 25px;
        z-index: 999;
        min-width: 200px;
    }

    .menu-items.active {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .menu-items a {
        padding: 10px 15px;
        border-radius: 8px;
        transition: all 0.3s ease;
        color: #1f2937;
    }

    .menu-items a:hover {
        background: #f3f4f6;
    }

    .ecosystem-flow,
    .websocket-flow,
    .dashboard-preview {
        grid-template-columns: 1fr;
    }

    .payment-step {
        flex-direction: column;
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .layer-components {
        grid-template-columns: 1fr;
    }

    /* Anti-Fraud responsive */
    .fraud-cards {
        grid-template-columns: 1fr;
    }

    .layers-header {
        flex-direction: column;
        text-align: center;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .fraud-code pre {
        font-size: 0.75rem;
    }

    .impact-items {
        grid-template-columns: 1fr;
    }
}

/* Celulares grandes (≤ 480px) */
@media (max-width: 480px) {
    .clube-beneficios-detail .project-hero {
        padding: 90px 0 50px;
    }

    .clube-beneficios-detail .project-title {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .clube-beneficios-detail .project-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }

    .project-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .project-meta {
        gap: 20px;
    }

    .meta-item {
        font-size: 0.9rem;
    }

    .project-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .stakeholder-card {
        padding: 24px 18px;
    }

    .stakeholder-card h3 {
        font-size: 1.3rem;
    }

    .role-card {
        padding: 24px 18px;
    }

    .role-header h3 {
        font-size: 1.2rem;
    }

    .permission-item {
        font-size: 0.9rem;
    }

    .flow-item {
        padding: 20px 16px;
    }

    .flow-item h4 {
        font-size: 1.2rem;
    }

    .dashboard-mockup {
        padding: 20px 16px;
    }

    .metric-card {
        padding: 16px;
    }

    .metric-value {
        font-size: 1.8rem;
    }

    .step-content h4 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .arch-layer {
        padding: 20px 16px;
    }

    .layer-title {
        font-size: 1.2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Celulares médios (≤ 390px) */
@media (max-width: 390px) {
    .clube-beneficios-detail .project-title {
        font-size: 1.75rem;
    }

    .clube-beneficios-detail .project-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }

    .stat-number {
        font-size: 2.3rem;
    }

    .stakeholder-card,
    .role-card {
        padding: 20px 16px;
    }
}

/* Celulares comuns (≤ 360px) */
@media (max-width: 360px) {
    .clube-beneficios-detail .project-hero {
        padding: 85px 0 45px;
    }

    .clube-beneficios-detail .project-title {
        font-size: 1.6rem;
    }

    .clube-beneficios-detail .project-subtitle {
        font-size: 0.9rem;
    }

    .project-badge {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .stat-card {
        padding: 26px 18px;
    }

    .stat-number {
        font-size: 2.1rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stakeholder-card {
        padding: 18px 14px;
    }

    .stakeholder-card h3 {
        font-size: 1.2rem;
    }

    .stakeholder-card p {
        font-size: 0.85rem;
    }

    .role-card {
        padding: 18px 14px;
    }

    .role-header h3 {
        font-size: 1.1rem;
    }

    .permission-item {
        font-size: 0.85rem;
    }

    .flow-item {
        padding: 18px 14px;
    }

    .flow-item h4 {
        font-size: 1.1rem;
    }

    .dashboard-mockup {
        padding: 18px 14px;
    }

    .metric-card {
        padding: 14px;
    }

    .metric-value {
        font-size: 1.6rem;
    }

    .metric-label {
        font-size: 0.85rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .arch-layer {
        padding: 18px 14px;
    }

    .layer-title {
        font-size: 1.1rem;
    }

    .layer-components span {
        font-size: 0.8rem;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
}