:root {
    --flux-text: #1d1d1f;
    --flux-text-secondary: #86868b;
    --flux-accent: #2997ff;
    --flux-glass: rgba(255, 255, 255, 0.65);
    --flux-glass-border: rgba(255, 255, 255, 0.5);
    --flux-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --ease-flux: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    color: var(--flux-text);
    background: #fbfbfd;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Dynamic Mesh Background */
.flux-bg-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden;
}
.flux-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.6;
    animation: floatOrb 20s infinite ease-in-out alternate;
}
.orb-1 { width: 600px; height: 600px; background: #a1c4fd; top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: #c2e9fb; bottom: -50px; right: -50px; animation-delay: -5s; }
.orb-3 { width: 400px; height: 400px; background: #e0c3fc; top: 40%; left: 30%; animation-delay: -10s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Navbar */
.nav-flux {
    position: fixed; top: 0; width: 100%; height: 64px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}
.nav-inner {
    width: 100%; max-width: 1000px; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-flux { font-weight: 600; font-size: 18px; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.nav-links-flux { display: flex; gap: 24px; }
.nav-links-flux a {
    text-decoration: none; color: var(--flux-text); font-size: 13px; opacity: 0.8; transition: opacity 0.2s;
}
.nav-links-flux a:hover { opacity: 1; }

/* Glass Card */
.glass-card {
    background: var(--flux-glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--flux-glass-border);
    box-shadow: var(--flux-shadow);
    border-radius: 24px;
}

/* Hero */
.hero-flux {
    padding: 160px 20px 100px; text-align: center; max-width: 800px; margin: 0 auto;
}
.hero-flux h1 {
    font-size: 64px; font-weight: 700; letter-spacing: -2px; line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-flux p { font-size: 24px; color: var(--flux-text-secondary); margin-bottom: 40px; font-weight: 400; }

.btn-flux {
    display: inline-block; padding: 12px 24px; background: #0071e3; color: white;
    border-radius: 980px; text-decoration: none; font-size: 16px; font-weight: 500;
    transition: all 0.3s var(--ease-flux);
}
.btn-flux:hover { background: #0077ed; transform: scale(1.02); box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3); }

/* Grid */
.grid-flux {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; padding: 40px 20px; max-width: 1040px; margin: 0 auto;
}
.feature-card-flux {
    padding: 40px; text-align: left; transition: transform 0.4s var(--ease-flux);
    height: 100%; display: flex; flex-direction: column; justify-content: space-between;
}
.feature-card-flux:hover { transform: translateY(-10px); }
.feature-icon {
    width: 48px; height: 48px; background: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--flux-accent); margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Zig-Zag Feature Section (New) */
.feature-section-alt {
    padding: 100px 20px; max-width: 1200px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 100px;
}
.feature-row {
    display: flex; align-items: center; gap: 80px;
}
.feature-row:nth-child(even) { flex-direction: row-reverse; }

.feature-visual {
    flex: 1; height: 450px; border-radius: 32px; overflow: hidden;
    box-shadow: var(--flux-shadow);
    transition: transform 0.5s var(--ease-flux);
}
.feature-visual:hover { transform: scale(1.02); }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; }

.feature-text { flex: 0.9; }
.feature-text h2 {
    font-size: 42px; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px;
    background: linear-gradient(135deg, #1d1d1f 0%, #434344 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.feature-text p {
    font-size: 19px; color: var(--flux-text-secondary); line-height: 1.7; margin-bottom: 30px;
}

/* Footer */
.footer-flux {
    text-align: center; padding: 80px 20px 40px;
    color: var(--flux-text-secondary); font-size: 12px;
}
.compliance-flux { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); max-width: 600px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 1024px) {
    .feature-row, .feature-row:nth-child(even) { flex-direction: column; gap: 40px; }
    .feature-visual { width: 100%; height: 300px; }
    .feature-text { text-align: center; }
}
@media (max-width: 768px) {
    .hero-flux h1 { font-size: 42px; }
    .hero-flux p { font-size: 18px; }
    .grid-flux { grid-template-columns: 1fr; }
}
