@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --bg-color: #0B0E11;
    --surface: #14181D;
    --border: #1F262E;
    --accent: #C8FF4D;
    --text-main: #EDF2F7;
    --text-muted: #9BA8B5;
    
    --font-head: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Noto Sans SC', monospace;
    --font-body: 'Space Grotesk', 'Noto Sans SC', sans-serif;
    --radius: 2px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Micro Labels */
.micro-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

/* Header & Nav */
header {
    background-color: rgba(11, 14, 17, 0.9);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

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

/* Buttons */
.btn {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

.btn:hover, .btn.solid:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn.solid {
    background: var(--accent);
    color: #000;
}

.btn.solid:hover {
    background: #fff;
    border-color: #fff;
}

/* Resources Banner */
.resources-section {
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    text-align: center;
    background: var(--surface);
}

.resources-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.resources-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Layout */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* Hero */
.hero {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(200, 255, 77, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Cards (Features & AI) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.card {
    background: var(--bg-color);
    padding: 40px;
    transition: background 0.2s;
}

.card:hover {
    background: var(--surface);
}

.card-icon {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 24px;
}

.card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--accent);
}

.price-name {
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.price-card.featured .price-name {
    color: var(--accent);
}

.price-amount {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 32px;
    line-height: 1;
}

.price-amount span {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 4px;
}

.price-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    font-size: 15px;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.price-features li::before {
    content: "■";
    color: var(--accent);
    font-size: 10px;
}

/* Reviews & FAQ */
.review-text {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 16px;
}
.review-author {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.faq-q {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
}
.faq-a {
    color: var(--text-muted);
    font-size: 15px;
}

/* Content Pages (About, Terms, etc.) */
.page-header {
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: 40px;
    font-family: var(--font-head);
}
.page-content {
    max-width: 800px;
    padding: 40px 0 80px;
}
.page-content h2 {
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 40px 0 16px;
}
.page-content p, .page-content li {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 16px;
}
.page-content ul {
    list-style-type: square;
    padding-left: 20px;
    margin-bottom: 24px;
}

/* Footer */
footer {
    background: var(--bg-color);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    header .btn { display: none; }
    nav { gap: 16px; }
    .hero h1 { font-size: 40px; }
    .hero-actions { flex-direction: column; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-direction: column; gap: 16px; }
}

/* News Module */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.news-card:hover { border-color: var(--accent); }
.news-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-bottom: 12px; display: flex; justify-content: space-between; }
.news-category { color: var(--accent); }
.news-title { font-family: var(--font-head); font-size: 18px; margin-bottom: 12px; }
.news-excerpt { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; flex-grow: 1; }
.news-cta { font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-transform: uppercase; }

/* Article Page */
.article-layout { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.breadcrumbs { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 40px; }
.breadcrumbs a { color: var(--text-main); }
.breadcrumbs a:hover { color: var(--accent); }
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 40px; margin-bottom: 40px; }
.article-header h1 { font-family: var(--font-head); font-size: 32px; margin-bottom: 16px; }
.article-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); display: flex; gap: 24px; }
.article-content h2 { font-family: var(--font-head); font-size: 24px; color: var(--text-main); margin: 40px 0 20px; }
.article-content h3 { font-family: var(--font-head); font-size: 18px; color: var(--text-main); margin: 30px 0 16px; }
.article-content p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.article-content ul, .article-content ol { color: var(--text-muted); margin-bottom: 20px; padding-left: 20px; }
.article-content li { margin-bottom: 10px; }
.article-content a { color: var(--accent); text-decoration: underline; }

/* Floating Top Button & Next Article */
.floating-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 1px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.2s;
    text-decoration: none;
}
.floating-top:hover {
    background: var(--accent);
    color: #000;
}
.next-article {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.next-article span {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.next-article a {
    font-family: var(--font-head);
    font-size: 18px;
    color: var(--accent);
    text-decoration: none;
}
.next-article a:hover {
    text-decoration: underline;
}

.footer-social-links a:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

@media (min-width: 768px) { .mobile-break { display: none; } }
