/* Hero Banner */
.hero-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 32px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 32px;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--dur) var(--ease);
    animation: fadeUp .38s var(--ease) both;
}

.hero-banner:hover {
    border-color: var(--border-hover);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 10px;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.025em;
}

.hero-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px solid var(--accent-border);
    border-radius: 50%;
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
}

.hero-center-mark {
    position: absolute;
    width: 48px; height: 48px;
    background: var(--accent);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800; color: #000;
    z-index: 1;
    box-shadow: 0 0 32px rgba(16,185,129,0.3);
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Button improvements */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Comparison Table */
.comparison-section {
    margin-bottom: 32px;
}

.comparison-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
    text-align: center;
}

.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comparison-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.comparison-card.bad {
    border-color: rgba(248,113,113,0.2);
}

.comparison-card.good {
    border-color: var(--accent-border);
}

.comparison-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}

.comparison-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.comparison-card.bad .comparison-title {
    color: var(--red);
}

.comparison-card.good .comparison-title {
    color: var(--green);
}

.comparison-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comparison-stat {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.comparison-stat:last-child {
    border-bottom: none;
}

.comparison-label {
    color: var(--text-muted);
    font-size: 13px;
}

.comparison-value {
    font-weight: 600;
    font-size: 14px;
}

/* Live Activity Feed */
.activity-feed {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    max-height: 300px;
    overflow-y: auto;
}

.activity-feed h3 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: var(--bg-card);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.activity-icon {
    font-size: 20px;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 2px;
}

.activity-time {
    font-size: 11px;
    color: var(--text-muted);
}

.activity-savings {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

/* Scrollbar styling */
.activity-feed::-webkit-scrollbar {
    width: 6px;
}

.activity-feed::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 3px;
}

.activity-feed::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.activity-feed::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin: 0 auto;
    }
    
    .comparison-table {
        grid-template-columns: 1fr;
    }
}
