/* ============================================
   SEQA FLUX STYLES - FINANCIAL TECH THEME
   ============================================ */

:root {
    /* Color Palette - Clean, Professional, Financial */
    --flux-primary: #0A0E27;
    --flux-secondary: #141832;
    --flux-accent: #4A9EFF;
    --flux-accent-light: #6BB1FF;
    --flux-accent-dark: #2B7FE0;
    --flux-success: #00D9A3;
    --flux-warning: #FFB547;
    --flux-danger: #FF5A5F;
    --flux-text: #E8ECEF;
    --flux-text-muted: #9CA3AF;
    --flux-border: rgba(255, 255, 255, 0.1);
    --flux-glass: rgba(255, 255, 255, 0.03);
    
    /* Gradients */
    --flux-gradient-main: linear-gradient(135deg, #4A9EFF 0%, #00D9A3 100%);
    --flux-gradient-dark: linear-gradient(180deg, #0A0E27 0%, #141832 100%);
    --flux-gradient-accent: linear-gradient(135deg, #6BB1FF 0%, #4A9EFF 50%, #2B7FE0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--flux-primary);
    color: var(--flux-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container-flux {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   NAVIGATION - WHITE GLASS EFFECT
   ============================================ */

.flux-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    background: #e8eaed;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.flux-nav.scrolled {
    background: #e8eaed;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flux-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.flux-logo-link:hover {
    transform: translateX(5px);
}

.flux-logo-img {
    height: 2.5rem;
    width: auto;
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.3s ease;
}

.flux-logo-img:hover {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

.flux-logo-text {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.flux-logo-main {
    color: var(--flux-text);
}

.flux-logo-accent {
    background: var(--flux-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flux-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.flux-nav-link {
    color: var(--flux-text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.flux-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--flux-gradient-main);
    transition: width 0.3s ease;
}

.flux-nav-link:hover {
    color: var(--flux-text);
}

.flux-nav-link:hover::after {
    width: 100%;
}

.flux-home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    color: var(--flux-accent);
    transition: all 0.3s ease;
}

.flux-home-btn:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--flux-accent);
    transform: scale(1.05);
}

.flux-cta-nav {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: var(--flux-gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.25);
}

.flux-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.35);
}

/* Mobile Menu */
.flux-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger-line {
    width: 24px;
    height: 2px;
        background-color: #000000;

    transition: all 0.3s ease;
}

.flux-mobile-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.flux-mobile-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.flux-mobile-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.flux-mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(20, 24, 50, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--flux-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.flux-mobile-menu.active {
    max-height: 500px;
}

.flux-mobile-links {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.flux-mobile-link {
    padding: 1rem;
    color: var(--flux-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.flux-mobile-link:hover {
    color: var(--flux-text);
    background: var(--flux-glass);
    border-radius: 8px;
}

.flux-mobile-cta {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--flux-gradient-main);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.flux-mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */

.flux-hero {
    min-height: 100vh;
    padding: 8rem 0 4rem;
    position: relative;
    background: var(--flux-gradient-dark);
    overflow: hidden;
}

/* Grid Background */
.flux-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(74, 158, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Particles */
.flux-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.flux-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--flux-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s infinite linear;
}

.flux-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.flux-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.flux-particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.flux-particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.flux-particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.flux-particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.flux-particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.flux-particle:nth-child(8) { left: 80%; animation-delay: 14s; }

@keyframes particle-float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) translateX(100px); opacity: 0; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content-flux {
    animation: fade-in-left 1s ease;
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid var(--flux-accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--flux-accent);
    margin-bottom: 1.5rem;
}

.hero-title-flux {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--flux-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-flux {
    font-size: 1.25rem;
    color: var(--flux-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    position: relative;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--flux-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--flux-text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-primary-flux {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--flux-gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
}

.btn-primary-flux:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 158, 255, 0.4);
}

.btn-primary-flux.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary-flux {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--flux-text);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--flux-border);
    transition: all 0.3s ease;
}

.btn-secondary-flux:hover {
    background: var(--flux-glass);
    border-color: var(--flux-accent);
    color: var(--flux-accent);
}

.btn-secondary-flux.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-right 1s ease;
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 3D Cube */
.flux-3d-container {
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.flux-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

@keyframes rotate-cube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(20, 24, 50, 0.9);
    border: 1px solid var(--flux-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--flux-text);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.face-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(74, 158, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flux-accent);
}

.cube-front { transform: translateZ(150px); }
.cube-back { transform: rotateY(180deg) translateZ(150px); }
.cube-right { transform: rotateY(90deg) translateZ(150px); }
.cube-left { transform: rotateY(-90deg) translateZ(150px); }
.cube-top { transform: rotateX(90deg) translateZ(150px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(150px); }

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(20, 24, 50, 0.95);
    border: 1px solid var(--flux-accent);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: float-card 6s infinite ease-in-out;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-1 {
    top: 20%;
    left: -150px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: -120px;
    animation-delay: 4s;
}

.card-icon {
    font-size: 1.5rem;
}

.card-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--flux-text);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.flux-features {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--flux-secondary) 0%, var(--flux-primary) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--flux-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--flux-text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--flux-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid - Horizontal Layout */
.features-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card-flux {
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-flux::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--flux-gradient-main);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card-flux:hover::before {
    transform: translateX(0);
}

.feature-card-flux:hover {
    transform: translateY(-5px);
    background: rgba(74, 158, 255, 0.05);
    border-color: var(--flux-accent);
}

.feature-icon-flux {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

.feature-icon-flux svg {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1rem;
    color: var(--flux-accent);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--flux-text);
}

.feature-desc {
    color: var(--flux-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-metrics {
    display: flex;
    gap: 1rem;
}

.metric {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 217, 163, 0.1);
    border: 1px solid rgba(0, 217, 163, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--flux-success);
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */

.flux-technology {
    padding: 6rem 0;
    background: var(--flux-primary);
    position: relative;
    overflow: hidden;
}

.flux-technology::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-description {
    font-size: 1.125rem;
    color: var(--flux-text-muted);
    margin-bottom: 2rem;
}

.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stack-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: rgba(74, 158, 255, 0.05);
    border-color: var(--flux-accent);
    transform: translateX(10px);
}

.stack-icon {
    font-size: 1.5rem;
}

.stack-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--flux-text);
}

.stack-info p {
    font-size: 0.875rem;
    color: var(--flux-text-muted);
}

/* Terminal */
.terminal {
    background: #0A0B14;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #1A1D29;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

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

.terminal-btn.red { background: #FF5F56; }
.terminal-btn.yellow { background: #FFBD2E; }
.terminal-btn.green { background: #27C93F; }

.terminal-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: var(--flux-text-muted);
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--flux-success);
    margin-right: 0.5rem;
}

.command {
    color: var(--flux-text);
}

.output {
    color: var(--flux-text-muted);
    padding-left: 1rem;
}

.success {
    color: var(--flux-success);
    margin-right: 0.5rem;
}

.processing {
    color: var(--flux-warning);
    margin-right: 0.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.key {
    color: var(--flux-text-muted);
}

.value {
    color: var(--flux-accent-light);
}

.value.success {
    color: var(--flux-success);
}

.value.highlight {
    color: var(--flux-warning);
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.flux-videos {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--flux-primary) 0%, var(--flux-secondary) 100%);
    position: relative;
}

.videos-grid-flux {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card-flux {
    text-align: center;
}

.video-title-flux {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--flux-text);
    margin-bottom: 0.5rem;
}

.video-subtitle-flux {
    font-size: 1rem;
    color: var(--flux-text-muted);
    margin-bottom: 1.5rem;
}

.video-container-flux {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper-flux {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-wrapper-flux iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.flux-products {
    padding: 6rem 0;
    background: var(--flux-secondary);
    position: relative;
    overflow: hidden;
}

.flux-products::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 163, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Single Line Grid for 4 Products */
.products-grid-single-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card-flux {
    position: relative;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card-flux.featured-flux {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(0, 217, 163, 0.1) 100%);
    border: 2px solid var(--flux-accent);
}

.product-glow-flux {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card-flux:hover .product-glow-flux {
    opacity: 1;
}

.product-card-flux:hover {
    transform: translateY(-8px);
    background: rgba(74, 158, 255, 0.05);
    border-color: var(--flux-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-icon-flux {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.product-img-flux {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

.product-name-flux {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--flux-text);
    margin-bottom: 0.75rem;
}

.product-desc-flux {
    color: var(--flux-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
    flex-grow: 1;
}

.product-tags-flux {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-tags-flux span {
    padding: 0.25rem 0.75rem;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--flux-accent);
}

.product-status-flux {
    padding: 0.5rem 1rem;
    background: var(--flux-gradient-main);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

.product-link-flux {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--flux-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-link-flux:hover {
    color: var(--flux-accent-light);
    gap: 0.75rem;
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.flux-security {
    padding: 6rem 0;
    background: var(--flux-secondary);
    position: relative;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-card {
    text-align: center;
    padding: 2rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-5px);
    background: rgba(74, 158, 255, 0.05);
    border-color: var(--flux-accent);
}

.security-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: var(--flux-accent);
}

.security-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--flux-text);
}

.security-card p {
    color: var(--flux-text-muted);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-item {
    padding: 1rem 2rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-accent);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(74, 158, 255, 0.1);
    transform: scale(1.05);
}

.badge-text {
    font-weight: 600;
    color: var(--flux-accent);
}

/* ============================================
   USE CASES SECTION
   ============================================ */

.flux-usecases {
    padding: 6rem 0;
    background: var(--flux-primary);
}

.usecases-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    justify-content: center;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    color: var(--flux-text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--flux-gradient-main);
    color: white;
    border-color: transparent;
}

.tab-btn:hover:not(.active) {
    background: rgba(74, 158, 255, 0.1);
    color: var(--flux-text);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fade-in 0.5s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.usecase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.usecase-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.usecase-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--flux-text-muted);
}

.usecase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--flux-success);
    font-weight: 600;
}

.usecase-stats {
    display: flex;
    gap: 2rem;
}

.usecase-stats .stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--flux-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Currency Display */
.currency-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.currency-item:hover {
    transform: scale(1.05);
    border-color: var(--flux-accent);
}

.currency-flag {
    font-size: 1.5rem;
}

.currency-code {
    font-weight: 600;
    color: var(--flux-text);
}

.currency-rate {
    margin-left: auto;
    color: var(--flux-accent);
    font-weight: 600;
}

/* Payment Flow */
.payment-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flow-node {
    padding: 1rem 1.5rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--flux-text-muted);
}

.flow-node.active {
    background: var(--flux-gradient-main);
    color: white;
    border-color: transparent;
}

.flow-arrow {
    color: var(--flux-accent);
    font-size: 1.5rem;
}

/* Treasury Chart */
.treasury-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
}

.chart-bar {
    flex: 1;
    background: var(--flux-gradient-main);
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    transform: scaleY(1.1);
}

/* Escrow Flow */
.escrow-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.escrow-party {
    padding: 1.5rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--flux-text);
}

.escrow-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--flux-accent);
}

/* ============================================
   INTEGRATION SECTION
   ============================================ */

.flux-integration {
    padding: 6rem 0;
    background: var(--flux-secondary);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.integration-card {
    background: #0A0B14;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--flux-border);
    transition: all 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-5px);
    border-color: var(--flux-accent);
}

.integration-lang {
    padding: 0.75rem 1rem;
    background: #1A1D29;
    color: var(--flux-accent);
    font-weight: 600;
    font-size: 0.875rem;
}

.integration-card pre {
    padding: 1.5rem;
    overflow-x: auto;
}

.integration-card code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: var(--flux-text);
    line-height: 1.6;
}

.integration-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.int-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--flux-text-muted);
}

.int-feature svg {
    color: var(--flux-success);
}

/* ============================================
   CTA SECTION
   ============================================ */

.flux-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--flux-primary) 0%, var(--flux-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.flux-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(74, 158, 255, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--flux-text);
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--flux-text-muted);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trust-indicators > span {
    color: var(--flux-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logo {
    padding: 0.75rem 1.5rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    color: var(--flux-text-muted);
    font-size: 0.875rem;
}

/* ============================================
   FOOTER
   ============================================ */

.flux-footer {
    padding: 4rem 0 2rem;
    background: #0A0B14;
    border-top: 1px solid var(--flux-border);
}

.footer-content-flux {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-brand-flux {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 3.5rem;
    width: auto;
}

.footer-tagline {
    color: var(--flux-text-muted);
    font-style: italic;
}

.footer-contact-flux h4 {
    color: var(--flux-text);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-contact-flux p {
    color: var(--flux-text-muted);
    margin-bottom: 0.5rem;
}

.footer-contact-flux a {
    color: var(--flux-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-flux a:hover {
    color: var(--flux-accent-light);
}

.footer-locations {
    margin-top: 0.5rem;
    color: var(--flux-accent);
    font-weight: 600;
}

.footer-social-flux {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    color: var(--flux-text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--flux-accent);
    color: var(--flux-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--flux-border);
    color: var(--flux-text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--flux-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--flux-text);
}

/* ============================================
   MODAL
   ============================================ */

.flux-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content-flux {
    background: var(--flux-secondary);
    border: 1px solid var(--flux-border);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modal-slide 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--flux-text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--flux-text);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--flux-text);
}

.modal-subtitle {
    color: var(--flux-text-muted);
    margin-bottom: 2rem;
}

.modal-footer-text {
    color: var(--flux-text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
}

.validation-message {
    color: var(--flux-danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    padding: 0.875rem 1rem;
    background: var(--flux-glass);
    border: 1px solid var(--flux-border);
    border-radius: 12px;
    color: var(--flux-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.demo-form input::placeholder,
.demo-form select::placeholder,
.demo-form textarea::placeholder {
    color: var(--flux-text-muted);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: var(--flux-accent);
    background: rgba(74, 158, 255, 0.05);
}

.demo-form textarea {
    resize: vertical;
}

.full-width {
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .products-grid-single-line {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .tech-grid,
    .usecase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid-flux {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .flux-nav-links {
        display: none;
    }
    
    .flux-mobile-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-flux,
    .btn-secondary-flux {
        width: 100%;
        justify-content: center;
    }
    
    .flux-3d-container {
        width: 200px;
        height: 200px;
    }
    
    .cube-face {
        width: 200px;
        height: 200px;
    }
    
    .cube-front { transform: translateZ(100px); }
    .cube-back { transform: rotateY(180deg) translateZ(100px); }
    .cube-right { transform: rotateY(90deg) translateZ(100px); }
    .cube-left { transform: rotateY(-90deg) translateZ(100px); }
    .cube-top { transform: rotateX(90deg) translateZ(100px); }
    .cube-bottom { transform: rotateX(-90deg) translateZ(100px); }
    
    .features-grid-horizontal {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid-flux {
        grid-template-columns: 1fr;
    }
    
    .products-grid-single-line {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content-flux {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social-flux {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .trust-logos {
        flex-direction: column;
        width: 100%;
    }
}