@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&family=Space+Grotesk:wght@400;500&family=Syne:wght@700;800&display=swap');

:root {
  --bg: #0B0B0C;
  --panel: #131315;
  --text: #F2F2EC;
  --accent: #D9FF4B;
  --gray: #8A8A85;
  --border: #262628;
  --trans: 150ms linear;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--trans);
}

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

/* Typography */
.syne {
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-gray { color: var(--gray); }
.text-accent { color: var(--accent); }

/* Layout & Grid (Strict 12 Col) */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

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

/* Hairline Borders */
.bb { border-bottom: 1px solid var(--border); }
.br { border-right: 1px solid var(--border); }
.bt { border-top: 1px solid var(--border); }

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.nav-row {
  height: 64px;
}

.logo-col {
  grid-column: span 3;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.logo-icon {
  width: 40px;
  height: 20px;
  margin-right: 12px;
}

.nav-links {
  grid-column: span 6;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
}

.nav-links a {
  position: relative;
}
.nav-links a:hover::before {
  content: '[';
  position: absolute;
  left: -10px;
  color: var(--gray);
}
.nav-links a:hover::after {
  content: ']';
  position: absolute;
  right: -10px;
  color: var(--gray);
}

.action-col {
  grid-column: span 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
}

.btn-terminal {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 8px 16px;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-terminal:hover {
  border-color: var(--accent);
  color: var(--bg);
  background: var(--accent);
}

/* Hero Section */
.hero {
  padding: 120px 24px;
  position: relative;
}

.hero-meta {
  grid-column: span 12;
  margin-bottom: 40px;
}

.hero-title {
  grid-column: span 9;
  font-size: 6vw;
  line-height: 0.95;
}

.hero-desc {
  grid-column: 7 / 12;
  margin-top: 40px;
  font-size: 18px;
  color: var(--gray);
}

/* Works List */
.works-header {
  padding: 24px;
}

.work-row {
  padding: 0;
  cursor: pointer;
  background: var(--bg);
  transition: background var(--trans);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.work-row:hover {
  background: var(--panel);
}

.work-row:hover .work-title {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.work-row:hover .cursor-block {
  opacity: 1;
}

.work-num {
  grid-column: span 2;
  font-family: 'Syne', sans-serif;
  font-size: 64px;
  -webkit-text-stroke: 1px var(--border);
  color: transparent;
  padding: 24px;
  display: flex;
  align-items: center;
}

.work-title-wrap {
  grid-column: span 7;
  display: flex;
  align-items: center;
  padding: 24px;
}

.work-title {
  font-size: 32px;
  margin-right: 16px;
  transition: all var(--trans);
}

.cursor-block {
  display: inline-block;
  width: 16px;
  height: 24px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--trans);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.work-meta {
  grid-column: span 3;
  display: flex;
  align-items: center;
  padding: 24px;
  justify-content: flex-end;
}

/* About Strip */
.about-strip {
  background: var(--accent);
  color: var(--bg);
  padding: 40px 24px;
  overflow: hidden;
  white-space: nowrap;
}

.about-strip h2 {
  font-size: 24px;
}

/* Pricing Grid */
.pricing {
  padding: 80px 0;
}
.pricing-meta {
  grid-column: span 12;
  padding: 0 24px 40px;
}

.price-card {
  grid-column: span 4;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
}

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

.price-card h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

.price-amount {
  font-size: 48px;
  margin-bottom: 32px;
}
.price-amount span {
  font-size: 16px;
  color: var(--gray);
}

.price-list {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.price-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
.price-list li::before {
  content: '>';
  color: var(--accent);
  font-family: 'JetBrains Mono';
  margin-right: 12px;
}

/* Footer */
footer {
  padding: 60px 24px;
  background: var(--panel);
}
.footer-links {
  grid-column: span 6;
  display: flex;
  gap: 24px;
}
.footer-copy {
  grid-column: span 6;
  text-align: right;
}

/* Glitch text effect on hover */
.glitch-hover:hover {
  animation: glitch 150ms infinite;
  color: var(--accent);
}

@keyframes glitch {
  0% { transform: translate(0) }
  20% { transform: translate(-2px, 1px) }
  40% { transform: translate(-1px, -1px) }
  60% { transform: translate(2px, 1px) }
  80% { transform: translate(1px, -1px) }
  100% { transform: translate(0) }
}

/* Responsive */
@media (max-width: 768px) {
  .logo-col, .nav-links, .action-col {
    grid-column: span 12;
    justify-content: space-between;
    padding: 16px 24px;
  }
  .nav-links { display: none; } /* Simplified for mobile */
  .hero-title {
    grid-column: span 12;
    font-size: 48px;
  }
  .hero-desc {
    grid-column: span 12;
  }
  .work-num { display: none; }
  .work-title-wrap, .work-meta { grid-column: span 12; }
  .price-card { grid-column: span 12; border-right: none; border-bottom: 1px solid var(--border); }
}


/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 12px 16px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-size: 14px;
}
.floating-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* FAQ Section */
.faq-container { padding: 80px 24px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 12px;
}
.faq-a {
  color: var(--gray);
  line-height: 1.8;
}

/* Hero Update */
.hero-img-col {
  grid-column: span 6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  border: 1px solid var(--border);
  /* Apply cyber aesthetic filters to the generated image */
  filter: sepia(100%) hue-rotate(40deg) saturate(200%) contrast(1.2) brightness(0.8);
  opacity: 0.85;
}
@media (max-width: 768px) {
  .hero-img-col { grid-column: span 12; margin-top: 40px; }
}
