/* 
   deFinancialResearch & LogRR Assist Official Website
   Stylesheet for 0xdefinancial.com
   Premium Dark Web3 / Fintech Theme
*/

/* ----------------------------------------------------
   1. Design System & CSS Variables
---------------------------------------------------- */
:root {
    /* Color Palette */
    --color-bg-deep: #080b11;
    --color-bg-card: rgba(18, 26, 42, 0.55);
    --color-bg-card-hover: rgba(25, 36, 58, 0.7);
    --color-bg-input: #121927;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    --color-primary: #0ea5e9;
    --color-primary-glow: rgba(14, 165, 233, 0.25);
    --color-teal: #06b6d4;
    
    --color-green: #10b981;
    --color-green-glow: rgba(16, 185, 129, 0.2);
    --color-red: #ef4444;
    --color-red-glow: rgba(239, 68, 68, 0.2);
    --color-orange: #f59e0b;
    --color-orange-glow: rgba(245, 158, 11, 0.25);
    
    /* Borders & Glassmorphism */
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-focus: rgba(14, 165, 233, 0.5);
    --glass-blur: blur(16px);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    
    /* Fonts */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ----------------------------------------------------
   2. Reset & General Styles
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-deep);
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.6);
}

/* Helper Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 50%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.flex-row {
    display: flex;
    align-items: center;
}

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

.flex-grow {
    flex-grow: 1;
}

.align-center {
    align-items: center;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

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

.text-sm {
    font-size: 0.875rem;
}

.hidden {
    display: none !important;
}

.border-top-thin {
    border-top: 1px solid var(--border-glass);
}

/* Colors */
.text-green { color: var(--color-green) !important; }
.text-red { color: var(--color-red) !important; }
.text-blue { color: var(--color-primary) !important; }
.text-orange { color: var(--color-orange) !important; }
.bg-green { background-color: var(--color-green) !important; }
.bg-red { background-color: var(--color-red) !important; }

/* ----------------------------------------------------
   3. Ambient Decorative Glows
---------------------------------------------------- */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.15;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background: var(--color-teal);
    top: 50%;
    left: -200px;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: var(--color-green);
    bottom: -100px;
    right: 10%;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* ----------------------------------------------------
   4. Buttons & Badges
---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal) 100%);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass);
    backdrop-filter: var(--glass-blur);
}

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

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary-glow);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.9rem 2.25rem;
    font-size: 1.05rem;
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
}

.hero-badge {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { opacity: 0.5; box-shadow: 0 0 4px var(--color-primary); }
    50% { opacity: 1; box-shadow: 0 0 12px var(--color-primary); }
    100% { opacity: 0.5; box-shadow: 0 0 4px var(--color-primary); }
}

