/* =========================================
   NOMAD BYTE STUDIOS — Inicio
   ========================================= */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 0 60px;
  padding-top: 140px;
}

/* Giant background text */
.hero-bg-text {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(200px, 22vw, 340px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 237, 230, 0.04);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(78px, 11vw, 148px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-title .accent { color: var(--accent); }

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240, 237, 230, 0.6);
  max-width: 480px;
  margin-bottom: 56px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-link::after {
  content: '↗';
  font-size: 14px;
  transition: transform 0.2s;
}

.hero-link:hover { color: var(--off-white); }
.hero-link:hover::after { transform: translate(2px, -2px); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.scroll-hint-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 56px;
  height: 1px;
  background: rgba(136, 136, 136, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: lineSweep 2.2s ease infinite;
}

@keyframes lineSweep {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* Manifesto strip */
.manifesto-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 60px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.manifesto-inner {
  display: inline-flex;
  gap: 0;
  animation: marquee 28s linear infinite;
}

.manifesto-inner span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--gray);
  padding: 0 48px;
}

.manifesto-inner span.accent-dot { color: var(--accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Featured section on homepage */
.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.home-feature {
  padding: 52px 48px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.home-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.4s ease;
}

.home-feature:hover { background: rgba(200, 255, 0, 0.03); }
.home-feature:hover::before { width: 100%; }
.home-feature:last-child { border-right: none; }

.home-feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 24px;
}

.home-feature h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.home-feature p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

@media (max-width: 860px) {
  .hero-section { padding: 100px 24px 60px; }
  .scroll-hint { left: 24px; }
  .manifesto-strip { padding: 20px 24px; }
  .home-features { grid-template-columns: 1fr; }
  .home-feature { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .hero-section { 
    padding: 20px 16px 40px;
    min-height: auto;
    padding-top: 80px;
  }
  .hero-bg-text { 
    font-size: clamp(80px, 12vw, 140px); 
    right: -30px; 
  }
  .hero-tag { 
    font-size: 10px; 
    margin-bottom: 16px; 
    gap: 10px; 
  }
  .hero-tag::before { width: 20px; }
  .hero-title { 
    font-size: clamp(32px, 7vw, 62px); 
    margin-bottom: 20px; 
    line-height: 1.1;
  }
  .hero-desc { 
    font-size: 14px; 
    line-height: 1.6;
    margin-bottom: 24px; 
  }
  .hero-actions { 
    flex-direction: column; 
    gap: 12px; 
    width: 100%; 
  }
  .hero-actions .btn { 
    width: 100%; 
    justify-content: center; 
  }
  .hero-link { font-size: 10px; }
  .scroll-hint { display: none; }
  .manifesto-strip { 
    padding: 14px 16px; 
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .manifesto-inner span { 
    padding: 0 20px; 
    font-size: 11px; 
  }
  .home-feature { 
    padding: 24px 16px; 
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .home-feature:last-child { 
    border-bottom: none; 
  }
  .home-feature-num { 
    font-size: 10px;
    margin-bottom: 10px; 
  }
  .home-feature h3 { 
    font-size: 18px; 
    margin-bottom: 8px; 
    line-height: 1.2;
  }
  .home-feature p { 
    font-size: 12px; 
    line-height: 1.5;
  }
}

@media (max-width: 400px) {
  .hero-section { padding: 60px 12px 30px; }
  .hero-tag { font-size: 9px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(28px, 6vw, 48px); }
  .hero-desc { font-size: 13px; line-height: 1.6; }
  .manifesto-inner span { padding: 0 16px; font-size: 11px; }
  .home-feature { padding: 20px 12px; }
  .home-feature h3 { font-size: 18px; }
}
