/**
 * Pips Market - Landing Page Stylesheet
 */

.landing-page {
    background-color: #0b0e14;
    color: #f8fafc;
    overflow-x: hidden;
}

/* Risk Warning Top Banner */
.risk-warning-banner {
    background: #7f1d1d;
    background: linear-gradient(90deg, #991b1b, #7f1d1d);
    color: #fef2f2;
    padding: 10px 20px;
    font-size: 12.5px;
    line-height: 1.4;
    position: relative;
    border-bottom: 1px solid #b91c1c;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.risk-warning-banner.collapsed {
    max-height: 0 !important;
    padding: 0 20px;
    opacity: 0;
    border-bottom: none;
}

.risk-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.risk-text {
    flex: 1;
}

.risk-toggle-btn {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    flex-shrink: 0;
}

/* Landing Navigation Header */
.landing-nav {
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 16px 20px;
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero Carousel */
.hero-carousel-section {
    position: relative;
    background: radial-gradient(circle at 50% 30%, #1e293b 0%, #0b0e14 70%);
    padding: 60px 20px 80px;
    overflow: hidden;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-slide {
    display: none;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.carousel-slide.active {
    display: grid;
}

@media (min-width: 900px) {
    .carousel-slide {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    max-width: 580px;
}

.hero-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid #3b82f6;
    color: #60a5fa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
}

.hero-desc {
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-btn-green {
    background: #10b981;
    color: #ffffff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background 0.2s;
}

.hero-btn-green:hover {
    background: #059669;
    transform: translateY(-2px);
    color: #ffffff;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #10b981;
    width: 32px;
    border-radius: 6px;
}

/* Simulated MetaTrader Order Terminal Preview */
.terminal-preview-container {
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 100%;
    max-width: 420px;
    background: #131a29;
    border: 4px solid #1e293b;
    border-radius: 36px;
    padding: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 99, 235, 0.2);
}

.phone-screen {
    background: #0d121c;
    border-radius: 24px;
    padding: 16px;
    color: #e2e8f0;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.symbol-selector {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    background: #1e293b;
    padding: 4px 10px;
    border-radius: 6px;
}

.execution-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
}

.stepper-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.stepper-box {
    background: #121824;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.stepper-box label {
    display: block;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
}

.stepper-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.stepper-btn {
    background: #1e293b;
    border: none;
    color: #94a3b8;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.stepper-val {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    font-family: monospace;
}

.live-bidask-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.bidask-card {
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}

.bid-card {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
}

.ask-card {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid #3b82f6;
}

.bidask-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.bid-card .bidask-label { color: #f87171; }
.ask-card .bidask-label { color: #60a5fa; }

.bidask-price {
    font-size: 20px;
    font-weight: 800;
    font-family: monospace;
    margin-top: 2px;
}

.bid-card .bidask-price { color: #ef4444; }
.ask-card .bidask-price { color: #3b82f6; }

.bidask-price sup {
    font-size: 12px;
}

.order-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-sell-market {
    background: #ef4444;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-buy-market {
    background: #2563eb;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.mini-chart-box {
    background: #080c14;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    height: 90px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.chart-candle {
    width: 6px;
    border-radius: 2px;
}

.chart-candle.up { background: #10b981; }
.chart-candle.down { background: #ef4444; }

.disclaimer-strip {
    background: #1e293b;
    padding: 6px;
    border-radius: 6px;
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
}

/* Popular Instruments Section */
.section-popular {
    padding: 70px 20px;
    background: #0e131f;
    border-top: 1px solid var(--border-color);
}

.section-heading-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.heading-sub {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading-wrap h2 {
    font-size: 32px;
    font-weight: 800;
}

.highlight-red {
    color: #ef4444;
}

/* Product Categories */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #131926;
    border: 1px solid #1e293b;
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.product-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.product-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

/* Pips Market Group Awards Section */
.awards-section {
    padding: 80px 20px;
    background: #0b0e14;
    border-top: 1px solid var(--border-color);
}

.awards-header {
    text-align: center;
    margin-bottom: 50px;
}

.awards-title {
    font-size: 32px;
    font-weight: 800;
    color: #c084fc;
    letter-spacing: -0.5px;
}

.awards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.award-card {
    background: #111724;
    border: 1px solid #1e293b;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s, border-color 0.2s;
}

.award-card:hover {
    transform: translateY(-3px);
    border-color: #8b5cf6;
}

.award-wreath {
    font-size: 36px;
    color: #fbbf24;
    flex-shrink: 0;
}

.award-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.award-issuer {
    font-size: 13px;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
