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

:root {
  --bg: #12100D;
  --panel: #1A1712;
  --ink: #EFEADC;
  --dim: #8C8474;
  --line: rgba(239, 234, 220, 0.09);
  --acc: #FFAE45;
  --hover-border: rgba(255, 174, 69, 0.5);
  --transition: 0.35s cubic-bezier(0.2, 1, 0.3, 1);
}

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

html { background-color: var(--bg); }

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--ink);
  background-color: transparent;
  line-height: 1.8;
  overflow-x: hidden;
}

/* Fixed HUD Overlays */
.hud-element {
  position: fixed;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  pointer-events: none;
  z-index: 50;
}
.hud-top-left { top: 20px; left: 20px; font-weight: 600; }
.hud-bottom-left { bottom: 20px; left: 20px; color: var(--ink); }
.hud-top-right { top: 20px; right: 20px; text-align: right; }
.hud-value { color: var(--acc); }

a { text-decoration: none; color: var(--acc); transition: color var(--transition); }
a:hover { opacity: 0.8; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }

/* Typography */
h1, h2, h3, h4, h5, h6, .logo { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--ink); }

/* Header & Nav */
header {
  background: rgba(18, 16, 13, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--acc); }
.nav-links a { 
  margin-left: 24px; 
  color: var(--dim); 
  font-size: 12px; 
  font-family: 'IBM Plex Mono', monospace; 
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.nav-links a:hover { color: var(--acc); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary { background-color: var(--acc); color: var(--bg); border-color: var(--acc); }
.btn-primary:hover { background-color: transparent; color: var(--acc); border-color: var(--acc); }
.btn-secondary { background-color: transparent; color: var(--ink); border-color: var(--line); margin-left: 15px; }
.btn-secondary:hover { border-color: var(--hover-border); color: var(--acc); }

/* Header CTA specific tuning */
.header-cta .btn { padding: 6px 16px !important; font-size: 12px !important; font-family: 'IBM Plex Mono', monospace; }

/* Sections */
.section { padding: 6rem 20px; }
.hero { text-align: center; padding: 8rem 20px; }
.hero h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--ink); }
.hero h2 { font-size: 1.25rem; color: rgba(239, 234, 220, 0.9); margin-bottom: 2rem; font-weight: 400; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 4rem; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

/* Cards */
.card {
  border: 1px solid var(--line);
  padding: 2.5rem 2rem;
  border-radius: 3px;
  background: var(--panel);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--hover-border); transform: translateY(-5px); }
.card:hover h3 { color: var(--acc); }
.card h3 { margin-bottom: 1rem; font-size: 1.3rem; transition: color var(--transition); }
.card p { color: rgba(239, 234, 220, 0.85); flex-grow: 1; font-size: 0.95rem; }

/* Pricing */
.price-tag { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; margin: 1.5rem 0; color: var(--acc); }
.price-tag span { font-size: 1rem; color: var(--dim); font-weight: normal; }
.features-list { list-style: none; margin: 2rem 0; text-align: left; }
.features-list li { margin-bottom: 0.8rem; padding-left: 1.5rem; position: relative; color: var(--ink); font-size: 0.95rem; }
.features-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border: 1px solid var(--acc); border-radius: 50%; }

/* Brand Tags / Labels (IBM Plex Mono styling) */
.tags-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.brand-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--dim);
  transition: all var(--transition);
}
.card:hover .brand-tag { border-color: var(--hover-border); color: var(--acc); }

/* FAQ (Accessible Details/Summary) */
.faq-item { max-width: 800px; margin: 0 auto 1.5rem auto; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-size: 1.1rem; color: var(--ink); cursor: pointer; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; color: var(--acc); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { color: rgba(239, 234, 220, 0.85); padding-top: 1rem; margin: 0; }

/* Accessibility Focus & Skip Link */
:focus-visible { outline: 2px dashed var(--acc); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--acc); color: var(--bg); padding: 10px 20px; z-index: 9999; font-weight: 600; border-radius: 3px; transition: top 0.3s; }
.skip-link:focus { top: 20px; }
[id] { scroll-margin-top: 90px; }

/* Footer */
footer { background: transparent; border-top: 1px solid var(--line); padding: 4rem 20px 2rem 20px; text-align: center; }
.footer-links { margin-bottom: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links a:hover { color: var(--acc); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: all var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Subpage base content tuning */
.subpage-content { max-width: 800px; padding-top: 3rem; padding-bottom: 5rem; }
.subpage-content h1 { margin-bottom: 2rem; font-size: 2.5rem; }
.subpage-content h3 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.4rem; }
.subpage-content p { color: rgba(239, 234, 220, 0.85); margin-bottom: 1rem; }
.subpage-content ul { margin-left: 20px; margin-bottom: 1.5rem; color: rgba(239, 234, 220, 0.85); }
.subpage-content ul li { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 5rem 15px; }
  .hero h1 { font-size: 2.2rem; }
  .btn { width: 100%; display: block; margin: 0 0 15px 0; }
  .btn-secondary { margin-left: 0; }
  .nav-wrapper { flex-direction: column; gap: 15px; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
  .nav-links a { margin: 0; }
  .header-cta .btn { margin-bottom: 0; }
  .hud-element { display: none; } /* Hide HUD on small screens for cleanliness */
}
