* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --border: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #00d4aa;
    --accent-dim: rgba(0, 212, 170, 0.1);
    --accent-border: rgba(0, 212, 170, 0.2);
}

html {
    scroll-behavior: smooth;
}

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

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

nav .logo:hover,
nav .logo:visited,
nav .logo:active {
    text-decoration: none !important;
    color: #ffffff;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    flex-direction: column;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    pointer-events: none;
}

nav .logo span {
    color: var(--accent);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

nav ul a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero .divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 2rem;
}

.hero .subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.2s;
}

.pillar:hover {
    border-color: var(--accent-border);
}

.pillar .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.pillar h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.pillar p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Featured Analysis */
.articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.article-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-2px);
}

.article-card .thumb {
    width: 100%;
    height: 180px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.article-card .thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 212, 170, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.article-card .thumb span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.article-card .content {
    padding: 1.5rem;
}

.article-card .tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.article-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Methodology */
.methodology {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.methodology-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.methodology-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.methodology-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.methodology-list {
    list-style: none;
}

.methodology-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.methodology-list li::before {
    content: '>';
    color: var(--accent);
    font-family: monospace;
    font-weight: bold;
}

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Courier New', monospace;
}

.stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.25rem;
}

/* CTA */
.cta {
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    max-width: 450px;
    margin: 0 auto;
}

.cta-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.cta-form input::placeholder {
    color: var(--text-muted);
}

.cta-form input:focus {
    border-color: var(--accent-border);
}

.cta-form button {
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.cta-form button:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
    .pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles {
        grid-template-columns: 1fr;
    }
    .methodology-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .pillars {
        grid-template-columns: 1fr;
    }
    .menu-toggle {
        display: flex;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
    }
    nav ul.open {
        display: flex;
    }
    nav ul li a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }
    nav ul li:last-child a {
        border-bottom: none;
    }
    .cta-form {
        flex-direction: column;
    }
    .stats-bar {
        grid-template-columns: 1fr;
    }
}
