/* ==========================================================================
   Design System & Styling Rules - AI Quant Trading
   ========================================================================== */

/* Variables & Design Tokens */
:root {
    --bg-obsidian: #080B11;
    --bg-card: rgba(25, 33, 49, 0.4);
    --bg-card-hover: rgba(30, 41, 59, 0.6);
    --bg-glass: rgba(18, 24, 38, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(0, 245, 118, 0.3);
    
    /* Neon Accent Colors */
    --color-green: #00F576;
    --color-green-glow: rgba(0, 245, 118, 0.25);
    --color-cyan: #00E5FF;
    --color-cyan-glow: rgba(0, 229, 255, 0.25);
    --color-purple: #BD00FF;
    --color-purple-glow: rgba(189, 0, 255, 0.25);
    --color-red: #F87171;
    
    /* Text Color Scheme */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    /* Typography & Shadows */
    --font-primary: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    --shadow-glow-green: 0 0 25px rgba(0, 245, 118, 0.15);
    --shadow-glow-cyan: 0 0 25px rgba(0, 229, 255, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Scaffold Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout Utilities */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Panel Base */
.glassmorphism {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Accent Gradients & Highlight Text */
.accent-text {
    color: var(--color-cyan);
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--text-secondary) 50%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-green {
    color: var(--color-green);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 245, 118, 0.3);
}

.text-green { color: var(--color-green); }
.text-cyan { color: var(--color-cyan); }
.text-red { color: var(--color-red); }

/* Buttons & Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    gap: 6px;
    line-height: 1.35;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-green) 0%, #00C853 100%);
    color: #050608;
    box-shadow: 0 4px 15px rgba(0, 245, 118, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 245, 118, 0.5), 0 0 30px rgba(0, 245, 118, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-green);
    color: var(--color-green);
}

.btn-outline:hover {
    background: rgba(0, 245, 118, 0.08);
    box-shadow: 0 0 15px rgba(0, 245, 118, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-label-short {
    display: none;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 245, 118, 0.3); }
    50% { transform: scale(1.02); box-shadow: 0 6px 25px rgba(0, 245, 118, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 245, 118, 0.3); }
}

.pulse-animation {
    animation: pulse 3s infinite ease-in-out;
}

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

/* Floating Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    background: rgba(8, 11, 17, 0.7);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 1;
}

.logo-text {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

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

.nav-btn {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-btn-cta {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-cta-short {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.04) 0%, rgba(8, 11, 17, 0) 60%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-glow-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    left: -100px;
    top: 20%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, rgba(8, 11, 17, 0) 70%);
    filter: blur(40px);
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    right: -100px;
    bottom: 10%;
    background: radial-gradient(circle, rgba(0, 245, 118, 0.05) 0%, rgba(8, 11, 17, 0) 70%);
    filter: blur(40px);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-green);
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 750;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-highlight-card {
    background: rgba(0, 245, 118, 0.02);
    border: 1px solid rgba(0, 245, 118, 0.12);
    box-shadow: 0 0 25px rgba(0, 245, 118, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 620px;
    backdrop-filter: blur(10px);
}

.highlight-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.highlight-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 245, 118, 0.35);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.highlight-text-group {
    display: flex;
    flex-direction: column;
}

.highlight-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.highlight-desc {
    font-size: 10px;
    color: var(--text-muted);
}

.highlight-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.highlight-para {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.arrow-icon {
    margin-left: 8px;
    transition: var(--transition-smooth);
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.hero-features-list {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.hero-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
}

/* Dashboard Mockup (Hero Right) */
.hero-visual {
    animation: float 6s ease-in-out infinite;
}

.dashboard-card {
    border-radius: 16px;
    overflow: hidden;
}

.dashboard-header {
    height: 48px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-green);
}

.status-dot.pulsing {
    box-shadow: 0 0 12px var(--color-green);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

.status-text {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.dashboard-body {
    padding: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 750;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Mini Chart inside dashboard */
.chart-container-mini {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.chart-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.chart-title-mini {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.chart-tag-mini {
    font-size: 9px;
    background: rgba(0, 245, 118, 0.1);
    color: var(--color-green);
    padding: 2px 6px;
    border-radius: 4px;
}

.svg-wrapper {
    height: 140px;
    width: 100%;
}

.mini-chart-svg {
    overflow: visible;
}

.pulsing-circle {
    animation: pointPulse 1.5s infinite;
}

@keyframes pointPulse {
    0% { r: 5px; opacity: 1; }
    50% { r: 10px; opacity: 0.3; }
    100% { r: 5px; opacity: 1; }
}

/* Activity Feed logs mockup */
.activity-feed {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.feed-title {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feed-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
}

.feed-time {
    color: var(--text-muted);
}

.feed-tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.feed-tag.tag-buy {
    background: rgba(0, 245, 118, 0.1);
    color: var(--color-green);
}

.feed-tag.tag-sell {
    background: rgba(248, 113, 113, 0.1);
    color: var(--color-red);
}

.feed-desc {
    color: var(--text-secondary);
}

/* Grid & Section Headers Shared Layouts */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-pre {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 750;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

/* System Features / Strengths */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-obsidian) 0%, rgba(12, 18, 28, 0.5) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feat-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

.cyan-glow { box-shadow: var(--shadow-glow-cyan); border-color: rgba(0, 229, 255, 0.2); }
.green-glow { box-shadow: var(--shadow-glow-green); border-color: rgba(0, 245, 118, 0.2); }
.purple-glow { box-shadow: 0 0 25px rgba(189, 0, 255, 0.15); border-color: rgba(189, 0, 255, 0.2); }

.feature-card h3 {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 14px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Calculator Section & Slider CSS styling */
.calculator-section {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at 10% 40%, rgba(0, 245, 118, 0.03) 0%, rgba(8, 11, 17, 0) 50%);
}

.calc-glow {
    position: absolute;
    right: 15%;
    top: 30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 245, 118, 0.04) 0%, rgba(8, 11, 17, 0) 70%);
    filter: blur(30px);
}

.calc-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

.calc-text {
    max-width: 500px;
}

.calc-risk-card {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    background: rgba(248, 113, 113, 0.05);
    border: 1px solid rgba(248, 113, 113, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.calc-risk-card h4 {
    color: var(--color-red);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.calc-risk-card p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.calc-card {
    padding: 36px;
}

.calc-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 30px;
    background: rgba(0,0,0,0.2);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.calc-tab {
    background: transparent;
    border: none;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.calc-tab:hover {
    color: var(--text-primary);
}

.calc-tab.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-green);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.calc-tab span {
    font-size: 12px;
    font-weight: 600;
}

.calc-tab small {
    font-size: 9px;
    opacity: 0.8;
    margin-top: 2px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.form-label-row label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-val {
    font-size: 15px;
    font-weight: 750;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Range Sliders */
.styled-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition-smooth);
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-green);
    cursor: pointer;
    box-shadow: 0 0 10px var(--color-green-glow);
    transition: var(--transition-smooth);
}

.styled-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    box-shadow: 0 0 15px var(--color-green);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: var(--text-muted);
}

.calc-results {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0 20px;
}

.result-box-main {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.result-box-main .res-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.result-box-main .res-value {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 4px;
    display: block;
}

.result-sub-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.result-sub-box {
    text-align: center;
}

.res-label {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
}

.res-sub-value {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.calc-note {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 24px;
}

/* Large Simulated Backtest Curve Chart */
.backtest-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.5) 0%, var(--bg-obsidian) 100%);
    border-top: 1px solid var(--border-color);
}

.backtest-chart-card {
    padding: 40px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
}

.chart-info h3 {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 6px;
}

.chart-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.chart-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ai-dot { background-color: var(--color-green); box-shadow: 0 0 6px var(--color-green); }
.hs-dot { background-color: #64748B; }
.sp-dot { background-color: var(--color-cyan); }

.large-chart-wrapper {
    width: 100%;
    height: 340px;
}

.main-chart-svg {
    overflow: visible;
}

.chart-footer-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.metric-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-label {
    font-size: 11px;
    color: var(--text-muted);
}

.m-val {
    font-size: 18px;
    font-weight: 700;
}

/* Workflow process section */
.workflow-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 30px;
    flex: 1;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border-color-hover);
    background: rgba(255,255,255,0.03);
}

.step-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 32px;
    font-weight: 850;
    color: rgba(255, 255, 255, 0.03);
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition-smooth);
}

.step-card:hover .step-num {
    color: rgba(0, 245, 118, 0.08);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 650;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Testimonials Social Proof section */
.testimonials-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-obsidian) 0%, rgba(18, 24, 38, 0.3) 100%);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.t-rating {
    font-size: 14px;
    margin-bottom: 16px;
}

.t-comment {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.t-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #050608;
    font-size: 14px;
}

.t-info {
    display: flex;
    flex-direction: column;
}

.t-name {
    font-weight: 600;
    font-size: 14px;
}

.t-role {
    font-size: 11px;
    color: var(--text-muted);
}

.testimonial-disclosure {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* FAQ Accordion Styling */
.faq-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 15px;
    font-weight: 650;
    text-align: left;
}

.faq-icon {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-green);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.1);
}

