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

:root {
  --bg: #101214;
  --panel: #17191C;
  --ink: #E8F0F2;
  --dim: #7E8A8E;
  --line: rgba(232,240,242,0.09);
  --acc: #5FD8E0;
  --radius: 3px;
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--bg);
  line-height: 1.8;
  position: relative;
  z-index: 0;
}

a {
  color: var(--acc);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--ink);
}

/* Header & Nav */
header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 5%;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

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

nav ul li a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

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

/* Buttons */
.btn, .btn-header {
  display: inline-block;
  background: var(--acc);
  color: var(--bg);
  border: 1px solid var(--acc);
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn {
  padding: 0.75rem 1.75rem;
}
.btn-header {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
}

.btn:hover, .btn-header:hover {
  background: transparent;
  color: var(--acc);
  border-color: rgba(95,216,224,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--acc);
  border: 1px solid var(--acc);
}

.btn-secondary:hover {
  background: rgba(95,216,224,0.1);
  border-color: rgba(95,216,224,0.5);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 5% 5rem;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
  line-height: 1.3;
}

.hero p {
  font-size: 1.15rem;
  color: var(--dim);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Section Headings */
section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
section .section-subtitle {
  text-align: center;
  color: var(--dim);
  margin-bottom: 3rem;
}

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

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

.card, .faq-item, .page-content {
  background: var(--panel);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover, .faq-item:hover {
  border-color: rgba(95,216,224,0.5);
}
.card:hover h3, .card:hover .price-label, .card:hover p, .faq-item:hover h3, .faq-item:hover p {
  color: var(--acc);
}

.card h3, .faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink);
  transition: color 0.3s ease;
}

.card p, .faq-item p {
  color: var(--dim);
  transition: color 0.3s ease;
}

/* Pricing Table */
.pricing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.pricing-card .price-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0 1.5rem;
  color: var(--ink);
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 2rem;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.95rem;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 1rem;
  padding: 1.5rem 2rem;
}

/* Testimonials */
.testimonial-author {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  margin-top: 1rem;
}

/* Page Specific */
.page-content {
  max-width: 900px;
  margin: 0 auto;
}
.page-content h1 {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.page-content h2, .page-content h3 {
  margin: 2rem 0 1rem;
}

/* Footer */
footer {
  background: var(--panel);
  padding: 3rem 5% 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer nav ul {
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
footer p {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* --- ANIMATION: Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- ANIMATION: Background Engine --- */
#lx-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
  user-select: none;
}
.lx-corner {
  position: absolute;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  z-index: 2;
}
.lx-tl { top: 2rem; left: 2rem; }
.lx-tr { top: 2rem; right: 2rem; }
.lx-bl { bottom: 2rem; left: 2rem; }
.lx-br { bottom: 2rem; right: 2rem; color: var(--acc); cursor: default; }

.lx-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 10vw, 12rem);
  white-space: nowrap;
  line-height: 1;
  display: flex;
}
.lx-lead {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--dim);
  color: #1a1c1e;
}
.lx-electric {
  position: absolute;
  top: 0; left: 0;
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 0 15px rgba(95,216,224,0.6);
  clip-path: inset(0 100% 0 0);
}
.lx-scanline {
  position: absolute;
  top: -10%; bottom: -10%;
  width: 1px;
  background: var(--acc);
  left: 0;
  box-shadow: 0 0 12px var(--acc);
  z-index: 3;
}
.lx-scanline::before {
  content: '';
  position: absolute;
  top: 0; left: -4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--acc);
}
.lx-flash {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.15s;
}
.lx-flash.active { opacity: 0.1; }

/* Responsive Design */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 1rem 5%;
    gap: 1rem;
  }
  .hero h1 { font-size: 2rem; }
  .hero .cta-group { flex-direction: column; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .lx-corner { font-size: 10px; }
  .lx-tl { top: 1rem; left: 1rem; }
  .lx-tr { top: 1rem; right: 1rem; }
  .lx-bl { bottom: 1rem; left: 1rem; }
  .lx-br { bottom: 1rem; right: 1rem; }
}

/* A11y and UX Fixes */
html { scroll-behavior: smooth; }
section[id], h2[id] { scroll-margin-top: 80px; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--acc); color: #000; padding: 8px; z-index: 999; transition: top 0.2s; }
.skip-link:focus { top: 0; }

