/* ========================================
   GEX Analysis Landing Page Styles
   Apple-inspired, modern, clean design
   ======================================== */

/* ========================================
   Global & Typography
   ======================================== */

/* Light Theme (Default) */
:root {
    /* Brand colors - matching app */
    --primary-color: #667eea;
    --primary-dark: #4a5a8a;
    --primary-light: #8593f0;
    --secondary-color: #764ba2;
    --accent-color: #db61a2;
    --accent-dark: #c04e8e;

    /* Text colors - Clear hierarchy: primary > secondary > muted */
    --text-primary: #000000;
    /* Pure black for headings and primary content */
    --text-secondary: #212529;
    /* Almost black for body text and important secondary content */
    --text-muted: #212529;
    /* Same as secondary for consistency - descriptive text should be readable */
    --text-invert: #ffffff;

    /* Background colors */
    --bg-body: #ffffff;
    --bg-surface: #f8f9fa;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-gradient-start: #f8f9fa;
    --bg-gradient-mid: #e9ecef;
    --bg-gradient-end: #f8f9fa;

    /* Financial colors - matching app */
    --positive-green: #28a745;
    --negative-red: #dc3545;
    --flip-magenta: #db61a2;
    --cliff-orange: #f78166;
    --warning-yellow: #f39c12;

    /* UI colors */
    --border-color: #dee2e6;
    --border-subtle: #e9ecef;
    --toggle-icon: #f39c12;
    /* Sun color */

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Dark Theme Overrides */
[data-bs-theme="dark"] {
    /* Text colors - Clear hierarchy: primary > secondary > muted (lighter > medium > subtle) */
    --text-primary: #e8eaed;
    /* Lightest - for headings and primary content */
    --text-secondary: #b0b3b8;
    /* Medium light - for body text and important secondary content */
    --text-muted: #9ca3af;
    /* Slightly dimmer than secondary but still readable - descriptive text */
    --text-invert: #212529;

    /* Background colors */
    --bg-body: #0B0E11;
    /* Matching current dark bg */
    --bg-surface: #141820;
    /* Slightly lighter for sections */
    --bg-card: #1a1d24;
    /* Card background */
    --bg-header: rgba(11, 14, 17, 0.95);
    --bg-gradient-start: #0B0E11;
    --bg-gradient-mid: #1a1d24;
    --bg-gradient-end: #0B0E11;

    /* UI colors */
    --border-color: #2d3748;
    --border-subtle: #1e293b;
    --toggle-icon: #e8eaed;
    /* Moon color */

    /* Shadows (softer for dark mode) */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-body);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Consistent secondary text styling - Override Bootstrap defaults */
.text-muted {
    color: var(--text-muted) !important;
    /* !important needed to override Bootstrap's .text-muted */
    opacity: 1 !important;
}

small,
.small {
    /* Don't set color - let it inherit naturally or be set by other classes like .text-muted */
    opacity: 1 !important;
    /* Only override Bootstrap's opacity */
}

/* Ensure all images and media are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent sections and containers from exceeding viewport */
section,
.container,
.row {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Navigation Bar
   ======================================== */

.navbar {
    background-color: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(102, 126, 234, 0.1);
    overflow: visible;
    /* Prevent dropdown clipping */
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--bg-header);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(1);
}

[data-bs-theme="dark"] .navbar-brand img {
    filter: brightness(0) saturate(100%) invert(1);
}

/* Light theme logo fix - ensure it's black/visible */
[data-bs-theme="light"] .navbar-brand img {
    filter: brightness(0);
    /* Makes it black */
}

.brand-icon {
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Ensure all nav items align vertically */
.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/* Home icon nav item - center align */
.navbar-nav .nav-link [data-lucide="home"] {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

/* Theme button alignment */
.navbar-nav .dropdown button.nav-link {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Legacy btn-cta - deprecated, use btn-primary instead */
.btn-cta {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    padding: 60px 0 60px;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%) !important;
    position: relative;
    overflow: hidden;
    border-top: none !important;
}

.hero-section::after {
    display: none !important;
}

/* Gradient text for key terms */
.gradient-gex {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-flip {
    background: linear-gradient(135deg, #dc3545 0%, #f78166 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Global button styling - consistent border-radius throughout landing page */
.btn {
    border-radius: 10px !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-cta-group .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Global button color overrides - apply brand color throughout */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Hero CTA group specific enhancements */
.hero-cta-group .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-card);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Desaturate trust marker logos and make visible on dark background */
.trust-badges {
    justify-content: center;
}

.trust-badges .asset-logos img,
.trust-badges .exchange-logos img {
    /* filter: grayscale(100%) brightness(2) opacity(0.6); */
    transition: filter 0.3s ease;
}



.badge-icon {
    display: inline-flex;
    align-items: center;
}

.beta-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Beta counter in signup section needs white text */
.beta-signup-section .beta-counter {
    color: white;
}

.counter-icon {
    display: inline-flex;
    align-items: center;
}

.hero-image-container {
    transition: opacity 0.3s ease;
    position: relative;
}

/* Chart glow effect */
.hero-image-container img {
    border-radius: 12px;
    box-shadow:
        0 0 40px rgba(40, 167, 69, 0.3),
        0 0 80px rgba(220, 53, 69, 0.2),
        0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Live badge for chart */
.hero-image-container::before {
    content: "LIVE";
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.5);
    animation: pulse-live-badge 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse-live-badge {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

/* Hero feature cards */
.hero-feature-card {
    background: linear-gradient(135deg, rgba(26, 29, 36, 0.8), rgba(26, 29, 36, 0.4));
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.hero-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.hero-feature-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.hero-feature-icon [data-lucide] {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    color: white;
    stroke-width: 2;
}

.hero-feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.hero-feature-card p,
.hero-feature-description {
    color: var(--text-secondary);
}

.hero-image-placeholder {
    background-color: rgba(26, 29, 36, 0.8);
    border-radius: 20px;
    padding: 80px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    color: var(--text-secondary);
}

/* ========================================
   Section Styles - Clear Visual Separation
   ======================================== */

section {
    padding: 60px 0;
    position: relative;
}

/* Alternating section backgrounds for clear separation */
section:nth-child(odd) {
    background-color: var(--bg-body);
}

section:nth-child(even) {
    background-color: var(--bg-surface);
}

/* Subtle top border for each section */
section:not(:first-of-type) {
    border-top: 1px solid var(--border-subtle);
}

/* Optional: Add subtle shadow at section boundaries */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 50%, transparent 100%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ========================================
   Problem Section
   ======================================== */

.problem-section {
    background-color: var(--bg-body);
    padding: 40px 0;
}

/* ========================================
   Complete Picture Section
   ======================================== */

.complete-picture-section {
    background-color: var(--bg-surface);
    padding: 60px 0;
}

/* ========================================
   Killer Combo Section
   ======================================== */

.killer-combo-section {
    background-color: var(--bg-body);
    padding: 60px 0;
}

.example-trade-scenario {
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.scenario-header {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.scenario-data ul,
.scenario-interpretation ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.scenario-data li,
.scenario-interpretation li {
    padding: 0.2rem 0;
    color: var(--text-primary);
}

.scenario-interpretation ol {
    padding-left: 1.2rem;
}

.trade-decision {
    box-shadow: var(--shadow-sm);
}

.problem-card {
    background-color: var(--bg-surface);
    padding: 1.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}



/* Concept cards for Max Pain and GEX */
.concept-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.max-pain-card {
    border-left: 4px solid var(--flip-magenta);
}

.gex-card {
    border-left: 4px solid var(--positive-green);
}

.concept-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-primary);
}

.concept-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.concept-explanation {
    color: var(--text-primary);
}

.concept-list {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.concept-list li {
    padding: 0.3rem 0;
    color: var(--text-secondary);
}



.connector-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Hedging Section
   ======================================== */

.hedging-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay for depth */
.hedging-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hedging-section .container {
    position: relative;
    z-index: 1;
}

.hedging-section .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hedging-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hedging-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    color: var(--text-primary);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hedging-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.hedging-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.hedging-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hedging-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.gex-zone-explanation {
    margin: 1.5rem 0;
}



/* Key Insight Box - Standalone */
.key-insight-box {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 193, 7, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.key-insight-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
}

.insight-icon {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd54f, #ff9800);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.3);
}

.insight-icon [data-lucide] {
    width: 2rem;
    height: 2rem;
    color: white;
    stroke-width: 2.5;
}

.insight-content {
    flex: 1 1 auto;
}

.insight-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.insight-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Old key-insight style (if still used elsewhere) */
.key-insight {
    background-color: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-color);
}



.accordion-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.accordion-body {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}



/* ========================================
   Use Cases Section
   ======================================== */

.use-cases-section {
    background-color: var(--bg-body);
}



.example-trade {
    background-color: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid var(--accent-color);
}

.example-trade h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.example-trade p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.screenshot-placeholder {
    background-color: var(--bg-surface);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

/* Screenshot placeholder icons now styled in Lucide section */

.screenshot-placeholder p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    background-color: var(--bg-surface);
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    min-height: 48px;
}



/* Asset Grid */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.asset-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.4rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    /* Added border for definition if transparent */
    cursor: pointer;
}

[data-bs-theme="light"] .asset-card,
[data-bs-theme="light"] .hero-feature-card {
    background: transparent !important;
    /* Requested transparency for light theme */
    border: 1px solid rgba(102, 126, 234, 0.2);
    /* Match pricing card border */
}

.asset-card.btc {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(247, 147, 26, 0.05));
    border: 1px solid rgba(247, 147, 26, 0.2);
}

.asset-card.eth {
    background: linear-gradient(135deg, rgba(98, 126, 234, 0.1), rgba(98, 126, 234, 0.05));
    border: 1px solid rgba(98, 126, 234, 0.2);
}

.asset-card.sol {
    background: linear-gradient(135deg, rgba(220, 31, 255, 0.1), rgba(220, 31, 255, 0.05));
    border: 1px solid rgba(220, 31, 255, 0.2);
}

.asset-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.asset-icon {
    font-size: 1.8rem;
    font-weight: 700;
}

.asset-card.btc .asset-icon {
    color: #f7931a;
}

.asset-card.eth .asset-icon {
    color: #627eea;
}

.asset-card.sol .asset-icon {
    color: #dc1fff;
}

.asset-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Exchange Grid */
.exchange-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.exchange-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.exchange-card.deribit {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.exchange-card.bybit {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.exchange-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.exchange-logo {
    width: auto;
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.exchange-card.deribit .exchange-logo {
    background: transparent;
}

.exchange-card.bybit .exchange-logo {
    background: transparent;
}

.exchange-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Live Update Indicator */
.update-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--positive-green);
    border-radius: 50%;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }
}

.live-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--positive-green);
}

/* Mini Chart Preview */
.mini-chart-preview {
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.5rem;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.05), transparent);
    border-radius: 8px;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    height: 100%;
}

.bar {
    width: 12px;
    background: linear-gradient(to top, var(--positive-green), rgba(40, 167, 69, 0.6));
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.bar-red {
    background: linear-gradient(to top, var(--negative-red), rgba(220, 53, 69, 0.6));
}

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

/* Marker Tags */
.marker-tags-full {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.marker-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.marker-maxpain {
    background-color: rgba(219, 97, 162, 0.15);
    color: var(--flip-magenta);
    border: 1px solid rgba(219, 97, 162, 0.4);
}

.marker-gex-peak {
    background-color: rgba(40, 167, 69, 0.15);
    color: var(--positive-green);
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.marker-flip {
    background-color: rgba(102, 126, 234, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(102, 126, 234, 0.4);
}

.marker-cliff {
    background-color: rgba(247, 129, 102, 0.15);
    color: var(--cliff-orange);
    border: 1px solid rgba(247, 129, 102, 0.4);
}

.marker-absolute {
    background-color: rgba(118, 75, 162, 0.15);
    color: var(--secondary-color);
    border: 1px solid rgba(118, 75, 162, 0.4);
}

.marker-tag:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Bias Meter */
.bias-meter {
    padding: 0.5rem;
}

.meter-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.meter-bar {
    display: flex;
    height: 12px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.meter-section {
    flex: 1;
    transition: all 0.3s ease;
}

.meter-section.bearish {
    background: linear-gradient(to right, var(--negative-red), #e57373);
}

.meter-section.neutral {
    background: linear-gradient(to right, #ffd54f, #ffb74d);
}

.meter-section.bullish {
    background: linear-gradient(to right, #81c784, var(--positive-green));
}

.meter-needle {
    position: absolute;
    top: 50%;
    left: 60%;
    width: 3px;
    height: 20px;
    background-color: var(--text-dark);
    transform: translateX(-50%) translateY(-50%);
    border-radius: 2px;
    animation: needle-sway 3s ease-in-out infinite;
}

@keyframes needle-sway {

    0%,
    100% {
        left: 60%;
    }

    50% {
        left: 65%;
    }
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

/* Expiration Preview */
.expiration-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.exp-date-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.3rem;
    background-color: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.exp-date-card [data-lucide] {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--primary-color);
    stroke-width: 2;
}

.exp-date-card span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.exp-date-card.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: var(--primary-color);
    border-width: 2px;
}

.exp-date-card.active span {
    color: var(--primary-color);
}

.exp-date-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works-section {
    background-color: var(--bg-body);
}



/* ========================================
   Beta Signup Section
   ======================================== */

.beta-signup-section {
    background: var(--bg-surface) !important;
    border-top: 2px solid var(--primary-color);
    color: var(--text-primary);
}

.signup-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.signup-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Benefits list icons now styled in Lucide section */

.signup-form-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 1rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.signup-form-container .form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.signup-form-container .form-control,
.signup-form-container .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.signup-form-container .form-control:focus,
.privacy-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0;
}

.launch-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.launch-link:hover {
    opacity: 0.8;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
    background-color: var(--bg-body) !important;
}

/* FAQ Accordion Styling - Dark Theme */
.faq-section .accordion-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    border: none !important;
    box-shadow: none !important;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: none !important;
}

/* Arrow styling - make it visible in dark theme */
.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: brightness(1.2);
}

.faq-section .accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-section .accordion-body {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    padding: 1.5rem;
    border: none;
}

.faq-section .accordion-body p {
    margin-bottom: 0;
}

.faq-section .accordion-body ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.faq-section .accordion-body ul {
    margin-bottom: 1rem;
}

/* ========================================
   Final CTA Section
   ======================================== */

.final-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button-group .btn {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 980px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button-group .btn-light {
    background-color: var(--bg-card);
    color: var(--primary-color);
    border: none;
}

.cta-button-group .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button-group .btn-outline-light {
    border-color: white;
    color: white;
}

.cta-button-group .btn-outline-light:hover {
    background-color: var(--bg-card);
    color: var(--primary-color);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    /* Added separation */
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.footer-copyright,
.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ========================================
   Video Modal
   ======================================== */



/* ========================================
   Responsive Styles
   ======================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    /* Fix overlap and alignment on mobile/tablet */
    .trust-badges {
        /* justify-content: center; (inherited from global now) */
        margin-bottom: 2rem;
    }
}

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 576px) {

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

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Fix grid layouts to single column */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .asset-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .exchange-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .expiration-preview {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* Ensure text wraps properly */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Reduce padding on cards for small screens */
    .hedging-card,
    .feature-card,
    .problem-card {
        padding: 1.5rem 1rem;
    }

    .concept-card {
        padding: 1.5rem 1rem;
    }

    .example-trade-scenario {
        padding: 1.5rem 1rem;
    }

    /* Ensure rows don't overflow */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .row>* {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Fix marker tags to wrap */
    .marker-tags-full {
        gap: 0.3rem;
    }

    .marker-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    /* Reduce font sizes for very long headings */
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    /* Fix alert boxes */
    .alert {
        font-size: 0.9rem;
        padding: 1rem;
    }

    /* Ensure badges and inline elements wrap */
    .badge {
        white-space: normal;
        word-wrap: break-word;
    }

    /* Fix signup form */
    .signup-form-container {
        padding: 2rem 1.5rem;
    }

    .benefits-list li {
        font-size: 1rem;
    }

    /* Fix CTA buttons */
    .cta-button-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button-group .btn {
        width: 100%;
        max-width: 100%;
    }

    /* Fix final CTA section */
    .final-cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    /* Reduce signup section padding */
    .signup-title {
        font-size: 2rem;
    }

    .signup-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    section {
        padding: 40px 0;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .comparison-side {
        padding: 40px 20px;
    }

    .hedging-card {
        margin-bottom: 2rem;
    }

    .problem-section {
        padding: 30px 0;
    }

    .problem-card {
        padding: 1.25rem 1rem;
    }

    .problem-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .problem-card h3 {
        font-size: 1rem;
    }

    .problem-card p {
        font-size: 0.9rem;
    }

    .use-case-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.2rem;
    }

    /* Key insight box mobile */
    .key-insight-box {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .insight-icon {
        width: 50px;
        height: 50px;
    }

    .insight-icon [data-lucide] {
        width: 1.5rem;
        height: 1.5rem;
    }

    .insight-content h4 {
        font-size: 1.2rem;
    }

    .insight-content p {
        font-size: 1rem;
    }
}

/* ========================================
   Lucide Icon Enhancements
   ======================================== */

/* Global Lucide icon styling */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

/* Problem Section Icons */
.problem-icon [data-lucide] {
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-radius: 16px;
    stroke-width: 2;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon [data-lucide] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Feature Section Icons */
.feature-icon [data-lucide] {
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    color: white;
    stroke-width: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.feature-card:hover .feature-icon [data-lucide] {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Step/How It Works Icons */


/* Hedging Section Icons */
.hedging-icon [data-lucide] {
    width: 4rem;
    height: 4rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    color: white;
    stroke-width: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.hedging-card:hover .hedging-icon [data-lucide] {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5);
}

/* Trust Badge Icon */
.badge-icon [data-lucide] {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--positive-green);
    stroke-width: 2.5;
}

/* Beta Counter Icon */
.counter-icon [data-lucide] {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--positive-green);
    stroke-width: 2;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 2px rgba(40, 167, 69, 0.5));
    }

    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 6px rgba(40, 167, 69, 0.8));
    }
}

/* Benefits List Icons */
.benefits-list [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-color);
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Alert Message Icons */
.alert [data-lucide] {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    stroke-width: 2.5;
}

.alert-success [data-lucide] {
    color: var(--positive-green);
}

.alert-danger [data-lucide] {
    color: var(--negative-red);
}

/* Footer Icons */
.footer-links [data-lucide] {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.5rem;
    stroke-width: 2;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.footer-links a:hover [data-lucide] {
    transform: translateY(-2px);
}

/* Key Insight Icons */
.key-insight [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--warning-yellow);
    stroke-width: 2;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Trade Decision Icons */
.trade-decision [data-lucide] {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--positive-green);
    stroke-width: 2.5;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Connector Visual Icons */
.connector-visual [data-lucide] {
    color: var(--primary-color);
    stroke-width: 2;
}

/* View Explanation Icons */
.view-explanation h5 [data-lucide] {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--primary-color);
    stroke-width: 2;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* ========================================
   Workflow Section
   ======================================== */

.workflow-section {
    background-color: var(--bg-surface) !important;
    padding: 4rem 0;
}

.workflow-card {
    background-color: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
    overflow: visible;
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.workflow-step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-invert);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 1;
}

.workflow-icon {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.workflow-icon [data-lucide] {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
    stroke-width: 2;
}

.workflow-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.workflow-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.workflow-details {
    margin-top: 1.5rem;
}

.workflow-setting {
    background-color: var(--bg-surface);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.workflow-setting strong {
    color: var(--primary-color);
}

.workflow-questions {
    margin-top: 1rem;
}

.workflow-questions p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.workflow-questions ul {
    margin-left: 1.25rem;
    color: var(--text-light);
}

.workflow-questions ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.workflow-insight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.workflow-insight [data-lucide] {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-color);
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.workflow-insight span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Pro Tips Box */
.workflow-pro-tips {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.pro-tips-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pro-tips-header [data-lucide] {
    width: 2rem;
    height: 2rem;
    color: var(--warning-yellow);
    stroke-width: 2;
}

.pro-tips-header h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.workflow-pro-tips ul {
    list-style: none;
    padding-left: 0;
}

.workflow-pro-tips ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.workflow-pro-tips ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.workflow-pro-tips ul li strong {
    color: var(--text-dark);
}

/* Responsive adjustments for workflow section */
@media (max-width: 768px) {
    .workflow-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .workflow-step-badge {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -12px;
        left: 15px;
    }

    .workflow-icon [data-lucide] {
        width: 2.5rem;
        height: 2.5rem;
    }

    .workflow-card h3 {
        font-size: 1.2rem;
    }

    .workflow-pro-tips {
        padding: 1.5rem 1rem;
    }

    .pro-tips-header h4 {
        font-size: 1.1rem;
    }
}

/* ========================================
   Carousel / Platform Carousel
   ======================================== */

.workflow-carousel {
    position: relative;
}

/* Fix carousel height to prevent jumping between slides */
.workflow-carousel .carousel-inner {
    height: 340px;
    position: relative;
}

.workflow-carousel .carousel-item {
    height: 340px;
}

.workflow-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Special handling for volatility zones image with different aspect ratio */
.workflow-carousel .carousel-item:last-child img {
    object-fit: contain;
    ;
}

/* Carousel description styles */
.carousel-description {
    margin-bottom: 0.25rem;
    padding: 0 1rem 0.5rem;
    background: var(--bg-surface);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    min-height: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-description h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.carousel-description p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Custom carousel controls */
.workflow-carousel .carousel-control-prev,
.workflow-carousel .carousel-control-next {
    display: none;
}

/* Carousel indicators */
.workflow-carousel .carousel-indicators {
    position: static;
    margin: 0.25rem 0 0;
    padding: 0.25rem 0;
}

.workflow-carousel .carousel-indicators button {
    background-color: var(--primary-color);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.workflow-carousel .carousel-indicators button.active {
    opacity: 1;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .workflow-carousel .carousel-inner {
        height: 240px;
    }

    .workflow-carousel .carousel-item {
        height: 240px;
    }

    .carousel-description {
        padding: 0 0.75rem 0.5rem;
        margin-bottom: 0.25rem;
    }

    .carousel-description h5 {
        font-size: 1rem;
    }

    .carousel-description p {
        font-size: 0.875rem;
    }

    .workflow-carousel .carousel-indicators {
        margin: 0.25rem 0 0;
        padding: 0.25rem 0;
    }
}

/* ========================================
   Learn Section
   ======================================== */

.learn-section {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-body) 100%) !important;
    padding: 5rem 0;
}

.learn-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-card);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: var(--text-primary);
}

.learn-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    border-color: var(--primary-color);
}

.learn-section .blog-card-title a {
    color: var(--text-primary);
}

/* REMOVED: Let text-muted class handle the color naturally */

.learn-section .hedging-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.learn-section .hedging-icon [data-lucide] {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 2.5;
}

/* Responsive adjustments for learn section */
@media (max-width: 768px) {
    .learn-section {
        padding: 3rem 0;
    }

    .learn-section .hedging-icon {
        width: 40px;
        height: 40px;
    }

    .learn-section .hedging-icon [data-lucide] {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   Content Max Width (Desktop Optimization)
   ======================================== */

/* Constrain all content containers to 1150px for optimal viewing */
.container {
    max-width: 1150px !important;
}

/* Ensure images scale properly */
.hero-image-container img,
.comparison-container img,
.concept-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Animation Utilities (for AOS)
   ======================================== */

[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom smooth transitions */
.smooth-transition {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Scroll To Top Button
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
    z-index: 1050;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
}

.scroll-top-btn i {
    width: 22px;
    height: 22px;
    color: #fff;
}

@media (max-width: 576px) {
    .scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 48px;
        height: 48px;
    }
}

/* ========================================
   Pricing Section
   ======================================== */

/* Pricing-specific utility classes */
.pricing-disabled-feature {
    opacity: 0.4;
}

.pricing-trial-note {
    margin-top: -8px;
    font-size: 0.75rem;
}

.pricing-card-highlighted {
    transform: scale(1.05);
}

/* Hero section utilities */
.hero-footnote {
    font-size: 0.9rem;
}

/* Workflow carousel */
.workflow-carousel {
    max-width: none;
}

/* ======================================== */

/* Pricing table styles */
.pricing-dimmed-icon {
    opacity: 0.15;
}

.pricing-highlight-cell {
    background-color: rgba(102, 126, 234, 0.1) !important;
}

.pricing-brand-color {
    color: var(--primary-color);
}

/* Pricing Accordion Styling - Dark Theme */
.pricing-section .accordion-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
    border-radius: 0 !important;
}

.pricing-accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: none !important;
}

.pricing-section .accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: none !important;
    box-shadow: none !important;
}

.pricing-section .accordion-button:not(.collapsed) {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: none !important;
}

/* Arrow styling - make it visible in dark theme */
.pricing-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23667eea'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    filter: brightness(1.2);
}

.pricing-section .accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(102, 126, 234, 0.3);
}

.pricing-section .accordion-body {
    background-color: transparent;
    color: inherit;
    border: none;
    padding: 0;
}

/* Pricing section spacing */
.pricing-section {
    background-color: var(--bg-body);
}

.pricing-section .card {
    background-color: var(--bg-card);
    border-color: rgba(102, 126, 234, 0.2);
}

.pricing-section .card-body {
    color: var(--text-primary);
}

.pricing-section .card-title {
    color: var(--text-primary);
}

.pricing-section .card-header {
    background-color: var(--primary-color) !important;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
}

.pricing-section .list-unstyled li {
    color: var(--text-primary);
}

/* REMOVED: text-muted should use consistent --text-muted variable everywhere */

.pricing-section .display-5,
.pricing-section .fw-bold {
    color: var(--text-primary);
}

.pricing-section .badge {
    background-color: var(--bg-card);
    color: var(--primary-color);
}

/* Table wrapper - add border here so it's visible on all sides */
.pricing-section .table-responsive {
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.pricing-section .table {
    color: var(--text-primary);
    margin-bottom: 0;
}

.pricing-section .table td,
.pricing-section .table th {
    border-color: rgba(102, 126, 234, 0.15);
    border-left: 1px solid rgba(102, 126, 234, 0.15);
}

/* Remove left border from first column */
.pricing-section .table td:first-child,
.pricing-section .table th:first-child {
    border-left: none;
}

.pricing-section .table-light {
    background-color: rgba(26, 29, 36, 0.8);
    color: var(--text-primary);
}

.pricing-section .table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

.pricing-section .table-active {
    background-color: rgba(26, 29, 36, 0.6);
    color: var(--text-primary);
}

.pricing-section .bg-light {
    background-color: rgba(26, 29, 36, 0.6) !important;
}

.pricing-section th.bg-light {
    background-color: rgba(102, 126, 234, 0.15) !important;
    color: var(--text-primary);
}

.pricing-section td.bg-light {
    background-color: rgba(26, 29, 36, 0.4) !important;
}

/* ========================================
   Redesigned Pricing Table UI
   ======================================== */

.pricing-section .table {
    border-collapse: collapse;
    /* Ensure borders behave */
    color: var(--text-primary);
}

/* Row Spacing & Borders */
.pricing-section .table tbody tr td,
.pricing-section .table tbody tr th {
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color) !important;
    border-top: none !important;
    /* Clean up */
}

/* Remove default borders and set base background */
.pricing-section .table>:not(caption)>*>* {
    border-bottom-width: 1px;
    box-shadow: none;
    background-color: var(--bg-body);
    /* Ensure all cells have dark background by default */
}

/* Table Header Row - Dark background with light text */
.pricing-section .table thead th {
    background-color: var(--bg-card) !important;
    /* Dark background */
    color: var(--text-primary) !important;
    /* Light text */
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-color) !important;
}

[data-bs-theme="light"] .pricing-section .table thead th {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
}

/* Premium header column */
[data-bs-theme="light"] .pricing-section .table thead th.bg-light {
    background-color: var(--bg-surface) !important;
}

[data-bs-theme="dark"] .pricing-section .table thead th.bg-light {
    background-color: #1e293b !important;
}

/* Section Headers (Brand Blue, 12px Uppercase Bold) */
.pricing-section .table tbody tr.table-active,
.pricing-section .table tbody tr.table-active:hover {
    background: linear-gradient(135deg, #1e293b 0%, #2d3748 100%) !important;
    /* Subtle gradient */
    color: #3B82F6;
}

.pricing-section .table tbody tr.table-active td {
    border-bottom: 1px solid #334155;
    font-size: 12px;
    /* 12px as specified */
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 0;
    /* Align to far left */
    text-align: left !important;
    /* Left aligned */
    font-weight: 700;
    /* Bold */
    letter-spacing: 0.5px;
    /* Slight letter spacing for prominence */
    text-transform: uppercase;
    /* Uppercase */
    color: #3B82F6 !important;
    /* Brand blue color */
}

/* Feature Rows Background */
.pricing-section .table tbody tr:not(.table-active) {
    background-color: var(--bg-body) !important;
    /* Dark background, column tint will layer on top */
}

/* Feature Titles: 16px Bold White with 24px indentation */
.pricing-section .table tbody tr:not(.table-active) td.ps-3>div:first-child {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    padding-left: 24px;
    /* Indent feature items 24px to the right */
}

/* Feature Descriptions: 13px Regular with 24px indentation */
.pricing-section .table tbody tr:not(.table-active) td.ps-3 .text-muted.small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted) !important;
    /* Use consistent text-muted variable */
    padding-left: 24px;
    /* Match feature title indentation */
}

/* Column Distinction: Premium Column Tint */
.pricing-highlight-cell {
    background-color: rgba(102, 126, 234, 0.05) !important;
    /* 5% opacity blue */
    position: relative;
}

/* Icons: Solid Vivid Blue for Premium */
.pricing-brand-color {
    color: #3b82f6 !important;
    /* Vivid Blue */
    stroke-width: 3px;
    /* Make it look "solid"/bold */
    width: 20px;
    height: 20px;
}

/* Icons: Vivid Blue for Free (matching Premium) */
.pricing-free-icon {
    color: #3b82f6 !important;
    /* Same vivid blue as Premium */
    stroke-width: 2px;
    opacity: 0.9;
}

.pricing-dimmed-icon {
    color: #475569;
    opacity: 0.5;
}

/* Hover Effect: Only lighten text, keep background dark/tinted */
.pricing-section .table tbody tr:not(.table-active):hover td {
    /* No background change on row hover to prefer column tint */
    background-color: rgba(255, 255, 255, 0.02);
    /* Very subtle overlay if needed */
}

/* ========================================
   GEX Explainer Section
   ======================================== */

.gex-explainer-section {
    background-color: var(--bg-body) !important;
    color: var(--text-primary);
}

.gex-explainer-section h2,
.gex-explainer-section .section-title {
    color: var(--text-primary);
}

.gex-explainer-section .lead {
    color: var(--text-secondary);
}

.gex-explainer-section p,
.gex-explainer-section li {
    color: var(--text-primary);
}

/* ========================================
   Neon Accent Highlights
   ======================================== */

/* Add neon glow to CTA buttons */
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(102, 126, 234, 0.3);
}

/* Neon accents on bullets and checkmarks */
ul li::marker {
    color: var(--positive-green);
}

/* Neon border glow on focus */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25),
        0 0 20px rgba(102, 126, 234, 0.3);
}

