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

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --accent: #00ff00;
  --accent-dim: #00cc00;
  --accent-glow: rgba(0, 255, 0, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --border: #222222;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Monaco', 'Consolas', monospace;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: text-shadow 0.2s ease;
}

a:hover {
  text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  overflow: hidden;
}

.matrix-column {
  position: absolute;
  top: -100%;
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 5px var(--accent);
  animation: matrix-fall linear infinite;
  white-space: nowrap;
}

@keyframes matrix-fall {
  0% { transform: translateY(0); }
  100% { transform: translateY(200vh); }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.logo::before {
  content: '> ';
  opacity: 0.7;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.typing-text {
  display: inline;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--accent);
  border-radius: 0;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
}

.services {
  padding: 120px 24px;
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.section-title h2::before {
  content: '## ';
  opacity: 0.5;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.service-card h3::before {
  content: '> ';
  opacity: 0.5;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact {
  padding: 120px 24px;
  position: relative;
  z-index: 1;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.contact p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--text-primary);
  padding: 16px 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-email:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  color: var(--text-primary);
}

footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.legal-page {
  padding: 120px 24px 80px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.legal-content h1::before {
  content: '# ';
  opacity: 0.5;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--accent);
}

.legal-content h2::before {
  content: '## ';
  opacity: 0.5;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-content ul {
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: none;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.legal-content li::before {
  content: '- ';
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .header-content { padding: 12px 16px; }
  nav { gap: 16px; }
  .hero { padding: 100px 16px 60px; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .services { padding: 80px 16px; }
  .contact { padding: 80px 16px; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { order: 1; }
  .footer-copyright { order: 2; }
}

@media (max-width: 480px) {
  nav a { font-size: 0.8rem; }
  .logo { font-size: 1.25rem; }
  .cta-button { padding: 14px 24px; font-size: 0.9rem; }
  .contact-email { font-size: 0.9rem; padding: 12px 20px; }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 1000;
  font-size: 0.85rem;
}

.cookie-banner.hidden { display: none; }

.cookie-banner p {
  color: var(--text-secondary);
  margin: 0;
}

.cookie-banner a { color: var(--text-muted); }

.cookie-banner a:hover {
  color: var(--text-secondary);
  text-shadow: none;
}

.cookie-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--text-muted);
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  background: var(--text-muted);
  color: #000;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
}
