/* ===== VARIABLES ===== */
:root {
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-white: #ffffff;
    --text: #0f172a;
    --text-dim: #64748b;
    --accent: #4f6ef7;
    --accent-light: #818cf8;
    --green: #22c55e;
    --green-light: #4ade80;
    --red: #ef4444;
    --orange: #f59e0b;
    --border: #e2e8f0;
    --radius: 16px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .04);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(248, 250, 252, .6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all .3s;
}

.nav.scrolled {
    padding: 12px 32px;
    background: rgba(255, 255, 255, .85);
    border-color: var(--border);
    box-shadow: var(--shadow);
}

.nav-brand {
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .2s;
}

.nav-links a:hover {
    color: var(--accent);
    background: rgba(79, 110, 247, .06);
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-burger {
        display: block;
    }
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 50%, #fefce8 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .15;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, var(--accent), transparent);
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -5%;
    left: -5%;
    background: radial-gradient(circle, var(--green), transparent);
    animation-delay: -3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 20%;
    background: radial-gradient(circle, var(--orange), transparent);
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(79, 110, 247, .1);
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 110, 247, .2);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all .3s;
    box-shadow: 0 4px 16px rgba(79, 110, 247, .4);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 110, 247, .5);
}

.hero-btn .arrow {
    transition: transform .3s;
}

.hero-btn:hover .arrow {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    animation: fadeInUp 1s ease .5s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--text-dim);
    border-radius: 4px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: .3;
        transform: translateY(8px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== INFO BLOCKS ===== */
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    transition: all .3s;
}

.info-block:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.info-block-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.info-block-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.info-block-content p {
    color: var(--text-dim);
    font-size: 15px;
}

/* Keyword Pills */
.keyword-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.pill {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text);
    border: 1px solid var(--border);
}

.pill-accent {
    background: rgba(79, 110, 247, .1);
    color: var(--accent);
    border-color: rgba(79, 110, 247, .2);
}

.pill-green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, .2);
}

/* ===== LAW CARDS ===== */
.law-card {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 2px solid rgba(79, 110, 247, .2);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px;
    text-align: center;
}

.law-card-green {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: rgba(34, 197, 94, .2);
}

.law-card-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.law-card-green .law-card-label {
    color: #16a34a;
}

.law-card h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 24px;
}

.law-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.formula-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
}

.formula-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.formula-arrow.up {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
}

.formula-arrow.down {
    background: rgba(34, 197, 94, .1);
    color: var(--green);
}

.formula-eq {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-dim);
}

/* ===== FACTOR CARDS ===== */
.factors-grid {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.factors-title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
}

.factors-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.factors-cards-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {

    .factors-cards,
    .factors-cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {

    .factors-cards,
    .factors-cards-3 {
        grid-template-columns: 1fr;
    }
}

.factor-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all .3s;
    background: var(--bg);
}

.factor-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.factor-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.factor-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.factor-card p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== COMPARE TABLE ===== */
.compare-table {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border);
}

.compare-col {
    flex: 1;
    padding: 40px 32px;
}

.compare-demand {
    background: linear-gradient(180deg, #fef2f2, #fff);
}

.compare-supply {
    background: linear-gradient(180deg, #f0fdf4, #fff);
}

.compare-header {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.compare-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.arrow-badge {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.arrow-badge.red {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
}

.arrow-badge.green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
}

.arrow-badge.blue {
    background: rgba(79, 110, 247, .1);
    color: var(--accent);
}

.compare-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 8px;
}

.compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dim);
    padding: 0 16px;
    opacity: .4;
}

@media (max-width: 700px) {
    .compare-table {
        flex-direction: column;
    }

    .compare-vs {
        padding: 16px;
    }
}

/* ===== TWIN CARDS ===== */
.twin-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 700px) {
    .twin-cards {
        grid-template-columns: 1fr;
    }
}

.twin-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: all .3s;
}

.twin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.twin-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.twin-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.twin-card p {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.twin-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
}

.twin-badge.green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
}

.twin-badge.red {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
}

/* ===== KEY PRINCIPLE ===== */
.key-principle {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    border: 2px solid rgba(245, 158, 11, .2);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
}

.key-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.key-text {
    font-size: 18px;
    font-weight: 600;
}

/* ===== PRICE BLOCK ===== */
.price-block {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow);
}

.price-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.price-block h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-block p {
    font-size: 15px;
    color: var(--text-dim);
}

/* ===== MARKETING ESSENCE ===== */
.marketing-essence {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow);
}

