/* ===================================
   FUTURES PROGRAM - REDESIGNED STYLES
   AMAZING VERSION WITH ALL FIXES
   =================================== */

/* Typography - Using Syne as distinctive font */
:root {
    --primary-color: #5B4CFF;
    --primary-dark: #4839D9;
    --primary-light: #7C6FFF;
    --accent-color: #00F5D0;
    --text-dark: #0A0E27;
    --text-light: #E8E9F3;
    --text-muted: #8B92B0;
    --bg-dark: #0A0E27;
    --bg-card: #161B33;
    --bg-card-hover: #1E2442;
    --bg-purple-black: #0d0a1f;
    --border-color: rgba(91, 76, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(91, 76, 255, 0.2);
}

/* Prevent horizontal overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;

}

/* Hero Section */
.futures-hero {
    position: relative;
    padding: 180px 0 120px;
    background-image: url('../Images/fast-payouts-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.futures-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgb(8, 6, 34) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 245, 208, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgb(91, 76, 255);
    border: 1px solid rgba(91, 76, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-color);
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge svg {
    stroke: currentColor;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(38px, 8vw, 78px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B8C5F2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    background: rgba(22, 27, 51, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(91, 76, 255, 0.3);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* Custom Buttons - Amazing Style */
.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-custom:hover::before {
    width: 400px;
    height: 400px;
}

.btn-custom span {
    position: relative;
    z-index: 2;
}

.btn-custom svg {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-custom:hover svg {
    transform: translateX(4px);
}

.btn-custom-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(91, 76, 255, 0.4);
}

.btn-custom-primary::before {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-custom-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(91, 76, 255, 0.6);
}

.btn-custom-secondary {
    background: rgba(91, 76, 255, 0.1);
    color: var(--primary-light);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-custom-secondary::before {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.btn-custom-secondary:hover {
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(91, 76, 255, 0.5);
}

/* Tabs Container */
.futures-content {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d0a1f 100%);
    position: relative;
}

.futures-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../Images/built-by-traders-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tabs-nav {
    display: none; /* Hidden - content is now scrollable */
}

.tabs-nav.visible {
    transform: translateY(0);
}

.tabs-nav::-webkit-scrollbar {
    height: 6px;
}

.tabs-nav::-webkit-scrollbar-track {
    background: rgb(15, 1, 49)
    border-radius: 10px;
}

.tabs-nav::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-muted);
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-light);
    background: rgba(91, 76, 255, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 6px 20px rgba(91, 76, 255, 0.5);
}

.tab-btn.active svg {
    transform: scale(1.1);
}

/* Scrollable Content - No Tabs */
.section-wrapper {
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.tab-header {
    text-align: center;
    margin-bottom: 60px;
}

.tab-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
}

.tab-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Overview Tab */
.overview-grid {
    margin-bottom: 60px;
}

.overview-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: linear-gradient(135deg, rgb(13, 10, 31) 0%, rgb(21, 18, 41) 100%);
    border: 1px solid rgba(91, 76, 255, 0.3);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.overview-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.overview-img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 8px 32px rgba(91, 76, 255, 0.3));
}

.overview-content {
    padding: 20px 0;
}

.overview-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.overview-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.overview-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-light);
}

.overview-list li svg {
    flex-shrink: 0;
    stroke: var(--accent-color);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 36px;
    background: linear-gradient(135deg, rgba(13, 10, 31, 0.9) 0%, rgba(21, 18, 41, 0.7) 100%);
    border: 1px solid rgba(91, 76, 255, 0.25);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: rgba(30, 36, 66, 0.9);
    box-shadow: 0 12px 32px rgba(91, 76, 255, 0.3);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(91, 76, 255, 0.2), rgba(124, 111, 255, 0.1));
    border-radius: 16px;
    margin-bottom: 24px;
}

.info-icon svg {
    stroke: var(--primary-light);
}

.info-title {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

.info-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px;
    background: rgb(15, 1, 49);
    border: 1px solid rgba(91, 76, 255, 0.25);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    background: rgba(30, 36, 66, 0.95);
    box-shadow: 0 16px 48px rgba(91, 76, 255, 0.35);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(91, 76, 255, 0.15), rgba(124, 111, 255, 0.08));
    border: 2px solid rgba(91, 76, 255, 0.3);
    border-radius: 20px;
    margin-bottom: 28px;
    color: var(--primary-light);
}

.feature-title {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 14px;
}

