:root {
    --primary-blue: #2E90FA;
    --primary-red: #F04438;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --text-main: #101828;
    --text-muted: #667085;
    --border-color: #EAECF0;
    --shadow-sm: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tag {
    background-color: var(--primary-blue);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Market Section */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    padding: 40px 0;
}

.market-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.market-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
}

.market-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.market-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    height: 54px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.market-options {
    display: flex;
    gap: 12px;
}

.option-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: default;
    border: none;
}

.option-yes {
    background-color: rgba(46, 144, 250, 0.1);
    color: var(--primary-blue);
}

.option-no {
    background-color: rgba(240, 68, 56, 0.1);
    color: var(--primary-red);
}

.option-percent {
    display: block;
    font-size: 20px;
    margin-top: 4px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.menu-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-open .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.hero-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #1570EF;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-light);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
}

/* Info Blocks */
.info-blocks {
    margin-top: 80px;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.info-item p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* Content Wrapper & Typography */
.content-wrapper {
    padding: 40px 0;
}

.content-wrapper h1 {
    font-size: 36px;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.content-wrapper h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.content-wrapper h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 12px;
}

.content-wrapper p {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.7;
    color: #344054;
}

.content-wrapper ul, .content-wrapper ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-wrapper li {
    margin-bottom: 8px;
    font-size: 18px;
    color: #344054;
}

.content-wrapper blockquote {
    border-left: 4px solid var(--primary-blue);
    padding: 16px 24px;
    background-color: rgba(46, 144, 250, 0.05);
    margin: 32px 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.content-wrapper strong {
    color: var(--text-main);
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 57px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
        z-index: 100;
    }
    .nav-links.nav-open {
        display: flex;
    }
    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 16px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .markets-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
}