.marketing-essence h3 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
}

.essence-cards {
    display: flex;
    gap: 20px;
}

@media (max-width: 600px) {
    .essence-cards {
        flex-direction: column;
    }
}

.essence-card {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}

.essence-num {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
}

.essence-card p {
    font-size: 15px;
    color: var(--text-dim);
}

/* ===== MARKETING TYPES (Accordion) ===== */
.marketing-types {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.marketing-types h3 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}

.types-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.type-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s;
    overflow: hidden;
}

.type-item:hover {
    border-color: var(--accent);
}

.type-item.open {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.type-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 15px;
}

.type-icon {
    font-size: 20px;
}

.type-toggle {
    margin-left: auto;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dim);
    transition: transform .3s;
}

.type-item.open .type-toggle {
    transform: rotate(45deg);
    color: var(--accent);
}

.type-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height .4s ease, padding .3s ease;
}

.type-item.open .type-body {
    max-height: 200px;
    padding: 0 20px 16px;
}

.type-body p {
    font-size: 14px;
    color: var(--text-dim);
}

/* ===== QUIZ ===== */
.quiz-container {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.quiz-progress {
    height: 6px;
    background: var(--bg-alt);
    border-radius: 3px;
    margin-bottom: 12px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 3px;
    transition: width .4s ease;
}

.quiz-counter {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.quiz-question {
    display: none;
    text-align: center;
}

.quiz-question.active {
    display: block;
    animation: fadeIn .4s ease;
}

.quiz-question h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.quiz-opt {
    padding: 16px 24px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all .3s;
    font-family: inherit;
    text-align: left;
}

.quiz-opt:hover:not(.selected) {
    border-color: var(--accent);
    background: rgba(79, 110, 247, .04);
}

.quiz-opt.correct {
    border-color: var(--green) !important;
    background: rgba(34, 197, 94, .1) !important;
    color: #16a34a;
}

.quiz-opt.wrong {
    border-color: var(--red) !important;
    background: rgba(239, 68, 68, .1) !important;
    color: var(--red);
}

.quiz-opt.selected {
    pointer-events: none;
}

.quiz-result {
    display: none;
    text-align: center;
    padding: 24px 0;
}

.quiz-result.active {
    display: block;
    animation: fadeIn .4s ease;
}

.result-emoji {
    font-size: 64px;
    margin-bottom: 16px;
}

.quiz-result h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.quiz-result p {
    font-size: 16px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.result-score {
    font-size: 18px;
    padding: 12px 24px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.quiz-restart {
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    transition: all .3s;
}

.quiz-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 110, 247, .4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

@media (max-width: 500px) {
    .hero-stats {
        gap: 20px;
    }

    .hero-stat-num {
        font-size: 28px;
    }

    .hero-stat-label {
        font-size: 11px;
    }
}

/* ===== SIMULATOR ===== */
.simulator-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.sim-price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sim-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dim);
}

.sim-value {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sim-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--green), var(--orange), var(--red));
    outline: none;
    cursor: pointer;
}

.sim-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    cursor: pointer;
    transition: transform .2s;
}

.sim-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.sim-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    cursor: pointer;
}

.sim-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 32px;
}

.sim-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.sim-bar-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sim-bar-label {
    font-size: 14px;
    font-weight: 700;
    width: 140px;
    flex-shrink: 0;
}

.sim-bar-track {
    flex: 1;
    height: 24px;
    background: var(--bg-alt);
    border-radius: 12px;
    overflow: hidden;
}

.sim-bar {
    height: 100%;
    border-radius: 12px;
    transition: width .4s ease;
}

.sim-bar-demand {
    background: linear-gradient(90deg, #818cf8, #4f6ef7);
}

.sim-bar-supply {
    background: linear-gradient(90deg, #4ade80, #22c55e);
}

.sim-bar-value {
    font-size: 14px;
    font-weight: 800;
    width: 44px;
    text-align: right;
}

.sim-verdict {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    background: rgba(79, 110, 247, .06);
    border: 1px solid rgba(79, 110, 247, .15);
    font-size: 16px;
    font-weight: 700;
    transition: all .3s;
}

.sim-verdict.deficit {
    background: rgba(239, 68, 68, .06);
    border-color: rgba(239, 68, 68, .15);
    color: var(--red);
}

.sim-verdict.surplus {
    background: rgba(34, 197, 94, .06);
    border-color: rgba(34, 197, 94, .15);
    color: #16a34a;
}

.sim-verdict-icon {
    font-size: 24px;
}

@media (max-width: 600px) {
    .simulator-card {
        padding: 24px;
    }

    .sim-bar-label {
        width: 120px;
        font-size: 12px;
    }

    .sim-value {
        font-size: 24px;
    }
}

/* ===== EXAMPLES ===== */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .examples-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .examples-grid {
        grid-template-columns: 1fr;
    }
}

.example-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.example-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    opacity: 0;
    transition: opacity .3s;
}

