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

/* ---- Nav CTA pill ---- */
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid rgba(200, 255, 0, 0.35);
  padding: 7px 14px !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--black) !important;
}

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

.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;
}

.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: 48px;
  font-weight: 300;
}

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

/* Trust signals */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.trust-sep {
  color: var(--border);
  font-size: 14px;
}

.hero-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  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;
  z-index: 1;
}

.scroll-line {
  display: block;
  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%; }
}

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

.manifesto-inner {
  display: inline-flex;
  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%); }
}

/* ---- Problem/Solution section ---- */
.problem-section {
  padding: 80px 60px;
  border-bottom: 1px solid var(--border);
}

.problem-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.problem-col {
  background: var(--black);
  padding: 40px 48px;
}

.problem-col--good {
  background: rgba(200, 255, 0, 0.025);
}

.problem-col-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
}

.problem-col-icon {
  font-size: 18px;
  color: rgba(136,136,136,0.5);
}

.problem-col-icon--accent {
  color: var(--accent);
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-col--bad .problem-list li {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.45);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.problem-col--bad .problem-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(136,136,136,0.35);
}

.problem-col--good .problem-list li {
  font-size: 14px;
  color: rgba(240, 237, 230, 0.75);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.problem-col--good .problem-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 13px;
}

/* ---- Featured pillars ---- */
.home-features {
  display: grid;
  grid-template-columns: repeat(4, 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;
  display: flex;
  flex-direction: column;
}

.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);
  flex: 1;
  margin-bottom: 24px;
}

.feature-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.2s;
  display: inline-block;
}

.feature-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Stats section ---- */
.home-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
}

.home-stat {
  padding: 52px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.home-stat:last-child { border-right: none; }

.home-stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0;
  background: rgba(200, 255, 0, 0.04);
  transition: height 0.4s ease;
}

.home-stat:hover::after { height: 100%; }

.home-stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.home-stat-label {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.04em;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* ---- Final CTA section ---- */
.home-cta-section {
  padding: 120px 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.home-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.home-cta-inner {
  max-width: 760px;
}

.home-cta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.home-cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.home-cta-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(240, 237, 230, 0.55);
  max-width: 520px;
  margin-bottom: 44px;
}

.btn-large {
  padding: 20px 40px;
  font-size: 13px;
}

/* Tool feature card */
.home-feature--tool {
  background: rgba(200, 255, 0, 0.03);
  border-left: 1px solid rgba(200,255,0,0.15) !important;
}

.home-feature--tool::before {
  background: var(--accent) !important;
}

.home-feature-num--tool {
  color: var(--accent);
  font-size: 13px !important;
}

.feature-link--tool {
  color: var(--accent) !important;
  font-weight: 500;
}

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

@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(42px, 9vw, 72px); margin-bottom: 20px; line-height: 1.05; }
  .hero-desc { font-size: 14px; line-height: 1.6; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-link { font-size: 10px; }
  .hero-trust { gap: 10px; }
  .trust-sep { display: none; }
  .trust-item { font-size: 10px; }
  .scroll-hint { display: none; }
  .manifesto-strip { padding: 14px 16px; }
  .manifesto-inner span { padding: 0 20px; font-size: 11px; }
  .problem-section { padding: 40px 16px; }
  .problem-col { padding: 24px 20px; }
  .problem-col-header { font-size: 10px; }
  .problem-list li { font-size: 13px; }
  .home-feature { padding: 28px 20px; }
  .home-feature h3 { font-size: 22px; }
  .home-feature p { font-size: 13px; }
  .home-stats { grid-template-columns: 1fr 1fr; }
  .home-stat { padding: 28px 20px; }
  .home-stat-num { font-size: 42px; }
  .home-stat-label { font-size: 11px; }
  .home-cta-section { padding: 60px 16px; }
  .home-cta-title { font-size: clamp(32px, 6vw, 52px); margin-bottom: 16px; }
  .home-cta-desc { font-size: 13px; margin-bottom: 28px; }
  .btn-large { padding: 14px 24px; font-size: 11px; width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .hero-section { padding: 60px 12px 30px; }
  .problem-col { padding: 20px 16px; }
  .home-stats { grid-template-columns: 1fr; }
  .home-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .home-stat:last-child { border-bottom: none; }
}

/* =========================================
   NOMAD BYTE STUDIOS — inicio.css ADDITIONS
   ========================================= */

/* ── Estimator Banner ── */
.estimator-banner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(200, 255, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.estimator-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.estimator-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.estimator-banner-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.estimator-banner-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.estimator-banner-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(240, 237, 230, 0.6);
  max-width: 400px;
}

.estimator-banner-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Mini preview widget */
.estimator-preview {
  border: 1px solid var(--border);
  background: #0d0d0d;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ep-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(136, 136, 136, 0.4);
  padding: 8px 0;
  border-bottom: 1px solid rgba(240, 237, 230, 0.05);
}

.ep-step--done {
  color: rgba(200, 255, 0, 0.5);
}

.ep-step--active {
  color: var(--accent);
}

.ep-dots::after {
  content: '...';
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40%      { content: '..'; }
  60%, 100%{ content: '...'; }
}

.ep-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(200, 255, 0, 0.2);
}

