/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f7931a;
    --primary-dark: #d97706;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --border-color: #e2e8f0;
    --success: #48bb78;
    --danger: #f56565;
    --warning: #ed8936;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
    margin-top: 2.5rem;
}

h4 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

h5 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--text-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 4rem;
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: rgba(247, 147, 26, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin-bottom: 0;
}

/* Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

.intro-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h4 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Analogy Box */
.analogy-box {
    background: white;
    border: 2px solid var(--border-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.analogy-box .icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.analogy-box p {
    margin-bottom: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(245, 101, 101, 0.05) 100%);
    border: 2px solid var(--danger);
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 500;
}

.stat-operator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

/* Emphasis */
.emphasis {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.05) 0%, rgba(247, 147, 26, 0.02) 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Key Point */
.key-point {
    background: var(--accent-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    font-size: 1.125rem;
}

.key-point strong {
    color: var(--primary-color);
}

/* Example Box */
.example-box {
    background: white;
    border: 2px solid var(--border-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.example-box h5 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.example-box ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.example-box li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.example-box .conclusion {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

/* Callout Box */
.callout-box {
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-lg);
}

.callout-box.danger {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(245, 101, 101, 0.05) 100%);
    border-left: 4px solid var(--danger);
}

.callout-box.insight {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(72, 187, 120, 0.05) 100%);
    border-left: 4px solid var(--success);
}

.callout-box p {
    margin-bottom: 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Spiral Box */
.spiral-box {
    background: white;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--danger);
}

.spiral-box h4 {
    margin-top: 0;
    color: var(--danger);
}

.subtitle-small {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.spiral-list {
    list-style: none;
    counter-reset: spiral-counter;
    margin: 2rem 0;
    padding-left: 0;
}

.spiral-list li {
    counter-increment: spiral-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.spiral-list li::before {
    content: counter(spiral-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--danger);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.spiral-box .insight {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    font-weight: 500;
    color: var(--text-primary);
}

/* Subsection */
.subsection {
    margin-bottom: 4rem;
}

.subsection h4 {
    color: var(--primary-dark);
    margin-top: 0;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.subsection:first-of-type h4 {
    border-top: none;
    padding-top: 0;
}

/* Trigger Grid */
.trigger-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.trigger-item {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(245, 101, 101, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--danger);
    border: 2px solid rgba(245, 101, 101, 0.2);
}

/* Comparison Table */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.comparison-col {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.comparison-col.positive {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(72, 187, 120, 0.05) 100%);
    border: 2px solid var(--success);
}

.comparison-col.negative {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(245, 101, 101, 0.05) 100%);
    border: 2px solid var(--danger);
}

.comparison-col h5 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.comparison-col.positive h5 {
    color: var(--success);
}

.comparison-col.negative h5 {
    color: var(--danger);
}

.comparison-col ul {
    margin-left: 1.5rem;
}

.comparison-col li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Bitcoin Section */
.bitcoin-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
    border: 2px solid var(--primary-color);
}

.bitcoin-section h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.bitcoin-principles {
    list-style: none;
    counter-reset: principles-counter;
    padding-left: 0;
}

.bitcoin-principles li {
    counter-increment: principles-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.bitcoin-principles li::before {
    content: counter(principles-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Two Column Compare */
.two-column-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.compare-col {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.compare-col.highlight {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border: 2px solid var(--primary-color);
}

.compare-col h5 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.compare-col.highlight h5 {
    color: var(--primary-dark);
}

.compare-col ul {
    margin-left: 1.5rem;
}

.compare-col li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Formula Box */
.formula-box {
    background: var(--accent-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.formula-box p {
    margin-bottom: 0;
    font-size: 1.125rem;
    color: white;
}

.formula-box strong {
    color: var(--primary-color);
}

/* Contrast Box */
.contrast-box {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2.5rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contrast-item {
    padding: 1.5rem;
    border-radius: 8px;
}

.contrast-item.old {
    background: linear-gradient(135deg, rgba(160, 160, 160, 0.1) 0%, rgba(160, 160, 160, 0.05) 100%);
    border: 2px solid var(--text-light);
}

.contrast-item.new {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border: 2px solid var(--primary-color);
}

.contrast-item .label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.contrast-item.new .label {
    color: var(--primary-dark);
}

.contrast-item p {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.arrow {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Final Contrast */
.final-contrast {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 3px solid var(--primary-color);
}

.final-contrast h4 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.final-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.final-card {
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.final-card.fiat {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.15) 0%, rgba(245, 101, 101, 0.05) 100%);
    border: 3px solid var(--danger);
}

.final-card.bitcoin {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.15) 0%, rgba(247, 147, 26, 0.05) 100%);
    border: 3px solid var(--primary-color);
}

.final-card h5 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.final-card.fiat h5 {
    color: var(--danger);
}

.final-card.bitcoin h5 {
    color: var(--primary-dark);
}

.final-card p {
    margin-bottom: 0;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.vs {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-align: center;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

ul ul, ol ul, ul ol, ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 4px solid var(--text-light);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

footer .small {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

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

    .stat-operator {
        display: none;
    }

    .comparison-table,
    .two-column-compare {
        grid-template-columns: 1fr;
    }

    .contrast-box {
        grid-template-columns: 1fr;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .final-comparison {
        grid-template-columns: 1fr;
    }

    .vs {
        margin: 2rem 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.25rem;
    }

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

/* Smooth Animations */
.analogy-box,
.highlight-box,
.example-box,
.callout-box,
.spiral-box,
.bitcoin-section,
.final-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .cta-section,
    footer {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .section {
        page-break-inside: avoid;
    }
}
