/* Homepage Redesign - BitBank */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(165deg, #1a1f36 0%, #232946 40%, #2d3a5a 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px 80px;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(26, 31, 54, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-text h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow:
        0 7px 9px rgba(0, 0, 0, 0.9),
        0 8px 26px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(0, 0, 0, 0.6);
}

.hero-text .subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto;
    text-shadow:
        0 4px 8px rgba(0, 0, 0, 0.9),
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-upsell {
    margin-top: 28px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-radius: 18px;
    background: rgba(20, 24, 40, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.upsell-tagline {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-cta-btn,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f2c766 0%, #d4a843 45%, #b8842b 100%);
    color: #1a1f36;
    padding: 16px 44px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 12px 30px rgba(212, 168, 67, 0.35),
        0 0 0 1px rgba(212, 168, 67, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-btn::after,
.cta-button::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 60%;
    height: 220%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0)
    );
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.hero-cta-btn:hover,
.cta-button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 18px 40px rgba(212, 168, 67, 0.45),
        0 0 0 1px rgba(212, 168, 67, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #1a1f36;
    text-decoration: none;
}

.hero-cta-btn:hover::after,
.cta-button:hover::after {
    transform: translateX(220%);
}

.hero-cta-btn {
    animation: ctaPulse 2.8s ease-out infinite;
}

.cta-label {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(26, 31, 54, 0.18);
    box-shadow: inset 0 0 0 1px rgba(26, 31, 54, 0.25);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

@keyframes ctaPulse {
    0% {
        box-shadow:
            0 12px 30px rgba(212, 168, 67, 0.35),
            0 0 0 0 rgba(212, 168, 67, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
    70% {
        box-shadow:
            0 16px 36px rgba(212, 168, 67, 0.4),
            0 0 0 16px rgba(212, 168, 67, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
    100% {
        box-shadow:
            0 12px 30px rgba(212, 168, 67, 0.35),
            0 0 0 0 rgba(212, 168, 67, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
}

/* BTC Chart Section */
.btc-chart-section {
    background: #fafbfc;
    padding: 0;
    margin: 0;
}

.btc-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.btc-chart-header h2 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #232946;
    margin: 0;
}

.btc-chart-header .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(134, 197, 164, 0.15);
    color: #4a9d6d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.btc-chart-header .live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4a9d6d;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

#btc-chart-container {
    width: 100%;
    height: 320px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

/* Feature Strips */
.feature-strip {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-strip.alt-bg {
    background: #f5f7fa;
}

.feature-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-strip-inner.reverse {
    direction: rtl;
}

.feature-strip-inner.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #232946;
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.feature-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    width: 200px;
    height: 200px;
}

/* Pastel accent colors */
.accent-green { color: #86c5a4; }
.accent-red { color: #d69a9a; }
.accent-gold { color: #d4a843; }

/* Feature list with custom bullets */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #444;
}

.feature-list li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(165deg, #232946 0%, #1a1f36 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-button {
    animation: none;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

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

.stat-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: #d4a843;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    margin-top: 8px;
}

/* Code Terminal */
.code-terminal {
    background: #1a1f36;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
}

.terminal-header {
    background: #2d3a5a;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #d69a9a; }
.terminal-dot.yellow { background: #d4a843; }
.terminal-dot.green { background: #86c5a4; }

.terminal-title {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.terminal-code {
    margin: 0;
    padding: 20px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e0e6f8;
    overflow-x: auto;
    white-space: pre;
}

.code-comment { color: #6b7394; }
.code-keyword { color: #c792ea; }
.code-fn { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-key { color: #89ddff; }
.code-num { color: #f78c6c; }

/* Responsive */
@media (max-width: 900px) {
    .feature-strip-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-strip-inner.reverse {
        direction: ltr;
    }

    .feature-icon {
        width: 150px;
        height: 150px;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .btc-chart-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    #btc-chart-container {
        height: 250px;
    }

    .feature-strip {
        padding: 50px 20px;
    }

    .hero-cta-btn,
    .cta-button {
        padding: 14px 32px;
        font-size: 1rem;
    }

    .cta-arrow {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}