/* REMOVED: Hardcoded color overrides - using CSS variables at top of file instead */

/* ========================================
   Enhanced Design Effects (Glows & Gradients)
   ======================================== */

/* Glow for Workflow/Hedging Icons */
.hedging-icon i,
.hedging-icon [data-lucide] {
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.4));
    transition: filter 0.3s ease;
    color: white;
}

.d-flex:hover .hedging-icon i,
.d-flex:hover .hedging-icon [data-lucide] {
    filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.7));
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Premium Card Glow */
.pricing-section .card.border-primary {
    box-shadow: 0 10px 30px -10px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: rgba(102, 126, 234, 0.5) !important;
}

.pricing-section .card.border-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(102, 126, 234, 0.5), 0 0 0 1px rgba(102, 126, 234, 0.5);
}

/* Ensure gradient text classes work nicely if used inline */
.gradient-gex,
.gradient-flip {
    display: inline-block;
}

/* ========================================
   Pricing Toggle Styles
   ======================================== */

.pricing-toggle-container {
    background-color: var(--bg-surface);
    border-radius: 50px;
    padding: 4px;
    display: inline-flex;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pricing-toggle-option {
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    margin-bottom: 0;
    /* Override label margin */
}

.pricing-toggle-option:hover {
    color: var(--primary-color);
}

.pricing-toggle-input {
    display: none;
}

/* Active State */
.pricing-toggle-input:checked+.pricing-toggle-option {
    background-color: var(--bg-card);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Dark Mode Adjustments */
[data-bs-theme="dark"] .pricing-toggle-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .pricing-toggle-input:checked+.pricing-toggle-option {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pricing-beta-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 8px;
    font-style: italic;
    display: block;
}

/* Specialized Badge styling for pricing toggle to fix contrast issues */
.pricing-toggle-option .badge {
    background-color: var(--positive-green) !important;
    /* Ensure clear green */
    color: white !important;
    /* Ensure white text regardless of parent color */
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
    /* Improve alignment */
    vertical-align: middle;
}

/* When the parent option is active (blue text), keep the badge distinct */
.pricing-toggle-input:checked+.pricing-toggle-option .badge {
    background-color: var(--positive-green) !important;
    color: white !important;
}

/* Optional: Make the badge pulse or stand out slightly */
.pricing-toggle-option .badge {
    transition: transform 0.2s ease;
}

.pricing-toggle-option:hover .badge {
    transform: scale(1.1);
}