/* ----------------------------------------------------
   5. Header & Navigation
---------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(8, 11, 17, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 65px;
    background: rgba(8, 11, 17, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

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

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-deep);
    border-left: 1px solid var(--border-glass);
    z-index: 102;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    transform: translateX(-280px);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.drawer-close {
    font-size: 2rem;
    color: var(--color-text-muted);
}

.drawer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

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

.drawer-actions {
    margin-top: auto;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ----------------------------------------------------
   6. Sections General
---------------------------------------------------- */
section {
    padding: 6.5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Glow Card Style */
.glow-card {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.glow-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(14, 165, 233, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(14, 165, 233, 0.15);
}

/* ----------------------------------------------------
   7. Hero Section
---------------------------------------------------- */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.hero-metrics {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
    width: 100%;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.metric-plus {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 0.1rem;
}

.metric-lbl {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Hero Phone Mockup Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-back {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    z-index: -1;
}

.phone-mockup-wrapper {
    position: relative;
    width: 290px;
    height: auto;
}

.glow-ring {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    border-radius: 40px;
    border: 2px solid rgba(14, 165, 233, 0.15);
    background: transparent;
    z-index: 0;
    pointer-events: none;
    animation: spin 30s linear infinite;
}

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

.app-mockup-frame {
    position: relative;
    border-radius: 36px;
    padding: 10px;
    background: #0d121f;
    border: 4px solid #1e293b;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.app-mockup-screen {
    border-radius: 28px;
    overflow: hidden;
    background: var(--color-bg-deep);
}

.screenshot-img {
    width: 100%;
    display: block;
}

/* ----------------------------------------------------
   8. deFinancialResearch Section (Mission)
---------------------------------------------------- */
.about-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-card.active-card {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    width: 54px;
    height: 54px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card.active-card .card-icon {
    background: var(--color-primary);
    color: var(--color-text-primary);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ----------------------------------------------------
   9. LogRR Assist App Showcase Section
---------------------------------------------------- */
.app-intro-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    align-items: center;
}

/* Stacked screenshots visual */
.app-intro-visual {
    position: relative;
    height: 520px;
    width: 100%;
}

.screenshots-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.screenshot-item {
    position: absolute;
    border-radius: 24px;
    padding: 6px;
    background: #0d121f;
    border: 3px solid #1e293b;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    width: 220px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.screenshot-item img {
    border-radius: 18px;
    width: 100%;
    display: block;
}

.front-sc {
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.back-sc {
    z-index: 2;
    left: 10%;
    top: 40%;
    transform: translate(0, -40%) scale(0.85);
    opacity: 0.6;
}

.side-sc {
    z-index: 1;
    right: 10%;
    top: 60%;
    transform: translate(0, -60%) scale(0.85);
    opacity: 0.6;
}

.app-intro-visual:hover .front-sc {
    transform: translate(-50%, -50%) scale(1.03);
}

.app-intro-visual:hover .back-sc {
    transform: translate(-5px, -40%) scale(0.9);
    opacity: 0.85;
}

.app-intro-visual:hover .side-sc {
    transform: translate(5px, -60%) scale(0.9);
    opacity: 0.85;
}

/* Intro Text Area */
.app-logo-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-inline-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.app-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.25rem;
}

.app-logo-title h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.app-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.app-desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.feature-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.bullet-item {
    display: flex;
    gap: 1.25rem;
}

.bullet-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    width: 44px;
    height: 44px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bullet-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.bullet-item p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ----------------------------------------------------
   10. Interactive Calculator (Simülatör) Section
---------------------------------------------------- */
.simulator-wrapper {
    background: rgba(13, 19, 33, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.sim-card {
    background: rgba(22, 31, 51, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
}

.sim-card-header {
    margin-bottom: 2rem;
}

.sim-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.sim-subtitle {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Form Styles */
.form-row {
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Elegant Inputs matching SwiftUI Design */
.input-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    height: 52px;
    padding: 0 1rem;
    transition: var(--transition-fast);
}

.input-container:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.input-icon {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-right: 0.75rem;
    font-weight: 600;
}

.input-container input {
    width: 100%;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Horizonal selection chips */
.chips-container {
    display: flex;
    gap: 0.5rem;
}

.chip {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 0.6rem 0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.08);
}

.chip.active {
    background: var(--color-primary-glow);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Direction Switch LONG / SHORT */
.direction-switch-wrapper {
    display: flex;
    background: var(--color-bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 3px;
    height: 52px;
}

.dir-btn {
    flex: 1;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.btn-long.active {
    background: var(--color-green);
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.btn-short.active {
    background: var(--color-red);
    color: #fff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
}

.dir-btn:not(.active) {
    color: var(--color-text-muted);
}

.dir-btn:not(.active):hover {
    color: var(--color-text-secondary);
}

.sim-divider-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 1.75rem 0 1rem 0;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
}

/* Currency and Mode selector tabs */
.tab-selectors, .toggle-mode-wrapper {
    display: flex;
    background: var(--color-bg-input);
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    padding: 3px;
}

.tab-btn, .mode-btn {
    flex: 1;
    padding: 0.65rem 0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.tab-btn.active, .mode-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Results Display Cards */
.results-card {
    border-color: rgba(14, 165, 233, 0.15);
}

.rr-display-container {
    background: var(--color-bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.rr-val-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.rr-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.rr-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-green);
}

.rr-bar-visual {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.rr-bar-segment {
    height: 100%;
    transition: width 0.3s ease;
}

.segment-risk {
    background: var(--color-red);
    box-shadow: 0 0 10px var(--color-red-glow);
}

.segment-reward {
    background: var(--color-green);
    box-shadow: 0 0 10px var(--color-green-glow);
}

.rr-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.color-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 0.25rem;
}

/* Math Metric Rows */
.math-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.math-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
}

.math-lbl {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.math-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

.btn-add-position {
    height: 52px;
    font-size: 1.05rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--color-green-glow);
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-teal) 100%);
    margin-bottom: 0.75rem;
}

.btn-add-position:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.sim-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ----------------------------------------------------
   11. Performance Calendar Section
---------------------------------------------------- */
.performance-wrapper {
    gap: 2.5rem;
}

.calendar-card {
    padding: 2rem;
}

.calendar-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.25rem;
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.cal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
}

.calendar-current-month {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day-cell {
    aspect-ratio: 1;
    border-radius: 10px;
    border: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
    transition: var(--transition-fast);
    position: relative;
    min-height: 58px;
}

.calendar-day-cell:hover:not(.empty-cell) {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.calendar-day-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.calendar-day-value {
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 4px;
    padding: 0.1rem 0.2rem;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-day-value.profit {
    color: var(--color-green);
    background: var(--color-green-glow);
}

.calendar-day-value.loss {
    color: var(--color-red);
    background: var(--color-red-glow);
}

.empty-cell {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
}

/* Right Side: Performance Stats Cards */
.stats-card {
    padding: 2.25rem;
}

.perf-badge-cash {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-glow);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

.perf-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.perf-subtitle {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.stat-box {
    background: var(--color-bg-input);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-lbl {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

/* Journal List Section */
.journal-list-section {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 180px;
}

.journal-header {
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.journal-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.btn-clear-journal {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.btn-clear-journal:hover {
    color: var(--color-red);
}

.journal-scroll-container {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.journal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

.journal-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.journal-item-left {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.journal-item-inst {
    font-weight: 700;
    font-size: 0.9rem;
}

.journal-item-dir {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 0.5rem;
}

.dir-long-badge {
    background: var(--color-green-glow);
    color: var(--color-green);
}

.dir-short-badge {
    background: var(--color-red-glow);
    color: var(--color-red);
}

.journal-item-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.journal-item-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.journal-item-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
}

.journal-item-delete {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-left: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.journal-item-delete:hover {
    color: var(--color-red);
}

/* ----------------------------------------------------
   12. Details Section (Scenario Table & Info)
---------------------------------------------------- */
.details-section {
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, rgba(13, 19, 33, 0.2) 100%);
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.check-item {
    display: flex;
    gap: 1rem;
    line-height: 1.5;
}

.check-icon {
    font-size: 1.1rem;
    color: var(--color-primary);
    width: 32px;
    height: 32px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-item strong {
    display: block;
    color: var(--color-text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.check-item div {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Background backing decoration for Scenario Box */
.accent-glow-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 65%);
    z-index: -1;
    filter: blur(40px);
    opacity: 0.5;
}

.glass-panel {
    padding: 2.5rem;
    border-radius: 24px;
}

.glass-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.scenario-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.scenario-table th, .scenario-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}

.scenario-table th {
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.scenario-table td {
    font-weight: 500;
}

.scenario-table tr:last-child td {
    border-bottom: none;
}

.row-loss {
    color: var(--color-red);
}

.row-profit {
    color: var(--color-green);
}

.scenario-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
}

.badge-success, .badge-accent {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
}

.badge-success {
    background: var(--color-green-glow);
    color: var(--color-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-accent {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* ----------------------------------------------------
   13. Roadmap Section (Timeline)
---------------------------------------------------- */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-glass);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-bg-deep);
    border: 3px solid var(--color-text-muted);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-dot.completed {
    border-color: var(--color-green);
    background: var(--color-green);
    box-shadow: 0 0 10px var(--color-green-glow);
}

.timeline-dot.active-dot {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary);
}

.timeline-content {
    background: var(--color-bg-card);
    border: 1px solid var(--border-glass);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: var(--glass-blur);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    background: var(--color-bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.timeline-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.badge-done {
    background: var(--color-green-glow);
    color: var(--color-green);
    border-color: rgba(16, 185, 129, 0.2);
}

.badge-active {
    background: var(--color-primary-glow);
    color: var(--color-primary);
    border-color: rgba(14, 165, 233, 0.2);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
   14. CTA & App Store Download Section
---------------------------------------------------- */
.download-container {
    padding-bottom: 4rem;
}

.download-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding: 4.5rem;
    overflow: hidden;
    position: relative;
    border-radius: 32px;
}

.download-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-content p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-version-info {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

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

.dl-app-icon {
    width: 180px;
    height: 180px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: rotate(-10deg);
    transition: var(--transition-smooth);
}

.download-box:hover .dl-app-icon {
    transform: rotate(0deg) scale(1.05);
}

/* ----------------------------------------------------
   15. Footer Section
---------------------------------------------------- */
.main-footer {
    background: #04060b;
    border-top: 1px solid var(--border-glass);
    padding: 5rem 0 3rem 0;
}

.footer-top {
    margin-bottom: 4rem;
}

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

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.main-footer h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.disclaimer-text {
    line-height: 1.6;
    font-size: 0.8rem;
}

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

/* ----------------------------------------------------
   16. Media Queries & Responsive Adaptations
---------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
        gap: 4rem;
    }
    
    .about-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .app-intro-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .app-intro-visual {
        height: 420px;
    }
    
    .screenshot-item {
        width: 180px;
    }
    
    .download-box {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem;
        text-align: center;
    }
    
    .download-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .simulator-wrapper {
        padding: 1.25rem;
    }
    
    .sim-card {
        padding: 1.5rem;
    }
    
    .performance-wrapper {
        grid-template-columns: 1fr;
    }
    
    .main-nav, .btn-header-sim, .btn-header-dl {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-metrics {
        gap: 2rem;
    }
    
    .scenario-footer {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ----------------------------------------------------
   17. Modal Popup Styling
---------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 11, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-card {
    max-width: 480px;
    width: 90%;
    padding: 3rem 2rem;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    border-color: rgba(14, 165, 233, 0.25);
    background: rgba(18, 26, 42, 0.9);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.2);
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    line-height: 1;
    background: transparent;
    border: none;
}

.modal-close-btn:hover {
    color: var(--color-red);
}

.modal-app-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: block;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modal-desc {
    color: var(--color-text-secondary);
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 480px) {
    .modal-actions {
        flex-direction: column;
    }
}

/* ----------------------------------------------------
   18. Blog Section Styling
---------------------------------------------------- */
.blog-section {
    background: linear-gradient(180deg, rgba(8, 11, 17, 0.4) 0%, rgba(13, 19, 33, 0.2) 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blog-card-img-placeholder {
    height: 160px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img-placeholder {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    color: var(--color-teal);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary-glow);
    border: 1px solid rgba(14, 165, 233, 0.2);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.775rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
    align-self: flex-start;
}

.blog-read-more:hover {
    color: var(--color-teal);
    transform: translateX(3px);
}

.blog-footer-link {
    margin-top: 3.5rem;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ----------------------------------------------------
   19. Legal Modal Styling
---------------------------------------------------- */
.legal-modal {
    max-width: 650px;
    padding: 2.5rem 2rem;
}

.legal-content {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 0.75rem;
}

/* Custom scrollbar for legal content modal */
.legal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-content::-webkit-scrollbar-track {
    background: rgba(13, 19, 33, 0.2);
}

.legal-content::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.3);
    border-radius: 3px;
}

.legal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.5);
}

.legal-content h4 {
    color: var(--color-text);
    font-size: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-content p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