.faq-content p {
    padding: 0 24px 24px;
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-content {
    max-height: 500px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Lead Registration & CTA conversion section */
.register-section {
    position: relative;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(circle at 50% 100%, rgba(0, 245, 118, 0.05) 0%, rgba(8, 11, 17, 0) 50%);
}

.reg-glow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 118, 0.04) 0%, rgba(8, 11, 17, 0) 70%);
    filter: blur(40px);
}

.register-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 56px;
    position: relative;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    font-size: 32px;
    font-weight: 750;
    margin-bottom: 12px;
}

.register-header p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-field input, .form-field select {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.form-field input:focus, .form-field select:focus {
    border-color: var(--color-green);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 10px rgba(0, 245, 118, 0.1);
}

.form-field select option {
    background-color: #0E1420;
    color: var(--text-primary);
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-field input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-green);
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-field label {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-field a {
    color: var(--color-green);
    font-weight: 500;
}

.checkbox-field a:hover {
    text-decoration: underline;
}

/* Form Success State Screen Overlay inside the glass card */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0D131E;
    border-radius: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    max-width: 480px;
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 245, 118, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-content p {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Compliance Footer & Legal Disclaimers styling */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
    background: #05070B;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    font-size: 12px;
    color: var(--text-secondary);
}

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

.footer-links .divider {
    color: var(--text-muted);
}

.fb-disclaimer-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.fb-disclaimer-box p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

.fb-disclaimer-box p strong {
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.investment-disclaimer-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
    margin-bottom: 30px;
}

.investment-disclaimer-box p {
    font-size: 10.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

.investment-disclaimer-box p strong {
    color: var(--text-secondary);
}

.footer-copyright {
    font-size: 11px;
    color: var(--text-muted);
}

/* Compliance Modals Overlays */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 11, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    border-color: rgba(255,255,255,0.12);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 650;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

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

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-body h4 {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.modal-body p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Custom Scrollbar for Modal and Page */
.modal-box::-webkit-scrollbar {
    width: 6px;
}

.modal-box::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.modal-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.modal-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Responsive Media Queries (Mobile First Grid Adaption)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-highlight-card {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-features-list {
        justify-content: center;
    }

    .calc-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .calc-text {
        max-width: 100%;
        text-align: center;
    }

    .calc-risk-card {
        text-align: left;
    }
}

@media (max-width: 768px) {
    /* Section padding reductions */
    .features-section, 
    .calculator-section, 
    .backtest-section, 
    .workflow-section, 
    .testimonials-section, 
    .faq-section, 
    .register-section {
        padding: 50px 0;
    }

    .nav-menu {
        display: none; /* Collapsed links on smaller tablets */
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-highlight-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .highlight-divider {
        width: 80%;
        height: 1px;
        margin: 4px auto;
        background: rgba(255, 255, 255, 0.1);
    }

    .highlight-main {
        flex-direction: column;
        gap: 8px;
    }

    .highlight-text-group {
        align-items: center;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow-steps {
        flex-direction: column;
        gap: 20px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .chart-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .large-chart-wrapper {
        height: 240px;
    }

    .chart-footer-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .form-row-two {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .register-box {
        padding: 36px 24px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-btn-cta {
        padding: 10px 18px;
        font-size: 14px;
        min-height: 44px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

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

    .hero-cta-group .btn-lg,
    .calc-cta-btn,
    .register-form .btn-lg {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
    }

    .register-form .btn-lg {
        min-height: 52px;
        font-size: 16px;
    }

    .pulse-animation {
        animation: pulse-mobile 3s infinite ease-in-out;
    }
}

@keyframes pulse-mobile {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 245, 118, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(0, 245, 118, 0.5); }
}

@media (hover: none) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

    .nav-cta {
        display: flex;
        flex-shrink: 0;
    }

    .nav-btn {
        display: none; /* Hide secondary btn in small screens */
    }

    .nav-btn-cta {
        padding: 9px 14px;
        font-size: 13px;
        min-height: 40px;
        border-radius: 8px;
    }

    .nav-cta-full {
        display: none;
    }

    .nav-cta-short {
        display: inline;
    }

    .logo-text {
        font-size: 15px;
    }

    .hero-cta-group .btn-lg {
        padding: 14px 16px;
        font-size: 14px;
    }

    .btn-label-full {
        display: none;
    }

    .btn-label-short {
        display: inline;
    }
    
    .navbar {
        height: 60px;
    }

    .hero-section {
        padding-top: 100px;
    }

    .calc-card {
        padding: 24px 16px;
    }

    .calc-tabs {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .calc-tab {
        padding: 10px 14px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .calc-tab span {
        font-size: 13px;
    }

    .calc-tab small {
        margin-top: 0;
        font-size: 11px;
    }

    .register-box {
        padding: 24px 16px;
    }

    .chart-footer-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modal-box {
        padding: 24px 16px;
    }
}
