/* public/styles.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0c0f;
  background-image: radial-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #d0e0d0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  font-size: 1.1rem;
  padding: 2rem 1rem;
}

.container {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(5, 8, 12, 0.7);
  border-left: 1px solid #1f3b1f;
  border-right: 1px solid #1f3b1f;
  padding: 0 1.5rem 2rem 1.5rem;
  box-shadow: 0 0 28px rgba(0, 20, 0, 0.4);
}

/* headers and typography */
h1, h2, h3, h4, .logo-text, .nav-link, .btn-work, .section-heading {
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #b9ffb9;
  text-shadow: 0 0 2px #00cc44;
  line-height: 1.2;
}

h2 {
  font-size: 1.8rem;
  color: #b3ffcf;
  border-left: 4px solid #3eff9e;
  padding-left: 1rem;
  margin: 2rem 0 1.5rem 0;
}

h3 {
  font-size: 1.5rem;
  margin: 0.75rem 0 0.25rem;
  color: #d4ffd4;
}

a {
  color: #9eff9e;
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px dotted #2f6b2f;
}

a:hover {
  color: #ffffff;
  border-bottom-color: #6eff6e;
}

/* header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 1.5rem 0 0.5rem;
  border-bottom: 1px solid #1e3a1e;
  margin-bottom: 2.5rem;
}

.logo-area {
  font-family: 'Orbitron', monospace;
  font-size: 1.35rem;
  font-weight: 500;
  color: #b3ffb3;
  background: #0e1a0e;
  padding: 0.2rem 0.8rem;
  border-radius: 4px;
  letter-spacing: -0.5px;
}

.cursor-blink {
  animation: blink 1.2s step-end infinite;
  color: #5fff5f;
  font-weight: bold;
  margin-right: 2px;
}

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

.main-nav {
  display: flex;
  gap: 1.6rem;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: lowercase;
  border: none;
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* hero */
.hero {
  text-align: left;
  margin: 2rem 0 2.5rem;
  padding-bottom: 1rem;
  min-height: 180px;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  min-height: 140px;
  font-family: 'Orbitron', monospace;
}

/* Typewriter cursor effect */
.hero-title::after {
  content: '█';
  animation: blink 1s step-end infinite;
  margin-left: 4px;
  color: #3eff9e;
}

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

.hero-sub {
  font-size: 1.3rem;
  color: #b3cfb3;
  font-weight: 300;
  max-width: 85%;
}

/* posts list */
.section-heading {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 1rem 0 1.5rem 0;
  color: #b1e6b1;
  border-bottom: 1px dashed #2a552a;
  display: inline-block;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 1.5rem 0 2.5rem;
}

.post-card {
  background: #0f1317;
  border-left: 4px solid #37b24d;
  padding: 1.2rem 1.5rem;
  transition: all 0.2s;
  border-radius: 0 12px 12px 0;
}

.post-card:hover {
  background: #121a1a;
  border-left-color: #80ff80;
  transform: translateX(4px);
}

/* Subtle date styling - reduced opacity and smaller font */
.post-date-subtle {
  font-size: 0.7rem;
  color: #6f9e6f;
  opacity: 0.6;
  font-family: 'Montserrat', monospace;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.post-title a {
  font-weight: 600;
  border-bottom: none;
  font-size: 1.5rem;
}

.post-desc {
  margin: 0.5rem 0 0.6rem;
  color: #c2d6c2;
  line-height: 1.5;
}

.read-link {
  font-family: 'Orbitron', monospace;
  font-size: 0.8rem;
  background: none;
  padding: 0;
  border-bottom: 1px solid #4d9e4d;
}

/* CTA block (homepage) */
.cta-block {
  background: #0b120f;
  border: 1px solid #2a6b2a;
  text-align: center;
  padding: 2rem 1rem;
  margin: 2.5rem 0 1rem;
  border-radius: 24px;
}

.cta-quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: #b0f7b0;
}

.btn-work {
  display: inline-block;
  background: transparent;
  border: 1.5px solid #3eff6e;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #b1ffb1;
  transition: 0.2s;
  border-radius: 40px;
  text-decoration: none;
}

.btn-work:hover {
  background: #2a6b2a;
  color: #0a0f0a;
  border-color: #b3ffb3;
}

/* footer */
.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1f401f;
  text-align: center;
  font-size: 0.85rem;
  color: #759d75;
  font-family: 'Montserrat', monospace;
}

/* ========== BLOG POST PAGE (template styling) ========== */
.post-header {
  margin: 1rem 0 2rem;
  border-bottom: 1px solid #2c572c;
  padding-bottom: 1rem;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #e2ffe2;
}

.post-date-large {
  font-size: 0.8rem;
  color: #6f9e6f;
  opacity: 0.7;
  display: inline-block;
  background: #102012;
  padding: 0.2rem 0.7rem;
  border-radius: 18px;
}

.post-content {
  font-size: 1.1rem;
  margin: 2rem 0;
}

.post-content p {
  margin: 1.2rem 0;
}

.post-content h2, .post-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.post-content pre, .post-content code {
  background: #0a100c;
  border-radius: 8px;
  font-family: monospace;
  padding: 0.2rem 0.3rem;
  color: #ccffaa;
}

.post-content pre {
  padding: 1rem;
  overflow-x: auto;
  border-left: 3px solid #5eff5e;
}

.dynamic-cta {
  background: #0c1912;
  padding: 1.7rem 2rem;
  margin: 2rem 0 1.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #397739;
  font-size: 1.15rem;
  font-weight: 500;
  font-family: 'Montserrat', monospace;
}

.cta-personal, .cta-service, .cta-product, .cta-whatsapp {
  display: block;
}

.cta-personal strong, .cta-service strong {
  color: #d4ffa2;
}

.post-footer-nav {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #2f552f;
}

.signature {
  margin-top: 2rem;
  font-style: normal;
  border-left: 2px solid #6eff6e;
  padding-left: 1rem;
  color: #b7e0b7;
  font-size: 0.9rem;
  font-family: 'Orbitron', monospace;
}

/* responsive */
@media (max-width: 720px) {
  body {
    padding: 0.8rem;
    font-size: 1rem;
  }
  .container {
    padding: 0 1rem 1.5rem;
  }
  .hero-title {
    font-size: 2rem;
    min-height: 110px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .site-header {
    flex-direction: column;
    gap: 0.8rem;
  }
}