.feature-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 40px;
}

.benefit-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px;
    background: linear-gradient(135deg, rgba(13, 10, 31, 0.95) 0%, rgba(21, 18, 41, 0.85) 100%);
    border: 1px solid rgba(91, 76, 255, 0.25);
    border-radius: 24px;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 16px 48px rgba(91, 76, 255, 0.3);
    transform: translateX(8px);
}

.benefit-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(91, 76, 255, 0.2), rgba(0, 245, 208, 0.1));
    border: 2px solid rgba(91, 76, 255, 0.4);
    border-radius: 50%;
    color: var(--primary-light);
}

.benefit-content {
    padding: 10px 0;
}

.benefit-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
}

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

.benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.benefit-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.benefit-features li::before {
    content: '→';
    color: var(--accent-color);
    font-weight: bold;
}

/* Requirements Layout */
.requirements-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.requirements-main {
    display: grid;
    gap: 50px;
}

.requirement-section {
    padding: 48px;
    background: linear-gradient(135deg, rgba(13, 10, 31, 0.95) 0%, rgba(21, 18, 41, 0.8) 100%);
    border: 1px solid rgba(91, 76, 255, 0.25);
    border-radius: 20px;
}

.requirement-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 32px;
}

.requirement-section-title svg {
    stroke: var(--primary-light);
}

.requirement-items {
    display: grid;
    gap: 28px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(30, 36, 66, 0.5);
    border: 1px solid rgba(91, 76, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: rgba(30, 36, 66, 0.8);
    border-color: var(--primary-color);
}

.requirement-check {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: white;
}

.requirement-content {
    flex: 1;
}

.requirement-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.requirement-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Guideline Grid */
.guideline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.guideline-card {
    padding: 28px;
    background: rgba(30, 36, 66, 0.5);
    border: 1px solid rgba(91, 76, 255, 0.2);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-6px);
    background: rgba(30, 36, 66, 0.8);
    border-color: var(--primary-color);
}

.guideline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(91, 76, 255, 0.2), transparent);
    border-radius: 50%;
    color: var(--primary-light);
}

.guideline-title {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.guideline-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Requirements Sidebar */
.requirements-sidebar {
    display: grid;
    gap: 24px;
    align-content: start;
}

.info-box {
    padding: 32px;
    background: linear-gradient(135deg, rgba(91, 76, 255, 0.15) 0%, rgba(0, 245, 208, 0.08) 100%);
    border: 1px solid rgba(91, 76, 255, 0.3);
    border-radius: 20px;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.info-box-header svg {
    stroke: var(--primary-light);
}

.info-box-header h4 {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.info-box p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 20px;
    background: rgba(91, 76, 255, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.info-link svg {
    stroke: currentColor;
}

/* Final CTA Section */
.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0A0E27 0%, #0d0a1f 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(91, 76, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(0, 245, 208, 0.1) 0%, transparent 60%);
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px;
    background: linear-gradient(135deg, rgba(13, 10, 31, 0.95) 0%, rgba(21, 18, 41, 0.9) 100%);
    border: 1px solid rgba(91, 76, 255, 0.3);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6);
}

.cta-content-box {
    padding: 20px 0;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 245, 208, 0.1);
    border: 1px solid rgba(0, 245, 208, 0.3);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
}

.cta-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-subtext {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-decoration {
    width: 300px;
    height: 300px;
    background: 
        radial-gradient(circle, rgba(91, 76, 255, 0.4) 0%, transparent 70%),
        radial-gradient(circle at 60% 60%, rgba(0, 245, 208, 0.2) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .overview-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefit-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .benefit-visual {
        justify-content: center;
    }
    
    .requirements-layout {
        grid-template-columns: 1fr;
    }
    
    .cta-wrapper {
        grid-template-columns: 1fr;
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .futures-hero {
        padding: 140px 0 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .tabs-nav {
        padding: 8px;
        gap: 8px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .overview-card,
    .benefit-card,
    .requirement-section {
        padding: 32px 24px;
    }
    
    .cta-wrapper {
        padding: 40px 24px;
    }
    
    .btn-custom {
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        gap: 8px;
    }
    
    .tab-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .benefit-features {
        grid-template-columns: 1fr;
    }
    
    .guideline-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-custom {
        width: 100%;
        justify-content: center;
    }
}

/* Extra fixes for horizontal scroll */
.container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 1400px) {
    .tabs-container {
        padding: 0 20px;
    }
}
