:root {
  /* Hacker / Terminal Theme */
  --bg-primary: #050505;
  --bg-secondary: #111;
  --text-primary: #e0e0e0;
  --text-secondary: #888;
  --accent: #0f0; /* Terminal Green */
  --accent-hover: #00ff41;
  --border: #333;
  --glass: rgba(5, 5, 5, 0.9);
  --shadow-sm: 0 0 0 1px #333;
  --shadow-lg: 4px 4px 0 #222;
  
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;
  
  --font-main: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
     /* Invert for light mode but keep the vibe strict */
    --bg-primary: #fff;
    --bg-secondary: #f4f4f4;
    --text-primary: #111;
    --text-secondary: #555;
    --accent: #0071e3; /* Keep blue for readability on white, or go dark green? Let's stick to high contrast black/white */
    --border: #000;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 0 0 1px #000;
    --shadow-lg: 4px 4px 0 #000;
  }
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-transform: uppercase;
}

h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 16px;
}

h1::before {
    content: "> ";
    color: var(--accent);
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5em;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: all 0.2s ease;
}

a:hover {
  background: var(--accent);
  color: #000;
  text-decoration: none;
  border-bottom-style: solid;
}

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 56px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-main);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 18px;
  text-decoration: none !important;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  text-decoration: none !important;
  border: none;
}

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

.nav-link::before {
    content: "[";
    opacity: 0;
    margin-right: 4px;
    transition: opacity 0.2s;
    color: var(--accent);
}
.nav-link::after {
    content: "]";
    opacity: 0;
    margin-left: 4px;
    transition: opacity 0.2s;
    color: var(--accent);
}
.nav-link:hover::before, .nav-link:hover::after {
    opacity: 1;
}

/* Hero Section */
.hero {
  text-align: left;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-tagline {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none !important;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--accent);
}

.btn-primary {
  background-color: var(--accent);
  color: #000;
  box-shadow: 4px 4px 0 var(--text-primary);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text-primary);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  box-shadow: 4px 4px 0 var(--border);
}

.btn-secondary:hover {
  background-color: rgba(0, 255, 0, 0.1);
  color: var(--accent);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--border);
}

.req-text {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  opacity: 0.7;
}

/* Features - Bento Grid (Hacked) */
.features-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.section-header {
  text-align: left;
  max-width: 600px;
  margin: 0 0 60px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.bento-item::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
    pointer-events: none;
}

.bento-item:hover {
    border-color: var(--accent);
}

.bento-item:hover::after {
    border-color: var(--accent);
    opacity: 0.3;
}

.bento-full {
  grid-column: span 2;
}

.bento-icon {
  font-size: 32px;
  margin-bottom: 24px;
  display: block;
}

.tag {
    display: inline-block;
    font-size: 12px; 
    border: 1px solid var(--border); 
    padding: 6px 12px; 
    color: var(--text-secondary);
    margin-right: 8px;
    margin-bottom: 8px;
    font-family: var(--font-main);
}

/* Footer */
footer {
  padding: 60px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--text-secondary);
  margin-left: 20px;
  text-decoration: none;
  border: none;
}
.footer-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-full { grid-column: span 1; }
  .nav-links { display: none; }
  .hero { padding: 60px 0 60px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; }
}

/* Glitch Effect placeholder (simple text shadow for now) */
h1:hover {
    text-shadow: 2px 0 var(--accent), -2px 0 #ff00ea;
}