.example-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.example-card:hover::after {
    opacity: 1;
}

.example-img {
    font-size: 48px;
    margin-bottom: 16px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 16px;
}

.example-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.example-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 16px;
}

.example-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.tag-blue {
    background: rgba(79, 110, 247, .1);
    color: var(--accent);
}

.tag-green {
    background: rgba(34, 197, 94, .1);
    color: #16a34a;
}

.tag-red {
    background: rgba(239, 68, 68, .1);
    color: var(--red);
}

.tag-orange {
    background: rgba(245, 158, 11, .1);
    color: #d97706;
}

/* ===== GLOSSARY ===== */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 700px) {
    .glossary-grid {
        grid-template-columns: 1fr;
    }
}

.glossary-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all .3s;
    box-shadow: var(--shadow);
}

.glossary-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.glossary-term {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}

.glossary-def {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}


/* ===== ELASTICITY ===== */
.elasticity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

@media (max-width: 700px) {
    .elasticity-grid {
        grid-template-columns: 1fr;
    }
}

.elastic-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s;
}

.elastic-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.elastic-header {
    padding: 16px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.elastic-header.elastic {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.elastic-header.inelastic {
    background: linear-gradient(135deg, var(--green), var(--green-light));
}

.elastic-body {
    padding: 32px;
    text-align: center;
}

.elastic-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.elastic-body p {
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-dim);
}

.elastic-examples {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.elastic-examples span {
    background: var(--bg-alt);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.elastic-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 14px;
    background: var(--bg);
    border: 2px solid var(--border);
}

/* ===== GAMES / PRACTICUM ===== */
.game-container {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.game-icon {
    font-size: 32px;
}

.game-header h3 {
    font-size: 24px;
    font-weight: 800;
}

.game-desc {
    color: var(--text-dim);
    margin-bottom: 24px;
    font-size: 16px;
}

/* Market Analyst Game */
.analyst-game {
    text-align: center;
}

.scenario-box {
    background: linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.scenario-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.scenario-box h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.analyst-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.analyst-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.analyst-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--bg-white);
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}

.analyst-btn:hover {
    border-color: var(--accent);
    background: rgba(79, 110, 247, .05);
}

.analyst-result {
    font-weight: 700;
    min-height: 24px;
}

.next-scenario-btn {
    margin-top: 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Factor Sorter Game */
.sorter-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sorter-item {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    animation: bounceIn .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.sorter-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.sorter-bins {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.sorter-bin {
    flex: 1;
    max-width: 200px;
    padding: 20px;
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--bg-alt);
    font-weight: 800;
    cursor: pointer;
    transition: all .3s;
}

.sorter-bin:hover {
    transform: translateY(-4px);
    border-color: var(--text-dim);
}

.demand-bin:hover {
    border-color: var(--accent);
    background: rgba(79, 110, 247, .05);
    color: var(--accent);
}

.supply-bin:hover {
    border-color: var(--green);
    background: rgba(34, 197, 94, .05);
    color: var(--green);
}

.sorter-result {
    font-weight: 700;
    height: 24px;
}


/* ===== SCENARIO IMAGE ===== */
.scenario-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #eef2ff;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

@media (max-width: 600px) {
    .scenario-img {
        height: 160px;
    }
}


/* ===== SORTER IMAGE ===== */
.sorter-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 4px solid var(--border);
    box-shadow: var(--shadow);
}

.sorter-item {
    padding: 32px 40px;
}

@media (max-width: 600px) {
    .sorter-img {
        width: 100px;
        height: 100px;
    }
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 2px solid var(--border);
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .info-block {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .law-card,
    .factors-grid,
    .marketing-essence,
    .marketing-types {
        padding: 24px;
    }

    .key-principle {
        flex-direction: column;
        text-align: center;
    }

    .price-block {
        flex-direction: column;
        gap: 12px;
        padding: 24px;
    }

    .quiz-container {
        padding: 24px;
    }

    .twin-card {
        padding: 24px;
    }
}