.ep-result-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.ep-result-price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.estimator-banner-cta {
  align-self: flex-start;
}

/* ── Estimator feature card (5th pillar) ── */
.home-feature--estimator {
  background: rgba(200, 255, 0, 0.04);
  border-left: 1px solid rgba(200, 255, 0, 0.2) !important;
  position: relative;
  overflow: hidden;
}

.home-feature--estimator::after {
  content: '⚡';
  position: absolute;
  bottom: -10px; right: 12px;
  font-size: 80px;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.home-feature--estimator::before {
  background: var(--accent) !important;
}

.home-feature-num--estimator {
  color: var(--accent);
  font-size: 13px !important;
}

.feature-link--estimator {
  color: var(--accent) !important;
  font-weight: 500;
}

/* ── home-features 5-column fix ── */
/* When 5 children, allow wrapping on smaller screens gracefully */
.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

/* ── CTA section secondary link ── */
.home-cta-estimate-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.home-cta-estimate-link:hover { opacity: 0.6; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .estimator-banner-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px;
  }
}

@media (max-width: 600px) {
  .estimator-banner-inner { padding: 36px 16px; gap: 24px; }
  .estimator-banner-title { font-size: 32px; }
  .estimator-banner-desc { font-size: 13px; }
  .ep-step { font-size: 10px; }
  .ep-result-price { font-size: 20px; }
  .home-cta-estimate-link { font-size: 10px; white-space: normal; }
}

.home-tools-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 60px;
}

.home-tools-header {
  margin-bottom: 48px;
}

.home-tools-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.home-tools-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.home-tools-desc {
  font-size: 15px;
  color: rgba(240, 237, 230, 0.55);
  max-width: 480px;
  line-height: 1.7;
}

.home-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.home-tool-card {
  background: var(--black);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

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

.home-tool-card:hover::before { width: 100%; }

.home-tool-card--builder:hover { background: rgba(200, 255, 0, 0.02); }
.home-tool-card--estimator:hover { background: rgba(200, 255, 0, 0.03); }

.home-tool-card-top { display: flex; flex-direction: column; gap: 0; }

.home-tool-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.home-tool-card h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

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

.home-tool-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-tool-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.2s;
  display: inline-block;
}

.home-tool-link:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mock preview for builder card */
.home-tool-preview {
  border: 1px solid var(--border);
  background: #0a0a0a;
  overflow: hidden;
}

.ht-bar {
  height: 22px;
  background: #111;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
}

.ht-bar span {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
}

.ht-lines {
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ht-line {
  height: 7px;
  background: rgba(240, 237, 230, 0.08);
  border-radius: 1px;
  width: 80%;
}

.ht-line--accent {
  height: 5px;
  width: 40%;
  background: rgba(200, 255, 0, 0.35);
}

.ht-line--short { width: 55%; }

.ht-line--btn {
  width: 28%;
  height: 14px;
  background: var(--accent);
  opacity: 0.7;
  border-radius: 1px;
  margin-top: 4px;
}

/* Result preview for estimator card */
.home-tool-result {
  border: 1px solid rgba(200, 255, 0, 0.2);
  background: rgba(200, 255, 0, 0.04);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ht-result-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.ht-result-price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--off-white);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.ht-result-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

/* Responsive */
@media (max-width: 860px) {
  .home-features { grid-template-columns: 1fr; }
  .home-feature { border-right: none; border-bottom: 1px solid var(--border); }
  .home-tools-section { padding: 56px 24px; }
  .home-tools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .home-tools-section { padding: 40px 16px; }
  .home-tools-title { font-size: 28px; }
  .home-tools-desc { font-size: 13px; }
  .home-tool-card { padding: 28px 20px; gap: 20px; }
  .home-tool-card h3 { font-size: 26px; }
  .home-tool-card p { font-size: 13px; }
}

@media (max-width: 400px) {
  .home-tools-section { padding: 32px 12px; }
}
