:root {
    /* Palette: Modern FinTech (Deep Slate & Electric Blue) */
    --bg-dark: #0f172a;
    --bg-panel: rgba(30, 41, 59, 0.4);
    --bg-sidebar: rgba(15, 23, 42, 0.85);

    /* Accents */
    --accent-primary: #3b82f6;
    --accent-secondary: #06b6d4;
    --accent-glow: rgba(59, 130, 246, 0.3);

    /* Functional */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);

    /* Candles */
    --bullish: #22c55e;
    --bearish: #ef4444;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* Ambient Background Effects */
.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.ambient-light.one {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-primary), transparent);
}

.ambient-light.two {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary), transparent);
}

.app-container {
    display: flex;
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Sidebar Navigation */
.sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    backdrop-filter: blur(15px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
}

.logo-icon {
    color: var(--accent-primary);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.brand-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Image */
.hero-image-container {
    width: 100%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-visual {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 3s ease;
}

.slide.active .hero-visual {
    transform: scale(1);
}

.nav-links li {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-icon {
    font-size: 0.6rem;
    color: var(--border-color);
    transition: color 0.2s;
}

.nav-links li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.nav-links li.active {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
}

.nav-links li.active .nav-icon {
    color: var(--accent-primary);
    text-shadow: 0 0 5px var(--accent-primary);
}

/* Main Content Area */
.content-area {
    flex: 1;
    position: relative;
    overflow-y: auto;
    padding: 4rem 6rem;
    scroll-behavior: smooth;
}

/* Slides */
.slide {
    display: none;
    animation: fadeIn 0.5s ease-out;
    max-width: 1200px;
    margin: 0 auto;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 400;
}

/* Glass Panels (Cards) */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.glass-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Grids */
.card-grid,
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cards-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Icons */
.card-icon,
.icon-box,
.check-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Lists and Checks */
.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.feature-list li strong {
    color: var(--text-main);
    margin-right: 0.5rem;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.check-text strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

/* Comparison */
.comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.comp-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

/* Visual Content */
.visual-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.insight-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    color: var(--text-main);
}

.insight-box strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.large-text {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 3rem;
    text-align: center;
}

/* Image Styles */
.pattern-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    max-width: 600px;
}

.pattern-preview {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.full-width-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.context-visual {
    margin: 3rem 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}