/* ============================================
   Homepage Specific Styles
   ============================================ */

/* --- Hero --- */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 0;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 224, 255, 0.08);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
    background: #FF5F57;
}

.mockup-dots span:nth-child(2) {
    background: #FEBC2E;
}

.mockup-dots span:nth-child(3) {
    background: #28C840;
}

.mockup-body {
    padding: 20px;
}

/* Chart */
.chart-container {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line-anim {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: chart-line 3s ease-out forwards;
}

.candlesticks {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    height: 80px;
}

.candle {
    position: absolute;
    bottom: 0;
    width: 8px;
    border-radius: 2px;
    animation: candlestick 3s ease-in-out infinite;
}

.candle.green {
    background: var(--success);
    opacity: 0.6;
}

.candle.red {
    background: var(--danger);
    opacity: 0.6;
}

.candle::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 120%;
    top: -10%;
}

.candle.green::before {
    background: var(--success);
    opacity: 0.4;
}

.candle.red::before {
    background: var(--danger);
    opacity: 0.4;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    border: 1px solid var(--border-color);
}

/* Trust Bar */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: var(--border-color);
}

.trust-item {
    text-align: center;
}

.trust-item .stat-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Step Number */
.step-number {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 2px solid rgba(0, 224, 255, 0.2);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

/* Feature List (Pricing cards) */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300C853' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpath d='M22 4L12 14.01l-3-3'/%3E%3C/svg%3E");
    background-size: contain;
}

/* Popular Card */
.popular-card {
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.15);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #00B8D4);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Avatar */
.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .flex {
        justify-content: center;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .trust-bar {
        gap: 24px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        min-width: 120px;
    }
}