@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --bg: #0B1410;
  --panel: #111B14;
  --ink: #E4EEE6;
  --dim: #6E9078;
  --line: rgba(228, 238, 230, 0.09);
  --acc: #7AE8C8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background-color: var(--bg); }
body {
  font-family: 'Noto Sans SC', sans-serif;
  line-height: 1.8;
  color: var(--ink);
  background-color: transparent;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.logo { font-weight: 700; color: var(--ink); font-size: 1.5rem; letter-spacing: -0.5px; }

a { text-decoration: none; color: inherit; transition: color 0.3s; }
a:hover { color: var(--acc) !important; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 48px;
  background: var(--acc) !important;
  color: var(--bg) !important;
  border: 1px solid var(--acc) !important;
  border-radius: 3px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.btn:hover {
  background: transparent !important;
  color: var(--acc) !important;
  border-color: rgba(122, 232, 200, 0.5) !important;
}

/* Header */
header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--dim);
  font-weight: 500;
}
.nav-menu a:hover { color: var(--acc); }

/* Sections */
.section, .hero, footer { background: transparent !important; }
.section { padding: 80px 0; }
.hero { text-align: center; padding: 80px 20px; }
.hero h1 { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; color: var(--dim); margin-bottom: 35px; max-width: 650px; margin-inline: auto; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 50px; }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-strict-3x3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 30px; }

.card, .price-card, .faq-item, .page-content {
  background: var(--panel) !important;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 40px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}
.card:hover, .price-card:hover, .faq-item:hover, .article-card:hover {
  border-color: rgba(122, 232, 200, 0.5) !important;
  transform: none !important;
}
.card:hover h3, .card:hover p, .article-card:hover h3 {
  color: var(--acc) !important;
}
.card-icon { display: block; margin-bottom: 25px; }

/* Pricing Table specifics */
.pricing-table { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.price-card { display: flex; flex-direction: column; flex: 1; min-width: 300px; max-width: 360px; text-align: center; }
.price-card.popular { border-color: var(--acc); position: relative; }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--acc); color: var(--bg); padding: 4px 12px;
  border-radius: 3px; font-size: 11px; font-weight: bold;
  font-family: 'IBM Plex Mono', monospace; text-transform: uppercase;
}
.price { font-size: 3rem; font-weight: 700; color: var(--acc); margin-bottom: 5px; }
.price span { font-size: 1rem; color: var(--dim); }
.price-desc { color: var(--dim); margin-bottom: 25px; font-size: 0.95rem; }

.features-list { list-style: none; margin-bottom: 30px; text-align: left; flex-grow: 1; }
.features-list li { margin-bottom: 15px; padding-left: 28px; position: relative; color: var(--ink); }
.features-list li::before { content: '✓'; position: absolute; left: 0; color: var(--acc); font-weight: bold; }

.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 25px; }
.faq-item h4 { margin-bottom: 12px; font-size: 1.15rem; color: var(--ink); }
.faq-item p { color: var(--dim); }

/* Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* Footer */
footer { padding: 40px 0 20px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer-links { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-links a { color: var(--dim); font-size: 0.95rem; }
.footer-links a:hover { color: var(--acc); }
.copyright { text-align: center; color: var(--dim); font-size: 0.9rem; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; }

/* Page Content resets */
.page-content { margin: 60px auto; max-width: 800px; }
.page-content h1 { border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 30px; font-size: 2.2rem; }
.page-content h2 { margin: 35px 0 15px; font-size: 1.5rem; color: var(--acc); }
.page-content p { margin-bottom: 15px; color: var(--dim); }
.page-content ul { margin-left: 20px; margin-bottom: 20px; color: var(--dim); }
.page-content li { margin-bottom: 8px; }

/* Mobile */
@media (max-width: 992px) { .grid-strict-3x3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .grid-3, .grid-strict-3x3, .faq-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
  .nav-menu { flex-wrap: wrap; justify-content: center; gap: 15px; }
}

.card { text-align: left; }

.brand-tags { transition: color 0.3s; }
.card:hover .brand-tags { color: var(--acc) !important; }

/* Accessibility & SEO Additions */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--acc);
    color: var(--bg);
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}
h1, h2, h3, h4, h5, h6, section, .card {
    scroll-margin-top: 80px; /* Accounts for 70px sticky header */
}
details.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    outline: none;
    min-height: 44px; /* Touch target */
    display: flex;
    align-items: center;
}
details.faq-item summary:focus {
    color: var(--acc);
    text-decoration: underline;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
